<?php include_once "../../../site.class.php"; include_once $PATH_TO_CODE."/script/connect.php"; include_once $PATH_TO_CODE."/script/disconnect.php"; include_once $PATH_TO_CODE."/script/log.class.php"; include_once $PATH_TO_CODE."/script/fonction.php"; include_once $PATH_TO_CODE."/script/message/playermessage.class.php"; include_once $PATH_TO_CODE."/script/tick/abstractticker.php"; include_once $PATH_TO_CODE."/script/tick/removeoldobject.php"; include_once $PATH_TO_CODE."/script/tick/removeoldimage.php"; include_once $PATH_TO_CODE."/script/tick/actionallobject.php"; include_once $PATH_TO_CODE."/script/tick/unlobotomizecounter.php"; include_once $PATH_TO_CODE."/script/tick/hacktick.class.php"; include_once $PATH_TO_CODE."/script/tick/crontick.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/DungeonRemoveOldImageTick.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/dungeongrowthworldtick.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/earthquake.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/gainlife.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/gainpa.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/moneyticker.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/monsterchoiceactiontick.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/monstercreate.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/ownertick.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/pillage.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/populationtick.class.php"; include_once $PATH_TO_CODE."/modules/dungeon/tick/reseteachnight.class.php"; global $gloObjectManager; $gloObjectManager->loadBlockInsteadOneZone = true; $locTickWithFixedTimeArray = array(); //array_push($locTickWithFixedTimeArray, new ResetEachNightTick(6, 3600*1000, true)); //array_push($locTickWithFixedTimeArray, new ResetEachNightTick(6, 1, true)); array_push($locTickWithFixedTimeArray, new ActionAllObjectTick(10, 0, 10*1000, 500, true)); array_push($locTickWithFixedTimeArray, new ActionAllObjectTick(11, 1, 100*1000, 50*1000, true)); array_push($locTickWithFixedTimeArray, new ActionAllObjectTick(12, 2, 1000*1000, 500*1000, true)); array_push($locTickWithFixedTimeArray, new ActionAllObjectTick(13, 3, 10000*1000, 5000*1000, true)); array_push($locTickWithFixedTimeArray, new RemoveOldImageTick(3, 1000, true)); array_push($locTickWithFixedTimeArray, new DungeonRemoveOldImageTick(2, 1000, true)); array_push($locTickWithFixedTimeArray, new DungeonGrowthWorldTick(1, 108, 240000, true)); array_push($locTickWithFixedTimeArray, new CronTick(111, new MonsterChoiceActionTick(), 1)); array_push($locTickWithFixedTimeArray, new CronTick(112, new MonsterChoiceActionTick(), 2)); array_push($locTickWithFixedTimeArray, new CronTick(106, new EarthquakeTick(), 3)); array_push($locTickWithFixedTimeArray, new CronTick(120, new PopulationTick(), 4)); array_push($locTickWithFixedTimeArray, new CronTick(105, new MoneyTick(), 5)); array_push($locTickWithFixedTimeArray, new CronTick(130, new HackTick(), 5)); $locTickWithTimeBaseArray = array(); array_push($locTickWithTimeBaseArray, new UnlobotomizeCounterTick(107, 0.5)); array_push($locTickWithTimeBaseArray, new RemoveOldObjectTick(109, 1.0)); array_push($locTickWithTimeBaseArray, new OwnerTick(101, 0.75)); array_push($locTickWithTimeBaseArray, new GainPaTick(102, 0.1*2/3)); array_push($locTickWithTimeBaseArray, new GainLifeTick(103, 0.5)); array_push($locTickWithTimeBaseArray, new PillageTick(104, 1.0)); //<TEST> //array_push($locTickWithTimeBaseArray, new MonsterCreateTick(110, 1.0, true)); //</TEST> array_push($locTickWithTimeBaseArray, new MonsterCreateTick(110, 35.0, true)); doTicker($locTickWithFixedTimeArray, $locTickWithTimeBaseArray); ?>