Re: RoM bot
Posted: Mon Apr 20, 2009 9:52 pm
Ty for response admin
! this is just i want to know.

Well, as i've mentioned before, i use this program for the auto-move/acquire target, and use UberFlex add-on to actually do the whole 'combat' thing, it's more advanced, and can actually 'assist' as you requested. I target whomever i want to keep buffed/healed, and then /engage, that's it, but make sure you set him on follow.holystrikers wrote:2: i dont know how the second can assit the first(example: for heal/buff)
uberflex does look good, thx for the info.kokowiki wrote:Well, as i've mentioned before, i use this program for the auto-move/acquire target, and use UberFlex add-on to actually do the whole 'combat' thing, it's more advanced, and can actually 'assist' as you requested. I target whomever i want to keep buffed/healed, and then /engage, that's it, but make sure you set him on follow.holystrikers wrote:2: i dont know how the second can assit the first(example: for heal/buff)
I also made a small script to take the target from the main character, and attack it, then go back to following when it dies.
Code: Select all
<option name="LOOT" value="false" />
<onLeaveCombat>
-- Additional Lua code to execute after killing an enemy
keyboardPress(key.VK_F2);
keyboardPress(key.VK_BACKSLASH);
</onLeaveCombat>
Tue Apr 21 18:16:04 2009 : RoM Bot Version 2.33
Tue Apr 21 18:16:04 2009 : Using static base address 0x885F08, player address 0x2B10CD00
stack traceback:
C:\..........\rom\micromacro\lib\lib.lua:513: in function 'startMacro'
scripts\rom\bot.lua:244: in main chunk
----------TRACEBACK END----------
Tue Apr 21 18:16:04 2009 : profile error: VK_10 does not name a valid hotkey!
Tue Apr 21 18:16:04 2009 : Execution error: Runtime error
Tue Apr 21 18:20:26 2009 : Executing script 'bot.lua'
==================================================
For that i use 'TankAssist', with a small side script that makes it follow the main character when targetted. I don't have to toggle /engage though, i just have on all the time with the 'manual' option inside the UberFlex addon.Rajinn wrote:im sure theres a way to determine if your target is in combat/has a target, and do a /engage script from there.
Nevermind it was just some random error. Worked after i restarted rom.Izebize wrote:viperfx: Do you have a "10" key on your keyboard? I think you have 0-9 but not "10". As you can see, the error describes everything you have to know to fix your problem "profile error: VK_10 does not name a valid hotkey!".
Not much can be done about this at the time. Just make due.Pls administrator help me =\
what i must change in my micromacro to my char attack first the mobs that are attacking me first, because here my character are being attacked by 3 mobs and he got a new target and dont attack first the mobs that are attacking me first, plz what i can do to my char kill first all the mobs are already attacking me first to take after a new target? ty =)
Try this... It's a temporary fix until I can release a proper update.deedly wrote:omg i screwed up a bit i think.. made a char with "ë" in the name, cant make the bot work with it. its unable to open profiles file..
since its a perfect botter and highlvld char now i'd like to get it working somehow..
Admin, u got any idea?
Change it like so:settings.loadProfile(player.Name);
Code: Select all
settings.loadProfile("Yournamehere");
since the targeting only targets stuff in front of you, you could goto the onLeaveCombat section and add a script to move backwardsblademagical wrote:Pls administrator help me =\
what i must change in my micromacro to my char attack first the mobs that are attacking me first, because here my character are being attacked by 3 mobs and he got a new target and dont attack first the mobs that are attacking me first, plz what i can do to my char kill first all the mobs are already attacking me first to take after a new target? ty =)
Code: Select all
keyboardHold(settings.hotkeys.MOVE_BACKWARD.key);
yrest(200);
keyboardRelease(settings.hotkeys.MOVE_BACKWARD.key);
there isnt one yet, it has been mentioned through this thread numerous times, shows how much of it you read >.>blademagical wrote:Administrator or some1 can send a script for mine (gathering) for us? or dont have it yet? plz post here if some1 have that script for mining! ty!
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<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="coast.xml" />
<option name="RETURNPATH" value="coastret.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="300" />
<option name="WAYPOINT_DEVIATION" value="50" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="concentration" />
<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_0" modifier="" />
<hotkey name="RES_MACRO" key="VK_8" modifier="" />
</hotkeys>
<skills>
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" type="dot" />
<skill name="ROGUE_SHADOWSTAB" hotkey="VK_6" energy="30" range="50" type="damage" target="enemy" />
<skill name="SCOUT_WIND_ARROWS" hotkey="VK_3" concentration="8" range="225" type="damage" target="enemy" />
<skill name="SCOUT_FROST_ARROW" hotkey="VK_EQUAL" concentration="20" cooldown="300" type="buff" target="self" />
<skill name="SCOUT_SHOT" priority="100" hotkey="VK_2" consumable="1" range="20" cooldown="4" type="damage" target="enemy" />
</skills>
<onDeath>
-- Additional Lua code to execute on death
pauseOnDeath(); -- Stop the script
</onDeath>
<onLeaveCombat>
-- Additional Lua code to execute after killing an enemy
</onLeaveCombat>
<onSkillCast>
-- Additional Lua code to execute when casting a skill
-- Note: arg1 contains the skill being used.
-- i.e. arg1.Name will be the name of the skill being cast.
</onSkillCast>
</profile>
Think pausing it when you die might cause any problems?<onDeath>
-- Additional Lua code to execute on death
pauseOnDeath(); -- Stop the script
</onDeath>
I'm pretty sure "\137" isn't a valid string character. If LUA is anything like other languages it would be "\x89". The "\x" denotes you wish to insert a byte string, and then from there you can add all the hexadecimal code you want.Administrator wrote:Now, that 'ë' in your character's name needs to be replaced with \137. So, if your name was "Namë", change it to "Nam\137". Save it, and run the bot.