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
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
Loïc Hoguin
2eb80c2edf
game: Cleanup the 0c01 reply into their own functions.
2010-06-11 16:55:32 +02:00
Loïc Hoguin
2aa4d317e2
game: Move counter command replies into their own functions.
2010-06-11 16:41:23 +02:00
Loïc Hoguin
1327ab5b9f
game: Separate the dialog commands into their own send functions.
2010-06-11 16:34:46 +02:00
Loïc Hoguin
4d867449a4
game: Add number of players to the universe cube.
2010-06-11 01:02:46 +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
8a94ae7771
game: Use the existing 1006 function for abort mission.
...
Also remove an already done @todo.
2010-06-10 22:50:32 +02:00
Loïc Hoguin
5c71263d0c
Don't assume we know the protocol. Use send_xxxx with xxxx the command instead of attempts at real function names.
2010-06-10 19:34:43 +02:00
Loïc Hoguin
779125d2c5
game: Consolidate mission_load into lobby_load, renamed to area_load.
2010-06-09 18:58:44 +02:00
Loïc Hoguin
fcc249589d
game: Fix crash when going from mission to lobby.
2010-06-09 00:10:26 +02:00
Loïc Hoguin
f8b6f01dde
game: Don't resend quest or zone files when they didn't change.
...
This fixes the lack of weapons and enemies when reaching B2 in a mission.
2010-06-08 21:52:13 +02:00
Loïc Hoguin
82c08317f6
game: Improved mission start handling.
2010-06-08 19:09:54 +02:00
Loïc Hoguin
9807ceda46
game: Separate character loading from room loading.
2010-06-08 17:21:25 +02:00
Loïc Hoguin
88996760f1
game: Rename char_load to data_load.
2010-06-08 17:04:54 +02:00
Loïc Hoguin
1cc1164656
maps: Add all the colony counters.
2010-06-07 01:16:37 +02:00
Loïc Hoguin
ec065686bd
game: Fix counter loading with different backgrounds. Add 5th floor counter.
2010-06-06 20:13:59 +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
36304a5554
maps: Separate the concept of quests, zones and maps.
2010-06-06 03:10:53 +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
c7f356142b
game: Simplify counter handling.
2010-06-06 02:05:35 +02:00
Loïc Hoguin
d4622e29e2
game: Add space docks counter. Fix loading of other counters than LL.
2010-06-06 01:51:18 +02:00
Loïc Hoguin
43b4f6b263
game: Counter options are data and should be separated (mission visible/not).
2010-06-05 20:27:07 +02:00
Loïc Hoguin
b1f76e4bc8
game: Correct lobby pack file selection support.
...
This makes all other counters disconnect you because they don't exist!
2010-06-05 18:15:40 +02:00
Loïc Hoguin
b8baa0d461
game: Correct handling for command 0c06.
2010-06-05 17:57:48 +02:00
Loïc Hoguin
78a0830a7d
game: Mission loader now send packets 0215.
2010-06-05 13:20:51 +02:00
Loïc Hoguin
33145b3c8c
game: Consolidate spaceport_load into lobby_load.
2010-06-05 13:11:17 +02:00
Loïc Hoguin
b54b867907
game: Add command 0a06 to spaceport loading.
2010-06-05 12:51:57 +02:00
Loïc Hoguin
1d0ba967b5
game: Initial mission start (for real) and abort support.
2010-06-05 12:46:04 +02:00
Loïc Hoguin
006ac0a9c0
game: Enable flags and make lobby transport work.
...
Flags will have to be checked individually and handled correctly later.
2010-06-05 03:28:30 +02:00
Loïc Hoguin
190d79777c
game: Add working Leave Counter function. Also fix leaving Lumilass.
2010-06-05 02:25:51 +02:00
Loïc Hoguin
ca250eb246
game: Add reply to command 170b with sane values.
2010-06-05 01:42:32 +02:00
Loïc Hoguin
7d38ce4d01
game: Add 0a06 to counter loading and add a note in a @todo in proto.
2010-06-05 01:22:38 +02:00
Loïc Hoguin
0c6c56fcae
game: Counter and missions now send packets 1202 1204 1206 and 1207.
2010-06-05 01:15:50 +02:00
Loïc Hoguin
204ac86b9d
game: Send commands 0215 when loading counters.
2010-06-04 23:14:54 +02:00
Loïc Hoguin
7e67dfbc6d
game: Counter doesn't seem to send the location IDs.
...
This makes Leave Counter send a command 0812, which is halfway fixing it.
2010-06-04 23:02:45 +02:00
Loïc Hoguin
f93b469b64
game: Zone initialisation packet 0200 is same for counters and missions.
2010-06-04 22:34:12 +02:00
Loïc Hoguin
cda5b51597
game: Add command 0230 when using the uni cube.
2010-06-04 21:05:04 +02:00
Loïc Hoguin
3b9d546fc4
game: Room got broken after a previous change, fix it back.
2010-06-04 20:29:56 +02:00
Loïc Hoguin
b758c6a5d5
proto: Conformance for 0236.
2010-06-04 19:51:31 +02:00
Loïc Hoguin
945217010e
proto: Conformance for send_loading_end, 0208.
2010-06-04 19:49:52 +02:00
Loïc Hoguin
fe126f4bb5
game: Add a @todo.
2010-06-04 19:46:17 +02:00
Loïc Hoguin
a2ffa3adb6
proto: Fix 1212 for conformance.
2010-06-04 19:42:58 +02:00
Loïc Hoguin
c9f75dfd29
game: Add 020c to area changes.
2010-06-04 19:36:56 +02:00
Loïc Hoguin
91d6426722
proto: Add a @todo.
2010-06-04 19:29:56 +02:00
Loïc Hoguin
11a15f6d90
proto: Fix send_map for conformance. It doesn't need the quest id either.
2010-06-04 19:21:59 +02:00
Loïc Hoguin
7e17c02ad3
proto: Fix send_zone (020f) for conformance.
2010-06-04 18:55:16 +02:00
Loïc Hoguin
0ddb729e09
game: Add command 0111 on area changes.
2010-06-04 18:44:41 +02:00
Loïc Hoguin
8835c9928b
game: Add command 0a05 to area loading.
2010-06-04 18:30:57 +02:00
Loïc Hoguin
6d699a22e9
proto: Update send_quest for conformance.
2010-06-04 18:25:17 +02:00
Loïc Hoguin
4994f6e161
game: Add command 021b at character loading.
2010-06-04 18:02:26 +02:00
Loïc Hoguin
e5dc6f82ee
proto: Commands 021b and 021c aren't keepalive. Just send an empty packet for now.
2010-06-04 17:56:18 +02:00
Loïc Hoguin
37a5a5a944
game: Send an empty blacklist too.
2010-06-04 17:02:13 +02:00
Loïc Hoguin
df451b843b
game: Explicitly send an empty partner card list.
2010-06-04 16:53:32 +02:00
Loïc Hoguin
2c025532b7
proto: Better conformance for command 1500.
2010-06-04 16:47:42 +02:00
Loïc Hoguin
570c8eaf73
game: Small conformance change to 0222.
2010-06-04 16:35:56 +02:00
Loïc Hoguin
73e8a1d575
game: Small conformance change to 1006.
2010-06-04 16:32:34 +02:00
Loïc Hoguin
8128ea20da
game: Add initial packet 1006 handling to character loading.
2010-06-04 16:25:38 +02:00
Loïc Hoguin
67913401dc
proto: Small fixes on character selection to be closer to the PSU protocol.
2010-06-04 16:06:35 +02:00
Loïc Hoguin
2f4bd53b44
game: Don't reload the character everytime a lobby is entered.
2010-06-04 15:01:04 +02:00
Loïc Hoguin
66616e1692
game: Add missing @doc.
2010-06-04 12:23:28 +02:00
Loïc Hoguin
2dc9d30660
proto: Remove parse_chat.
2010-06-04 12:18:12 +02:00
Loïc Hoguin
8aa3a9f2e0
proto: Remove parse_options_change.
2010-06-04 12:08:10 +02:00
Loïc Hoguin
529dc5cf08
proto: Remove parse_lobby_change.
2010-06-04 12:07:30 +02:00
Loïc Hoguin
9d2115fa3d
proto: Remove parse_game_auth.
2010-06-04 12:04:37 +02:00
Loïc Hoguin
e151343737
proto: Remove parse_character_select.
2010-06-04 12:03:37 +02:00
Loïc Hoguin
6d98ce6d73
proto: Remove parse_character_create.
2010-06-04 12:02:10 +02:00
Loïc Hoguin
b2cd15d055
proto: Fix send_npc_info, schoolboy error.
2010-06-04 11:36:52 +02:00
Loïc Hoguin
f41935dae2
proto: Remove parse_platform_info.
2010-06-04 11:26:22 +02:00
Loïc Hoguin
1db610f42e
proto: Remove parse_uni_select.
2010-06-04 11:23:15 +02:00
Loïc Hoguin
2afaa28c05
proto: Send all working NPCs cards to everyone.
2010-06-04 02:03:43 +02:00
Loïc Hoguin
dd743a9b6d
proto: Remove a write_file leftover.
2010-06-04 00:52:30 +02:00
Loïc Hoguin
e2e4a1411b
game: Remove a done @todo.
2010-06-04 00:24:15 +02:00
Loïc Hoguin
152da2848e
game: Silently ignore 0b05 in dispatch rather than in its own handler.
2010-06-04 00:10:54 +02:00
Loïc Hoguin
92f1d15729
game: Rename all source packet variables to Orig. Packet is for output.
2010-06-04 00:09:08 +02:00
Loïc Hoguin
86fb4486ba
game: Silently ignore packet 0818 (CPU/GPU information).
2010-06-03 23:45:06 +02:00
Loïc Hoguin
43b4c3d5a4
game: Improved log function.
2010-06-03 23:36:34 +02:00
Loïc Hoguin
32f7afb53e
login: Ignore commands 0227 and 080e silently.
2010-06-03 23:04:38 +02:00
Loïc Hoguin
c394b20ee0
login: Improved log function.
2010-06-03 23:00:10 +02:00
Loïc Hoguin
8ffc8f2069
login: Move all parsing functions out of proto and do it inline for clarity.
2010-06-03 22:53:34 +02:00
Loïc Hoguin
652ee58c13
proto: Remove send_hello, do it inline.
2010-06-03 20:25:52 +02:00
Loïc Hoguin
56a669af45
game: Add a quest initialization packet.
2010-06-03 20:15:10 +02:00
Loïc Hoguin
b8251346b2
proto: Send flags just like on the official servers.
2010-06-03 19:25:18 +02:00
Loïc Hoguin
e6bc6ca32b
game: Ignore counter's mission selected command. Fix a @doc.
2010-06-02 20:49:19 +02:00
Loïc Hoguin
1eb5e76a0a
game: Initial dialog handling. PP cube, Lumilass, items shops start working.
2010-06-02 20:05:50 +02:00
Loïc Hoguin
6aa598eacb
game: Add a @todo, fix a @doc.
2010-06-02 12:56:33 +02:00
Loïc Hoguin
6f06dff85a
game: Handle area separation correctly. Handle unspawn, fixing temporary ghosts.
2010-06-01 23:40:32 +02:00
Loïc Hoguin
9acdef78c8
game: Initial party support. Party name = charname, drops = random.
2010-06-01 20:26:42 +02:00
Loïc Hoguin
fb85a123ad
game: Handle more than 1 hit per hit command.
2010-06-01 20:11:22 +02:00
Loïc Hoguin
8a12b7ed36
game: Improve weapon equip/unequip handling. Handle melee half-correctly.
2010-06-01 20:11:02 +02:00
Loïc Hoguin
e427bcb478
game: Ignore fragmented packet received notice.
2010-05-31 21:58:20 +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
3ec9f898fe
game: Send character's location (party member location) on area load.
2010-05-31 18:56:38 +02:00
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
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