cronless suggestions and turns
perhaps the cronish tasks embedded in loaduser should be put into an included lib cron script
and maybe crons should be further seperated (into a folder of its own?) for clarity?
-> and also allow more easily for the option of turning cronless on and off
fixed typo on 301 and 302
$min should be $out.. stored turns were being ignored
and maybe the amount of stored turns taken out should be configurable? seems kind of strange for it to only come out one at a time if the server was something like 100 turns every minute
and maybe crons should be further seperated (into a folder of its own?) for clarity?
-> and also allow more easily for the option of turning cronless on and off
fixed typo on 301 and 302
$min should be $out.. stored turns were being ignored
and maybe the amount of stored turns taken out should be configurable? seems kind of strange for it to only come out one at a time if the server was something like 100 turns every minute
Hm... How so? If you want to do a hackish cron-using feature, just run a cron on something not involved in the turns.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
hm.. i guess you guys are right
the real issue i have is that i dont like the idea of dumping out the old cron method abruptly and embedding cronless into the code
i think it is much safer if it is made a choice.. defaulting to cronless
my gut tells me that there are scalability and safety issues that cron may failsafe
but logically i know that cronless divides up the tasks better and is more scalable
only perhaps some global tasks may be a slight problem.. and i know that those have pretty simple solutions
and even thats assuming that they will need to scale that high up anyways
i guess its just being too overly conservative/worrywart on my part
the real issue i have is that i dont like the idea of dumping out the old cron method abruptly and embedding cronless into the code
i think it is much safer if it is made a choice.. defaulting to cronless
my gut tells me that there are scalability and safety issues that cron may failsafe
but logically i know that cronless divides up the tasks better and is more scalable
only perhaps some global tasks may be a slight problem.. and i know that those have pretty simple solutions
and even thats assuming that they will need to scale that high up anyways
i guess its just being too overly conservative/worrywart on my part
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
I have an auto installer that installs everything into mysql, and it is totally cronless,but it gives you like turns every 2 hours, but i am sure you can fix it so it will give you so many turns , per every 10 or 20 minutes, without having to do crons . it works well, and it works with everything appearently. with the game i do have up on my forum. I did not have to deal with cron jobs, it just auto resets every two hours giving turns . I am sure you can work the php in that will use this auto installer, plus give you the max stored turn thing .
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- Ruddertail
- Promi Diplomacy ate my homework...
- Posts: 4510
- Joined: Wed May 12, 2004 11:39 pm
- Location: Chances are, playing FAF.
- Contact:
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- Ruddertail
- Promi Diplomacy ate my homework...
- Posts: 4510
- Joined: Wed May 12, 2004 11:39 pm
- Location: Chances are, playing FAF.
- Contact:
- Ruddertail
- Promi Diplomacy ate my homework...
- Posts: 4510
- Joined: Wed May 12, 2004 11:39 pm
- Location: Chances are, playing FAF.
- Contact:
Ok, we've got possible problems with stocks and raffle.
Stocks: I logged on about 12:53 game time. Noted the prices of four of the stocks. I refreshed and reloaded the page multiple times. At about 1:01 PM GT. I noted stocks were still the same. However, they had changed from last night. Are we sure they update every hour? Because it looks to me as though they might be updated every 12:00 PM Game Time.
Raffle: It's supposed to update at 12 noon GT every day. However, the news item saying I won is listed as .2 hours ago, and it's 1:08 (13:08) GT. This means it awarded the winnings at about 12:50 GT.
Stocks: I logged on about 12:53 game time. Noted the prices of four of the stocks. I refreshed and reloaded the page multiple times. At about 1:01 PM GT. I noted stocks were still the same. However, they had changed from last night. Are we sure they update every hour? Because it looks to me as though they might be updated every 12:00 PM Game Time.
Raffle: It's supposed to update at 12 noon GT every day. However, the news item saying I won is listed as .2 hours ago, and it's 1:08 (13:08) GT. This means it awarded the winnings at about 12:50 GT.
Empires:
WOA: Attila the Hun(#13)
BFR: ?
Founder and Leader of Hungry Huns (HH)
WOA: Attila the Hun(#13)
BFR: ?
Founder and Leader of Hungry Huns (HH)
-
Members connected in real time
