Commit Graph

661 Commits

Author SHA1 Message Date
Loïc Hoguin
53a4b3dbbe psu_proto: Move send_170a to psu_proto without reviewing it. 2011-02-26 22:27:47 +01:00
Loïc Hoguin
4faabbda8f psu_proto: Move send_1706 to psu_proto without reviewing it. 2011-02-26 22:25:06 +01:00
Loïc Hoguin
023214793c psu_proto: Move send_1601 to psu_proto without reviewing it. 2011-02-26 22:18:19 +01:00
Loïc Hoguin
250a22dea8 psu_proto: Move send_1215 to psu_proto without reviewing it. 2011-02-26 22:15:20 +01:00
Loïc Hoguin
f40ba44364 psu_proto: Move send_1213 to psu_proto without reviewing it. 2011-02-26 22:09:09 +01:00
Loïc Hoguin
d0e15316b8 psu_proto: Move send_1212 to psu_proto without reviewing it. 2011-02-26 22:00:08 +01:00
Loïc Hoguin
4848b3c218 psu_proto: Move send_1211 to psu_proto without reviewing it. 2011-02-26 21:57:30 +01:00
Loïc Hoguin
7415da1c89 psu_proto: Move send_1207 to psu_proto without reviewing it. 2011-02-26 21:32:35 +01:00
Loïc Hoguin
e8c1c98824 psu_proto: Move send_1206 to psu_proto without reviewing it. 2011-02-26 21:29:32 +01:00
Loïc Hoguin
fde0f8b3fe psu_proto: Move send_1205 to psu_proto without reviewing it. 2011-02-26 18:44:42 +01:00
Loïc Hoguin
82e82503fa psu_proto: Move send_1202 to psu_proto without reviewing it. 2011-02-26 18:39:42 +01:00
Loïc Hoguin
fde008c7a8 psu_proto: Move send_1113 to psu_proto without reviewing it. 2011-02-26 18:36:28 +01:00
Loïc Hoguin
564ab8749f psu_proto: Move send_110e to psu_proto without reviewing it. 2011-02-26 18:30:40 +01:00
Loïc Hoguin
6dc9fb52dc psu_proto: Move send_101a to psu_proto without reviewing it. 2011-02-26 18:27:31 +01:00
Loïc Hoguin
0b02718faa psu_proto: Move send_1015 to psu_proto without reviewing it. 2011-02-26 18:25:04 +01:00
Loïc Hoguin
333e898bb4 psu_proto: Move send_100f to psu_proto without reviewing it. 2011-02-26 18:15:53 +01:00
Loïc Hoguin
64d8bf7c25 psu_proto: Move send_0c09 to psu_proto without reviewing it. 2011-02-26 18:09:07 +01:00
Loïc Hoguin
a44fc4274f psu_proto: Move send_0c02 to psu_proto without reviewing it. 2011-02-26 18:03:55 +01:00
Loïc Hoguin
5f0bd73303 psu_proto: Move send_022c to psu_proto without reviewing it. 2011-02-26 17:38:07 +01:00
Loïc Hoguin
19350ba1ff egs_game: Stop using psu_game:header. 2011-02-26 17:25:31 +01:00
Loïc Hoguin
998263b417 egs_login: Use pattern matching for system_client_version_info. 2011-02-26 17:16:42 +01:00
Loïc Hoguin
b6c1bf277d egs_users: Rename stateu into state. 2011-02-26 17:03:25 +01:00
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
d69fe073a8 egs_users: Introduce broadcast_all/1 to broadcast messages to all online users. 2011-02-21 02:30:39 +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
344c534812 egs_login_server: Remove the unused on_exit/1. 2011-02-21 00:37:15 +01:00
Loïc Hoguin
3280e79743 egs_game: The egs_users:read/1 call can't fail. Simplify the cast/3 function. 2011-02-21 00:12:47 +01:00
Loïc Hoguin
6e922a7ec9 egs_users: Remove broadcast_unspawn/2 in favor of broadcast/2. 2011-02-21 00:07:37 +01:00
Loïc Hoguin
823ee73e7d egs_users: Remove broadcast_spawn/2 in favor of broadcast/2. 2011-02-21 00:04:23 +01:00
Loïc Hoguin
40d2eed01b egs_users: Remove select({neighbors, User}). Use egs_zones for broadcasting. 2011-02-20 23:39:56 +01:00
Loïc Hoguin
ac8d6858cd egs_users: Remove the unused select(all) function. 2011-02-20 23:06:32 +01:00
Loïc Hoguin
e409241a50 egs_game: Counter zone data is just many 0s. Don't use a file for that. 2011-02-20 20:24:21 +01:00
Loïc Hoguin
25c9548ec3 Merge a few .gitignore into the top-level one and update it. 2011-02-20 20:14:42 +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
8eae404797 Fix dependency handling in start.sh. 2011-02-20 19:47:07 +01:00
Loïc Hoguin
840db6b7b3 egs_accounts: Fix the type spec for #state.accounts. 2011-02-20 17:39:02 +01:00
Loïc Hoguin
d5b5afa0a7 Use ex_reloader instead of reloader. Include it as a rebar dependency. 2011-02-20 15:30:35 +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
69a07dfad2 egs_accounts: Remove mnesia for accounts handling. Convert to a gen_server. 2011-02-20 02:01:16 +01:00
Loïc Hoguin
57e4e91187 Remove all references to the unused psu_object record/table. 2011-02-20 01:15:05 +01:00
Loïc Hoguin
722e0a53f4 reloader: Update to the latest HEAD version. 2011-02-20 00:40:56 +01:00
Loïc Hoguin
0f64bea72d egs_network: Match as binary instead of bits to avoid calculating the bit size. 2011-02-20 00:37:18 +01:00
Loïc Hoguin
b380fe9d23 egs_prs: Replace an exit call by the more appropriate erlang:nif_error/1. 2011-02-20 00:20:23 +01:00
Loïc Hoguin
ecee1226aa Cleanup: Replace a lot of 'little-unsigned-integer' by 'little' for binaries. 2011-02-20 00:18:14 +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
2de4359c32 Create the user at character selection rather than login. 2011-02-19 21:21:35 +01:00
Loïc Hoguin
b728731830 Properly handle the LID per player and per zone. Remove related hacks. 2011-02-19 19:45:50 +01:00
Loïc Hoguin
1be3c4f5c6 Do not load the quest or zone nbl unless we actually need to send it. 2011-02-19 17:04:26 +01:00
Loïc Hoguin
e7246271ad users: Remove the setid property. Sets are fully handled by the zone now. 2011-02-19 16:58:09 +01:00