Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

venetox

Members
  • Joined

  • Last visited

Everything posted by venetox

  1. Its coming soon!!!, Gotta go to sleep, but when I get home tomorrow I'm going to implement CLI on both my scripts. Then after that begin on muling!! Muling will be heaps of fun too, gonna have the muling time etc controlled by the Mulee i.e. account getting muled to. Thanks! Would love any feedback and any proggies too!
  2. Features: Command Line support! Mines Coal or Coal and Mithril at the Mining Guild. Banks items. Selects the best pickaxe that can be used by character. Wields pickaxes if possible. Hovers over the next rock. Planned Features (Order of easiest to hardest, not guarunteed): Automatic Muling of items. Web Dashboard control. Some pseudo and some real anti-bans. Mostly focusing on real anti-bans. Command Line Example: Proggies: Download: Not going for SDN ATM. Local Download: Google Drive Link Not currently updated. Version History: Version 1.2_5: * Updated version handling code. Version 1.2_4: + Added automatic version checking, checks most recent version stated by my website. Shows alert box if version mismatch. Does not show alert box if running through CLI with parameters. Version 1.2_3: * Fixed some bugs related to data tracking, where incorrect instance id etc would be used due to my silly webhost. Version 1.2_2: * Fixed paint not incrementing mined Mithril and instead incrementing mined Coal. Version 1.2_1: + Added mining level, and start mining level to data tracker. * Fixed a bug where the script would stop mining and stand still in certain cases. Version 1.2: + Now tracks data such as instanceKey (randomly generated when starting script), ores mined, ore value at time, ores selected, and usernames for auto-creating signatures. Version 1.1: * Fixed a bug causing client to lockup, (did not occur in low resource, low cpu mode hence why I did not catch till now) + Added command line support (refer to Command Line Example spoiler) Version 1.0: + Initial Release.
  3. I think the problem is the way your handling your cases. I ran into similar problems when I first started doing state based scripts. I would say you have problems elsewhere in your code as well as here. The first thing you should do when making a script imo, is layout the logic that you want the script to follow. In this case it would be like this getAction // First check if the inventory is full IF Inventory Is Full IF PowerMine // If it is and we are supposed to powermine, drop our items return DROP ELSE // If it is and we are not supposed to powermine, go to bank and bank our items. return BANK ENDIF ENDIF // Now check if we are inside the place to cut trees IF CAMELOT_TREES contains myPlayer or EDGEVILLE_TREES contains myPlayer // If we are in one of the places we should cut trees, cut them. return CHOP_TREE else // Otherwise, walk to one of the places we should cut trees return WALK_TO_TREES You should not be checking if the tree is null in your getAction logic, and you should not be checking if you are inside a bank in your walk logic. you should be checking if the tree is null in your Chop logic, and in your walk logic should be checking if you are inside the are you want to chop trees. I just whipped this up with comments to explain how I would go about it. http://pastebin.com/tMJTCQNA Main.java http://pastebin.com/z78vRNJ0 Action.java Haven't tested it since I don't have any bot accounts that can cut yews but I don't see any reason for it to not work.
  4. Yeah that's what I thought, I have seen the code where they send packets containing data from mouse clicks but not only would it be stupid to track mouse movement for many reasons but I see know reason to believe they do it. I have done a similar thing where I just had macro script for dropping my logs which just set the mouse position, did it till 99 woodcutting, no ban, although thats just anecdotal evidence from me.
  5. Rename your jar to just "osbot.jar" then have it in your C drive and just use cd C:\ then java -jar "C:\osbot.jar" -XX:ErrorFile=C:/log/java/osbot_error.log
  6. For those of you that aren't understanding the post by Alek. This kind of anti-ban is "pseudo anti-ban", yes jagex CAN and does log your mouse clicks (they do it rarerly iirc), they don't log mouse moving (as far as I know). Because of this, any anti-ban that does not effect what you look like to other players or mods (the people that report and ban you) it will do nothing. Obviously if your script has clear patterns the automatic ban will catch you (I think) but other than that, these types of anti-bans will do nothing at all. If you want a "real anti-ban" you will want to do things that are visible. Things like random pathing (webwalking), random choice of mobs etc, basically making yourself not look scripted to other players. This doesn't apply for all things, i.e. for an alching bot you wouldn't need any anti-ban really because there is no visible difference between a person alching and a bot alching since you just stand there. In short, anything other people can't see does nothing, focus on things people can see. A big thing IMO that helps is talking, HOWEVER don't do what I've been seeing heaps of in varrock west bank where every time the bots bank they just fkn paste a random quote. Theres like 20 of them all just saying something at the same point after banking (sometimes in different languages), and its even clearer they are bots. So be careful with your anti-bans too so they actually are anti-bans. If you make private scripts and will be having multiple accounts running in the same world and area on your script, maybe have them have conversations to each other because that way you can have conversations that shouldn't look scripted. If looking into auto-talking I recommend learning about those auto-talking bots.
  7. Oh yeah, silly me, wrote that up whilst I wasn't home. Odd that it has no widgets. Hmmmm, perhaps you may have to resort to something like reading pixels or something which at least is better than having a long sleep or constantly checking if run can be toggled etc. Surely there has to be a nice way of doing it though.
  8. Hehehe perfect. I can win free stuff and get pc at the same time. It's like a dream come true.
  9. I'm not particularly experienced with the stuff Java has so I didn't even know that was possible although I can see what itpr was doing. A nooby probably wouldnt have understood it too which is why I tried to stick to something basic also. I really like that way though. I guess that just shows how much knowing the languages specific functions etc can make your code much better. I have been programmign in C# pretty much exclusively although I learnt programming in Java so I normally would go through things like that with Lambda expressions in c# but still don't really know how they work in Java. Looks like I learnt something knew! Cheers.
  10. I don't have a member account ATM so can't try test anything, I assume you have, but if you haven't you should find what widget is the text saying "House loading" or whatever and just do .isVisible() on it? That should work providing osbot still shows widget id's when your loading houses (I don't see why it wouldn't). I'd also use a conditonal sleep just because they are a nice failsafe if something odd happens. Example code would I guess be LSWR being LoadingScreenWidgetRoot LSWC being LoadingScreenWidgetChild LSWCC beign LoadingScreenWidgetChildChild (if applicable) new ConditionalSleep(5000) { @--Override // Remove --, forum was tagging a user lol public boolean condition() throws InterruptedException { if(getWidgets().get(LSWR, LSWC, LSWCC).isVisible()) return true; return false; } }.sleep(); This is my best guess since you said that you have checked inventory and objects existing etc, and that it behaves different to other loading screens. But I can't think of a reason why OSBot would determine any widget in the loading screen is visible if it wasnt or vice versa. Let me know if it works!
  11. No problem! I made sure to explain the logic behind it rather giving you just the code because otherwise it can be hard to understand it when new to programming! Good luck with all your future scripts and stuff!
  12. This is how you would want to do it. The reason for it is because getInventory().getItems() returns a list of each individual item. This means that doing getAmount on each Item will print only 1 or whatever the count of that SPECIFIC item is. Not only that, but looping through through getItems() will go through each instance of an item rather than each different type of item. So you store what items you have already done in an Array then when looping through getItems, check if you have already done that item, if you haven't then print it and add it to the Array of items you have done. Here is working code: List<String> itemsAlreadyLogged = new ArrayList<String>(); // Array that contains all the items already logged for(Item i : getInventory().getItems()) { if(itemsAlreadyLogged != null && i != null) if(!itemsAlreadyLogged.contains(i.getName())) // If the item is not in the array of items already logged { log("Item: " + i.getName() + " Amount: " + getInventory().getAmount(i.getName())); itemsAlreadyLogged.add(i.getName()); } }
  13. lIn order for anyone to be able to help you will need to post some kind of error log. To do this launch your osbot jar in an administrator command line with this command. If you are on Windows 10 you can hold Win + X then press A this will launch an admin command prompt. Otherwise open start menu and search cmd.exe then right click run as administrator. Navigate to your osbot folder with the following command. cd "YourOsbotFolder" for example mine is in C:\Users\Harle\Documents\Osbot so I use cd "C:\Users\Harle\Documents\Osbot" then if your command prompt now looks like this You can then paste the following command. You may need to replace "osbot 2.4.89.jar" with the name of your jar keeping the quotes and including the .jar if you have changed the name of your jar. java -jar "osbot 2.4.89.jar" -XX:ErrorFile=C:/log/java/osbot_error.log It should now look like this and the cursor "little underscore" will be flashing just sitting there. Now go through what you would normally do to cause osbot to crash. When it crashes navigate to C:/log/java/osbot_error.log, open osbot_error.log and upload it all to pastebin.com then link the pastebin. If any errors appear in your command prompt, copy and paste them to a separate paste on pastebin and link it also. There may also be log files inside the folder with your osbot jar file, put their contents in a pastebin also. After you have done this, me and other people will be able to help. You may also want to try the following things which could fix it. When in a command prompt again at your osbot folder try. java -jar "osbot 2.4.89.jar" -XX:ErrorFile=C:/log/java/osbot_error.log -Xms256m -Xmx1024m or java -jar "osbot 2.4.89.jar" -XX:ErrorFile=C:/log/java/osbot_error.log -mem j Along with any other things people recommend via a command prompt. java -jar "osbot 2.4.89.jar" -XX:ErrorFile=C:/log/java/osbot_error.log
  14. Looks like it might be caused by your anti-virus, disable all antivirus software including windows defender and then try it, because I'm pretty sure "Operation did not complete successfully because the file contains a virus or potentially unwanted software" actually comes from an anti-virus deleting it.
  15. venetox replied to Token's topic in Resolved
    More likely to be a/multiple memory leak(s) than just having too much JavaScript. Certainly something that needs to be looked into, because although JavaScript has garbage collection, it seems like it has many loopholes. Although I'm not particularly knowledgeable when it comes to JavaScript so who knows.
  16. Looks like this is a problem with the script, You will have to contact the script creator and tell them to fix the error, refer them to this "http://stackoverflow.com/questions/30242060/java-io-filepermission-read-access-denied-when-launching-applet-with-java-8"
  17. try running chmod -R 777 /home/root/osbot or chmod -R 777 /root/osbot that should solve the problem.
  18. This is in the bin while I work on more important stuff. Will eventually do it though. I'm currently doing planning for creating a library that script creators would be able to reference in their script, setup then be able to have their users change their script settings along with check up on the script via a website at any time. I am also planning on creating a piece of external software that will allow users to start new bot instances or close old ones via the website. I am also thinking that later down the line, I may also looking into creating either an AIO that allows you to change what to train and where via the website OR, have it be able to load scripts inside it and then change which script is active (I expect this to be difficult to get nicely working). Setup for Script creators would be something along the lines of: Create account on website, download library Reference the library in script. Get a script API key specific for that script and pass it to the instance of the library in the script. Assign all the variables that should be modifiable in the script. Assign all the variables that should be view-able in the script. Do the same in the website. Script creators will also be able to view global data about the use of their script (similar to what many script creators currently have) Setup for Script users will be something along the lines of: Create account on website. Select Add Script, which will give a unique key for the user to input into the script. Input the key into the script and start. If a user is using the program that will stop/start bot instances, this should all be done automatically. Each unique key will be counted as a separate instance of a bot, it is recommended that the same unique key is used for one account only. The website will show the information regarding current instance of the bot using this unique key, the previous instances and total. I'm well aware this will be a fairly big task, but I will keep this thread updated on my progress, I think its within my capabilities to do however will likely take some time to get functioning well and released. Would love any and all feedback on what features I should and shouldn't have, and any tips on how I should handle certain things, along with any problems you think I may encounter.
  19. Oh hell yeah that's awesome (and probably the best way to make money with it cos you gotta be one-shotting them cows rofl), gonna update my scripts with those when I wake up cos just about to hit the hay, Could I also get another one for my tutorial island script that I'm working on right now. I'm thinking theme could be something like this mod ash photo him instead of where an npc's face would normally be when they talk to you.
  20. venetox posted a topic in Others
    STATUS: On hiatus until my school exams have finished. (Currently functions but still some bugs to iron out) About to start work on a tutorial island script. Once it functions without any bugs, will implement many anti-bank functions. Supports: Iron Man mode. Working on Ultimate Iron man mode. Working on Permanent/Pin mode (pin configurable). Working on If possible will try and allow for a list of accounts to be entered and the script will go through all of them. Iron Man mode can be specified for each one or in bulk. Will start work when everything else finished Can create a random character look or choose a preset look. Done! Pretty basic idea, but would love lots of testing from people when I can no longer find bugs myself. Will keep thread updated with how it is going. Progress (Currently completely finishes tutorial island no matter what progress you start at, ironman not implemented yet): P.S I also plan on having multiple accounts (like 30) just run this script and leave them for quite a while once its all completed and see if any get banned. Will post my results on that later in the future.
  21. I love it! Cheers for font also!
  22. I use it on my new accounts as I don't have any other accounts with any sufficient bank. I posted it because it is pretty much completely functional currently so I figured I may as well.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.