RoM Harvest

From SolarStrike wiki
Jump to: navigation, search

Harvesting with the RoM Bot

There are a few things you should know about harvesting with the RoM Bot:

  • 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.
  • Harvesting does not, currently, check skill level verse harvest difficulty before attempting to harvest. That is, if you have a Wood cutting level 1 and have a harvest point near a level 50 wood, it will still attempt to harvest it.

Create a harvesting waypoint file

Start waypoint creator script:

rom/createpath.lua

You could also start the creator with a forced profile:

rom/createpath.lua profile:l1-10

Now 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-8

Later 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 createpath 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.

Profile options to configure the harvesting scan process

There are a few harvest options which you can configure in your profile that allow you to set exactly which nodes you wish to harvest. More detailed information can be found in the Profile Options wiki page.