RoM bot
Re: RoM bot
I love you, *g... Thanks for making it, by the way, it would be great if you could show us how you find the static adresses, because for its me rather a problem to find those than to make a code cave or some api hooks
I just found the tutourial thanks xDD
Edit: the player location doesnt seem right to me, i created a path and its walking completly different ways.
I just found the tutourial thanks xDD
Edit: the player location doesnt seem right to me, i created a path and its walking completly different ways.
-
- Posts: 10
- Joined: Fri Feb 27, 2009 6:07 pm
Re: RoM bot
Got it working!!
Thanks great bot!
Also can you set it to harvest? Wood/ore/ect...?
Thx Wolf.
Thanks great bot!
Also can you set it to harvest? Wood/ore/ect...?
Thx Wolf.
Re: RoM bot
hmm seems targeting is pretty screwed up now, it tends to run right passed mobs now, while in the previous rom version it worked alot better.
Is it possible to rehost the previous version if anyone still has it, then i will change the adresses myself. already died 4 times coz of my char just walking passed 5 mobs and then gets gangbanged when it stops moving.
Is it possible to rehost the previous version if anyone still has it, then i will change the adresses myself. already died 4 times coz of my char just walking passed 5 mobs and then gets gangbanged when it stops moving.
Re: RoM bot
Settings.xml
<settings>
<hotkeys>
<!-- Cannot use modifiers -->
<hotkey description="MOVE_FORWARD" key="VK_W" modifier="" />
<hotkey description="MOVE_BACKWARD" key="VK_S" modifier="" />
<hotkey description="ROTATE_LEFT" key="VK_Q" modifier="" />
<hotkey description="ROTATE_RIGHT" key="VK_E" modifier="" />
<hotkey description="STRAFF_LEFT" key="VK_A" modifier="" />
<hotkey description="STRAFF_RIGHT" key="VK_D" modifier="" />
<hotkey description="JUMP" key="VK_SPACE" modifier="" />
<hotkey description="CLEAR_TARGET" key="VK_ESCAPE" modifier="" />
<hotkey description="TARGET" key="VK_TAB" modifier="" />
</hotkeys>
<options>
<option name="MELEE_DISTANCE" value="45" />
</options>
</settings>
profile
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="40" />
<option name="HP_LOW_POTION" value="30" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="fungus.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="rage" />
<option name="ENERGY_STORAGE_2" value="energy" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>
<skills>
<skill name="KNIGHT_HOLY_SEAL" hotkey="VK_0" modifier="" />
<skill name="KNIGHT_ENHANCED_ARMOR" level="10" hotkey="VK_9" modifier="" />
<skill name="KNIGHT_RESOLUTION" level="10" hotkey="VK_8" modifier="" />
<skill name="KNIGHT_SHIELD_OF_ATONEMENT" level="10" hotkey="VK_3" modifier="" />
<skill name="KNIGHT_PUNISHMENT" level="10" level="27" hotkey="VK_2" modifier="" />
<skill name="PRIEST_INSTANT_HEAL" level="10" hotkey="VK_5" modifier="" />
<skill name="PRIEST_REGENERATE" level="10" hotkey="VK_6" modifier="" />
<skill name="PRIEST_MAGIC_BARRIER" level="10" hotkey="VK_4" modifier="" />
</skills>
</profile>
<settings>
<hotkeys>
<!-- Cannot use modifiers -->
<hotkey description="MOVE_FORWARD" key="VK_W" modifier="" />
<hotkey description="MOVE_BACKWARD" key="VK_S" modifier="" />
<hotkey description="ROTATE_LEFT" key="VK_Q" modifier="" />
<hotkey description="ROTATE_RIGHT" key="VK_E" modifier="" />
<hotkey description="STRAFF_LEFT" key="VK_A" modifier="" />
<hotkey description="STRAFF_RIGHT" key="VK_D" modifier="" />
<hotkey description="JUMP" key="VK_SPACE" modifier="" />
<hotkey description="CLEAR_TARGET" key="VK_ESCAPE" modifier="" />
<hotkey description="TARGET" key="VK_TAB" modifier="" />
</hotkeys>
<options>
<option name="MELEE_DISTANCE" value="45" />
</options>
</settings>
profile
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="40" />
<option name="HP_LOW_POTION" value="30" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="fungus.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="rage" />
<option name="ENERGY_STORAGE_2" value="energy" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>
<skills>
<skill name="KNIGHT_HOLY_SEAL" hotkey="VK_0" modifier="" />
<skill name="KNIGHT_ENHANCED_ARMOR" level="10" hotkey="VK_9" modifier="" />
<skill name="KNIGHT_RESOLUTION" level="10" hotkey="VK_8" modifier="" />
<skill name="KNIGHT_SHIELD_OF_ATONEMENT" level="10" hotkey="VK_3" modifier="" />
<skill name="KNIGHT_PUNISHMENT" level="10" level="27" hotkey="VK_2" modifier="" />
<skill name="PRIEST_INSTANT_HEAL" level="10" hotkey="VK_5" modifier="" />
<skill name="PRIEST_REGENERATE" level="10" hotkey="VK_6" modifier="" />
<skill name="PRIEST_MAGIC_BARRIER" level="10" hotkey="VK_4" modifier="" />
</skills>
</profile>
Re: RoM bot
arg as i saw those settings, i just realized, i modified the key settings and used the standard keys in the bot ! Sorry for saying the coords are wrong ^^...
since the targets are beeing detected by tab & memory reading i dont think its possible because you cant select minerals and so on by tabWolfgangwarriors wrote:Got it working!!
Thanks great bot!
Also can you set it to harvest? Wood/ore/ect...?
Thx Wolf.
Re: RoM bot
Hrmm... question. What does the <option name="COMBAT_DISTANCE" value="200" /> do?
I'm a knight and sometimes when i'm near a yellow mob (not aggro) it doesn't detect it and then it walks a far distance to the next mob.
Is there a way to make the character attack things that are close?
I'm a knight and sometimes when i'm near a yellow mob (not aggro) it doesn't detect it and then it walks a far distance to the next mob.
Is there a way to make the character attack things that are close?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
Ziomal214: Your energy bars are set to rage and energy, but you use mana (knight/priest). Change your primary storage to "mana" and secondary to "none".
For your second question, open rom/classes/player.lua in notepad, press CTRL+G. Type in 373, and click OK. You'll see this line:
Change the 2 to a 1 or 0 and save, then reload the bot (CTRL+L).
MnC2004, follow these instructions as well.
COMBAT_DISTANCE is for ranged fighters. It shouldn't affect you if you are melee.Hrmm... question. What does the <option name="COMBAT_DISTANCE" value="200" /> do?
I'm a knight and sometimes when i'm near a yellow mob (not aggro) it doesn't detect it and then it walks a far distance to the next mob.
Is there a way to make the character attack things that are close?
For your second question, open rom/classes/player.lua in notepad, press CTRL+G. Type in 373, and click OK. You'll see this line:
Code: Select all
if( canTarget == false and os.difftime(os.time(), startTime) > 2 ) then
MnC2004, follow these instructions as well.
Re: RoM bot
Administrator wrote:Ziomal214: Your energy bars are set to rage and energy, but you use mana (knight/priest). Change your primary storage to "mana" and secondary to "none".
<3 you
-
- Posts: 4
- Joined: Sat Feb 28, 2009 8:49 pm
Re: RoM bot
i see where to download micromacro, but i can't seem to find the link to the rom scripts? am i missing something?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
It's attached to the very first post in this thread.carolinaswamp wrote:i see where to download micromacro, but i can't seem to find the link to the rom scripts? am i missing something?
Re: RoM bot
hey all,
the bot has been working gret until recent for me. i keep getting yellow text and i dont know how to paste my log but i get this in the cmd window.
D:\micromacro]lib]lib.lua:396:ttempt to call global ' getAttachedHwnd (a nil value)
how do i fix this
the bot has been working gret until recent for me. i keep getting yellow text and i dont know how to paste my log but i get this in the cmd window.
D:\micromacro]lib]lib.lua:396:ttempt to call global ' getAttachedHwnd (a nil value)
how do i fix this
Re: RoM bot
very rare but on ocasion i am running passed mobs and gathering a nice cluster that wups my arse any tips?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
Upgrade to MicroMacro 1.0, which you can find here: http://solarimpact.servegame.com/phpBB3 ... ?f=6&t=177vamppii wrote:hey all,
the bot has been working gret until recent for me. i keep getting yellow text and i dont know how to paste my log but i get this in the cmd window.
D:\micromacro]lib]lib.lua:396:ttempt to call global ' getAttachedHwnd (a nil value)
how do i fix this
Re: RoM bot
I have absolutely no idea what I've done wrong but I'm trying to make a new Mage/Priest and I keep getting this when running the mage:
The profile is:
Quadruple checked that the name was fine and that the skill name was actually in the database.
In the skills.xml we have:
The bot works completely fine on my other characters and on this character when I change it over to the priest side using rising tide / regen and urgent heal (only change the skills section). I've tried different skills for mage such as plasma arrow and all have the same error.
Any ideas?
Kiz
Code: Select all
Mon Mar 02 02:08:54 2009 : MicroMacro v1.0
Mon Mar 02 02:08:54 2009 : Processor Type: 4X 586, OS: Windows Vista | Windows Server 2008 Service Pack 1
Mon Mar 02 02:08:54 2009 : LuaCoco is available.
Mon Mar 02 02:08:54 2009 : Lua glues exported.
Mon Mar 02 02:08:54 2009 : Keyboard layout: US English
Mon Mar 02 02:08:56 2009 : Executing script 'bot.lua'
==================================================
Mon Mar 02 02:08:58 2009 : RoM Bot Version 2.15
stack traceback:
E:\Incoming\micromacro\lib\lib.lua:510: in function 'startMacro'
scripts\rom/bot.lua:140: in main chunk
----------TRACEBACK END----------
Mon Mar 02 02:09:07 2009 : E:/Incoming/micromacro/scripts/rom/classes/skill.lua:134: bad argument #1 to 'keyboardPress' ((null))
Mon Mar 02 02:09:07 2009 : Execution error: Runtime error
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="40" />
<option name="HP_LOW_POTION" value="70" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="bears1.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>
<skills>
<skill name="MAGE_FLAME" key="VK_1" modifier="" />
</skills>
</profile>
In the skills.xml we have:
Code: Select all
...
<!-- Mage Skills -->
<skill name="MAGE_FIREBALL" mana="30" manainc="3" range="225" cooldown="6" type="damage" target="enemy" />
<skill name="MAGE_LIGHTNING" mana="20" manainc="2.0" range="150" cooldown="20" type="damage" target="enemy" />
<skill name="MAGE_INTENSIFICATION" mana="10" cooldown="20" type="buff" target="self" />
<skill name="MAGE_SILENCE" mana="50" range="150" cooldown="24" type="debuff" target="enemy" />
<skill name="MAGE_FIRE_WARD" mana="120" cooldown="600" type="buff" target="self" />
<skill name="MAGE_ELEMENTAL_CATAL" cooldown="600" type="buff" target="self" />
[b]<skill name="MAGE_FLAME" mana="20" manainc="2.0" range="225" casttime="3" type="damage" target="enemy" />[/b]
<skill name="MAGE_ELECTROSTATIC_CHARGE" mana="75" manainc="7.5" cooldown="45" type="buff" target="self" />
<skill name="MAGE_PLASMA_ARROW" mana="15" manainc="1.5" range="200" casttime="2" type="damage" target="enemy" />
<skill name="MAGE_ELECTRIC_BOLT" mana="30" manainc="3.0" range="200" casttime="1" type="dot" target="enemy" />
<skill name="MAGE_GALAXY" mana="35" manainc="3.5" range="150" type="damage" target="enemy" />
<skill name="MAGE_ESSENCE_OF_MAGIC" mana="35" manainc="3.25" cooldown="1800" range="200" type="buff" target="self" />
<!-- TODO: More info needed (mana increase per level) -->
<skill name="MAGE_DISCHARGE" type="damage" target="enemy" />
<skill name="MAGE_ELECTRIC_EXPLOSION" mana="10" range="200" casttime="2" type="damage" target="enemy" />
<skill name="MAGE_PHOENIX" mana="40" range="120" cooldown="20" type="damage" target="enemy" />
<skill name="MAGE_ELECTRIC_COMPRESSION" type="buff" target="self" />
<skill name="MAGE_STATIC_FIELD" mana="20" range="150" casttime="1" type="stun" target="enemy" />
<skill name="MAGE_PURGATORY_FIRE" mana="50" type="damage" target="enemy" />
<skill name="MAGE_ENERGY_SUPPLY" mana="45" cooldown="120" type="buff" target="self" />
<skill name="MAGE_ENERGY_WELL" cooldown="120" type="buff" target="self" />
<skill name="MAGE_ELEMENTAL_WEAKNESS" mana="50" range="250" type="debuff" target="enemy" />
<skill name="MAGE_THUNDERSTORM" mana="70" range="180" type="damage" target="enemy" />
...
Any ideas?
Kiz
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
You put:
The right way:
Code: Select all
<skill name="MAGE_FLAME" key="VK_1" modifier="" />
Code: Select all
<skill name="MAGE_FLAME" level="12" hotkey="VK_1" modifier="" />
Re: RoM bot
I can tell you that didn't work but I simply created a macro and called it a PRIEST_Something in the database then referred to it and it works fine.Administrator wrote:You put:The right way:Code: Select all
<skill name="MAGE_FLAME" key="VK_1" modifier="" />
Code: Select all
<skill name="MAGE_FLAME" level="12" hotkey="VK_1" modifier="" />
Now I have the exact same problem on my scout. He was botting fine all of last night and then all of a sudden I go back to town repair, try to go back to botting and micromacro spews this error out at me.
I tried replacing the skills.xml entirely with the one downloaded with the bot and just using one skill in my profile and it still doesn't work so I'm really stuck.
My profile atm is literally just:
Code: Select all
ofile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="70" />
<option name="HP_LOW_POTION" value="70" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="180" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="cactus.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="500" />
<option name="ENERGY_STORAGE_1" value="concentration" />
<option name="ENERGY_STORAGE_2" value="mana" />
<option name="POTION_COOLDOWN" value="20" />
<option name="MAX_FIGHT_TIME" value="15" />
<option name="DOT_PERCENT" value="65" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>
<skills>
<skill name="SCOUT_FROST_ARROW" key="VK_6" modifier="" />
</skills>
</profile>
Code: Select all
stack traceback:
E:\Incoming\micromacro\lib\lib.lua:510: in function 'startMacro'
scripts\rom/bot.lua:140: in main chunk
----------TRACEBACK END----------
Wed Mar 04 16:46:44 2009 : E:/Incoming/micromacro/scripts/rom/classes/skill.lua:134: bad argument #1 to 'keyboardPress' ((null))
Wed Mar 04 16:46:44 2009 : Execution error: Runtime error
*edit* - Ok I copy pasted the default profile and changed it again and it works? Same skills.xml as before and this is the new profile:
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="0" />
<option name="HP_LOW_POTION" value="0" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="180" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="cactus.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="500" />
<option name="ENERGY_STORAGE_1" value="concentration" />
<option name="ENERGY_STORAGE_2" value="mana" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="15" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>
<skills>
<skill name="SCOUT_FROST_ARROW" key="VK_6" modifier="" />
</skills>
</profile>
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
Again, the problem is you are using "key=" instead of "hotkey=".
Re: RoM bot
Oh man I'm so dumb I only read it as the level="" that was different. Thanks a lot lol.
Re: RoM bot
Hi,
im impressed. Its the best Bot for ROM!
But i have some problems. Sometimes he doesnt target the mobs in front of him. And so he runs directly towards a mob.
When he gets hit then he targets and starts attacking.
Im a Mage/Priest so this is not optimal.
Is this a general problem?
Here is my Profile!
<profile>
<options>
<option name="HP_LOW" value="40" />
<option name="MP_LOW_POTION" value="60" />
<option name="HP_LOW_POTION" value="60" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="217" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="Kobold.xml" />
<option name="LOOT" value="false" />
<option name="LOOT_TIME" value="1" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>
<skills>
<skill name="PRIEST_HEAL" hotkey="VK_3" modifier="" />
<skill name="PRIEST_RISING_TIDE" hotkey="VK_1" modifier="" />
<skill name="MAGE_FIREBALL" hotkey="VK_2" modifier="" />
</skills>
</profile>
im impressed. Its the best Bot for ROM!
But i have some problems. Sometimes he doesnt target the mobs in front of him. And so he runs directly towards a mob.
When he gets hit then he targets and starts attacking.
Im a Mage/Priest so this is not optimal.
Is this a general problem?
Here is my Profile!
<profile>
<options>
<option name="HP_LOW" value="40" />
<option name="MP_LOW_POTION" value="60" />
<option name="HP_LOW_POTION" value="60" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="217" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="Kobold.xml" />
<option name="LOOT" value="false" />
<option name="LOOT_TIME" value="1" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>
<skills>
<skill name="PRIEST_HEAL" hotkey="VK_3" modifier="" />
<skill name="PRIEST_RISING_TIDE" hotkey="VK_1" modifier="" />
<skill name="MAGE_FIREBALL" hotkey="VK_2" modifier="" />
</skills>
</profile>
Who is online
Users browsing this forum: Google [Bot] and 0 guests