• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua error raids tfs 1.0

kleitonalan

New Member
Joined
Mar 21, 2013
Messages
289
Reaction score
3
Code:
local storage = 1344
local raids = {
        "Morgaroth",
        "Ghazbaran",
        "Undead Jester",
        "grynch clan goblin",
        "Dryads",
    "pantera",
    "feverish citizen",
        "Halloweenhare",
        "Hornedfox",
        "Necropharus",
        "Wolfsraid",
        "draptor",
        "UndeadArmy",
        "UndeadDarashia",
        "The Old Widow",
        "Scarabs",
        "Rats",
        "Quara",
        "Pirates",
        "Orshabaal",
        "Vampire",
        "OrcsThais",
        "Ferumbras",
        "Fernfang",
        "Orcs no Estepe de Zao",
        "Elfs",
        "crustacea",
        "Demodras",
        "Tiquandas Revenge",
        "Barbarian",
    "Dragonling",
        "Zulazza the Corruptor",
    "Zevelong Duskbringer",
        "undead cavebear",
}
function onThink(interval, lastExecution, thinkInterval)
        if getGlobalStorageValue(storage) == -1 or getGlobalStorageValue(storage) < os.time() then
                executeRaid(raids[math.random(1, #raids)])
                setGlobalStorageValue(storage, os.time() + 12 * 60 * 60)
        end
        return TRUE
end
 
There is no such function (executeRaid) in TFS 1.0, you would have to use globalevents to simulate your raids.
 
Back
Top