I made some progress to rename them. (1.3)
PHP Code:
sub_80B85CE(&dest, (unsigned int)"challenge", v6);
if ( (unsigned __int8)sub_80B2FAA("fs_restrict") )
{
v7 = (unsigned int)sub_80B8108(&dest, (int)"sv_keywords");
sub_80B7F0A(&s, 0x400u, "demo %s", v7);
sub_80B85CE(&dest, (unsigned int)"sv_keywords", (int)&s);
}
Info_SetValueForKey = 0x080B85CE
PHP Code:
result = sub_808BAF8();
v3 = result;
if ( result )
{
sub_8060DEA("userinfo\n");
sub_8060DEA("--------\n");
result = sub_80614EA(v3 + 12);
=
PHP Code:
cl = SV_GetPlayerByName();
if ( !cl ) {
return;
}
Com_Printf( "userinfo\n" );
Com_Printf( "--------\n" );
Info_Print( cl->userinfo );
Now i only need to set the name to the client struct.
In SV_GetPlayerByName function:
PHP Code:
sub_80B7AB6(&dest, (const char *)i + 134216, 64);
=
PHP Code:
Q_strncpyz( cleanName, cl->name, sizeof(cleanName) );