Search the Community
Showing results for tags 'config'.
-
Here, you're going to learn how to set up your Eclipse for the following: Automatically compile and save your scripts to script folder folder each time you save your work. Share the same script files across many projects. Recompile everything in the event of script conflicts or corruptions. Let's start: Automatically compile and save your scripts to script folder folder each time you save your work 1. Open Eclipse and navigate to Window > Preferences. 2. Navigate to General > Workspace > Linked Resources 3. Click "New..." and create a new resource, then give the new path a name and set the location to OSBot script folder 4. Click "Ok" and the new resource will be listed 5. Navigate to Java > Compiler > Building, then under "Output Folder" untick the "Scrub output folders when cleaning projects" 6. Apply and close your preferences then make a new script project 7. Name the project and click "Next" 8. Where it says "Default output folder:" click browse 9. Very important: select the project! Then click the "Create New Folder..." button 10. Open the advanced options and select the variable you created earlier. 11. Select the new folder path and click "OK" Your OSBot folder will now be used to compile and save your scripts directly to. 12. Time to test. Click on the "Libraries" tab, then click the "Add External JARs..." button and add OSBot, then click "Finish". 13. Create a new script 14. Add a script manifest and some code 15. Launch OSBot and check to see if your script appears in the list Share the same script files across many projects 1. Create a new framework project 2. Right click your script project, go to "Properties", click on the "Projects" tab and add your framework to the list Recompile everything in the event of script conflicts or corruptions Note: you should only really need to do this if you've been messing with the files in OSBot/scripts without using Eclipse, or if you've got multiple Eclipse workspaces all outputting to the same folder, or you've deleted some Eclipse projects that are being used by other projects. 1. Go to "Project" and "Clean..." 2. Select all (or some) of the projects you want to totally recompile
-
Hello everyone, I wanted to ask if it is possible to change mouse/cursor movement when using webWalk() or cursor movement in general? By that I mean adjust speed, path etc. When I sent my bot to Bank in Lumbridge, I saw that it went up the stairs in an instance which is way too fast and it might trigger Runescape antiBot system, maybe I thought there is a way to slow it down? And also I noticed that my mouse in a straight path when using interact()? I am not asking for a full working code, just a guideline of what methods to use/overwrite to achieve that? Thank you P.S. OFFTOPIC: I also have a question how to resume after random event? After random event my bot just freezes, time is ticking but I have to pause and unpause in order to resume? Does it throws an exeption or do I have to set a certain listener to listen when random event is solved?
- 9 replies
-
- programming
- cursor
- (and 5 more)