2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
Russoll wrote:
change the time in the cron.php i.e StatisticCronjob.class...which is in the included/classes/cronjob
Kaizoku wrote:
or add in uni1_statpoints `total_old24_points` `total_old7_points` and add point every 24hour/7days
Kaizoku wrote:
or add in uni1_statpoints `total_old24_points` `total_old7_points` and add point every 24hour/7days
XenQen wrote:
Thats not possible, or how should those values be reset? To set the accurate points of the exact last 7 days you either have to save the new points every hour with a timestamp and then you calculate the last 7 days of your sql entries or (a bit less accurate but way more efficient lol) you create 2 new values like "7_days_old_points / 7_days_new_points and you create a cronjob for every 7 days which sets the new points variable to 0 and resets the old 7 points variable with the new one. Of course the new points variable must be updated every time when statpoints cronjob occurs. So the new_points variable is updating your current week status and the old value is showing the last weeks point jump.Kaizoku wrote:
or add in uni1_statpoints `total_old24_points` `total_old7_points` and add point every 24hour/7days
XenQen wrote:
Thats not possible, or how should those values be reset? To set the accurate points of the exact last 7 days you either have to save the new points every hour with a timestamp and then you calculate the last 7 days of your sql entries or (a bit less accurate but way more efficient lol) you create 2 new values like "7_days_old_points / 7_days_new_points and you create a cronjob for every 7 days which sets the new points variable to 0 and resets the old 7 points variable with the new one. Of course the new points variable must be updated every time when statpoints cronjob occurs. So the new_points variable is updating your current week status and the old value is showing the last weeks point jump.Kaizoku wrote:
or add in uni1_statpoints `total_old24_points` `total_old7_points` and add point every 24hour/7days
XenQen wrote:
Well that’s not true russoll, therefor you also need to edit your statpoints database table
1 Guest