RoM Harvest
Contents
Harvesting with the RoM Bot
There are a few things you should know about harvesting with the RoM Bot:
- The RoM window has to be in the foreground.
- You have to create your own harvesting waypoint files. That means you have to run to every resource node and save the position of each node.
Create a harvesting waypoint file
Start waypoint creator script:
rom/createpath.luaNow walk to every node, you want later to harvest and press NUM-2. That will save the position of the node and insert the harvest command within the waypoint file. After all nodes, save the file by pressing the NUM-3 button and enter a name (e.g. harvest1-8).
Your waypoint file will look like:
<waypoints>
<!-- # 1 --><waypoint x="-6541" z="4937"></waypoint>
<!-- # 2 --><waypoint x="-6390" z="5210">player:harvest();</waypoint>
<!-- # 3 --><waypoint x="-6421" z="5317">player:harvest();</waypoint>
<!-- # 4 --><waypoint x="-6281" z="5408"></waypoint>
</waypoints>Add the waypoint type="TRAVEL" to your waypoint file, if you don't want to target mobs while harvesting:
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-6541" z="4937"></waypoint>
<!-- # 2 --><waypoint x="-6390" z="5210">player:harvest();</waypoint>
...The player:harvest() command
The waypoint file creator 'createpath.lua' will insert the harvesting command into your waypoint file:
player:harvest();
You use 'player:harvest()' to scan that waypoint for a harverst node and harvest that (at the moment only working if the RoM window is in foreground). If you only want to gather ressources, there is no need to change anything.
There is a special use of the function, if you want to 'havest' special objects like daily quest items.
player:harvest(["test"|id]);
Use 'player:harvest("test")' to list id's of objects in front of you (e.g. quest objects), use 'player:harvest(id-nr)' to scan and use/open a object with that given object-id.
Start the bot with your harvesting path
You can insert the harvesting file within your profile or start the bot directly with your forced new waypoint file:
rom/bot.lua path:harvest1-8Later editing of your harvesting path
If you want to change your harvesting path, add new nodes or change the position of node, it is recommended to start a second MM window with the createopath script. By doing that, you can edit the waypoint file, while you are using it at the same time in the bot. You also should use an editor with automatic line numbering like Textpad.
Use the RoM ingame addon ygather if you want to remember all available node. Just let the bot run a view rounds around new areas. ygather will remember all nodes around and show them at the map/minimap. You can now create a waypoint file, that also includes the nodes, that are not available at the moment.
Expert profile options to configure the harvesting scan procress
You can enter the following option within your profile to configure the scan process to you needs. If is in general recommended to move the camera view beetwen a medium and far distance.
<option name="HARVEST_SCAN_WIDTH" value="5" /> -- steps horizontal
<option name="HARVEST_SCAN_HEIGHT" value="5" /> -- steps vertical
<option name="HARVEST_SCAN_STEPSIZE" value="60" /> -- wide of every step
<option name="HARVEST_SCAN_TOPDOWN" value="false" /> -- true = top->down false = botton->up
<option name="HARVEST_SCAN_YREST" value="10" /> -- scanspeed: higher values = slower scan
<option name="HARVEST_SCAN_YMOVE" value="1.1" /> -- move scan area top/down ( 1 middle of screen )
<option name="HARVEST_TIME" value="45" /> -- how long we maximum harvest a nodeThe HARVEST_SCAN_STEPSIZE is valid for a screen width of 1024 and will be recalculated for other screen resolutions.
More informations about harvesting could be found in that forum post.