Jump to content

Swizzbeat

Members
  • Posts

    7986
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    100%

Everything posted by Swizzbeat

  1. Then how do you accept incoming requests from script writers? You obviously have to configure the key on the the client and then send that in the request. My point is that if I was using your API I could send whatever data I wanted as long as I had your authentication code (which ever script writer would).
  2. The issue is more so along the lines of someone configuring a valid experience/items gained/time ran/etc. request with bogus data and sending that in.
  3. Just bootstrap that shit.
  4. The only reason I come onto these forums anymore is just to see you shit on his Mercedes.
  5. 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.
  6. No, strategicially invest it so it can grow faster than the rate of inflation.
  7. Disable user input and it won't bring it up. VIP won't do anything since I put it in the script :p
  8. Sleep faster, I would recommend. Best line of the whole speech.
  9. 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.
  10. Then there's another issue besides creating the array. Most likely you haven't configured the GUI correctly to configure the users loot selections.
  11. 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).
  12. 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.
  13. 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.
  14. String[] arrayLoot = list.toArray(new String[list.size()]);
  15. 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.
  16. That clicking is slow as fuck.
  17. Call the police station in Colorado, then do it again, and again, and again, and again, etc.
  18. Well if it's never null obviously either an empty List or List populated with the results is being returned....
  19. Swizzbeat

    Help.

    If your teachers couldn't give you an explanation of those two words they shouldn't be teachers.
  20. Why not YouTube a tutorial? This site would probably be the worst to look for a Java mentor anyway.
×
×
  • Create New...