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

Windows Help with yalahari 10th mission paying with paypal $10

Tyronel

New Member
Joined
Feb 28, 2010
Messages
116
Reaction score
0
[17:53:08.122] [Error - Action Interface]
[17:53:08.122] data/actions/scripts/quests/azerus.lua:eek:nUse
[17:53:08.122] Description:
[17:53:08.122] (luaGetThingFromPos) Tile not found

[17:53:08.124] [Error - Action Interface]
[17:53:08.124] data/actions/scripts/quests/azerus.lua:eek:nUse
[17:53:08.124] Description:
[17:53:08.124] (luaGetThingFromPos) Tile not found

[17:53:08.125] [Error - Action Interface]
[17:53:08.125] data/actions/scripts/quests/azerus.lua:eek:nUse
[17:53:08.125] Description:
[17:53:08.125] data/actions/scripts/quests/azerus.lua:160: attempt to call global 'doSetItemActionId' (a nil value)
[17:53:08.125] stack traceback:
[17:53:08.125] data/actions/scripts/quests/azerus.lua:160: in function
im using 4.0 TFS
 
This isnt a donation script lol, its a basic yalahari quest lua script simple help .. im paying $10 he doesnt need to post.
 
-- Yalahar 10th mission By QuaS~~

-- Config #1 --
local BlindField = {x=32781, y=31157, z=10, stackpos=1}
-- end --

function mapArea(fromPos, toPos, stack)
-- Area iterator by Colandus.
local pos = {x=fromPos.x, y=fromPos.y-1, z=fromPos.z}
return function()
if (pos.y < toPos.y) then
pos.y = pos.y+1
elseif (pos.x <= toPos.x) then
pos.y = fromPos.y
pos.x = pos.x+1
else
pos.x = fromPos.x
pos.y = fromPos.y
pos.z = pos.z+1
end
if (pos.x <= toPos.x and pos.y <= toPos.y or pos.z < toPos.z) then
if (stack == nil) then
return pos
else
pos.stackpos = stack
--return pos, getTileThingByPos(pos)
return pos, getThingfromPos(pos)
end
end
end
end


function getMonstersfromArea(fromPos, toPos)
local monsters = {}
for _, thing in mapArea(fromPos, toPos, 253) do
if isMonster(thing.uid) == TRUE then
table.insert(monsters, thing.uid)
end

end
local bfm = getThingfromPos(BlindField)
if isMonster(bfm.uid) == TRUE then
table.insert(monsters, bfm.uid)
end
return monsters
end


function onUse(cid, item, fromPosition, itemEx, toPosition)

-- CONFIG #2!!!! --


-- Map checking --

local topLeft = {x=32775, y=31158, z=10}
local buttomRight = {x=32789, y=31175, z=10}

-- Immortality of Azerus
local monsters = getMonstersfromArea(topLeft, buttomRight)
local monsters1 = getMonstersfromArea(topLeft, buttomRight)

-- Position Of TP --
local tp = {x=32783, y=31175, z=10}

-- Position of Gllobus
local glo = {x=32783, y=31166, z=10}

-- END OF CONFIG! --



function FirstWave()
doSummonCreature("Rift Worm", {x= glo.x - 4,y=glo.y,z=glo.z})

doSummonCreature("Rift Worm", {x= glo.x + 4,y=glo.y,z=glo.z})

doSummonCreature("Rift Worm", {x=glo.x,y=glo.y + 4,z=glo.z})

doSummonCreature("Rift Worm", {x=glo.x,y=glo.y - 4,z=glo.z})

doSummonCreature("Rift Worm", {x=glo.x,y=glo.y + 5,z=glo.z})

doSummonCreature("Azerus", {x=glo.x,y=glo.y - 5,z=glo.z})
end

function SecondWave()
local monsters1 = getMonstersfromArea(topLeft, buttomRight)

for _, monster in pairs(monsters1) do
if getCreatureName(monster) == "Azerus" then
doRemoveCreature(monster)
end
end
doSummonCreature("Azerus1", {x=glo.x,y=glo.y - 5,z=glo.z})

doSummonCreature("Rift Brood", {x= glo.x - 4,y=glo.y,z=glo.z})

doSummonCreature("Rift Brood", {x= glo.x + 4,y=glo.y,z=glo.z})

doSummonCreature("Rift Brood", {x=glo.x,y=glo.y + 4,z=glo.z})

doSummonCreature("Rift Brood", {x=glo.x,y=glo.y - 4,z=glo.z})

doSummonCreature("Rift Brood", {x=glo.x,y=glo.y + 5,z=glo.z})
end
function ThirdWave()
local monsters1 = getMonstersfromArea(topLeft, buttomRight)

for _, monster in pairs(monsters1) do
if getCreatureName(monster) == "Azerus" then
doRemoveCreature(monster)
end
end
doSummonCreature("Azerus2", {x= glo.x - 5,y=glo.y,z=glo.z})

doSummonCreature("Rift Scythe", {x= glo.x - 4,y=glo.y,z=glo.z})

doSummonCreature("Rift Scythe", {x= glo.x + 4,y=glo.y,z=glo.z})
end

function ThirdWave1() -- with 2s delay

doSummonCreature("Rift Scythe", {x=glo.x,y=glo.y + 4,z=glo.z})

doSummonCreature("Rift Scythe", {x=glo.x,y=glo.y - 4,z=glo.z})

doSummonCreature("Rift Scythe", {x=glo.x,y=glo.y + 5,z=glo.z})
end

function FourthWave()
local monsters1 = getMonstersfromArea(topLeft, buttomRight)

for _, monster in pairs(monsters1) do
if getCreatureName(monster) == "Azerus" then
doRemoveCreature(monster)
end
end
doSummonCreature("Azerus3", {x= glo.x - 5,y=glo.y,z=glo.z})

doSummonCreature("War Golem", {x= glo.x - 4,y=glo.y,z=glo.z})

doSummonCreature("War Golem", {x= glo.x + 4,y=glo.y,z=glo.z})

doSummonCreature("War Golem", {x=glo.x,y=glo.y - 4,z=glo.z})

doSummonCreature("War Golem", {x=glo.x,y=glo.y + 4,z=glo.z})

end

function Glllobe()
item1 = getTileItemById(glo,9767)
doSetItemActionId(item1.uid, 58261)
end



if item.actionid == 58261 then
doSetItemActionId(item.uid, 58263)
local monsters = getMonstersfromArea(topLeft, buttomRight)
local monsters1 = getMonstersfromArea(topLeft, buttomRight)

if getTileItemById(tp,1387).itemid == 1387 then
doRemoveItem(getTileItemById(tp,1387).uid)
end

addEvent(FirstWave, 0)
addEvent(SecondWave, 10000)
addEvent(ThirdWave, 20000)
addEvent(ThirdWave1, 24000)
addEvent(FourthWave, 38000)
addEvent(Glllobe, 900000)


elseif item.actionid == 58263 then
doCreatureSay(cid, "You have to wait some time before this globe will charge.", TALKTYPE_ORANGE_1)
end


return TRUE
end

thats the script
 
Use this script!

,function onuse(cid, item, frompos, item2, topos)

--config-->
local statue_pos = {x = 32783, y = 31166, z = 10} --> position statue
local portal_quest01_pos = {x = 32783, y = 31175, z = 10, stackpos = 2} --> position teleport entrance
local portal_quest02_pos = {x = 32784, y = 31177, z = 9, stackpos = 2} --> position teleport exit
local new_portal_pos = {x = 32783, y = 31167, z = 10, stackpos = 1} --> position create teleport
local new_pos = {x = 32780, y = 31170, z = 14} --> position at pass on created teleport
--end config-->

function potwory1()
if math.random (1,8) == 4 then
dosummoncreature('war golem', {x = statue_pos.x+2, y = statue_pos.y+2, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift brood', {x = statue_pos.x, y = statue_pos.y-1, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift worm', {x = statue_pos.x-1, y = statue_pos.y-1, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift scythe', {x = statue_pos.x-1, y = statue_pos.y, z = statue_pos.z, stackpos = 253})
addevent(potwory2, 30 * 1000)
else
dosummoncreature('war golem', {x = statue_pos.x-2, y = statue_pos.y+2, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift brood', {x = statue_pos.x, y = statue_pos.y-1, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift worm', {x = statue_pos.x-1, y = statue_pos.y-1, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift scythe', {x = statue_pos.x-1, y = statue_pos.y, z = statue_pos.z, stackpos = 253})
addevent(potwory2, 35 * 1000)
end
end

function potwory2()
dosummoncreature('rift scythe', {x = statue_pos.x-1, y = statue_pos.y, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift brood', {x = statue_pos.x-1, y = statue_pos.y+1, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift worm', {x = statue_pos.x+1, y = statue_pos.y, z = statue_pos.z, stackpos = 253})
dosummoncreature('war golem', {x = statue_pos.x-2, y = statue_pos.y+2, z = statue_pos.z, stackpos = 253})
addevent(potwory3, 40 * 1000)
end

function potwory3()
dosummoncreature('war golem', {x = statue_pos.x-2, y = statue_pos.y+2, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift scythe', {x = statue_pos.x+1, y = statue_pos.y, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift worm', {x = statue_pos.x+1, y = statue_pos.y, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift brood', {x = statue_pos.x-1, y = statue_pos.y+1, z = statue_pos.z, stackpos = 253})
addevent(potwory4, 45 * 1000)
end

function potwory4()
dosummoncreature('azerus', {x = statue_pos.x, y = statue_pos.y+1, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift brood', {x = statue_pos.x+1, y = statue_pos.y+1, z = statue_pos.z, stackpos = 253})
dosummoncreature('war golem', {x = statue_pos.x-1, y = statue_pos.y+1, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift worm', {x = statue_pos.x+1, y = statue_pos.y, z = statue_pos.z, stackpos = 253})
dosummoncreature('rift brood', {x = statue_pos.x-1, y = statue_pos.y+1, z = statue_pos.z, stackpos = 253})
addevent(newportal, 70 * 1000)
end

function newportal()
docreateteleport(1387, new_pos, new_portal_pos)
addevent(removeall, 50 * 1000)
end

function removeall()
doremoveitem(getthingfrompos(portal_quest01_pos).uid,1)
doremoveitem(getthingfrompos(portal_quest02_pos).uid,1)
doremoveitem(getthingfrompos(new_portal_pos).uid,1)
end

if item.uid == 58261 and getthingfrompos(portal_quest01_pos).itemid ~= 9772 then
docreateitem(9772,1,portal_quest01_pos)
docreateitem(9772,1,portal_quest02_pos)
addevent(potwory1, 0)
else
doplayersendtextmessage(cid,22,"action is start.")
end
return true
end
 
Back
Top