zarqon
Well-known member
As discussed in the CanAdv thread, certain players including Theraze, Darzil, and myself have characters for which mafia doesn't correctly detect that the guild is unlocked.
Some things people have noted:
I've been able to confirm a few more things since I have a character for which this is currently happening:
Hopefully the debug log sheds some light on this issue. If there's anything else you'd like me to try, please let me know.
Some things people have noted:
- It doesn't seem to always happen.
- These characters are usually aftercore farmer types. For my character, it's a level 46 PM who has only ascended 5 times and who has just been running a clan bot script since his last ascension about three years ago (he's our Impersonal Trainer).
- After logging in, the lastGuildStoreOpen property, which mafia uses to track the guild unlock, contains "0". Not the default value of "-1" and not the correct value of "5" (or whatever run the last actual unlock happened).
- Running the CLI "guild" command causes mafia to correctly detect the guild's unlocked-ness, and the lastGuildStoreOpen property then correctly contains "5" (or whatever), until the next time the problem occurs on login.
I've been able to confirm a few more things since I have a character for which this is currently happening:
- The problem has been occurring for me only on the first login of each day. After fixing the issue by calling "guild", successive logins retain the correct setting for lastGuildStoreOpen.
- In my case, I also get a debug log on problematic logins, which contains a confusing (to me anyway) null pointer error when accessing topmenu.php. After truncating it to contain only mafia's login actions (and not the login script stuff) it was less than 700K, so I attached it below.
Hopefully the debug log sheds some light on this issue. If there's anything else you'd like me to try, please let me know.