bot getting stuck regularly
Posted: Thu Oct 08, 2009 10:06 am
Recently my bot rotates left and right rapidily between every waypoint and 1 out of 4 times it runs the “unsticking player†function when the bot is on flat ground with no obstacles around. I haven’t botted for about a week, so I’m not sure if it’s a new patch issue or not.
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="75" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<option name="POTION_COOLDOWN" value="15" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_RANGED_PULL" value="false" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="MAX_FIGHT_TIME" value="15" />
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="false" />
<option name="WAYPOINTS" value="*********xml" />
<option name="RETURNPATH" value="*********.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="flase" />
<option name="TARGET_LEVELDIF_ABOVE" value="0" />
<option name="TARGET_LEVELDIF_BELOW" value="0" />
<option name="LOOT" value="true" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="100" />
<option name="LOOT_PAUSE_AFTER" value="0" />
<option name="HP_REST" value="15" />
<option name="MP_REST" value="15" />
<option name="LOGOUT_TIME" value="0" />
<option name="LOGOUT_SHUTDOWN" value="false" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
<friend name="Elite_Mob_Name1" />
<friend name="Elite_Mob_Name2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" />
<hotkey name="MP_POTION" key="VK_PLUS" />
<hotkey name="ATTACK" key="VK_1" />
<hotkey name="MACRO" key="VK_0" />
</hotkeys>
<skills_warrior>
<skill name="WARRIOR_SNEAK_ATTACK" hotkey="VK_2" priority="90"/>
<skill name="WARRIOR_SLASH" hotkey="VK_3" priority="80" />
<skill name="WARRIOR_PROBING_ATTACK" hotkey="VK_4" priority="70" />
<skill name="WARRIOR_OPEN_FLANK" hotkey="VK_5" priority="60" />
<skill name="PRIEST_REGENERATE" hotkey="VK_6" />
</skills_warrior>
<onLoad>
-- Additional Lua code to execute after loading the profile
-- and before the bot starts. e.g. You could overwrite profile settings here
-- like: settings.profile.options.HP_LOW = 80;
</onLoad>
<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>