Saving IP with Dini.
#5

Quote:
Originally Posted by TyThaBomb
Посмотреть сообщение
You sir, are a life saver. I completely didn't realize it until you pointed it out to me. Again, thanks. Any whereabouts on why it sets my ip to 255.255.255.255? I wasn't LAN testing either, uploaded straight to my server.
If I recall correctly that happens when you use GetPlayerIp in OnPlayerDisconnect, as the IP is no longer stored by the server and therefore it is invalid.

You should do what the above poster suggested, store the IP when the player connects and make use of it through the globally scoped variable when needed.
Reply


Messages In This Thread
Saving IP with Dini. - by TyThaBomb - 28.06.2012, 07:55
Re: Saving IP with Dini. - by JaTochNietDan - 28.06.2012, 08:14
Re: Saving IP with Dini. - by TyThaBomb - 28.06.2012, 08:19
TyThaBomb - by [MM]RoXoR[FS] - 28.06.2012, 08:19
Re: Saving IP with Dini. - by JaTochNietDan - 28.06.2012, 08:22
Re: Saving IP with Dini. - by TyThaBomb - 28.06.2012, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)