Commit Graph

23 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
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
0b8c4dbd85 egs_users: Remove mnesia from users handling. Convert to a gen_server.
Mnesia has now been fully removed from EGS. It will be replaced by Riak
at a later time, when we need to store permanent data to disk.
2011-02-20 20:00:04 +01:00
Loïc Hoguin
2de4359c32 Create the user at character selection rather than login. 2011-02-19 21:21:35 +01:00
Loïc Hoguin
098ad5243a Get rid of psu_area; use a normal tuple instead (for now). 2011-02-12 23:28:56 +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
2ce9ec0857 egs_char_select: Set back the entrance to colony 4th floor. 2010-11-08 01:37:00 +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
a7244a4310 Log accounts who logged in during the event and spawn at Memoria temporarily. 2010-10-15 21:05:32 +02:00
Loïc Hoguin
db610bb066 Introduce egs_accounts for accounts handling. 2010-10-11 03:20:20 +02:00
Loïc Hoguin
641371fe4b egs_char_select: Save the character slot in the state for later use. 2010-10-09 01:04:03 +02:00
Loïc Hoguin
6cf2c77823 Introduce egs_items_db for items database management. 2010-10-08 17:30:24 +02:00
Loïc Hoguin
591a3bd1ba Remove a bunch of old @todo. 2010-10-06 17:49:07 +02:00
Loïc Hoguin
a79ad78309 egs_game: Initial, probably buggy, implementation of npc_shop_buy. 2010-09-30 00:32:32 +02:00
Loïc Hoguin
de646c2df8 items: Add a few clothes to the default inventory. 2010-09-29 03:08:02 +02:00
Loïc Hoguin
7b6773099b items: Add a couple parts to the default inventory. 2010-09-28 18:10:31 +02:00
Loïc Hoguin
d443deebb1 items: Add EX traps to the default inventory. Fix Stun Trap EX description. 2010-09-28 18:02:39 +02:00
Loïc Hoguin
c894e492de items: Add consumable items to the default inventory. 2010-09-28 04:13:11 +02:00
Loïc Hoguin
492b485cd9 Add default values to items and egs_user_model records. 2010-09-27 23:52:03 +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
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
59b0438434 psu_game: Abstract network, login/auth, character select and game into their own modules. 2010-09-18 19:57:55 +02:00