I just started this evening with 'botting'. I try to set up my mage. After doint the configuration, the waypoint are working. My char get a tarket and even walks behind the target in a distance. But my char doesnt attack?
- I set the '1' as my attack hotkey.
- I defined the skills and the energy type
- I used the update function
Someone there to give me a tip?
I'm using it on Vista 64 with a german RoM installation.
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="85" />
<option name="HP_LOW_POTION" value="40" />
<option name="MP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="180" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="woelfebaeren1.xml" />
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="50" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2253" />
<option name="ENEGRY_STORAGE_1" value="mana" />
<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="friendsname1" />
<friend name="friendsname2" />
<friend name="friendsname3" />
<friend name="friendsname4" />
<friend name="friendsname5" />
<friend name="friendsname6" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_H" />
<hotkey name="MP_POTION" key="VK_G" />
<hotkey name="ATTACK" key="VK_1" />
<hotkey name="RES_MACRO" key="VK_7" />
</hotkeys>
<skills>
<skill name="MAGE_FLAME" hotkey="VK_Q" modifier="" />
<skill name="MAGE_LIGHTNING" hotkey="VK_2" modifier="" />
<skill name="MAGE_PLASMA_ARROW" hotkey="VK_3" modifier="" />
<skill name="MAGE_FLAME" hotkey="VK_Q" modifier="" />
</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>
Code: Select all
Wed Jun 03 23:59:29 2009 : MicroMacro v1.0
Wed Jun 03 23:59:29 2009 : Processor Type: 4X 586, OS: Windows XP Service Pack 2
Wed Jun 03 23:59:29 2009 : LuaCoco is available.
Wed Jun 03 23:59:29 2009 : Lua glues exported.
Wed Jun 03 23:59:29 2009 : Keyboard layout: US English
Wed Jun 03 23:59:40 2009 : Executing script 'bot.lua'
==================================================
Wed Jun 03 23:59:44 2009 : RoM Bot Version 2.39
Wed Jun 03 23:59:44 2009 : Using static base address 0x88EF20, player address 0x329F3200
stack traceback:
E:\Programme XP Games\micromacro\lib\lib.lua:521: in function 'startMacro'
scripts\rom/bot.lua:310: in main chunk
----------TRACEBACK END----------
Wed Jun 03 23:59:44 2009 : Do not use the same energy storage for primary and secondary!
Edit your profile to fix this.
Wed Jun 03 23:59:44 2009 : Execution error: Runtime error
Thu Jun 04 00:00:33 2009 : Executing script 'bot.lua'
==================================================
Thu Jun 04 00:00:36 2009 : RoM Bot Version 2.39
Thu Jun 04 00:00:36 2009 : Using static base address 0x88EF20, player address 0x329F3200
Thu Jun 04 00:00:36 2009 : Language: deutsch
Thu Jun 04 00:06:05 2009 : Execution success
Thu Jun 04 00:06:27 2009 : Executing script 'bot.lua'
==================================================
Thu Jun 04 00:06:36 2009 : RoM Bot Version 2.39
Thu Jun 04 00:06:36 2009 : Using static base address 0x88EF20, player address 0x329F3200
Thu Jun 04 00:06:36 2009 : Language: deutsch