Donavin69
Member
Often, after mafia has been active for a while, the chat_clan() function fails to post a chat message. A restart of mafia makes it work again. The part that makes it even harder to debug is the fact that it isn't ALL the time, but once it fails, it won't start working again until mafia restart. I don't know if this is a bug, or if there is something known that I'm doing that breaks it.
Debug log when it is broken shows:
Which to me looks exactly like the debug log when it works after a mafia restart:
Debug log when it is broken shows:
PHP:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v15.2 r11114, Windows 7, Java 1.6.0_32
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the dev team to look at it, please write a bug report
at kolmafia.us. Include specific information about what you were
doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Sun Jun 10 08:47:38 EDT 2012
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> ashq chat_clan("test");
<SCOPE>
<TYPES>
<VARIABLES>
<FUNCTIONS>
<COMMANDS>
<CALL chat_clan>
<VALUE string [test]>
Executing top-level commands
Param #1: "test"
[NORMAL] <- "test"
Entering function chat_clan
Function chat_clan returned: void
[NORMAL] <- void
Which to me looks exactly like the debug log when it works after a mafia restart:
PHP:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v15.2 r11114, Windows 7, Java 1.6.0_32
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the dev team to look at it, please write a bug report
at kolmafia.us. Include specific information about what you were
doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Sun Jun 10 08:53:25 EDT 2012
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> ashq chat_clan("test");
<SCOPE>
<TYPES>
<VARIABLES>
<FUNCTIONS>
<COMMANDS>
<CALL chat_clan>
<VALUE string [test]>
Executing top-level commands
Param #1: "test"
[NORMAL] <- "test"
Entering function chat_clan
Function chat_clan returned: void
[NORMAL] <- void