-
Posts
715 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Woody
-
In other words: Please, let me buy your reviews because I'm less better than my competitors and I think this is a good strategy to get popular.
-
Ugh.. Your conditions and naming your states are so flawed. If you want help, post your code and perhaps we can help you with your problem. Edit: try something like this if got food if in combat area if not under attack return state.FIGHT else return state.WAIT else return state.WALK_TO_COMBAT_AREA else if in bank area return state.BANK else return state.WALK_TO_BANK
-
LEICESTER CITY FC BARCLAY PREMIER LEAGUE WINNERS
Woody replied to Saiyan's topic in Community Discussion
You're like 37 minutes late buddy -
Because your logic is flawed. Trust me, you will never make me upset. EDIT: Why do you even have an OUT_OF_FOOD state? What purpose does it have? Just do: if out of food -> go to bank to retrieve food (return state.WALK)
-
Your logic is flawed. You should have more/better conditions.
-
if (guard != null && guard.isAttackable() && !myPlayer().isUnderAttack()) return State.KILL; You need more checks other than "guard != null" if you want to fight NPC. As IHB said, you should put a sleep after interaction; a conditional sleep. if(guard != null){ if(guard.interact("Attack")) { log("Status: Attacking..."); new ConditionalSleep(4000, 500) { @Override public boolean condition() throws InterruptedException { return api.myPlayer().isInteracting(guard); } }.sleep(); } } It will check the condition() every 500 ms and wait maximum 4000 ms before executing the interaction again.
-
if (inventory.interact(this.basketsName, "Basket")) { There is no action option "Basket". That is why the mouse only hovers it. Also, do a null check before interacting with items. Item item = inventory.get if item != null item.interact("Fill")
-
Who can write tutorials automatic login, automatic rest or tutorial
Woody replied to hansen19498's topic in Scripting Help
Learn some English dude. I hope google can translate that for you to understand. -
Tried using Newton's method?
-
While animating -> find another nearby tree -> move mouse over the tree
-
Woody's Firemaker
-
As a S2 you should remember those methods and not rely on the API docs.
-
RS2Object obj = blah ConditionalSleep -> return obj.getId() == the changed id If the objects are not moving position, use the x and y coordinates as iJodix suggested to retrieve a certain object.
-
You are making the same mistake for using while loop. You shouldn't use a while loop for sleeping purpose.
-
Why r u stalking me?
-
Nope. If you really want to use a while loop, always have a backup so it doesn't get stuck in the loop.
-
That will not work for his purpose.
-
The character only animates when it's placing the ore in the furnace, therefore it will only wait for a very short period before interacting with the furnace again.
-
when she say she a virgin vs what she actually is
Woody replied to Muffins's topic in Spam/Off Topic
I bet you stuffed it with some delicious mayo