still just refreshes - tried restarting my server and clearing cachenow go into class.users.php and change REMOTE_ADDR to
HTTP_X_FORWARDED_FOR
Can this check be removed to see if this is actually what's happening?Are up updating the IP once the user logs in?
There is a check that happens when you load up a page which logs the use out if they're IP isn't the same as in the database.
That could be the problem.
pretty new to emulators ill take a lookEdit your emulator, when the user gets their automatic credits then add diamonds with it. Its in the Habbo class
think he means while users are online and an hour from when they log in.Create a database cron to give users diamonds every hour
you just need to clone the code of the timers and edit the intervalYeah, only users who are online (or active? - basically how the credits/duckets timers work - AFK users do not benefit)
Since I would like a diamond per hour I cannot use the timers that already exist - I'm just guessing here I don't really have any experience with C#/emulators.
You could just give the diamonds to online users, all you'd need to do is slightly adjust the SQL to something along the lines of:Yeah, only users who are online (or active? - basically how the credits/duckets timers work - AFK users do not benefit)
Since I would like a diamond per hour I cannot use the timers that already exist - I'm just guessing here I don't really have any experience with C#/emulators.
UPDATE users SET diamonds = diamonds + 1 WHERE online = '1';
think he means while users are online and an hour from when they log in.