#AutoStart ignores InvalidColorPlayer
21 messages · Page 1 of 1 (latest)
@vague steppe I want to ask, will such code not cause bug or errors when checking InvalidColorPlayer?
Changed the code because I noticed an error
i think it should work
Lol, I forgot that the Host can call Fortegreen with the /color command
wait they can?
i never new about it

i mean i never used /color has host and it doesnt allow you to set numbers greater than 17 when you are not host
what if you check invalidColor.Any() in if(AutoStart.Value)
The code simply ignores autostart until the player with the invalid color leaves the lobby.
Now I made it so that the player was simply thrown out of the lobby
What about host?
Host will not be kicked, those who have an invalid color will be kicked (even the host if it has an invalid color)
Oo does it also bug if host uses /color to set invalid color?
Do you mean that when the host uses /color 18 it is a bug?
Ok, it looks like I fixed the bug, but when a player with an invalid color is found, he just gets kicked from the lobby, then the game will run normally
That's what i am asking i haven't used /color 18 as a host, so idk if it will bug the lobby like it does when someone else is invalid color
Yes, even if the host uses an invalid color, it may crash the game and possibly cause black screens
then host shdn't be able to set invalid color 