Commit Graph

210 Commits

Author SHA1 Message Date
Loïc Hoguin
74c491380d psu_proto: Handle that auto incremented area-related number properly. 2010-09-25 16:51:07 +02:00
Loïc Hoguin
a93c620a17 psu_proto: Review and move send_0208 to psu_proto. 2010-09-25 16:18:33 +02:00
Loïc Hoguin
d73f284f0a psu_proto: Review and move send_020f to psu_proto. 2010-09-25 15:57:15 +02:00
Loïc Hoguin
821c6a5ac7 psu_proto: Review and move send_0a11 to psu_proto. 2010-09-25 03:27:07 +02:00
Loïc Hoguin
d311a85f30 items: Add descriptions for all items defined so far! Now in separate files in priv/items/. 2010-09-25 03:18:46 +02:00
Loïc Hoguin
f5e32c4460 egs_game: Handle object_healing_pad_tick for the player's character. 2010-09-24 02:33:22 +02:00
Loïc Hoguin
1a6b9549a3 psu_proto: Review and move send_1020 to psu_proto. 2010-09-24 00:06:14 +02:00
Loïc Hoguin
ca5f73bad1 psu_proto: Review and move send_1022 to psu_proto. 2010-09-23 23:16:24 +02:00
Loïc Hoguin
dc55ec7a66 psu_proto: Review and move send_1a07 to psu_proto. 2010-09-23 22:33:53 +02:00
Loïc Hoguin
3c16cf7c70 psu_proto: Review and move send_0111 to psu_proto. 2010-09-23 21:23:59 +02:00
Loïc Hoguin
9b0b5c1dec psu_proto: Review and move send_1006 to psu_proto. 2010-09-23 19:55:03 +02:00
Loïc Hoguin
c029f98deb psu_proto: Review and move send_0117 to psu_proto. 2010-09-23 18:30:50 +02:00
Loïc Hoguin
f0a88e1b19 psu_proto: Review send_0115 and move it to psu_proto. 2010-09-23 16:09:13 +02:00
Loïc Hoguin
ec22000d51 psu_proto: Pass the process state to send_0c00. 2010-09-22 04:19:04 +02:00
Loïc Hoguin
e3bd9a38a6 psu_proto: Pass the process state to send_0a05. 2010-09-22 04:16:03 +02:00
Loïc Hoguin
fc50c22a0f psu_proto: Pass the process state to send_0215. 2010-09-22 03:44:49 +02:00
Loïc Hoguin
092f311742 psu_proto: Pass the process state to send_020e. 2010-09-22 03:27:45 +02:00
Loïc Hoguin
dd37bcb941 psu_proto: Pass the process state to send_020c. 2010-09-22 03:16:57 +02:00
Loïc Hoguin
91f32909bd psu_proto: Pass the process state to send_0205. 2010-09-22 03:10:53 +02:00
Loïc Hoguin
38157769c2 psu_proto: Pass the process state to send_0201. 2010-09-22 00:21:25 +02:00
Loïc Hoguin
0a7aeff56b psu_proto: Pass the process state to send_0d01. 2010-09-22 00:18:00 +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
a498359165 egs_game: Fix the newly introduced bug when using uni cube. 2010-09-18 23:30:31 +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
Loïc Hoguin
ef9b3aa03b Converted the game server into a supervisor-compatible module. 2010-07-18 14:08:11 +02:00
Loïc Hoguin
f46ba0e1f9 Start work on making the EGS server OTP-compliant. Add egs_app and egs_sup. 2010-07-18 01:44:19 +02:00
Loïc Hoguin
49016cafaa psu_missions: Added The Black Nest. Slightly better traps handling.
Not much is working there though.
2010-07-17 19:05:29 +02:00
Loïc Hoguin
1f9ac7b1f6 psu_missions: Add True Darkness. Boss gate handling. Boss partially working. 2010-07-17 14:50:03 +02:00
Loïc Hoguin
d54d77ed01 game: Save the right coordinates when receiving movement, as seen in send_0503. 2010-07-16 18:49:15 +02:00
Loïc Hoguin
c258833714 psu_missions: Fix warp object handling. 2nd warp in Dark Satellite B2 now works. 2010-07-16 18:48:02 +02:00
Loïc Hoguin
db3a10188b psu_missions: Handle warps. Correctly handle coords, direction. Add Dark Satellite.
Currently only Dark Satellite B1 and B2 work.
There might be a regression about the sit state of others when connecting.
2010-07-16 16:25:31 +02:00
Loïc Hoguin
51c2c1ad3e psu_parser: Generate missions data when compiling the server.
Currently generates the mission data for all Unsafe Passage quests.
2010-07-14 19:31:27 +02:00
Loïc Hoguin
4a043ba91d game: Revive the player on death. Like scapes, except no scape available. 2010-07-10 22:27:59 +02:00
Loïc Hoguin
11d8188893 game: Send the player back to lobby on death+red screen. Better 0111 handling. 2010-07-10 22:18:28 +02:00
Loïc Hoguin
5f4a1f8877 game: Fix 3rd Unsafe Passage C block 2 and 3! 2010-07-10 21:34:59 +02:00
Loïc Hoguin
457926fea5 game: Delete another useless io:format. 2010-07-09 21:26:59 +02:00
Loïc Hoguin
4aacaa6913 game: Default brightness set to 4. 2010-07-09 20:40:44 +02:00
Loïc Hoguin
43d2516d02 psu_missions: Initial objects and proper missions handling. See below.
* Create objects in the memory database.
* Enemies aren't created in the database yet.
* Player now has its HP working correctly.
* Boxes are now destroyed.
* Temporarily set the initial spawn point to the LL counter.
2010-07-09 18:59:14 +02:00
Loïc Hoguin
86d50bb2c7 characters: Fix issues when loading idle characters. 2010-07-02 23:12:46 +02:00
Loïc Hoguin
64457ce2ad game: Add send_0210 (send current unix timestamp). 2010-07-02 20:06:13 +02:00
Loïc Hoguin
7dd80e0faf characters: Small findings and improvements. TNL currently broken though. 2010-07-02 19:15:45 +02:00
Loïc Hoguin
3ccea942cd characters: add TNL. game: add 010d command. 2010-07-02 02:43:10 +02:00
Loïc Hoguin
f4e8300fb1 game: Initial EXP support. 2010-07-01 22:47:02 +02:00
Loïc Hoguin
1ea1009a37 game: Initial support for character stats and other information. 2010-07-01 21:26:26 +02:00
Loïc Hoguin
14c9ab7666 psu_characters: Parse and validate character options. 2010-06-30 18:02:00 +02:00
Loïc Hoguin
c894ebe84a game: Fix warping and rename some related variables. 2010-06-30 14:02:52 +02:00
Loïc Hoguin
0e05b01ce5 game: Save the GID before the "auth success" log. 2010-06-30 12:11:50 +02:00
Loïc Hoguin
b85c189279 game: Fix and strenghten the supervisor.
When closing the connection, delete from the database sooner rather than later.
Do most of what we can in process_init rather than accept.
Link to the supervisor directly from the process_init function.
2010-06-30 12:09:02 +02:00