• 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!

Błąd. Yalahar quest.

Pietrzak19613

New Member
Joined
Oct 14, 2008
Messages
124
Reaction score
0
Code:
Lua Script Error: [CreatureScript Interface] 
[11/12/2009 22:08:37] data/creaturescripts/scripts/azerus.lua:onDeath

[11/12/2009 22:08:37] attempt to index a nil value
[11/12/2009 22:08:37] stack traceback:
[11/12/2009 22:08:37] 	[C]: in function 'doCreateTeleport'
[11/12/2009 22:08:37] 	data/creaturescripts/scripts/azerus.lua:18: in function <data/creaturescripts/scripts/azerus.lua:13>
O Co chodzi?
Co z tym zrobić aby działało dobrze?

Azereus.lua
Code:
local config = {
    message = "Azerus ran into teleporter! It will disappear in 2 minutes. Enter It!",
    teleportId = 1387,
    bosses = { -- Monster Name, Teleport To Position, Teleport Position
        ["Azerus"] = { x = 21325, y = 21075, z = 9 }, { x = 21325, y = 21073, z = 10 },



            }
}


function onDeath(cid, corpse, killer)
    local position = getCreaturePosition(cid)
    for name, pos in pairs(config.bosses) do
        if name == getCreatureName(cid) then

        doCreateTeleport(config.teleportId, pos[1], pos[2])
        doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
        end
    end
    return TRUE
end
 
Last edited:
no to naprawilem sobie. Ale teraz mam next problem. O co tutaj chodzi i jak to naprawić?

[12/12/2009 11:00:13] Lua Script Error: [Action Interface]
[12/12/2009 11:00:13] data/actions/scripts/quests/azerus.lua:onUse

[12/12/2009 11:00:13] luaGetThingFromPos(). Tile not found

[12/12/2009 11:00:13] Lua Script Error: [Action Interface]
[12/12/2009 11:00:13] data/actions/scripts/quests/azerus.lua:onUse

[12/12/2009 11:00:13] luaGetThingFromPos(). Tile not found
 
nie może znaleźć kafelka :( skad przekopiowałeś skrypt :o moze nie na te coordsy jest:]
 
Back
Top