Commit Graph

524 Commits

Author SHA1 Message Date
Loïc Hoguin
814d4348f5 psu_proto: Remove a useless @todo. 2010-10-23 04:01:47 +02:00
Loïc Hoguin
a0d6e67e0e egs_game: Properly handle the spawning of individual players instead of sending everything each time. 2010-10-22 04:04:21 +02:00
Loïc Hoguin
d6b4b24388 psu_proto: Review and move send_0233 to psu_proto. 2010-10-22 02:35:16 +02:00
Loïc Hoguin
22278250b9 egs_game: Handle counter_join_party_request and reply. No parties listed yet though. 2010-10-21 23:55:01 +02:00
Loïc Hoguin
26d5763df3 psu_proto: Review and move send_1500 to psu_proto. 2010-10-21 23:30:26 +02:00
Loïc Hoguin
a86e4caf0d psu_proto: Review and move send_0c08 to psu_proto. 2010-10-21 22:56:18 +02:00
Loïc Hoguin
31dc7ffb7f psu_proto: Review and move send_0204 to psu_proto. 2010-10-21 22:31:06 +02:00
Loïc Hoguin
94ce201941 psu_proto: Review and move send_0d01 to psu_proto. 2010-10-21 19:39:11 +02:00
Loïc Hoguin
4ff129224f psu_proto: Review and move send_1005 to psu_proto. 2010-10-21 18:20:43 +02:00
Loïc Hoguin
c91880be1f Introduce egs_universes for universe handling. Review and move send_021e and send_0222 to psu_proto. 2010-10-21 17:00:30 +02:00
Loïc Hoguin
a6563c7378 egs_npc_db: Remove count/0, it's never needed standalone. 2010-10-19 18:47:26 +02:00
Loïc Hoguin
94e902d07e psu_proto: Review and move send_0230 to psu_proto. 2010-10-19 18:37:05 +02:00
Loïc Hoguin
b9f407bb1e psu_proto: Review and move send_0304 to psu_proto. 2010-10-19 18:12:25 +02:00
Loïc Hoguin
8bcf1ba3c8 psu_proto: Review and move send_1711 to psu_proto. 2010-10-19 00:20:44 +02:00
Loïc Hoguin
af29f8a460 egs_counters: 255 is the default background for most counters. 2010-10-19 00:13:58 +02:00
Loïc Hoguin
d99c5388b9 egs_login: Don't save accounts that logged in during the event anymore! 2010-10-18 15:23:09 +02:00
Loïc Hoguin
dea239bce7 Bump to 0.7.0. 2010-10-15 22:38:48 +02:00
Loïc Hoguin
7f6ff8191a Fix the population count at the uni cube. 2010-10-15 22:13:10 +02:00
Loïc Hoguin
a7244a4310 Log accounts who logged in during the event and spawn at Memoria temporarily. 2010-10-15 21:05:32 +02:00
Loïc Hoguin
8859132736 psu_parser: Add more objects. 2010-10-15 20:13:41 +02:00
Loïc Hoguin
5e9b669d00 egs_counters: Handle empty counters efficiently.
Adds Aurorey counter in the process.
2010-10-14 04:07:32 +02:00
Loïc Hoguin
4a5eadc05b egs_counters: Handle "Return to city" properly. 2010-10-13 21:51:43 +02:00
Loïc Hoguin
77afc458a9 Introduce egs_counters for counter building and handling.
Currently only handle LL counter, others are yet to be migrated.
2010-10-13 20:09:34 +02:00
Loïc Hoguin
b4123b7433 Introduce egs_npc_db for NPC database handling. 2010-10-11 17:16:07 +02:00
Loïc Hoguin
db610bb066 Introduce egs_accounts for accounts handling. 2010-10-11 03:20:20 +02:00
Loïc Hoguin
e5761828d9 Use rebar.config to also compile lib/. Move ebin/egs.app to src/egs.app.src. 2010-10-09 23:51:59 +02:00
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