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
experience problem..
Moderator: Forum Moderator
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
Actually, I am going to take the one from wc3ftv3.0.
Just add this anywheres in the code, recompile and you should be set
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;
}
No support via PM or Email
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact: