Repository navigation
v0.4.0 — a lobby that behaves, and logins that hold
This release makes the realm behave the way a Diablo II client expects in the lobby and in chat, keeps one login from knocking out another, lets the realm survive a Redis primary change, and gives operators a way to move characters between ladder and non-ladder.
Breaking: chat operators are now set with REALMD_CHAT_OPS instead of REALMD_ADMINS. REALMD_ADMINS no longer makes anyone a channel operator.
What this release changes:
Login
- Logging in from a second place no longer invalidates the first login, so several clients started together each get in.
- The realm recovers by itself when the Redis primary changes, instead of failing writes until it is restarted.
Lobby and characters
- Game names can contain spaces and punctuation.
- Games without a password can be joined.
- A new character is selected after creating it, and characters are listed in creation order.
- Chat, the channel list,
/rand the friends commands work as the client expects, also from inside a game. Players no longer show as channel operators. - A character with the same name as its account works.
- A character can no longer get stuck as "in use", and one that another game still holds is refused cleanly.
- Admins can flip a character between ladder and non-ladder (
/admin/chars/set-ladder). It refuses a character that is in a game and refuses ladder to non-ladder unless forced, and every call is logged. - Importing a save takes its hardcore and ladder mode from the caller. Without one, it follows the account's most recently played character of the same type.
- New:
char-forgewrites a character save at a given class and level from the game's own tables (zig build char-forge).
Games
- The creator's max players (1-8) is enforced.
- The game list and game info only show games your character can join.
- Creating a game no longer fails when one game server does not answer.
- Steadier game server timing, and an idle game server uses less CPU.
Upgrading
Replace REALMD_ADMINS with REALMD_CHAT_OPS if you used it to mark channel operators. Nothing else needs to be run by hand.