Commit Graph

482 Commits

Author SHA1 Message Date
Loïc Hoguin
536fdd5f50 Isolate child processes to prevent crashing the whole thing.
Crashes will not propagate anymore so the server shouldn't crash by itself again.
2010-05-21 09:12:11 +02:00
Loïc Hoguin
576d246ccd db: Select all should only select users with characters.
This excludes users who haven't selected their characters yet.
2010-05-21 08:19:37 +02:00
Loïc Hoguin
a4668b8cb4 Add a command to warp all players to a new lobby. 2010-05-21 02:35:29 +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
2914393c3a cron: New module for keepalive packet handling and other cron jobs. 2010-05-20 23:50:56 +02:00
Loïc Hoguin
a897f94a5f Remove useless TODOs. 2010-05-20 07:57:50 +02:00
Loïc Hoguin
9194636b46 game: Handle ALL broadcast packets correctly and securely.
Possibly still incomplete support for a few packets that would require
saving for example.

Also change all Map and Entry to little endian to fix a few issues.
2010-05-20 07:55:17 +02:00
Loïc Hoguin
d603955e32 game: Handle errors correctly when failing to accept connections. 2010-05-20 01:42:52 +02:00
Loïc Hoguin
8415a2e03a game: Initial sit-on-chair support. 2010-05-20 01:42:21 +02:00
Loïc Hoguin
7909582cd0 login: Handle errors correctly when failing to accept connections. 2010-05-20 00:00:14 +02:00
Loïc Hoguin
e8f84b5907 Change game server IP to new server IP. 2010-05-19 22:50:11 +02:00
Loïc Hoguin
db3423e208 Correctly handle the file size when sending a quest. 2010-05-19 19:27:22 +02:00
Loïc Hoguin
b579a5bbc3 Add global messages feature. They can be sent using egs:global from the console. 2010-05-19 19:26:24 +02:00
Loïc Hoguin
117d685307 Updated and restructured the MOTD. 2010-05-19 19:10:44 +02:00
Loïc Hoguin
86217c5d3b Correct a bad assumption about the 0f0a handler. 2010-05-17 19:47:49 +02:00
Loïc Hoguin
22b5dc6eb0 Add IRC channel in the MOTD. 2010-05-17 05:00:29 +02:00
Loïc Hoguin
2c89ebe7d3 Update MOTD. 2010-05-17 04:56:48 +02:00
Loïc Hoguin
03a4dfbe98 Add dummy handlers for standing still, sit on chair and an unknown command. 2010-05-17 04:56:02 +02:00
Loïc Hoguin
317043d66e Fix seeing players in other lobbies than floor 1. 2010-05-17 04:55:51 +02:00
Loïc Hoguin
09e585b549 Fix a crash in packet_split. Packets don't always arrive full. 2010-05-17 04:53:23 +02:00
Loïc Hoguin
a870dc618f Fix lobby actions, now broadcasted to other players. 2010-05-15 19:53:04 +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
fd6e3ac62f Fix the missing chat modifiers (shout, cut-in). 2010-05-15 17:10:07 +02:00
Loïc Hoguin
87ca8dda15 Fix a crash related to an undefined function. 2010-05-15 16:45:25 +02:00
Loïc Hoguin
c8c167c556 Fix race conditions when querying user information. Probably. 2010-05-15 16:12:00 +02:00
Loïc Hoguin
9ad0e2d771 Parameterize the game server IP.
Ready for an initial buggy public test.
2010-05-15 01:58:25 +02:00
Loïc Hoguin
ddf13edfc7 Copyright notice: gasetools -> EGS. Whoops! Thanks. 2010-05-15 01:55:23 +02:00
Loïc Hoguin
2fa07b0cc9 Make new players appear. Probably incorrect way to do it.
Players disconnecting still leave a ghost behind them.
2010-05-15 01:53:20 +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
894a6b1d9c login: Add entrance 2 port for JP. 2010-05-13 17:24:35 +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