Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #64 #79

Merged
merged 2 commits into from
Mar 17, 2022
Merged

Fixed issue #64 #79

merged 2 commits into from
Mar 17, 2022

Conversation

SDClowen
Copy link
Owner

No description provided.

@SDClowen SDClowen linked an issue Mar 16, 2022 that may be closed by this pull request
@BaroDevelopment
Copy link
Contributor

It's not working. Bot using Grain 1x and then stops.

var potionItem = Inventory.GetItem(typeIdFilter);
if (potionItem == null)
var elapsed = Environment.TickCount - tick;
if (elapsed < duration)
return false;

var result = potionItem.Use();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

potionItem is null in my server because. Maybe add null check

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There have already null check. I tested and it was working. Whatever i will try again.

Copy link
Contributor

@BaroDevelopment BaroDevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not working in csro

Library/RSBot.Core/Objects/Player.cs Outdated Show resolved Hide resolved
@SDClowen SDClowen merged commit 71beeb3 into master Mar 17, 2022
@SDClowen SDClowen deleted the fix/issue/64 branch March 17, 2022 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Option for Grains
2 participants