Commit Graph

498 Commits

Author SHA1 Message Date
Loïc Hoguin
a8da246467 psu_proto: Review and rename send_global to send_0228. Send a message to all processes instead of sending everything from the console process. 2010-10-09 02:07:02 +02:00
Loïc Hoguin
b5a2d0e918 egs_game: Fix a bug where the meseta taken for buying an item was always for a quantity of 1 instead of N. 2010-10-09 01:09:53 +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
c7eae9256e Introduce egs_shops_db for shops listing management. 2010-10-08 20:56:48 +02:00
Loïc Hoguin
01daa3c6f2 egs_items_db: Add a function to return an item's description. 2010-10-08 17:33:49 +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
5d4acd84b0 psu_proto: Review and move send_1a03 to psu_proto. Put the Lumilass options in priv/lumilass.conf instead of a binary file. 2010-10-08 03:45:01 +02:00
Loïc Hoguin
b6310d9cdb egs_game: Remove a done @todo. 2010-10-07 20:16:10 +02:00
Loïc Hoguin
3e5fab81a8 Rename the folders in priv/ to better names. 2010-10-07 20:12:21 +02:00
Loïc Hoguin
11b08b6dfd Introduce egs_seasons for season handling. Review and move the code there. 2010-10-07 20:09:08 +02:00
Loïc Hoguin
34ff98e43e Introduce egs_conf for system-wide configuration. Removes network.hrl. 2010-10-07 18:03:13 +02:00
Loïc Hoguin
a083357e18 psu_proto: Simplify a few binary pattern matching and building. 2010-10-06 17:54:25 +02:00
Loïc Hoguin
5f13ffcaf4 psu_proto: Review and move send_1a02 to psu_proto. 2010-10-06 17:51:28 +02:00
Loïc Hoguin
591a3bd1ba Remove a bunch of old @todo. 2010-10-06 17:49:07 +02:00
Loïc Hoguin
f2b5472f5b egs_game: A value was wrong for send_1a02. 2010-10-06 17:28:33 +02:00
Loïc Hoguin
5b47fede00 psu_game: Remove a debug message left by mistake. 2010-10-02 17:29:49 +02:00
Loïc Hoguin
f409c72e15 psu_proto: Review and move send_0a06 to psu_proto. Handle ItemUUIDs properly. 2010-10-02 04:17:23 +02:00
Loïc Hoguin
87663e6f0d items: Make undefined shops sell 1 monomate instead of a hardcoded list. 2010-10-01 03:31:29 +02:00
Loïc Hoguin
228d85230b egs:global: Check the message length to avoid crashing clients. 2010-10-01 01:53:31 +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
1189753858 egs_user_model: Save the ShopID when entering a shop, remove it when leaving. 2010-09-29 19:02:20 +02:00
Loïc Hoguin
988dfd326f psu_proto: Clothes shop use the same field as Quantity for the color choice. 2010-09-29 17:46:56 +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
fe24d743fb egs_user_model: Add an item_nth function. 2010-09-28 23:53:41 +02:00
Loïc Hoguin
d3156361fe egs_game: Properly remove traps from the inventory when set. 2010-09-28 23:47:10 +02:00
Loïc Hoguin
9ca3b903c6 egs_game: Handle item_equip(traps) and item_set_trap. 2010-09-28 23:06:27 +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
17f54fec45 egs_user_model: Add the login_auth function. 2010-09-27 20:35:19 +02:00
Loïc Hoguin
559e77de37 egs_user_model: Add the key_auth function. 2010-09-27 19:43:01 +02:00
Loïc Hoguin
e11dc0be25 psu_proto: The languages list is now complete. 2010-09-27 17:24:09 +02:00
Loïc Hoguin
000b171567 egs_game: Remove the instancepid when aborting the mission. 2010-09-26 16:27:51 +02:00
Loïc Hoguin
0bfc07da65 psu_proto: Language 2 is english too. Not sure which english though. 2010-09-26 02:00:50 +02:00
Loïc Hoguin
9fa78477f0 psu_proto: Review and move send_1204 to psu_proto. 2010-09-26 01:59:40 +02:00
Loïc Hoguin
0b497aeae4 psu_proto: Review and move send_100e to psu_proto. Fix NPC location bug and missing name at Mina and Parum GUARDIANS. 2010-09-25 21:46:04 +02:00
Loïc Hoguin
44f39528b8 psu_proto: Review and move send_0236 to psu_proto. 2010-09-25 19:29:47 +02:00
Loïc Hoguin
e494e14767 psu_proto: Review and move send_0200 to psu_proto. 2010-09-25 19:22:13 +02:00
Loïc Hoguin
6cdad829e7 psu_proto: Fix a regression introduced by a93c620a17 and caused by a wrong LID. 2010-09-25 18:52:33 +02:00
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
cbd785766a psu_proto: Improve LID support. Put @todo where it's not done yet. 2010-09-23 19:06:56 +02:00
Loïc Hoguin
1f2f198f0c psu_proto: Review and move send_021b to psu_proto. 2010-09-23 18:53:58 +02:00
Loïc Hoguin
578bef1018 psu_proto: Review and move send_0210 to psu_proto. 2010-09-23 18:44:56 +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
5f2ad649a5 psu_proto: Review and move send_0225 to psu_proto. 2010-09-23 02:17:13 +02:00
Loïc Hoguin
f4bff9eaa1 psu_proto: Review and move send_0223 to psu_proto. 2010-09-23 01:48:15 +02:00
Loïc Hoguin
f8bdeb99c7 psu_proto: Review and move send_0231 to psu_proto. 2010-09-22 22:28:27 +02:00
Loïc Hoguin
8a8d800118 psu_proto: Pass the process state to send_0d05. 2010-09-22 04:22:15 +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
eca850f396 psu_proto: Pass the process state to send_0216. 2010-09-22 04:12:51 +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
18d97c2ca3 psu_proto: Simplify state usage. 2010-09-22 00:34:01 +02:00
Loïc Hoguin
c565e398b7 psu_proto: Pass the process state to send_0202. 2010-09-22 00:25:30 +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
f585a916e6 psu_parser: Windows use a different line break convention. 2010-09-21 23:23:58 +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
83344214f7 psu_proto: Review 0216 and move it to psu_proto. 2010-09-20 00:53:06 +02:00
Loïc Hoguin
6b8597c506 psu_proto: Remove some old comments. 2010-09-19 19:31:04 +02:00
Loïc Hoguin
9316c26831 psu_proto: Move system_motd_accept to events and ignore it. 2010-09-19 19:27:52 +02:00
Loïc Hoguin
ce83cf28c0 psu_proto: Properly detect entrance in system_client_version_info. 2010-09-19 19:19:09 +02:00
Loïc Hoguin
83290bc0ef psu_proto: Move system_motd_request to events. 2010-09-19 18:41:06 +02:00
Loïc Hoguin
05c1cc0dfd psu_proto: Move system_login_auth_request to events. 2010-09-19 17:51:42 +02:00
Loïc Hoguin
7197e5df21 psu_proto: Move system_game_server_request to events. 2010-09-19 17:31:46 +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
989f152478 psu_proto: Remove packet_recv, packet_split, packet_parse, unused following the refactoring of the network stack. 2010-09-18 22:57:55 +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
d9a3f24229 egs_sup: Change line end characters from CR+LF to LF. 2010-09-18 21:39:31 +02:00
Loïc Hoguin
f52c133c6a egs_game_server: Separate the general game server handling into this new module. 2010-09-18 21:37:48 +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
04487676f0 psu_game: Fix Lumilass options for all races and gender. 2010-09-16 23:15:39 +02:00
Loïc Hoguin
9c12812364 psu_instance: Handle goggle_target properly. 2010-09-13 19:36:08 +02:00
Loïc Hoguin
c2adcb7018 psu_game: Don't reload the area twice in story missions when the NPC follows. 2010-09-12 23:42:36 +02:00
Loïc Hoguin
3c90c8e4bc items: Initial weapons handling. Added 3 swords with various differences. 2010-09-12 23:27:28 +02:00
Loïc Hoguin
2cf0989621 psu_game: Initial inventory handling. Added special items all available in the test inventory. 2010-09-12 02:42:32 +02:00
Loïc Hoguin
d7bf8e1868 psu_game: Empty the inventory. 2010-09-12 00:36:54 +02:00
Loïc Hoguin
ab05db4466 psu_parser: Fix Windows detection. 2010-09-10 15:33:40 +02:00
Loïc Hoguin
32c080e928 psu_game: Regression fix for people getting disconnecting randomly in missions. 2010-09-09 00:58:03 +02:00
Loïc Hoguin
37a46a3953 items: Added all male and female parts. 2010-09-08 03:54:44 +02:00
Loïc Hoguin
4ffd581b4a items: Add male clothes. 2010-09-06 23:09:50 +02:00
Loïc Hoguin
c0ff7100fb psu_game: Fix send_0222 based on research. This fixes the EXP TNL issue. 2010-09-05 15:38:58 +02:00
Loïc Hoguin
3ac88d6d81 psu_game: Fix various LID issues. 2010-09-05 15:38:28 +02:00
Loïc Hoguin
ad9dede8bc psu_proto: Added 2 more @todo for item_learn_pa or npc_shop_gift_wrap. 2010-09-05 15:32:51 +02:00