Example #1
0
function Queue_Relogin_End($queue)
{
    // Чистка непосещаемых бесконечных далей.
    global $db_prefix;
    $query = "SELECT target_planet FROM " . $db_prefix . "fleet WHERE mission = 15 OR mission = 115 OR mission = 215";
    $query = "DELETE FROM " . $db_prefix . "planets WHERE type=20000 AND planet_id <> ALL ({$query})";
    dbquery($query);
    UnloadAll();
    RemoveQueue($queue['task_id']);
}
Example #2
0
function Queue_Relogin_End($queue)
{
    // Чистка непосещаемых бесконечных далей.
    global $db_prefix;
    $query = "SELECT target_planet FROM " . $db_prefix . "fleet WHERE mission = 15 OR mission = 115 OR mission = 215";
    $query = "DELETE FROM " . $db_prefix . "planets WHERE type=20000 AND planet_id <> ALL ({$query})";
    dbquery($query);
    UnloadAll();
    RemoveQueue($queue['task_id']);
    // Очистить ежедневный счетчик попыток взлома игры.
    ResetHackCounter();
}