• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Arena Svar 0.3.5pl1

Koci1994

Banned User
Joined
Dec 27, 2008
Messages
807
Reaction score
1
Siema mam taki problem . Gdy najde na teleport do areny to nie daje mi tp , tylko wchodzi na tp .Co jest nei tak ??
 
jeśli używasz 0.3.4+ to może być problem z global storage :)
zerknij do logów serwera
 
saveGlobalStorage = "yes"
??? Jak je wylacze to jakei beda skutki uboczne.??

Zmienilem to na "no" i juz arena dziala . Ale czy to nei ma jakis skutków ubocznych ??
ale musailem wyczycic glboal storrage .
 
Last edited:
zadnych skutkow ubocznych nie ma chyba ze uzywasz skryptu ktory potrzebuje zapisanych danych w global storage
 
mam taki jeden . Ale nei wiem jak go teraz zrobic zeby on dzial.
Code:
   local exhaustionConfig = {
        21144, -- storage
        600 -- time in seconds
}
local mobs = {
        { -- 1
                {"Rift Worm", {x=2057,y=1190,z=10}},
                {"Rift Worm", {x=2059,y=1190,z=10}},
                {"Rift Worm", {x=2067,y=1190,z=10}},
                {"Rift Worm", {x=2069,y=1190,z=10}}
        },
        { -- 2
                {"Rift Brood", {x=2063,y=1183,z=10}},
                {"Rift Brood", {x=2062,y=1186,z=10}},
                {"Rift Brood", {x=2063,y=1186,z=10}},
                {"Rift Brood", {x=2064,y=1186,z=10}}
        },
        { -- 3
                {"Rift Scythe", {x=2062,y=1194,z=10}},
                {"Rift Scythe", {x=2063,y=1194,z=10}},
                {"Rift Scythe", {x=2064,y=1194,z=10}},
                {"Rift Scythe", {x=2063,y=1195,z=10}}
        },
        { -- 4
                {"Azerus", {x=2063,y=1191,z=10}},
                {"War Golem", {x=2058,y=1194,z=10}},
                {"War Golem", {x=2068,y=1194,z=10}},
                {"War Golem", {x=2068,y=1186,z=10}},
                {"War Golem", {x=2058,y=1186,z=10}}
        }
}
local function summonMonsters(array)
        for f = 1, #array do
                doSummonCreature(unpack(array[f]))
        end
end

function onUse(cid, item, fromPosition, itemEx, toPosition)
        if getGlobalStorageValue(exhaustionConfig[1]) <= os.time(t) then
                for t = 1, 4 do
                        addEvent(summonMonsters, 15000 * (t - 1), mobs[t])
                end
            setGlobalStorageValue(exhaustionConfig[1], os.time(t) + exhaustionConfig[2])
        end

        return TRUE
end
 
Ale doszedłem do wniosku że są tu jeszcze normalni ludzie np: vDk
 
Last edited:
Back
Top