yi12345 / TravianZ

travian t3.6 project (based on travianx v6.0.0)
183 stars 190 forks source link

What runs automation? #486

Open someone235 opened 7 years ago

someone235 commented 7 years ago

Hi, I try to find out what makes the GameEngine to update the resources in the database and such stuff. Where this php tasks are scheduled?

martinambrus commented 6 years ago

Automation is run on pretty much every page load and is handled by the GameEngine/Automation.php file. It gets included, creates an instance of itself and starts a lot of checks in its constructor.

If you'd still like to keep up with the project, it's actually been forked and worked on for a while now at Shadowss' official repo here: https://github.com/Shadowss/TravianZ