Everything posted by Ayylmao420
-
75 range & Animal magnetism
Looking to buy an account with 75+ range & Animal magnetism completed with no email registered & no bans.
-
Twisted Banshee killer [Safe spotting] [Great XP & Moneymaking]
Nice script but what is stopping you from eating while walking/running ?
-
dropping with 'shift' key will pass fuck yeah
what's next ? bed with toilets lul ?
-
RequestListener
Well, right now i ended up using messagelistener and hashmap, made it so that it'll clean the list every 1 second, it'll be enough to execute interaction event. Not sure if the smartest way but meh, works.
-
RequestListener
Well, sometimes after trade, getLastRequestingPlayer() returns == null like it is supposed to ? But most of the times it'll return != null for like 10 seconds ?
-
RequestListener
what i am saying is that getTrade().getLastRequestingPlayer() returns != null for a while even though the character haven't received any more trades after the trade.
-
RequestListener
Sure but that won't stop the interaction spam because getLastRequestingPlayer() will return != null for a while.
-
RequestListener
Ok so i can't really figure out a better logic for this but what i am trying to do here is when a player trades me, it'll accept. What this code does is once it has finished trading it'll keep trading the same character for a while until requestListener == null my code; if (getTrade().isCurrentlyTrading()) { if (getTrade().isFirstInterfaceOpen()) { if (getTrade().acceptTrade()) { new ConditionalSleep(1000) { @Override public boolean condition() throws InterruptedException { return getTrade().isSecondInterfaceOpen(); } }.sleep(); } } else { if (getTrade().isSecondInterfaceOpen()) { if (getTrade().acceptTrade()) { new ConditionalSleep(1000) { @Override public boolean condition() throws InterruptedException { return !getTrade().isCurrentlyTrading(); } }.sleep(); } } } } else { if (getTrade().getLastRequestingPlayer() != null) { if (getTrade().getLastRequestingPlayer().getName().equals("")) { if (getTrade().getLastRequestingPlayer().interact("Trade with")) { new ConditionalSleep(1000) { @Override public boolean condition() throws InterruptedException { return getTrade().isCurrentlyTrading(); } }.sleep(); } } } } How am i supposed to make it so that once it has finished trading it won't trade the same character again ? EDIT:/ First trade finished it won't interact with the character .. but once i go into second trade, finish it then it'll keep trading the character for a while until getLastRequestingPlayer() == null
-
dont support smokers guys!!
Any human being does have free will, we can't just tell them to stop smoking, but what we can do is tell them what smoking does to their body. It is their decision if they want to keep smoking or quit.
-
The most valuable banknote you've ever found? Post lucky findings too
Nah but my life is just like the 0,20€ cent right now so no worries.
-
The most valuable banknote you've ever found? Post lucky findings too
not really a banknote but 0,20€ cent
-
Winners announced for vip give away!
Woah, never thought i'd win but hell, time to bot even more.
-
Winners announced for vip give away!
I'd love to have a vip so i can run more bots, make more money and rebuy vip
-
Simple Mouse-based Camera
Thanks, i'll try it out and if it works the way i want it to i'll sure use it.
- How much do you trust
-
nice script lul
Around 70 players standing there.
-
VOTE
commonly used word you say .. ? oh pls .. when i mentioned about underage kids you took an image and reported me for it so pls i hope ur ban stays
-
Running from damage help
Where is rest of the code or is this all ? Using switching like this is .. pointless
-
Running from damage help
case HEALTHCHECK: int checkHealth = (getSkills().getDynamic(Skill.HITPOINTS)); if (checkHealth <= 7) { getWalking().walk(new Position(3096,3241,0)); } break; Try
-
LocalPathFinder
Alright, thanks for the help guys. EDIT:/ I just figured out that for some reason when i do this; for (RS2Object object : getObjects().getAll()) { if (object.getName().equals("Large door")) { modifiedFlags[object.getLocalX()][object.getLocalY()] = 0; } } It'll work for doors, gates but for some reason it doesn't work with large doors, any ideas ?
-
LocalPathFinder
So all i have to do is loop through object, get their position and change their flags to 0 to ignore those tiles?
-
LocalPathFinder
Could you give me an example of modifiedflag for ignoring object ?
-
LocalPathFinder
Is there any way i could use LocalPathFinder to find a path to target by ignoring obstacles etc ?
-
Region positions
Should works, thanks EDIT; For custom walker.
-
Region positions
How am i supposed to check if currently loaded region contains position ?