experience problem..

This is the place for general discussion about Warcraft3 XP, including install help.

Moderator: Forum Moderator

Post Reply
User avatar
Sn3jk
Peon
Posts: 38
Joined: Mon Sep 19, 2005 6:29 am
Location: Sweden
Contact:

experience problem..

Post 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
User avatar
Sn3jk
Peon
Posts: 38
Joined: Mon Sep 19, 2005 6:29 am
Location: Sweden
Contact:

Post by Sn3jk »

Waw what a response :idea: Not Anyone that got a clue how to fix this? or dont you want to share it?
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

Why not look at the client_authorized function in UWC3 for a fix.
Image

No support via PM or Email
User avatar
Sn3jk
Peon
Posts: 38
Joined: Mon Sep 19, 2005 6:29 am
Location: Sweden
Contact:

Post by Sn3jk »

Yes have looked at that already, but dont find any entry for client_authorized in this :roll:
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post 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)
Image

No support via PM or Email
User avatar
Sn3jk
Peon
Posts: 38
Joined: Mon Sep 19, 2005 6:29 am
Location: Sweden
Contact:

Post by Sn3jk »

Ok. And that whould be nice.. Thx!
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post 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;
}
Image

No support via PM or Email
User avatar
Sn3jk
Peon
Posts: 38
Joined: Mon Sep 19, 2005 6:29 am
Location: Sweden
Contact:

Post by Sn3jk »

Will try that then, but should it really be szPlayer? :)

Thx again for your help YamiKaitou!
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

I don't know, that is exactly how it appears in wc3ft, so I don't know
Image

No support via PM or Email
Post Reply