I think we should keep a look at this problem. It annoys me.
As I wrote above I have the situation, that the bot disconnects with a very high probability (> 80%) always in the same situation.
I have a log of the MM output in this situation. Malatina's COT is finished, the script going to AT is being loaded. The numbers are printouts in my "onLoad", because I suspected the problem happening there. But "onLoad" completes. Then the bot rebuffs itself and disconnects. When I start the script manually, the bot NEVER disconnects in this script.
We successfully target NPC Malatina and try to open the dialog window.
Use MACRO: Executing RoMScript "ChoiceOption(1);".
Use MACRO: Executing RoMScript "ChoiceOption(1);".
Succeeded with 11:00 remaining.
Loaded waypoint path goto_at.xml
No return path with default naming goto_at_return.xml found.
We use the normal waypoint path goto_at.xml now.
1
2
3
GM detection started
4
5
Clearing target.
Moving to waypoint #1, (4867, -1895)
Use MACRO: PRIEST_AMPLIFIED_ATT=> <UNKNOWN> (1000/1000)
Use MACRO: PRIEST_MAGIC_BARRIER=> <UNKNOWN> (1000/1000)
Use MACRO: PRIEST_GRACE_OF_LIFE=> <UNKNOWN> (1000/1000)
Use MACRO: PRIEST_EMBRACE_OF_TH=> <UNKNOWN> (1000/1000)
Use MACRO: PRIEST_AMPLIFIED_ATT=> <UNKNOWN> (1000/1000)
Use MACRO: PRIEST_MAGIC_BARRIER=> <UNKNOWN> (1000/1000)
Player address changed: 0x478A6E00
Ranged skill found: SCOUT_VAMPIRE_ARROWS
Use MACRO: PRIEST_GRACE_OF_LIFE=> <UNKNOWN> (1000/1000)
Clearing target.
The game has been disconnected.
09/09/12 10:15:12 Auto-logging out.
SUCCESS: The process with PID 3916 has been terminated.
Runes of Magic process successfully closed.
Did not find any crashed game clients.
10:15am - Exiting: Auto-logout
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
I would like to add more debug output, to narrow down the piece of code, where the disconnect happens. Can anyone point me to the right direction?
B.t.w - the game crashed a few days ago - the bot did NOT detect a crashed game client.