Hey, I am experiencing a weird bug in my mod, I just updated to vanilla master and now when I kick someone it doesnt kick the player in most cases, but it makes my client unable to use any rcon cmds, but i can still read. also after 10 seconds i mostly get the not acked for 10 seconds kcik, until that i can still move around and everything is normal otherwise
11:34
if i add a reason to the kick, like "kick 1 hello" it is worse somehow, and with a space inside of the reason its the worst case
11:34
i have no idea what that could mean, does anyone have an idea?
11:36
can it be due to the new str_utf8_copy_num?
11:41
nah, doesnt make sense
11:41
But I am really lost with this issue, no idea what can be the cause
Well you have a clue, it happens when you use the rcon command. First I would check if it's only that specific rcon command that makes this happen, or all commands
Actually even before that, since I know it only happens on one server, I'd suspect undefined behaviour. So try running the server with valgrind. If that's not enough try ubsan
its not about the kick command, somehow about the reason tho
14:07
i can also just enter "kick" in f2, without problems, then the syntax error appears of course
14:07
its just weird
14:11
https://streamable.com/khft4x
as you can see, i can not kill anymore (by bind), send emotes, send rcon cmds, i can just read and somehow inputs are working. on my dummy as you can see emotes etc is working. and after 10 secs it says not acked. kicking someone without a reason worked well, and if i would have choosen another reason like "123" or something it would work too. its very weird, but if i write "invalid" or "invalid client" as reason it gets buggy again
14:12
i wonder where the fuck this hangs? its with every client, so definitely nota client bug. But it seems like the message just doesnt arrive correctly at the server (?) because as you can see it doesnt kick my dummy and it doesnt give an output
14:15
and it of course doesnt happen locally again... only on the main server
14:18
okay, another interesting fact: if i kick myself with reason "invalid client" or anything that causes the bug usually, i dont get the "you cant kick yourself" message either, so its not about kicking in general, just about the reason or so? not sure...
14:19
LOL, i cant write "invalid client" in chat either... the same effect
(not very accurate ones, I'd really stick to debug builds, it's less likely that a compiler optimization creates the UB, which would be a bad compiler bug)
wow. it seems like the server doesnt like the string "vali"...
19:53
if i enter that string in chat, in rcon, or even before connecting - as my name - it will be glitchy
19:54
if i connect with name valid, or invalid or vali
19:54
i cant even connect
19:54
i am just confused
19:55
i understand nothing, seems like it was like that before the merge, i reverted all the utf8 stuff by oy because that was the only thing changed in the server, and it still happened
19:55
why would it be like "oh, the string vali, nah im not gonna accept that"
19:55
the server can return "invalid account" for example without problems tho