Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Not sure why this is happening but if you do anything in case "k": then it will activate upon bot entering world.
This only happens when you send "init2" in case "init":
If anybody could give insight on why this is happening, that would be greatly appreciated.
I tried this with multiple bots, same result.
Go ahead and try it yourself if you want/don't believe me.
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
I think it's because of the current crown holder. I would set a bool or an int to see if the message has come in or not. There's probably a better way to do it but that's simple enough
Offline
Nobody hits crown or anything... There is no crown in the world.
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Nobody hits crown or anything... There is no crown in the world.
Yeah but I think it still tries to detect someone even if that user is null.
You could check if the message is null or set a bool that goes off the first time the message is received and then let the code continue every time after that.
Offline
Fixed with this:
if (players[m.GetInt(0)] != null)
{
conn.Send("levelcomplete");
}
You can lock this I guess.
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
[ Started around 1732500626.8104 - Generated in 0.036 seconds, 13 queries executed - Memory usage: 1.39 MiB (Peak: 1.5 MiB) ]