Mysql GetPlayerIP something wrong
#2

GetPlayerIp doesn't work properly in OnPlayerDisconnect, as the player is already disconnected at that point. It will return 255.255.255.255 (an invalid IP address) most of the time. You should update the IP when a player connects or logs in. The IP doesn't change while the player is connected, or does it?
Reply


Messages In This Thread
Mysql GetPlayerIP something wrong - by doreto - 15.02.2012, 15:12
Re: Mysql GetPlayerIP something wrong - by Vince - 15.02.2012, 15:23
Re: Mysql GetPlayerIP something wrong - by KingHual - 15.02.2012, 15:27
Re: Mysql GetPlayerIP something wrong - by doreto - 15.02.2012, 15:30
Re: Mysql GetPlayerIP something wrong - by iTorran - 15.02.2012, 15:39
Re: Mysql GetPlayerIP something wrong - by doreto - 15.02.2012, 15:50
Re: Mysql GetPlayerIP something wrong - by doreto - 15.02.2012, 16:26
Re: Mysql GetPlayerIP something wrong - by KingHual - 15.02.2012, 16:27
Re: Mysql GetPlayerIP something wrong - by doreto - 15.02.2012, 16:39
Respuesta: Mysql GetPlayerIP something wrong - by kirk - 15.02.2012, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)