Jump to content

Renegeade

Members
  • Posts

    34
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Renegeade

  1. Well, in PC, you cannot have more than 250 points, which means if you play more games while at 250 points, you don't get any more points - it becomes a waste of time. You can have the bot log off when it reaches 250 points. It doesn't make sense to keep playing if 250 points has been reached As for getting stuck behind the tree outside the boat, I'm looking to see how I can fix that, it's one spot in particular.
  2. Just don't bot at a hotspot lol. Even if it means sacrificing XP/hr, bot at a non-hotspot - you'll be able to bot much longer hours without detection. I currently bot 18 hours a day combat at a very nonstandard location. What you lose in XP/hr you can make up in "brute forcing" the time.
  3. There are also keygenerators for all IDEA products written in Java. The source is available online
  4. Not a problem with worldhopper, it's a problem with your script
  5. I sent you a contact request on Skype
  6. Hello, I'd like to purchase $100 worth of 07 RSGP. I'm looking for offers better than 40m. I have a verified PayPal (United States). Alternatively, I can pay in bitcoin
  7. Updated download link and included source. Scripters and users alike, enjoy!
  8. Updated once again! The full release is out & stable, please let me know if you have any issues
  9. Close to releasing, here's what the GUI looks like! Pathfinding has been fixed, the bot now runs to the portal in a much more humanlike manner. Just doing a few test runs now before release!
  10. I ended up using a hacky solution to get the stacktrace from the bot thread. It looks like the NPE was getting thrown in a function called $$$setupUI$$$(), which is automatically generated by Intellij for the Swing designer. I had no clue as to why it wasn't working, so I ended up deleting the form and recreating it, and it worked.
  11. Do you accept Vanilla Visa gift cards?
  12. No, PestControl is the main class. I designed the GUI with Intellij's Swing designer. StartConfig contains the control JPanel, which I add into a JFrame I have already pinpointed the constructor for StartConfig as the error, the rest of onStart works properly
  13. Hello, I'm working on a script for OSBot, but I've run into a bit of an issue that's driving me crazy I try to open up a JFrame in my onStart(), and I always get the error "Error in script onStart()". That would be fine and dandy if I got some kind of exception in the console, but I'm not, so I have no idea why the error is occurring. By printing out things via the logger, I've determined that the issue is occurring in a constructor of mine. However this constructor still causes an issue even if it's blank. public void onStart() { this.getBot().getLogger().debug("Opening up JFrame..."); config = new StartConfig(this); window = new JFrame("Start PestControlSucks"); window.setSize(570, 330); window.add(config.getControlPane()); window.pack(); window.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); Dimension dim = Toolkit.getDefaultToolkit().getScreenSize(); window.setLocation(dim.width / 2 - window.getWidth() / 2, dim.height / 2 - window.getHeight() / 2); window.setVisible(true); this.getBot().getLogger().debug("JFrame opened, waiting on user input!"); } Based on previous debug messages I left, it never gets past new StartConfig public StartConfig(PestControl instance) { this.instance = instance; try { instance.getBot().getLogger().debug("Setting up radio group"); radioGroup.add(radioPurchaseXP); radioGroup.add(radioPurchaseVoid); radioGroup.add(radioLogOut); defaultColor = panelAttack.getBackground(); instance.getBot().getLogger().debug("Starting to load icons"); // Experience rewards labelAttack.setIcon(loadImageIcon("attack")); labelStrength.setIcon(loadImageIcon("strength")); labelDefence.setIcon(loadImageIcon("defence")); labelRange.setIcon(loadImageIcon("range")); labelMagic.setIcon(loadImageIcon("magic")); labelHitpoints.setIcon(loadImageIcon("hitpoints")); labelPrayer.setIcon(loadImageIcon("prayer")); // Void rewards labelVoidMace.setIcon(loadImageIcon("void_mace")); labelVoidBottom.setIcon(loadImageIcon("void_bottom")); labelVoidTop.setIcon(loadImageIcon("void_top")); labelVoidMelee.setIcon(loadImageIcon("void_melee")); labelVoidRange.setIcon(loadImageIcon("void_range")); labelVoidMage.setIcon(loadImageIcon("void_mage")); labelVoidGloves.setIcon(loadImageIcon("void_gloves")); buttonStart.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { StartConfig.this.instance.reallyStart(); } }); } catch (Exception ex) { instance.getBot().getLogger().debug("Error: " + ex.toString()); instance.getBot().getLogger().error(this, ex); ex.printStackTrace(); } } However, it never even gets to "Setting up radio group" What's going on? Is there any way to enable stacktraces for onStart() Thanks!
  14. I added in a few new features and fixed a few bugs. - Fixed getting stuck on brawlers - Fixed pathfinding from spawn to center - Fixed running away from gangplank - Added spam-clicking gangplank to get on lander as fast as possible after games - Added ability to automatically purchase XP or void gear - Added paint I hope to release it later on today after I finish polishing up the GUI!
  15. I released it at this point to test out if there would be any bugs. I'm currently working on another version that I'll release later today with more pizzazz in terms of eye candy
  16. What's the name of the online malware scanner again? I remember there used to be one that everyone linked to, but I can't remember it now
  17. Features Intelligent Pathfinding: Can walk around the entire Pest Control map Does Not Leech: PCS actually helps - it attacks downed portals and destroys spinners - never get called a leecher again! Buys Rewards Automagically: Too lazy to even buy the reward? No matter, PCS can buy it for you! Fast Game Joining: Enters the lander immediately after the round ends, ensuring you get in the next round ASAP Screenshots The script is pretty much flawless at this point - here's an 8.5 hour proggy, left running overnight. The points per-hour rate isn't too good, because the world is filled with bots overnight, but it has played humanly on every single round Links Download http://fag.berlin/Renegade/pestcontrolsucks/raw/master/PestControlSucks.jar Source http://fag.berlin/Renegade/pestcontrolsucks/tree/master VirusTotal
  18. If this is not the expected way to do it, what would you suggest? My script needs to walk long distances, and LocalWalker seems to stop working somewhere along the path without fail. It's at a different point every time.
  19. Shouldn't be too much of an issue considering that if the script is stuck too long OSBot interrupts the thread the script is running on. Furthermore, if the player is being attacked while moving, then the scripter should break down the long path into shorter paths and write special code to account for the areas in which the player could get attacked. Otherwise, continuing to move will ensure that the player gets away from the zone of combat. If the original scripter didn't write his own code to handle areas of combat, then that's laziness on the part of the scripter, not anything with this snippet. Furthermore, this doesn't really break the design pattern; from what I can tell, the design pattern of OSBot is to throw a thread at the problem: All the function calls are blocking. When you say that all the script loops are meant to return as quickly as possible, you're thinking of an async, callback-orientated API, which OSBot clearly is not.
  20. Hey everybody, One of the things I noticed while developing a script was that walkPath for a Position array sometimes just stops working in the middle for long walking distances. So I wrote a snippet that seems to work around the problem! It checks the distance from the final position every 3 seconds. If the distance from the final position has not changed over 3 seconds, then it builds a "shortened" list, starting from the closest point to where the client is, to the destination, and restarts the local walker. Pretty simple and effective private void safeWalkTo(Position[] p) throws InterruptedException { this.getLocalWalker().walkPath(p); Position lastPos = p[p.length - 1]; while (true) { double lastDistance = distanceSquared(this.myPosition(), lastPos); if (lastDistance < 4.5d) { break; } sleep(3000); if (Math.abs(distanceSquared(this.myPosition(), lastPos) - lastDistance) < 1.1d) { ArrayList<Position> shortenedPath = new ArrayList<Position>(); boolean startAdding = false; for (Position pos : p) { if (distanceSquared(this.myPosition(), pos) < 100d) { startAdding = true; } if (startAdding) { shortenedPath.add(pos); } } this.getLocalWalker().walkPath(shortenedPath); } } } private double distanceSquared(Position p1, Position p2) { return Math.pow(p1.getX() - p2.getX(), 2d) + Math.pow(p1.getY() - p2.getY(), 2d); }
×
×
  • Create New...