Page 1 of 1
experience problem..
Posted: Thu Mar 15, 2007 5:31 am
by Sn3jk
Hi folks!
Got a little problem with the experience on my server, problem is that some people losing. Thinks it about the STEAM_ID_PENDING thing.
I knows there a fix for this in uwc3, do you guys got a clue how to fix this in this mod? Wold be glad if you could help me with this..
Regards
Sonny
Posted: Mon Mar 19, 2007 2:21 pm
by Sn3jk
Waw what a response

Not Anyone that got a clue how to fix this? or dont you want to share it?
Posted: Mon Mar 19, 2007 2:31 pm
by YamiKaitou
Why not look at the client_authorized function in UWC3 for a fix.
Posted: Tue Mar 20, 2007 6:09 am
by Sn3jk
Yes have looked at that already, but dont find any entry for client_authorized in this

Posted: Tue Mar 20, 2007 6:30 am
by YamiKaitou
I was trying to tell you that the fix may be in the client_authorized function.
I have a plugin that has the fix built in it. I will post it here for you once I get a chance to access it (later today)
Posted: Tue Mar 20, 2007 12:17 pm
by Sn3jk
Ok. And that whould be nice.. Thx!
Posted: Tue Mar 20, 2007 12:37 pm
by YamiKaitou
Actually, I am going to take the one from wc3ftv3.0.
Just add this anywheres in the code, recompile and you should be set
Code: Select all
public client_putinserver()
{
// Check for steam ID pending
static szPlayerID[32];
get_user_authid( id, szPlayerID, 31 );
// Then the player doesn't have a steam id, lets make them reconnect
if ( equal(szPlayerID, "STEAM_ID_PENDING") )
{
client_cmd(id, "reconnect");
}
return;
}
Posted: Wed Mar 21, 2007 5:14 am
by Sn3jk
Will try that then, but should it really be szPlayer?
Thx again for your help YamiKaitou!
Posted: Wed Mar 21, 2007 6:36 am
by YamiKaitou
I don't know, that is exactly how it appears in wc3ft, so I don't know