Commit Graph

226 Commits

Author SHA1 Message Date
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
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
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
Loïc Hoguin
c4e2dccb97 psu_appearance: Parse and validate character creation appearance data. 2010-06-30 02:52:53 +02:00
Loïc Hoguin
7cda96f7e0 game: Make send_0c08 use booleans rather than ok/error. 2010-06-28 12:36:56 +02:00
Loïc Hoguin
3b2ed1c242 game: Remvoe send_spawn. 2010-06-28 12:10:31 +02:00
Loïc Hoguin
a8c88776f8 game: Add an header function to create the packet header. 2010-06-28 02:22:42 +02:00
Loïc Hoguin
7ac9776f30 game: Add CSocket, GID and Version into the process dictionary. 2010-06-28 01:33:31 +02:00
Loïc Hoguin
be0aedc62e game: The universe name now uses a string instead of integers... 2010-06-27 22:07:03 +02:00
Loïc Hoguin
e063590094 game: Use pattern match instead of many lines of binding variables in send_0201. 2010-06-27 20:03:35 +02:00
Loïc Hoguin
9d130db310 game: Pattern match the command header only once. 2010-06-27 19:59:16 +02:00
Loïc Hoguin
0b8ecb3971 game: Remove the temporary code for improvised Sonic's Birthday event. 2010-06-27 19:11:09 +02:00
Loïc Hoguin
f3d5b5f099 game: Use pattern matching to simplify build_0233_contents. 2010-06-27 18:59:27 +02:00
Loïc Hoguin
cd30e60262 game: Remove a bunch of useless @todo. 2010-06-21 03:51:35 +02:00
Loïc Hoguin
58041fa3e2 game: Handle different enemy layouts. 2010-06-19 23:54:58 +02:00
Loïc Hoguin
10eb51f7c4 game: Better weapon equip handling. Mostly temporary though. 2010-06-19 22:04:42 +02:00
Loïc Hoguin
95bf192071 game: Sonic's Birthday event code. Mostly temporary for now. 2010-06-18 19:51:46 +02:00
Loïc Hoguin
243a22058c game: Add crystal event number. 2010-06-18 18:57:10 +02:00
Loïc Hoguin
370a5488b8 game: Initial mission events, keys, crystals support.
Some values are hardcoded for now. This enables the first block of the
3rd Unsafe Passage layout. Missions are mostly figured out but will require
more work to make them work everywhere.
2010-06-18 18:33:13 +02:00
Loïc Hoguin
46cf099949 game: Fix season date, Easter had 22 days instead of 21. 2010-06-17 12:35:47 +02:00
Loïc Hoguin
b89519c58a game: Add initial seasons support, triggered automatically according to the current UTC date. 2010-06-17 04:03:48 +02:00
Loïc Hoguin
3ac49e431e game: Don't validate 0503 so tightly, prevent wrongful disconnects. 2010-06-17 01:57:11 +02:00
Loïc Hoguin
1da07658f1 Cleanup unused raw packets. 2010-06-14 22:34:37 +02:00
Loïc Hoguin
55cd90530f game: Print ignored action for 0105 handler. 2010-06-14 16:36:53 +02:00
Loïc Hoguin
276b6431b6 game: Ignore type change until characters are handled. 2010-06-14 16:20:45 +02:00
Loïc Hoguin
704996a302 game: Remove player_unspawn, use send_0204 directly until more is known. 2010-06-14 16:16:13 +02:00
Loïc Hoguin
1fc4f64d9e Updated README. 2010-06-14 16:12:45 +02:00
Loïc Hoguin
8017f2fc79 game: Handle item descriptions. 2010-06-14 15:53:51 +02:00
Loïc Hoguin
214350b033 game: Improved object event handler. 2010-06-14 15:38:57 +02:00
Loïc Hoguin
16bbe2e308 game: Make sure the supervisor process doesn't die. 2010-06-13 23:45:30 +02:00
Loïc Hoguin
02983da6f7 game: Initial type menu handling. 2010-06-13 23:42:56 +02:00
Loïc Hoguin
5b7871b9dd Update MOTD. Remove "Last update" information. Forums are there for that. 2010-06-13 19:09:26 +02:00
Loïc Hoguin
dd26d4f1e5 game: Fix permanent ghosts. Supervisor cleans up after crashes and normal exits. 2010-06-13 19:05:28 +02:00
Loïc Hoguin
3d9c91852a maps: Fix the tutorial counters filenames. 2010-06-13 14:00:09 +02:00
Loïc Hoguin
d1e7ed7c31 maps: Fix the ruins/fissure mismatch. 2010-06-13 12:37:39 +02:00
Loïc Hoguin
81f04979d4 game: Small consistency change in chat. 2010-06-13 12:15:58 +02:00
Loïc Hoguin
ccec120037 game: Ignore the name sent by client chat commands. Use the db one always. 2010-06-13 03:46:25 +02:00
Loïc Hoguin
61cd2fd64f game: Force reloading the character when changing uni. 2010-06-13 03:38:25 +02:00
Loïc Hoguin
8d119e1934 game: Consolidate myroom_load into area_load. See below.
* Remove myroom_load.
* Add room map information to the maps include.
* Add the beginning of the tutorial to check changes correctness.
* Reload characters all the time when entering or leaving the room quest.
2010-06-12 21:26:37 +02:00
Loïc Hoguin
50104730c6 Add tutorial data folder. 2010-06-12 14:38:13 +02:00
Loïc Hoguin
a4a2eb3c8b game: Move the counter command replies into their own functions. 2010-06-11 17:42:58 +02:00
Loïc Hoguin
e6297c4d6d game: Small improvements for the transport reply. 2010-06-11 17:17:51 +02:00