Everything posted by Swizzbeat
- OSBot 2.2.29
-
How to pick up Grounditems?
Not at all, enjoy changing all occurrences of "314" if the ID ever changes. Not only that but it's terrible practice. OP: Check whether your interact statement is being called or not. No, but thank you for posting something logical.
-
Bought these with money of my goldfarm
No, strategicially invest it so it can grow faster than the rate of inflation.
-
Bought these with money of my goldfarm
Why don't you save it....
-
FUCK DIVICASALES ADVERTISEMENT
No problem son, you'll learn soon.
-
FUCK DIVICASALES ADVERTISEMENT
Disable user input and it won't bring it up. VIP won't do anything since I put it in the script :p
-
6 rules of success
Sleep faster, I would recommend. Best line of the whole speech.
-
How to make a String[] List..?
Things not pertaining to your question: Program to the interface (ArrayList -> List) Your variable naming is terrible plus they're singular when they're representing a multitude of items Those if statements are disgusting and impossible to maintain. Create an enum of whatever your checking for (loot, runes, idk), assign the constants their corresponding properties, iterate over all the enum values in a clean for-each loop and execute your handler code On topic: Log whether your ground item instance is null, make sure the item name is correct, confirm whatever code your using to interact with the item is being executed, etc. There are lots of factors at play here that you're not telling us about.
- About bans
-
How to make a String[] List..?
Then there's another issue besides creating the array. Most likely you haven't configured the GUI correctly to configure the users loot selections.
-
The Full Paint Tutorial - All aspects covered - Pug Tutorials
No, this isn't a color based bot. The bot interacts with the game based off what it finds in the jar file using the injected accessor methods. We're using nothing more than a RuneScape virus. Yes lowered FPS would be better in terms of processing, however adding a sleep to the onPaint would cause an overall "lag" for not only the paint but the game as well (something I doubt a botter would want).
-
The Full Paint Tutorial - All aspects covered - Pug Tutorials
How do you think we can actually "see" the game? RuneScape is just a Java Applet and inside of that applet a Canvas component which is obviously where the game is drawn to. The only way to actually draw to it though is to get the Canvas's Graphics context (using getGraphics) and using that instance to draw whatever it is they need. The bot takes advantage of this by injecting it's own "Canvas" as a superclass of the RuneScape canvas (aka subclassing the canvas since we're replacing the java.awt.Canvas class they're extending with our own). You could also xboot to replace the default one found in rt.jar for the same effect. Any call the game makes to the getGraphics method would then run our custom method where we can draw the current context to a back buffer and layer out paint over top of it, returning the back buffer for the game to draw on.If you're confused let me know, I have some great links stored back from my days of investigating into making my own injection bot.
-
The Full Paint Tutorial - All aspects covered - Pug Tutorials
You'll use more processing power running all those threads than just by calculating the statistic every loop. Besides, considering this is the 21st century, doing simple mathematical calculations a few times per second is nothing for our current processors. The difference between calculating it 50 times versus even 3 times is barely (if at all) noticeable.
-
How to make a String[] List..?
String[] arrayLoot = list.toArray(new String[list.size()]);
-
The Full Paint Tutorial - All aspects covered - Pug Tutorials
Do NOT add a sleep in the onPaint method OSBot subclasses the Canvas (specifically to override the getGraphics method) which allows us to paint directly over the game image buffer. Adding a sleep will not only make your paint update slower but also the game frame rate.
-
Pug Tutorial Island
That clicking is slow as fuck.
-
Stolen car
Call the police station in Colorado, then do it again, and again, and again, and again, etc.
-
interfaces.containingText ?
Well if it's never null obviously either an empty List or List populated with the results is being returned....
-
Help.
If your teachers couldn't give you an explanation of those two words they shouldn't be teachers.
-
Whats the current situation with vip?
I think it was raised to two.
-
Looking for a coder
Why not YouTube a tutorial? This site would probably be the worst to look for a Java mentor anyway.
-
White Berries BOT Request
I only had it for OSBot 1, never ported to OSBot 2. If enough people want it I will.
-
White Berries BOT Request
The Chaos Elemental was moved down and pretty much one hits you if your HP is below 50. I used to have a script for this but now it's pretty much pointless.
-
chill zone
no swag city only for blacks rack city thirsty white bitches
- chill zone