Hello everyone!
Thank you for taking the time to look at my script. This is my first script and my goals were to get my feet wet and get into the scene. I have about three weeks of Java experience and the same amount with the API,
I wanted to make something unique that:
Is not all to common to bot
Can be used F2P and P2P
Involved API basics
Movement
Banking functions
Interacting with NPCs
Interacting with inventory
GUI with options
Paint with updating variables
This script is pretty basic and will simply navigate between Edgeville bank and the Barbarian Village, filling inv with selected food at the bank and killing barbarians/eating food as needed.
Biggest difficulties:
Player would attack NPC out of the area and then loops between clicking back into area and back to the NPC
Pausing the GUI while options are selected!!!
Correct conditional sleeps while banking/banking code
Things to improve as my experience increase:
Use widgets to make sure combat style matches what is selected in GUI
More attractive/interactive Paint layout
Add a selection to GUI to fight the weaker Barbarians around the strong hold or the harder ones in the hall
Use of potions
All in all this was fun to make and ended up being useful to level up a low level accounts, or even a pures, combat stats.
All constructive criticism is welcome.
Big thanks to @Explv for the Scripting 101 tutorial. Wouldn't have been here without it!
Updates:
New name/icon/paint
More variables of food
Supports range exp tracker