Maybe not really a bug, since the game just uses 255 when you go outside the range of 1 to 255. Verified with maxplayers command.
In interactive setup, you would expect it to just not take it.
However, setting this in the config file will actually set it to whatever you choose.
Config File: -1 (could not join)
maxplayers
Player limit: -1
Config File: 999
8/21/2015 12:35:59 AM Command> Ready for commands.
8/21/2015 12:36:00 AM Pool> Created a new NAT map record for Terraria Server
8/21/2015 12:36:04 AM Pool> 127.0.0.1:50253 is connecting...
127.0.0.1:50253 is connecting...
8/21/2015 12:36:04 AM Pool> ArgsPool<RecvArgs> capacity is now: 1.
8/21/2015 12:36:04 AM Pool> ArgsPool<SendArgs> capacity is now: 1.
8/21/2015 12:36:04 AM Pool> <Restrict> Letting user D1G1T4L3CH0 from 127.0.0.1 in as guest.
8/21/2015 12:36:05 AM Pool> 127.0.0.1:50253 @ 0: ENTER D1G1T4L3CH0
D1G1T4L3CH0 has joined.
Server crash: 8/21/2015 12:36:07 AM
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Terraria.Main.UpdateServer()
at Terraria.Main.Update(GameTime gameTime)
at Terraria.Main.DedServ()
at Terraria.Program.LaunchGame(String[] args)
Please send crashlog.txt to support@terraria.org
oh now i realize this is an official bug heh ^ support@terraria.org
Maybe not really a bug, since the game just uses 255 when you go outside the range of 1 to 255. Verified with
maxplayers
command.In interactive setup, you would expect it to just not take it.
However, setting this in the config file will actually set it to whatever you choose.
Config File: -1 (could not join)
Config File: 999
oh now i realize this is an official bug heh ^ support@terraria.org