Everything posted by blabla123
-
Smoking Rocks + Exploding Rock ID's
Doesn't it change like every time it occurs?
-
... per hour giving negative ammount?
Declared at the beginning, outside any methods. int userChoiceP; long startTime; int planksCreated; And actually that line is all I use for counting planks created and it works fine everytime. As I said before, all other counters work fine. Now that you asked about data types I see that startTime is long, so maybe I should do long planksPerHour = ((long)planksCreated * 3600000) / (System.currentTimeMillis() - startTime);
-
... per hour giving negative ammount?
public void onStart() { startTime = System.currentTimeMillis(); planksCreated = 0; } onLoop() { planksCreated += client.getInventory().getAmount(userChoiceP); } onPaint() { long planksPerHour = (planksCreated * 3600000) / (System.currentTimeMillis() - startTime); } Maybe I'm overlooking something, but why is this giving me correct results up till around 30 mins running the script (1500/hr) and after 30 mins it goes to (-1500/hr) and goes towards 0... ? Time counter is running ok, planks counter running ok, even trips per hour counter running ok, just this one went crazy. Only way '(planksCreated * 3600000) / (System.currentTimeMillis() - startTime)' would be giving negative result is when startTime > System.currentTimeMillis() but how is that possible?
-
Banned 1.3m flax
From all your posts and behavior in this thread I assume you're a douche
-
Interface based condition not working? halp pl0x
Thanks Swizz... if (player.getPosition().distance(new Position(2456, 3093, 0)) <= 4) { walkMiniMap(new Position(2456 +random(0,2), 3104 +random(0,2), 0)); sleep(random(2000, 2200)); } else if (balloonGuy != null && !new ColorPicker(bot).isColorAt(275, 175, new Color(168, 144, 97))) { if (balloonGuy.isVisible()) { if(!player.isMoving()) { balloonGuy.interact("Fly"); sleep(random(2000, 2200)); } } else { client.moveCameraToEntity(balloonGuy); } } else if (new ColorPicker(bot).isColorAt(275, 175, new Color(168, 144, 97))) { //gotta love color picker client.moveMouseTo(new RectangleDestination(365, 40, 70, 15), false, true, false); sleep(random(8000,9000)); }
-
Need Shades of Mort'ton finished
There's a world dedicated for that minigame. Just hop there at pear hour, you'll find a team eventually.
- Programmers
-
OSBot 1.8.13 and 2.1.9
Thanks for update! World hopping random misses alot trying to click on world for me.
-
perm/insta ban, fresh new account
Lately it feels like we're getting there
-
Interface based condition not working? halp pl0x
Declared final RS2Interface parent = client.getInterface(469); at the beginning of my onLoop(). Then changed the code in the body to this: if (player.getPosition().distance(new Position(2456, 3093, 0)) <= 4) { walkMiniMap(new Position(2457, 3105, 0)); sleep(random(2000, 2200)); } else if (balloonGuy != null) { if (balloonGuy.isVisible()) { balloonGuy.interact("Fly"); sleep(random(2000, 2200)); } else { client.moveCameraToEntity(balloonGuy); } } else if (parent != null) { // change here if (client.getInterface(469).isVisible()) { client.getInterface(469).getChild(25).interact(); sleep(random(8000, 9000)); } } And it still does the same thing...
-
Interface based condition not working? halp pl0x
if (player.getPosition().distance(new Position(2456, 3093, 0)) <= 4) { walkMiniMap(new Position(2457,3105,0)); sleep(random(2000,2200)); } else if (balloonGuy != null && !client.getInterface(469).isVisible()) { if(balloonGuy.isVisible()) { balloonGuy.interact("Fly"); sleep(random(2000,2200)); } } else if (client.getInterface(469).isVisible()) { // this seems to be doing nothing, where did I do a mistake? client.getInterface(469).getChild(26).interact(); sleep(random(8000,9000)); } So I walk up to the guy, interact with him - the interface opens up. Then it waits a little while, closes the interface and interacts with the guy again - like it ignores the last "else if" completely. Also if anyone knows of some rectangle area interaction thread where it was discussed - a link would be appreciated as I remember seeing it somwhere and even following it, but somehow the list of threads I follow is being reset like quite often
-
Handy paint-making tool
So the file is clean?
-
World hopping class
I love you, now I gotta study the shit out of it
-
Hoppable Worlds Array
Sorry to gravedig but this is the right thread to ask this. How would I change it so that I have an initial array WORLDS and when I hop to a certain world, it would be withdrawn from the initial array and put into a second one, lets say WORLDSHOPPED. Then I would hop again, but it would pick a random world from the remaining worlds in WORLDS array. That would go on and on and at the end if there would be no worlds left in WORLDS and they were all in WORLDSHOPPED, all the values would go back into the WORLDS array. So I would hop all the worlds - NOT HOPPING TO PREVIOUS ONES - and after I have hopped all the worlds, "the counter" would reset. How would code for something like that look like?
-
Stuff coming to runescape soooon
this I personally would love to see new items. Game that is not updated dies eventually. 3a longsword looks sick imo
-
Worst botting excuse ever
Plot twist: you want us to think you trained range legit so you made up a story about another botter kid and his whole story.
-
Looking to learn something new / good book.
That's crap, not music.
-
Is Runescape really worth it
this PayPal account balance seems pretty real to me, not virtual...
-
Doing Hunter legit fml
It sucks with 1 bird trap... But when you get to 2 and 3 you will be running from one to another trying not to waste xp.
-
F2P Bot Money Making
To ppl saying they will bot the shit out of that f2p 2 weeks trial - if you would actually use your brain you would wait a bit, so that Jagex would see some good numbers/results from f2p and then try to bot there. Not speaking about the tight bot detection they will be using... Just my opinion.