My request is that Mafia updates its own charpane the same way it does for familiars and other companions when they are switched via chat commands.
Perhaps you did not understand what I said earlier, when I explained how "switching familiars via chat" works. Let me try to be clearer.
I turned on DEBUG logging and checked the "log chat requests" option.
I typed into chat: "/familiar jumpsuited hound dog"
The following transactions occurred:
Code:
Requesting: http://www.kingdomofloathing.com/submitnewchat.php?j=1&pwd&playerid=115875&graf=%2Ftalkie+%2Ffamiliar+jumpsuited+hound+dog
Retrieved: http://www.kingdomofloathing.com/submitnewchat.php?j=1&pwd&playerid=115875&graf=%2Ftalkie+%2Ffamiliar+jumpsuited+hound+dog
{"output":"<font color=green>You get more familiar with Tort, your Jumpsuited Hound Dog.<!--js(dojax('familiar.php?action=newfam&newfam=69&ajax=1');)--><\/font>","msgs":[]}
Requesting: http://www.kingdomofloathing.com/familiar.php?action=newfam&newfam=69&ajax=1&_=1427737320096
Retrieved: http://www.kingdomofloathing.com/familiar.php?action=newfam&newfam=69&ajax=1&_=1427737320096
<script type="text/javascript">top.charpane.location.href="charpane.php";</script><table width=95% cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Results:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><center>You put Gronald back in the Terrarium.<p>You take Tort with you.</center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table>
The browser submitted the chat message
KoL responded with a message to display in chat and an embedded Javascript command to change the familiar.
The browser submitted the request to familiar.php
KoL responded with a message saying it had changed the familiar
That message incorporated a request to refresh the charpane.
So, yes - we all completely understood your request. We did NOT understand that KoL was using a brand-new mechanism for changing servants via chat than it uses for changing familiars.