Commit Graph

16 Commits

Author SHA1 Message Date
Robin C. Ladiges 71bb96bf1e verify stage values for send and sendall
Changes:
- Moved alias mapping from Constants.cs to Stages.cs.
- Added `odyssey` as an alias.
- Hardcoded all known stage values.
- Verfify that the stage input is either a alias or a known stage name.
- Added an option to append `!` to a stage name to force sending even if the stage is not known (e.g. for custom kingdoms).

Before it only checked that it was a known alias or that it contained `Stage` or `Zone`.
That made it impossible to send players to`MoonWorldShopRoom` and `MoonWorldSphinxRoom`.
And a typo would have resulted in a game crash.
2023-03-22 16:50:38 -06:00
Sanae bddce48f9d Stop using MemoryMarshal for header serde 2022-04-27 00:24:11 -06:00
CraftyBoss 7eb7c97c43 fix possible typos with send/sendall cmd 2022-04-05 19:35:13 +00:00
CraftyBoss 4e05fe9e3f add short-names for kingdoms, sendall cmd 2022-03-28 06:05:32 +00:00
Sanae 8d11623ada Various useful changes 2022-03-15 14:44:46 -06:00
Sanae 8c5cd0ced2 Untested conversion to variable size packets 2022-03-10 23:59:02 -06:00
Sanae f21bfb7425 Lower max client count to 8 due to client reasons 2022-02-21 22:05:37 -06:00
Sanae f0c3ae6963 Logs cleaned up, and tested shine support 2022-02-15 14:26:50 -06:00
Sanae 7bbba0c691 Everything just works™ 2022-02-10 22:25:47 -06:00
Sanae 6cae63ca38 Currently cleaning up transport related stuff 2022-02-09 22:29:10 -06:00
Sanae 7dbe2ecd55 Reformat solution 2022-02-09 19:44:50 -06:00
Sanae f8955b630d Add attributes to new packets 2022-02-08 10:22:09 -06:00
Sanae aa119c0b2f Catch up with crafty's current protocol 2022-02-08 10:15:31 -06:00
Sanae de16e4a787 Server overhaul, might rewrite though 2022-02-04 03:45:38 -06:00
Sanae eaa03467e6 Update TestClient and add custom ser/deser for packets 2021-11-29 12:09:12 -06:00
Sanae 3f4a3fee9e Initial Commit 2021-11-28 22:32:29 -06:00