-
-
Notifications
You must be signed in to change notification settings - Fork 464
Open
Labels
Buggeneral bugs; can be anythinggeneral bugs; can be anything
Description
#1544 has integrated a regression
Names set with SetInfo are now not returned properly.
So we have a display name = B (in scoreboard, chat etc ... with SetInfo and when we do GetClientName we have a name A
An example:
new String:name[64];
GetClientName(client, name, 64);
PrintToServer("Name \"%s\" on #%d", name, client);
SetClientName(client, "TestA");
GetClientName(client, name, 64);
PrintToServer("Name \"%s\" on #%d", name, client);
SetClientInfo(client, "name", "TestB");
PrintToServer("Name \"%s\" on #%d", name, client);
GetClientName(client, name, 64);
PrintToServer("Name \"%s\" on #%d", name, client);
Traces:
Name "BOT Alfred" on #4
Name "BOT Alfred" on #4
Name "BOT Alfred" on #4
Name "BOT Alfred" on #4
Status from console and scoreboard/chats
# userid name uniqueid connected ping loss state adr
# 6920 "TestB" BOT active
TestB is displayed everywhere but when we use GetClientName(), it return "BOT Alfred"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Buggeneral bugs; can be anythinggeneral bugs; can be anything