Changed Server IP - Cant place furniture

Zephyrus

Wanderer
Sep 28, 2011
336
21
Hey guys, recently I've changed the IP of my server and now when a user places furniture or picks it up, they tend to be reloaded, if anyone could give me an explanation that would be great thanks.
 

Zephyrus

Wanderer
Sep 28, 2011
336
21
Yeah, we are using a proxy but we updated all the user's reg ips because they couldnt buy furni, it started working again until i restarted the emu, now they cant buy from the cata...
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
Why would your proxy be their register IP you shouldn't change that shit lmao.. If its their register IP you got something wayy fucked up.
 

Jerry

not rly active lol
Jul 8, 2013
1,957
522
If you're using CloudFlare for your 'hotel', please place this code in your 'global.php' file..

PHP:
if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
        $_SERVER["REMOTE_ADDR"] = $_SERVER["HTTP_CF_CONNECTING_IP"];
    }
This code will turn all proxy ip's on the website/cms/client into the user's real IP.
 

Users who are viewing this thread

Top