Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Max Players Accepts Any Integer #192

Open
D1G1T4L3CH0 opened this issue Aug 21, 2015 · 0 comments
Open

Max Players Accepts Any Integer #192

D1G1T4L3CH0 opened this issue Aug 21, 2015 · 0 comments
Labels

Comments

@D1G1T4L3CH0
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants