Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
6cf2c77823 Introduce egs_items_db for items database management. 2010-10-08 17:30:24 +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
492b485cd9 Add default values to items and egs_user_model records. 2010-09-27 23:52:03 +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
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
3c90c8e4bc items: Initial weapons handling. Added 3 swords with various differences. 2010-09-12 23:27:28 +02:00
Loïc Hoguin
2899a32ea1 Change the license from GPLv3 to Affero GPL, which is based on GPLv3. 2010-09-04 00:09:06 +02:00
Loïc Hoguin
b7d3c1634f Added many NPC characters. Fixed movement for NPCs other than Lou. 2010-08-27 02:03:58 +02:00
Loïc Hoguin
46fabad441 egs_user_model: Remove the unused counterid introduced earlier today. 2010-08-21 18:42:23 +02:00
Loïc Hoguin
3ee62e81e8 psu_proto: Move counter_enter to events. Handle prev_area correctly. Handle CounterID correctly. 2010-08-21 16:53:35 +02:00
Loïc Hoguin
18a86f9c6b Initial party and NPC support. Lou only so far. Many bugs expected. 2010-08-16 18:31:01 +02:00
Loïc Hoguin
26ed4cbf54 Remove egs_db. Rename the ids table to counters. Update it directly. 2010-07-31 21:32:08 +02:00
Loïc Hoguin
761f053ade psu_game: Don't try to load a set file that doesn't exist. 2010-07-24 12:51:51 +02:00
Loïc Hoguin
473f7f1ae6 Added psu_instance, a process to handle missions and more later. 2010-07-23 21:46:03 +02:00
Loïc Hoguin
bc66480d8e Move the db user code into its own gen_server, egs_user_model. 2010-07-19 02:11:31 +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
5f4a1f8877 game: Fix 3rd Unsafe Passage C block 2 and 3! 2010-07-10 21:34:59 +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
1ea1009a37 game: Initial support for character stats and other information. 2010-07-01 21:26:26 +02:00
Loïc Hoguin
94ccf04986 records: Add new data structures for accounts and characters handling. 2010-07-01 04:02:31 +02:00
Loïc Hoguin
14c9ab7666 psu_characters: Parse and validate character options. 2010-06-30 18:02:00 +02:00
Loïc Hoguin
c4e2dccb97 psu_appearance: Parse and validate character creation appearance data. 2010-06-30 02:52:53 +02:00
Loïc Hoguin
a0442e1139 game: Correctly handle mission aborting. Warp the player OUT. 2010-06-11 00:34:55 +02:00
Loïc Hoguin
b6c000dd4f game: Save the questid and zoneid when entering a counter. 2010-06-06 03:23:51 +02:00
Loïc Hoguin
8ac0e60d2f Rename location identifiers appropriately: QuestID, ZoneID, MapID and EntryID. 2010-06-06 02:28:35 +02:00
Loïc Hoguin
1bdc71ced3 game: Fix crashes related to missions. Don't broadcast if not in the same instance. 2010-05-31 21:15:39 +02:00
Loïc Hoguin
5ecdd5d4c9 game: Implement character direction. 2010-05-26 09:55:55 +02:00
Loïc Hoguin
48ba723e8c Make spaceport work as expected. Add Neudaiz main lobby. 2010-05-22 22:52:08 +02:00
Loïc Hoguin
e4bad33910 Handle map type properly. 2010-05-22 03:59:19 +02:00
Loïc Hoguin
53f2c49e73 db: Cleanup users who didn't reach game after login every 5 minutes. 2010-05-20 23:53:02 +02:00
Loïc Hoguin
0c05e0e7f4 Initial work on coordinates handling. Fix warping on spawn.
Updated MOTD.
2010-05-15 19:31:48 +02:00
Loïc Hoguin
ddf13edfc7 Copyright notice: gasetools -> EGS. Whoops! Thanks. 2010-05-15 01:55:23 +02:00
Loïc Hoguin
b521233125 Handle other players and their movements.
This does not include making a player appear right after spawning,
making a player disappear after logoff and most lobby actions.
This probably isn't even correct or complete but it works for now.
2010-05-14 23:45:03 +02:00
Loïc Hoguin
9b315de02e Use the username and password entered to separate the save data into accounts. 2010-05-13 20:45:17 +02:00
Loïc Hoguin
8220c8ad92 Initial commit. Server capable of handling a few lobbies.
Players are still isolated from each other in this version.
2010-05-13 17:05:25 +02:00