GetPlayerIP can return 0.0.0.0

Started by Stormeus, May 05, 2015, 11:30 PM

Previous topic - Next topic

Stormeus

Reproducible by kicking in onPlayerJoin according to Gudio. Bug split from a closed issue it was attached to. This topic is for bookkeeping purposes.

Stormeus

Alright, I can't reproduce this issue with this script:
function onPlayerJoin(player) {
player.Kick();
}

function onPlayerPart(player, reason) {
print(player.ID + ", " + player.IP);
}

Any suggestions?

.

Nope :-\ Works even after you call the Kick function (tested only locally).

function onPlayerJoin(player) {
 player.Kick();
 print(player.ID + ", " + player.IP);
}

function onPlayerPart(player, reason) {
 print(player.ID + ", " + player.IP);
}
.

Gulk

print("[PART] ["+player.ID+"] [ "+player.Name+" ] IP: [ "+player.IP+" ] UID: [ "+player.UniqueID+" ]");

Stormeus


Gulk


rww

I upadated server to new files, and still is the same

Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

rObInX

In storm's pic, you can see a message below the IP display while not in rwwpl's.
That probably indicated playerdata was still stored when the IP was printed.