Posts: 1,358
Threads: 89
Joined: Apr 2009
Reputation:
0
04.09.2012, 06:45
(
Последний раз редактировалось Jakku; 04.09.2012 в 09:12.
)
There is an issue with GetPlayerIp under OnPlayerConnect, it does not return the IP. There is nothing wrong in your code as far as I know MySQL
EDIT: I would rather use 16 cells in the array, 256 is not really necessary
Posts: 1,676
Threads: 44
Joined: Aug 2010
Reputation:
0
@ Jakku im not sure if its real that you say about issue wich getplayerip when player connect becose its work fine for me whem im getting player ip when connect
@ cotyzor can you post your debug log that we will know if there is any problem wich query
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
We had a similar issue in the Dutch board. This was at OnPlayerDisconnect() and there the IP returned 255.255.255.255. If you still want to call it on PlayerConnect then set a little timer to let the user initiate with the server first.
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
Well, OnPlayerConnect is actually called when a player is still finishing his connecting and OnPlayerDisconnect is called when a player is already in the state of disconnecting. How would you fetch info of a player is not already there or is half gone?
Posts: 1,358
Threads: 89
Joined: Apr 2009
Reputation:
0
Well, why did it work well before the release of 0.3e?
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
Probably because of a change in code xD Not a clue what though.