Page 1 of 1
Random Auto-Logout
Posted: Thu Sep 03, 2009 9:17 am
by depp69
hi folks,
heres my situation, im running 3 bots simultaneous while im at work, when i come back
mostly one of them auto logged out. why is that so? theres neither an unsticking problem
nor a death count error msg.
just:
Clearing target.
Auto-logging out ...
any idea to solve this?
greetings
depp
Re: Random Auto-Logout
Posted: Thu Sep 03, 2009 9:32 am
by Administrator
Post your profile and a copy of your log.txt.
Re: Random Auto-Logout
Posted: Mon Sep 07, 2009 5:44 am
by depp69
my profile:
Code: Select all
<profile>
<options>
<!-- Try the bot with a new char mage or priest -->
<!-- At the pioneer village. Use demo.xml waypoint file -->
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="30" />
<option name="HP_LOW_POTION" value="55" />
<option name="POTION_COOLDOWN" value="15" />
<!-- Combat options -->
<option name="COMBAT_TYPE" value="" /> <!-- leave empty or choose ranged/melee if not using class default -->
<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
<option name="COMBAT_DISTANCE" value="195" />
<option name="MAX_FIGHT_TIME" value="20" /> <!-- Max time without damage before break -->
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="lvl1.xml" />
<option name="RETURNPATH" value="lvl1_return.xml" />
<option name="PATH_TYPE" value="waypoints" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="false" />
<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="3" />
<option name="TARGET_LEVELDIF_BELOW" value="10" />
<!-- Loot settings -->
<option name="LOOT" value="false" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="100" />
<option name="LOOT_PAUSE_AFTER" value="0" /> <!-- probability in % for a short rest -->
<!-- Rest if HP or Mana is below that level -->
<option name="HP_REST" value="15" />
<option name="MP_REST" value="15" />
<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="0" /> <!-- in minutes, 0 = timer disabled -->
<option name="LOGOUT_SHUTDOWN" value="false" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
</options>
<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<friend name="MyOtherCharacter1" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" />
<hotkey name="MP_POTION" key="VK_EQUAL" />
<hotkey name="ATTACK" key="VK_1" />
<hotkey name="RES_MACRO" key="VK_9" />
<!-- hotkey name="LOGOUT_MACRO" key="VK_0" / -->
</hotkeys>
<!-- define your skills depending from your actual primary class -->
<!-- see the example for a priest/mage respectively mage/priest -->
<!-- delete skills you don't have or don't want to use. -->
<!-- For more skills to use see /database/skills.xml -->
<!-- demo skills for LvL 1 character for all classes -->
<skills_priest>
<skill name="PRIEST_SOUL_SOURCE" hotkey="VK_4" priority="110" inbattle="true" hpper="15" />
<skill name="PRIEST_HOLY_AURA" hotkey="VK_7" priority="100" inbattle="true" hpper="24" />
<skill name="PRIEST_URGENT_HEAL" hotkey="VK_2" priority="100" hpper="30" />
<skill name="PRIEST_REGENERATE" hotkey="VK_6" priority="90" />
<skill name="PRIEST_RISING_TIDE" hotkey="VK_3" priority="80" />
<skill name="MAGE_FIREBALL" hotkey="VK_8" priority="70" />
<skill name="PRIEST_WAVE_ARMOR" hotkey="VK_5" priority="40" inbattle="true" />
<!--skill name="PRIEST_SOUL_BOND" hotkey="VK_T" priority="30" /> -->
<!--skill name="PRIEST_MAGIC_BARRIER" hotkey="VK_F" priority="20" /> -->
</skills_priest>
<skills_warrior>
<skill name="WARRIOR_SLASH" hotkey="VK_2" priority="90" />
<skill name="WARRIOR_PROBING_ATTACK" hotkey="VK_4" priority="80" />
<skill name="WARRIOR_OPEN_FLANK" hotkey="VK_5" priority="70" />
</skills_warrior>
<skills_scout>
<skill name="SCOUT_SHOT" hotkey="VK_2" priority="90" />
<skill name="SCOUT_AUTOSHOT" hotkey="VK_4" priority="80" />
<skill name="SCOUT_WIND_ARROWS" hotkey="VK_5" priority="70" />
</skills_scout>
<skills_rogue>
<skill name="ROGUE_SHADOWSTAB" hotkey="VK_2" priority="90" />
<skill name="ROGUE_LOW_BLOW" hotkey="VK_4" priority="80" />
</skills_rogue>
<skills_mage>
<skill name="MAGE_FIREBALL" hotkey="VK_3" priority="110" />
<!--skill name="PRIEST_HOLY_AURA" hotkey="VK_7" priority="110" hpper="30" inbattle="true" /> -->
<!--skill name="PRIEST_URGENT_HEAL" hotkey="VK_2" priority="100" hpper="30" /> -->
<!--skill name="MAGE_PLASMA_ARROW" hotkey="VK_4" priority="90" /> -->
<!--skill name="MAGE_FLAME" hotkey="VK_3" priority="80" /> -->
<!--skill name="PRIEST_REGENERATE" hotkey="VK_6" priority="70" /> -->
<!--skill name="MAGE_ESSENCE_OF_MAGIC" hotkey="VK_8" priority="60" /> -->
<!--skill name="PRIEST_MAGIC_BARRIER" hotkey="VK_F" priority="50" /> -->
</skills_mage>
<skills_knight>
<skill name="KNIGHT_HOLY_STRIKE" hotkey="VK_3" priority="90" />
<skill name="KNIGHT_HOLY_SHIELD" hotkey="VK_4" priority="80" inbattle="true" hpper="15" />
<skill name="KNIGHT_HOLY_SEAL" hotkey="VK_5" priority="70" />
<skill name="KNIGHT_PUNISHMENT" hotkey="VK_2" priority="60" />
</skills_knight>
<skills_runedancer>
</skills_runedancer>
<skills_druid>
</skills_druid>
<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;
settings.profile.options.MAX_DEATHS = 20;
</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>
log.txt:
Code: Select all
Mon Sep 07 12:40:10 2009 : MicroMacro v1.0
Mon Sep 07 12:40:10 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 2
Mon Sep 07 12:40:10 2009 : LuaCoco is available.
Mon Sep 07 12:40:10 2009 : Lua glues exported.
Mon Sep 07 12:40:10 2009 : Keyboard layout: US English
Mon Sep 07 12:40:16 2009 : Executing script 'bot.lua'
==================================================
Mon Sep 07 12:40:16 2009 : Language: english
Mon Sep 07 12:40:17 2009 : RoM Bot Version 2.46
Mon Sep 07 12:40:20 2009 : Using static char address 0x8E19C8, player address 0x2AAE4000
Mon Sep 07 12:40:20 2009 : QUICK_TURN = false
Mon Sep 07 12:40:20 2009 : Keyboard settings are from bindings.txt:
Mon Sep 07 12:40:20 2009 : MOVE_FORWARD W
Mon Sep 07 12:40:20 2009 : MOVE_BACKWARD S
Mon Sep 07 12:40:20 2009 : TARGET TABULATOR
Mon Sep 07 12:40:20 2009 : MAGE_FIREBALL 3
Mon Sep 07 12:40:20 2009 : RES_MACRO 9
Mon Sep 07 12:40:20 2009 : MP_POTION +
Mon Sep 07 12:40:20 2009 : HP_POTION -
Mon Sep 07 12:40:20 2009 : ROTATE_LEFT Q
Mon Sep 07 12:40:20 2009 : STRAFF_RIGHT D
Mon Sep 07 12:40:20 2009 : TARGET_FRIEND J
Mon Sep 07 12:40:20 2009 : STRAFF_LEFT A
Mon Sep 07 12:40:20 2009 : ROTATE_RIGHT E
Mon Sep 07 12:40:20 2009 : JUMP LEER
Mon Sep 07 12:40:20 2009 : ATTACK 1
Re: Random Auto-Logout
Posted: Mon Sep 07, 2009 6:11 am
by Administrator
Seems like you're probably just getting disconnected. It's hard to say. Doesn't look like you're doing anything wrong though. Try maybe turning LOGOUT_WHEN_STUCK off and see if that helps (though, I doubt it will).
Do any of your clients close? Or do they all remain open? Does RoM have any message box displayed?
Re: Random Auto-Logout
Posted: Mon Sep 07, 2009 6:19 am
by d003232
depp69 wrote:heres my situation, im running 3 bots simultaneous while im at work, when i come back
mostly one of them auto logged out. why is that so? theres neither an unsticking problem
nor a death count error msg.
just:
Clearing target.
Auto-logging out ...
I would be interessted in the content from the MM window and the log.txt
after that situation happens.
Re: Random Auto-Logout
Posted: Mon Sep 07, 2009 6:37 am
by d003232
Update please to SVN 219. That version will print out the reasons if using automatic logout.
Re: Random Auto-Logout
Posted: Mon Sep 07, 2009 9:17 am
by depp69
today it was just an unsticking problem, so i will have to try again.
theres some new stuff at the log.txt:
Code: Select all
stack traceback:
D:\Programme\RunesOfMagic\micromacro\lib\lib.lua:536: in function 'startMacro'
scripts\rom/bot.lua:686: in main chunk
----------TRACEBACK END----------
Mon Sep 07 14:34:28 2009 : Exiting: Auto-logout
Mon Sep 07 14:34:28 2009 : Execution error: Runtime error
and the rom windows doesnt stay open
i never had a disconnect while playing active ...