Closed Twanvanl closed 4 years ago
Change settings "use_database_ip" and insert php to get Real ip
You have discord or skype? Easier to help me via there maybe.
We tried to put userIp() in there (function from the CMS where it gets user real IP), doesnt work. Any suggestions?
Insert query in the cms "update Players set last_ip = phpcode where id = playerid
And change use_databaseip in server_settings
I've already used a tcp proxy with comet in the past and I've solved that
What do you mean insert query in the CMS? We already have a query that it updates last_ip when a user is logging in.
in the client page do you already have the query that updates last_ip? did you do as I wrote you to edit use_databaseip in the server_settings table
do you use cloudflare?
Yes
If you wanna use a TCP proxy, you'll have to make it so when the player opens the client, you store their real IP address then set "use_database_ip" to '1' in settings.
There are no proxy settings for the emulator. If i run a hotel with an tcp proxy now, i cant do ip ban because of that.