0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-19 17:55:16 +00:00
SmoOnlineServer/Shared
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
..
Packet Add init packet 2022-05-08 16:04:57 -06:00
Constants.cs verify stage values for send and sendall 2023-03-22 16:50:38 -06:00
Extensions.cs Add RentZero extension as rented memory can be non-zero 2022-02-16 15:20:03 -06:00
Logger.cs Add date to log messages 2022-06-20 12:57:45 -06:00
Shared.csproj Packet cleanup and refactoring 2022-03-13 05:14:01 -06:00
Stages.cs verify stage values for send and sendall 2023-03-22 16:50:38 -06:00