Commit Graph

728 Commits

Author SHA1 Message Date
Loïc Hoguin
ceea04c3b4 Work in progress on egs_net (will be amended) 2012-05-16 13:31:37 +02:00
Loïc Hoguin
9adab0ea87 Move the PRS compression library into a separate application 2012-01-04 01:56:38 +01:00
Loïc Hoguin
6579c26f98 egs_patch: Rename the folder containing the patch files 2012-01-04 00:56:20 +01:00
Loïc Hoguin
368bb0f7b4 egs_patch: Use code:priv_dir/1 to get the location of the configuration 2012-01-04 00:52:41 +01:00
Loïc Hoguin
807510f669 Add custom crc.bin and SmutFilter_J.bin files to the patch server
These are safe to use and distribute as they were rebuilt from scratch.
2011-12-15 19:22:37 +01:00
Loïc Hoguin
c69513073d Move the patch server into its own separate application 2011-12-12 10:46:27 +01:00
Loïc Hoguin
35b86b58ba Fix paths temporarily to fix the compilation 2011-12-12 10:41:16 +01:00
Loïc Hoguin
ac0c3c551b Initial release layout
Moved files around to generate releases later on, but also to
separate the code into many different applications each with their
own purpose (patch server, game server, data storage, script compiler,
files library, and so on).
2011-12-12 10:02:34 +01:00
Loïc Hoguin
289ce855ad Use supervisor:child_spec() type where appropriate. 2011-06-08 15:36:14 +02:00
Loïc Hoguin
bc47fcb049 Fix a dialyzer warning in egs_app. 2011-06-08 12:30:13 +02:00
Loïc Hoguin
408e7e99e6 Convert egs_zones_sup to a simple_one_for_one supervisor. 2011-06-08 12:01:39 +02:00
Loïc Hoguin
c42b1a85f8 Convert egs_quests_sup to a simple_one_for_one supervisor. 2011-06-08 11:30:28 +02:00
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