Jump to content

venetox

Members
  • Posts

    110
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by venetox

  1. 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.
  2. 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
  3. 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.
  4. 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.
  5. Hehehe perfect. I can win free stuff and get pc at the same time. It's like a dream come true.
  6. 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.
  7. 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!
  8. 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!
  9. 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()); } }
  10. 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
  11. 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.
  12. venetox

    JavaScript

    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.
  13. 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"
  14. try running chmod -R 777 /home/root/osbot or chmod -R 777 /root/osbot that should solve the problem.
  15. 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.
  16. venetox

    HTutorialIsland

    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.
  17. I love it! Cheers for font also!
  18. 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.
  19. It seems to be around ~40k an hour depending on whether the world you are on has an active firemaking skiller. I mostly use it for getting my new accounts a small bank to buy basic supplies to run other scripts with. Replied to your thread with details
  20. Oooh baby! Can I get two separate paints. One for my GE Ashe Collector script, Should have: Time Running, Ashes Collected, Ashes/h, Ashes Value, Gold/h Theme would be something to do with ashes and/or a g.e clerk. And second script is Cow Killer script. Should have: Time Running, Cowhides Collected, Cowhides/h, Cowhides Value, Gold/h Theme would be something todo with cowhides and some npc related to cows (maybe Gillie Groats) It should go over the chat box (not the all/game/public part just the chat box) Let me know what font you use so my paint text can fit in with it. EDIT: Also need a Status section on both of them, preferably enough for like 30 characters maybe
  21. Venetox's Grand Exchange Ashe Collector STATUS: On hiatus until my school exams have finished. (Currently functions but still some bugs to iron out) This is a script I created in an hour or two to get some quick cash on a fresh account to buy some stuff from GE with minimal effort. Requires you to be in the grand exchange when bot starts right now. Planned: Auto-change target ash if another player is trying to take it and will make it there first. World hop when no ashes found for ~15 seconds Done: Implement autowalk to GE. Done! Make a nicer paint. Done! Credit to Screenshots: Download link: https://drive.google.com/file/d/0ByyEx9vXOFrVajFuZ0dLT1d2QzQ/view?usp=sharing Report any bugs, issues, or recommendations on this thread!
×
×
  • Create New...