Commit Graph

724 Commits

Author SHA1 Message Date
Loïc Hoguin
e6063333ca game: Initial damage handling. A default inventory is given. 2010-05-31 18:50:24 +02:00
Loïc Hoguin
4ae86af79a game: Initial mission and mission counter support. 2010-05-31 18:24:26 +02:00
Loïc Hoguin
7ddad7745a Updated MOTD. 2010-05-27 14:09:12 +02:00
Loïc Hoguin
b99ee267ff maps: Fix all the planet lobbies, including field lobbies.
This does not include story missions mid-lobbies though, of course.
2010-05-27 14:03:06 +02:00
Loïc Hoguin
30026b221a game: No need to restrict that much what can be in unused packet variables.
Doing so causes errors to some people sometimes.
2010-05-26 17:11:11 +02:00
Loïc Hoguin
8ab19a6094 game: Nevermind. 2010-05-26 11:45:33 +02:00
Loïc Hoguin
0045422a1b game: Fix room map type from uni cube. 2010-05-26 11:38:17 +02:00
Loïc Hoguin
32f4a0b987 game: Channel must not be changed when broadcasting. 2010-05-26 11:27:51 +02:00
Loïc Hoguin
5fc0bf0741 game: Consolidate broadcasting according to what is known so far. 2010-05-26 11:02:18 +02:00
Loïc Hoguin
4466c77ec5 game: Consolidate command 0503 parsing to prevent tampering as much as possible. 2010-05-26 10:48:42 +02:00
Loïc Hoguin
7e32314760 game: Save coordinates for the stand still command too. 2010-05-26 10:10:14 +02:00
Loïc Hoguin
5ecdd5d4c9 game: Implement character direction. 2010-05-26 09:55:55 +02:00
Loïc Hoguin
0353915b20 game: Fix a small conflict in packet dispatch.
0b05 ignores the channel and could sometimes send 1, disconnecting the player.
2010-05-26 05:35:31 +02:00
Loïc Hoguin
d575eae402 game: Limit broadcasting to the allowed commands.
Commands that can broadcast are 0101 0102 0104 0107 010f 0503 050f 0514.
2010-05-25 23:09:08 +02:00
Loïc Hoguin
dd4bb5f520 game: Lobby ID shouldn't be allowed to be 0 yet, otherwise conflicts occur. 2010-05-25 22:24:43 +02:00
Loïc Hoguin
2a84dd529a game: The lobby ID apparently can't be 1024 and above. 2010-05-25 22:10:14 +02:00
Loïc Hoguin
757523ca03 game: Initial Your Room work. Loads someone else's room.
This removes the club from the uni cube, and fix the room doors at GC1.
2010-05-25 08:50:08 +02:00
Loïc Hoguin
21823c3f58 game: Replace newlines by space when printing the chat messages. 2010-05-24 13:52:45 +02:00
Loïc Hoguin
f9a61af2dc Don't need a + in replace regexpes since they're global. 2010-05-24 13:49:00 +02:00
Loïc Hoguin
dd0162458b game: Print chat messages. 2010-05-24 13:41:06 +02:00
Loïc Hoguin
52d6bccc5f game: Print the flag being handled. 2010-05-24 13:30:36 +02:00
Loïc Hoguin
89e2214ba7 game: Stub mission counter handler. 2010-05-24 13:10:05 +02:00
Loïc Hoguin
e443bf790a proto: Remove a value that makes no sense and seems unused. 2010-05-24 12:16:13 +02:00
Loïc Hoguin
5a12edf465 Updated MOTD. 2010-05-24 11:30:57 +02:00
Loïc Hoguin
1da6ac4847 maps: Add all known and used lobbies on all planets.
All GC and Parum are available. Neudaiz and Moatoob are main city only.
Parum GUARDIANS and GRM aren't working properly yet but the map loads fine.
2010-05-24 11:25:20 +02:00
Loïc Hoguin
2453c08d2f Add data folder for game files. 2010-05-24 06:23:07 +02:00
Loïc Hoguin
9a62b29c43 maps: Fix back 5th floor and club. 2010-05-22 23:40:28 +02:00
Loïc Hoguin
a5210ee1db Updated MOTD with Neudaiz related info. 2010-05-22 22:59:00 +02:00
Loïc Hoguin
db1e34a136 maps: Rename neudaiz files. 2010-05-22 22:55:23 +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
c0fdfd7a26 Add single-person warp function. 2010-05-22 08:17:09 +02:00
Loïc Hoguin
778eddc298 maps: Add spaceport files. Only choice is GC 1st floor though. Odd. 2010-05-22 07:26:02 +02:00
Loïc Hoguin
8f19afac83 game: Change map info display format when calling log. 2010-05-22 06:39:39 +02:00
Loïc Hoguin
c6ba7198e8 maps: Add floor 5. 2010-05-22 06:37:07 +02:00
Loïc Hoguin
4cbde45449 Comment maps that aren't properly done yet (defaults to floor 1 files). 2010-05-22 05:10:04 +02:00
Loïc Hoguin
60bb84a13e Update MOTD. 2010-05-22 04:59:45 +02:00
Loïc Hoguin
6e125f273b game: Fake flags handler for now. Should fix the delay issues. 2010-05-22 04:55:30 +02:00
Loïc Hoguin
888968ff76 maps: Add the club. 2010-05-22 04:12:47 +02:00
Loïc Hoguin
e4bad33910 Handle map type properly. 2010-05-22 03:59:19 +02:00
Loïc Hoguin
3a0bcd56b8 game: Reworked the maps array a little bit. Added a map name. 2010-05-21 13:40:01 +02:00
Loïc Hoguin
ea223e6993 proto: Correctly give the file size when sending the zone file. 2010-05-21 12:40:05 +02:00
Loïc Hoguin
47c656ce96 game: Separate connection closing handler. Small cleanup. 2010-05-21 10:42:47 +02:00
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