Exemplo n.º 1
0
 function processSetup($map_size, $adminEmail)
 {
     $this->_createTables();
     $this->_createMap($map_size);
     if ($this->_createAdminPlayer($map_size, $adminEmail)) {
         $raiseTime = 10 / $GLOBALS['GameMetadata']['game_speed'];
         $raiseTime *= 2592000;
         $raiseTime = intval($raiseTime);
         if ($raiseTime < 2592000) {
             $raiseTime = 2592000;
         }
         $queueModel = new QueueModel();
         new QueueTask($queueModel->addTask(QS_TATAR_RAISE, 0, $raiseTime));
         GameLicense::set(WebHelper::getdomain());
     }
 }
Exemplo n.º 2
0
 function getKey()
 {
     return md5(WebHelper::getdomain());
 }