D12-Dev / OpenWorld

A Free Multiplayer Mod For Rimworld
Other
96 stars 17 forks source link

Adding filename checks for illegal characters #57

Closed OnSive closed 1 year ago

OnSive commented 1 year ago

Please test this solution, don't have the needed refs to build the mod.

To test: name your server with any illegal character on your platform (with exception of zero space chars, hope that nobody uses them). The code should remove them or completely replace forbidden file names with FORBIDDEN (yea, I know, I'm really creative)

ghost commented 1 year ago

It's still missing the other half of the code that allows the loading of a save for a server that had illegal characters, but it's a pretty good starting ground if anyone wants to pick this up

ghost commented 1 year ago

Closing this since it's no longer compatible / needed with newest version. Still thank you for the colaboration