Commit Graph

716 Commits

Author SHA1 Message Date
Loïc Hoguin
e2274666b8 Rename Makefile target server into app. 2011-06-08 02:18:10 +02:00
Loïc Hoguin
6fd1119777 Add type specs and simplifications to egs_conf. 2011-06-08 02:17:49 +02:00
Loïc Hoguin
eab53bc3a7 Add type specs and simplifications to egs_sup.erl. 2011-06-08 02:17:24 +02:00
Loïc Hoguin
2325c7cf63 Move type definitions from an include file to egs.erl. 2011-06-08 01:44:31 +02:00
Loïc Hoguin
8889ca8332 Simplify the code returning the current unix time. 2011-06-08 01:23:32 +02:00
Loïc Hoguin
23e781f498 Add type specs to egs.erl. 2011-06-08 00:13:48 +02:00
Loïc Hoguin
60b8009382 Use a try .. after construct for handling disconnects. 2011-05-18 21:38:18 +02:00
Loïc Hoguin
325c1a4c10 Use Cowboy as a pool of acceptors. 2011-05-17 17:15:17 +02:00
Loïc Hoguin
8f3db6480a Only enable zone 0 on colony by default.
Will prevent the issue with other zones not being defined yet.
2011-04-19 13:00:06 +02:00
Loïc Hoguin
8363741b3a Initial work on 5th floor on colony zone 0. 2011-04-19 12:57:31 +02:00
Loïc Hoguin
935b490461 Update the copyright to 2010-2011 in a few files. 2011-04-19 12:47:08 +02:00
Loïc Hoguin
948873ddec Add dialyzer and compiler options to rebar.config. 2011-04-19 12:45:17 +02:00
Loïc Hoguin
72726bdf6c Remove rebar from the repository. Use the $PATH one by default. 2011-04-19 12:44:46 +02:00
Loïc Hoguin
0a399238f4 Fix a small issue in the patch server that could lead to a crash. 2011-03-29 01:58:26 +02:00
Loïc Hoguin
c957d9a8b9 Separate type definitions in their own header.
Also convert source files to utf8, update the copyright info and
other minor changes.
2011-02-27 23:13:09 +01:00
Loïc Hoguin
d9cde30b0b Remove the #level record. 2011-02-27 20:12:43 +01:00
Loïc Hoguin
c7cb5ab589 Remove the unused #users.se. 2011-02-27 19:49:27 +01:00
Loïc Hoguin
dc26bb82f7 Remove the unused #users.classlevels. 2011-02-27 19:46:37 +01:00
Loïc Hoguin
d8906226a5 Remove the unused #users.playtime. 2011-02-27 19:44:05 +01:00
Loïc Hoguin
730f47d837 Remove the unused #users.time. 2011-02-27 19:42:27 +01:00
Loïc Hoguin
d2f7c9e83f psu_characters: Remove validate_name as it's not doing anything yet. 2011-02-27 19:26:59 +01:00
Loïc Hoguin
6466f05728 psu_characters: Remove se_list_to_binary, it's doing it wrong. 2011-02-27 19:25:06 +01:00
Loïc Hoguin
3821a1e7bf egs_proto: Move the build_char_level function where it belongs. 2011-02-27 19:19:12 +01:00
Loïc Hoguin
a1bf3e43f3 Remove #characters and merge the data into #users directly. 2011-02-27 19:14:03 +01:00
Loïc Hoguin
3290aba95d egs: Use egs_users:broadcast to send the warp message to a single player too. 2011-02-27 14:27:58 +01:00
Loïc Hoguin
72989f5332 egs_game: Forgot a function export. 2011-02-27 14:06:31 +01:00
Loïc Hoguin
6cbb987ab0 Rename psu_proto into egs_proto since this module isn't temporary. 2011-02-27 14:03:04 +01:00
Loïc Hoguin
9c8ad80a07 egs_game: Move psu_game:char_load into egs_game and delete psu_game. 2011-02-27 13:48:10 +01:00
Loïc Hoguin
b5d6b3934b egs_game: Move psu_game:npc_load into egs_game. 2011-02-27 13:36:36 +01:00
Loïc Hoguin
cdc2c56d5c egs_game: Move the code from area_load inside the area_change event. 2011-02-27 13:33:18 +01:00
Loïc Hoguin
5b255b211b egs_login: Don't use the process dictionary anymore. 2011-02-27 02:26:37 +01:00
Loïc Hoguin
edb061662f psu_proto: Convert log calls to io:format to get rid of get(gid). 2011-02-27 02:24:49 +01:00
Loïc Hoguin
9268f3f7ae egs_game: Convert log calls to io:format to get rid of get(gid). 2011-02-27 02:16:15 +01:00
Loïc Hoguin
dd4a228b01 egs_login: Remove a warning on unused Socket variable. 2011-02-27 02:14:57 +01:00
Loïc Hoguin
34b4a21ce7 egs_game: Remove a few commented get(gid) that are polluting the search. 2011-02-27 00:28:57 +01:00
Loïc Hoguin
2a7383b9a1 psu_game: Remove psu_game:send in favor of psu_proto:packet_send.
This definitely gets rid of the process dictionary for storing the socket.
2011-02-27 00:10:28 +01:00
Loïc Hoguin
3f1d1d2fb0 psu_proto: Move send_0a0a to psu_proto without reviewing it. 2011-02-27 00:01:25 +01:00
Loïc Hoguin
18429b8d76 psu_proto: Move build_item_variables to psu_proto. 2011-02-26 23:56:51 +01:00
Loïc Hoguin
82aca844f2 psu_proto: Move build_item_constants to psu_proto. 2011-02-26 23:54:22 +01:00
Loïc Hoguin
1b36ff2589 psu_proto: Move send_010a to psu_proto without reviewing it. 2011-02-26 23:49:56 +01:00
Loïc Hoguin
4ff28e0939 psu_proto: Move send_1004 to psu_proto without reviewing it. 2011-02-26 23:32:43 +01:00
Loïc Hoguin
f21f23a92f psu_game: Delete send_1309 and its binary packet, now unused. 2011-02-26 23:21:15 +01:00
Loïc Hoguin
979e99f6a5 psu_game: Delete send_1332 and its binary packet, now unused. 2011-02-26 23:20:26 +01:00
Loïc Hoguin
58cfb8a61e psu_proto: Move send_0113 to psu_proto without reviewing it. 2011-02-26 23:16:31 +01:00
Loïc Hoguin
9aca48a697 psu_proto: Move send_0503 to psu_proto without reviewing it. 2011-02-26 23:14:12 +01:00
Loïc Hoguin
722bcf7c9e psu_proto: Move send_0a04 to psu_proto without reviewing it. 2011-02-26 23:11:31 +01:00
Loïc Hoguin
dc77b8e804 psu_proto: Move send_0d03 to psu_proto without reviewing it. 2011-02-26 23:07:52 +01:00
Loïc Hoguin
eaafdc213f psu_proto: Move send_1016 to psu_proto without reviewing it. 2011-02-26 23:03:19 +01:00
Loïc Hoguin
f8524ca9c4 psu_proto: Move send_1216 to psu_proto without reviewing it. 2011-02-26 23:01:08 +01:00
Loïc Hoguin
8c95aab709 psu_proto: Move send_1501 to psu_proto without reviewing it. 2011-02-26 22:58:23 +01:00