Old character name in Faction/Friend list/chat

Bounty: -
Assignee: Beta
The server was closed on April 2nd, 2023
https://pwmirage.com/forum/thread/342-we-are-closing/
  • After renaming, the new name shows up on your screen but not anyone else's. It's not consistent. Restarting the server in attempt to flush any cache doesn't fix it.

  • Beta

    Set the Label from 0% to 25%
  • The server stores usernames in multiple spots and I had to hack it to always read latest ones. PW really wasn't prepared for changing username in 1.3.6 :P

    • The client caches usernames (so if someone renames while you were online you will still see the old name above their head and possibly in chat). The cache may get flushed eventually at some point, or you can relog to see the new names.
    • Faction list and chat uses server-cache which I think I hacked now, more testing needed.
    • Friend list has its own username DB, and I hacked it not to use it.
  • Beta

    Set the Label from 25% to 50%
    • Names above the head are now updated, others don't even need to relog
    • Chat names are updated
    • Faction list is updated only when a user logs in, on a fresh server restart it shows the original name -> TBD

    Also I found the piece of code for changing every GM's name in private messages to just GM, and I removed it. Now I can talk freely ;)

  • Beta

    Set the Label from 50% to 75%
  • Beta

    Set the Label from 75% to 100%