It does not require hardcore coding or anything like that, it does though require some work, time and efford. just a little note, my gathering waypoint path aint perfect, i would say it's more or less impossible to make 1 that is 100% effective and accurate, though if u fine tune it 2-3 times they get very VERY effective i must say.
note 2: please DO NOT ask for others to post theyr gathering path. make one for your selfe, this way you know it's personal, and know it's weak spots.
note 3: The harvesting option aint perfect, it has it's limitations.
you can ONLY have 1 bot open and harvesting, since u need the windows to be on top, this has something to do with the mouse imput used to make the bot able to gather.
this ALSO means you CAN NOT use the computer for ANYTHING else while the bot is on harvesting.
leaving the window in background would make the bot follow the path you createt BUT NOT collect ANYTHING at all.
and last note:
Note 4: THIS IS A TIME CONSUMMING PROCESS.
Okay, lets move ón to the part HOW TO - For Dummies
Okay, here is what u do, you create a path with the createpath function, u WRITE DOWN every single node (the number of the waypoint you just createt, you can see the number in MicroMacro) down on some paper or that alike.
When you are done, you open the waypoint script and edit it, implying "player:harvest();" in each waypoint where you want the bot to gather.
EXAMPLE:
Code: Select all
<!-- #10 --><waypoint x="-2376" z="-9763">
player:harvest();
</waypoint>
and MAKE SURE that you imply that the waypoint is TRAVEL mode by setting the first line to look like this in your waypoints script
Code: Select all
<waypoints type="TRAVEL">
AND set your profile to have 0 waypoint deviation, this way your character wont go wrong in town if u set the waypoints to go around obstackels. (you do that in your Character Profile Script)
Code: Select all
<option name="WAYPOINT_DEVIATION" value="0" />
Code: Select all
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-1820" z="-10323">
player:harvest();
</waypoint>
<!-- # 2 --><waypoint x="-1955" z="-10397">
player:harvest();
</waypoint>
<!-- # 3 --><waypoint x="-1986" z="-10336"></waypoint>
<!-- # 4 --><waypoint x="-2152" z="-10229">
player:harvest();</waypoint>
<!-- # 5 --><waypoint x="-1824" z="-10124">
player:harvest();
</waypoint>
</waypoints>
I would Recomendend that the way doing this is as following:
1. You make the path using the Createpath Function. Look on your map (even write your coordinates down if you like) to see where you start, this is so when you want to end the path it ends near the starting possition, avoding complications with the bot Running the Path several times.
2. WRITE DOWN every waypoint number where you want the bot to gather, this way when you are done doing the path, you know at wich points u want the bot to gather, and wich waypoints ONLY are waypoints.
3. When done with editing your path, having implied the harvest function on every waypoint node you want it to gather, let it run a few laps, just 1-2 laps. This way you can see if your path aint complete (and trust me, IT WONT be complete after first try)
This also ensures that you have made the waypoints properly go around any obstackles that the bot may or may not encounter on his path.
4. when/if you add some more waypoints where to gather, run a bit away from the place where u added the node, and RESTART the bot (Using the CTRL+L function and typing in rom/bot.lua again) just starting the bot again from having it on pause will have it run to the same waypoints as he was before you put it on hold.
5. when done, clean up your waypoint script, making ALL the waypoints have the right number, else if you see an flaw in your waypoint script, you wont be able to fix it fast since the bot dosent care about the numbers and just counts the waypoints, in other words, if u name all waypoints #3 it will still count 1-2-3 for each waypoint in the script.
This is all, and by the way, did i mention that my path aint perfect ? it DOES still bypass some gathering nodes. this comes from EVERY single node not being "online" when you make the path. so my best bet for making the path perfect would be overlooking the bot run it atleast 20 laps, and this is still no ensurance.
so a good tip is just to make it a 100+ waypoint script, and you would have a quite good Gathering path.
If any quistions OR things i Should add, please post so. BUT DO NOT ask about my waypoint scripts. OR ANYBODYS elses for that sake.
if you dont have the time to make a propper path dont bother playing at all.
Thanks for Reading my Tutorial, hope it helps you in any way