Register for your free account! | Forgot your password?

You last visited: Today at 23:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



RoM Bot

Discussion on RoM Bot within the General Gaming Discussion forum part of the General Gaming category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 1
Received Thanks: 0
RoM Bot

Ich hab hier mal einen netten Bot gefunden!

Quote:
Requirements:
MicroMacro v0.99 or newer
MicroMacro 1.0 highly suggested, which you can get here

Setup:
Extract the contents of the zip into micromacro/scripts/. The whole 'rom' folder should be inside 'scripts'.

Now you'll need to make a waypoint script. Start MicroMacro and execute the rom/createpath.lua script when prompted. You just walk to each point you want in your waypoint list (try to avoid walking near any trees, fences, steep hills, etc.), and press NUMPAD 1. Once you've made your round (the waypoints should loop back and bring you near the start), press NUMPAD 3. Now type in the name you want to save it as (example: 'boars' would be good enough. Don't include any slashes, and the .xml extension is automatically applied).

Next you must make a profile. Go to the profile directory and make a copy of Default.xml, but rename it to whatever your character name is. It must be exact, but capitalization shouldn't mater. For the waypoint script option, you will apply the '.xml' extension this time.

Finally, open up settings.xml and make sure everything is correct.

Profile specifics::
profile.options:

HP_LOW : The percentage of health to use heal skills at
HP_LOW_POTION : The percentage of health to use potions at
MP_LOW : The percentage of mana to use mana potions at
PATH_TYPE : The type of movement to use. Should be either 'waypoints' or 'wander'. See path types for more information.
WAYPOINTS : The filename (including .xml extension) of the waypoint script to use. Must reside in the 'waypoints' folder!
RETURNPATH : The filename (including .xml extension) of the waypoint script to use for returning after death. Must reside in the 'waypoints' folder!
WAYPOINT_DEVIATION : A 'random' offset applied to each waypoint in your path giving it less of a bot-like appearance; suggested value of 50. Lower value means you stick closer to your normal path; 0 means no deviation.
COMBAT_TYPE : Either "melee" or "ranged". Whichever best fits your character.
COMBAT_DISTANCE : The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is "ranged".
ANTI_KS : Whether or not to avoid stealing other players' kills. true or false.
LOOT : Whether to pick up items or not. true or false.
ENERGY_STORAGE_1 : Should be your primary classes' energy type: mana, rage, concentration, or energy.
ENERGY_STORAGE_2 : Should be your secondary classes' energy type: mana, rage, energy, concentration, or none (if no secondary class, or both classes use the same energy type).
POTION_COOLDOWN : The cooldown, in seconds, for potions. Typically either 15 or 30, depending on the type used.
MAX_FIGHT_TIME : If you stop damaging a target within this amount of time, you will skip this target (prevents getting stuck).
DOT_PERCENT : Only use DOTs on this target if it has more than this percentage of HP.


profile.friends:
A list of your "friends" or party members. The bot will consider it OK to KS/assist these people even with ANTI-KS turned on. Later, it may allow you to heal/buff "friends".

profile.hotkeys:

HP_POTION : The hotkey for your HP potions. Duh.
MP_POTION : Guess what this does?
ATTACK : The hotkey for you standard attack, found under the general tab. Yes, it's needed.
RES_MACRO : The hotkey to a macro on your action bar that is used to resurrect your character. See returning after death for more information.


profile.skills:
A list of the skills your character will use with their associated hotkeys. Examples:
Code:
<skill name="PRIEST_INSTANT_HEAL" level="10" hotkey="VK_1" modifier="" />
<skill name="SCOUT_WIND_ARROWS" level="15" hotkey="VK_2" modifier="" />

Must be a skill that is listed in database/skills.xml
name must follow the convention CLASSNAME_SKILLNAME. All capitol letters, using underscores for spaces.
Only skills that need mana should use the level attribute. Other skills do not have increasing requirements, so it is unnecessary.


To use:
Very simple. Just open up RoM and log in. Now open MicroMacro and execute the script rom/bot.lua and then press DELETE to start. That's it. If you have multiple RoM windows open (multiple bots are supported) then you must bring the window to attach to to top then press DELETE again.


Path types:
There are two basic path types for this both: 'waypoints' and 'wander'.

'waypoints' : Follow the specified waypoint script.
'wander' : Walks around randomly near the area where you start the bot. You do not need to set a waypoint script for this to work.


Returning after death:
When your character dies, it may optionally resurrect and return to botting. In order to do this, you must set:

* A return path in profile options
* A resurrection macro in profile hotkeys


If you haven't already, set up a macro (type /macro in the game's chat). Your macro should contain this code:
Code:
/wait 1
/script AcceptResurrect();


Place this new macro in your action bar, and set it's hotkey in your profile. See profiles/Default.xml for an example.

You must now create a return path. You create a return path exactly like you do a normal waypoint script. The only difference is you start at the resurrection point, and make a set of waypoints to a location near the waypoint path you want to return to. Save it, and set your RETURNPATH in your profile options. See profiles/Default.xml for an example.

Everything should be working now. When you start the bot, it should say it has loaded the waypoints and return path. Remember, return paths only work when using a 'waypoint' PATH_TYPE.

Notes:
'modifiers' (ie. VK_CONTROL, VK_ALT, VK_SHIFT) currently do not work, so make your hotkeys only single keys.


Common problems:
My skills aren't working. Why?

Press escape and go to interface settings. Turn on Self Cast. This will help for buffs at least.
Next, make sure your energy types are set correctly in your profile. Your primary energy storage is set to the energy type that your primary class uses, and your secondary energy storage is (obviously) for your secondary class. If both classes use the same energy type, then only the primary storage is needed, and the secondary storage can be set to "none".

For example, a knight/warrior would use primary storage of "mana" and secondary storage of "rage". A mage/priest would use a primary of "mana" and secondary of "none". The values are case sensitive, so "Mana" would not work.


Why can't I loot? I have looting enabled.

Press escape and go to interface settings. Make sure you enable Click to Move and Auto Loot. Both settings need to be enabled to make looting work properly.

You must also have the default attack (named 'Attack', found under general skills) hotkeyed and properly configured in your profile.


RoM just updated and now the bot doesn't work anymore! What do I do?

If you're using MicroMacro 1.0 or newer (yes, you MUST have 1.0 or newer. 0.99 won't work here), you can do one of the following:
Run: rom/update.lua
Finds and rewrites addresses.lua with updated infoRun: rom/bot.lua update
Does the same as above, but also starts the bot automatically with new info.



Setup tutorial video - by Top115:

This covers all of the basics you will need and may aid you in setting up your bot.


Credits:
Myself (elverion) - scripting
Zephyr - helped with skill database, testing

Dieser Bot funktionirt sehr gut meiner Meinung nach porbiert es Einfach aus



mfg übermage
übermage is offline  
Old 04/18/2009, 21:58   #2
 
Top115's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 151
Received Thanks: 75
Setup tutorial video - by Top115

mehr brauch ich dazu wohl nciht sagen *fg*
ähm, ja aber elverions bot hat ihr längst einen eigenen thread ^^
Top115 is offline  
Old 04/18/2009, 22:07   #3
 
Atheuz's Avatar
 
elite*gold: 81
Join Date: Jul 2005
Posts: 1,921
Received Thanks: 2,239
Atheuz is offline  
Old 04/18/2009, 22:08   #4
 
run32.dll's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 126
Received Thanks: 83
fail ... die plz
run32.dll is offline  
Closed Thread




All times are GMT +2. The time now is 23:09.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.