Commit Graph

15 Commits

Author SHA1 Message Date
Loïc Hoguin
86bb5c81b3 Rename the client state record #state into #client for clarity. 2011-02-26 17:00:41 +01:00
Loïc Hoguin
6c8b831fd2 egs_users: Replace read({pid, Pid}) calls by the new find_by_pid/1 function. 2011-02-21 01:34:54 +01:00
Loïc Hoguin
953da28a3e egs_game_server: Make sure the egs_users:read can't fail in on_exit. 2011-02-21 00:58:14 +01:00
Loïc Hoguin
344b88eec4 egs_accounts: Add tmp_gid/0. Remove the table/record counters. 2011-02-20 02:42:40 +01:00
Loïc Hoguin
378e9a9927 egs_game_server: Properly leave the zone when the user is disconnecting. 2011-02-19 22:23:42 +01:00
Loïc Hoguin
a484de77e0 egs_users: Rename id into gid inside the users record. 2011-02-13 00:35:05 +01:00
Loïc Hoguin
4dcaa79371 Add types to the users record and convert egs_users into a functions module.
The egs_user_model module was renamed into egs_users.
The egs_user_model record was renamed into users.
2011-02-12 19:58:53 +01:00
Loïc Hoguin
d043ab4d3d egs_game_server: On exit, don't try to leave the uni if it wasn't entered. 2010-12-25 14:59:57 +01:00
Loïc Hoguin
c91880be1f Introduce egs_universes for universe handling. Review and move send_021e and send_0222 to psu_proto. 2010-10-21 17:00:30 +02:00
Loïc Hoguin
7f6ff8191a Fix the population count at the uni cube. 2010-10-15 22:13:10 +02:00
Loïc Hoguin
c565e398b7 psu_proto: Pass the process state to send_0202. 2010-09-22 00:25:30 +02:00
Loïc Hoguin
e8a2312794 Make the state the same for all modules. The state contains socket, gid and lid. 2010-09-20 02:41:03 +02:00
Loïc Hoguin
8a88d63e48 egs_game: Change the process message names following network code refactoring. 2010-09-18 23:38:23 +02:00
Loïc Hoguin
9ba7e25d64 egs_login_server: Abstract the login server. Share the code for login server and game auth. 2010-09-18 22:53:15 +02:00
Loïc Hoguin
f52c133c6a egs_game_server: Separate the general game server handling into this new module. 2010-09-18 21:37:48 +02:00