Show real player IP? HELP

scruck

New member
Donators
Messages
18
Likes
2
Points
3
Greetings, I'm programming a plugin to know player data and add IP kick, but when I print the player's ip only a lot of numbers come out and nothing of the IP, can you lend me a hand? Thank you

const FString& IPAddress = ArkApi::GetApiUtils().GetIPAddress(player);
ArkApi::GetApiUtils().SendServerMessage(player, color, L"{} IP: ({})", *ArkApi::GetApiUtils().GetCharacterName(player), *IPAddress);

IP.PNG


I just realized that those numbers are really the SteamID ... Why? O_O
 
Last edited:
Advertisement

Monetise Your Game Server

Want to monetise your ARK Server? Create your own webstore at tebex.io

WETBATMAN

Active member
Plugin Developer
Donators
Messages
272
Likes
81
Points
28
Website
dopeark.com
Greetings, I'm programming a plugin to know player data and add IP kick, but when I print the player's ip only a lot of numbers come out and nothing of the IP, can you lend me a hand? Thank you

const FString& IPAddress = ArkApi::GetApiUtils().GetIPAddress(player);
ArkApi::GetApiUtils().SendServerMessage(player, color, L"{} IP: ({})", *ArkApi::GetApiUtils().GetCharacterName(player), *IPAddress);

View attachment 1651


I just realized that those numbers are really the SteamID ... Why? O_O
pretty sure that’s your steam id, getting IP is probably bugged
 
Top