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

Warzone Bug

Creon

Well-Known Member
Joined
Aug 25, 2009
Messages
708
Reaction score
92
Location
United States
In the first warzone, after clicking the stone and spawning the monsters, the teleport will not open, even after waiting for a certain period of time

Error:
Code:
[14/07/2013 19:08:12] Lua Script Error: [Action Interface] 
[14/07/2013 19:08:12] in a timer event called from: 
[14/07/2013 19:08:12] data/actions/scripts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:onUse
[14/07/2013 19:08:12] LuaScriptInterface::luaDoCreatureSay(). Creature not found
[14/07/2013 19:08:12] stack traceback:
[14/07/2013 19:08:12] 	[C]: ?

[14/07/2013 19:06:12] data/actions/scripts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:onUse
[14/07/2013 19:06:12] attempt to index a number value
[14/07/2013 19:06:12] stack traceback:
[14/07/2013 19:06:12] 	[C]: ?
[14/07/2013 19:06:12] 	[C]: in function 'getTileItemById'
[14/07/2013 19:06:12] 	...ipts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:17: in function <...ipts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:1>

Script:
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(item.uid == 3143) then
		if(getGlobalStorageValue(item.uid) < 1) then
			setGlobalStorageValue(item.uid, 1)
			for i = 1, 6 do
				for k = 1, 10 do
					creatures = {
						"humongous fungus",
						"hideous fungus"
					}
					pos = {x = math.random(33091, 33101), y = math.random(31899, 31916), z = 10}
					addEvent(doSummonCreature, i * 20 * 1000, creatures[math.random(1, 2)], pos)
					addEvent(doSendMagicEffect, i * 20 * 1000, pos, CONST_ME_TELEPORT)
				end
				addEvent(doCreatureSay, i * 20 * 1000, cid, "The crystals are charging.", TALKTYPE_ORANGE_1, false, cid, toPosition)
			end
			addEvent(doTransformItem, 6 * 20 * 1000, getTileItemById({x = 33104, y = 31908, z = 10}), 17999, 1387)
			addEvent(doTransformItem, 6 * 20 * 1000, getTileItemById({x = 33104, y = 31908, z = 10}), 1387, 17999)
			addEvent(doSummonCreature, 6 * 20 * 1000, "deathstrike", {x = 33100, y = 31955, z = 10})
			addEvent(doSendMagicEffect, 6 * 20 * 1000, {x = 33100, y = 31955, z = 10}, CONST_ME_TELEPORT)
			addEvent(teleportAllPlayersFromArea, 6 * 20 * 1000 + 30 * 60 * 1000, {
				{x = 33089, y = 31946, z = 10},
				{x = 33124, y = 31983, z = 10}
			}, {x = 33002, y = 31918, z = 10})
			addEvent(removeBoss, 6 * 20 * 1000 + 30 * 60 * 1000, {
				{x = 33089, y = 31946, z = 10},
				{x = 33124, y = 31983, z = 10}
			}, "deathstrike")
			addEvent(setGlobalStorageValue, 6 * 20 * 1000 + 30 * 60 * 1000, item.uid, 0)
		end
	end
	return true
end
 
~ 17 and 18
Lua:
addEvent(doTransformItem, 6 * 20 * 1000, getTileItemById({x = 33104, y = 31908, z = 10}, 17999).uid, 1387)
addEvent(doTransformItem, 6 * 20 * 1000, getTileItemById({x = 33104, y = 31908, z = 10}, 1387).uid, 17999)
 
Still isn't creating the tp:
Code:
[15/07/2013 20:19:18] Lua Script Error: [Action Interface] 
[15/07/2013 20:19:18] data/actions/scripts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:onUse
[15/07/2013 20:19:18] LuaScriptInterface::luaAddEvent(). callback parameter should be a function.
[15/07/2013 20:19:18] stack traceback:
[15/07/2013 20:19:18] 	[C]: in function 'addEvent'
[15/07/2013 20:19:18] 	...ipts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:25: in function <...ipts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:1>

[15/07/2013 20:21:18] Lua Script Error: [Action Interface] 
[15/07/2013 20:21:18] in a timer event called from: 
[15/07/2013 20:21:18] data/actions/scripts/bigfoot burden quest/bigfootBurdenQuestWarzones.lua:onUse
[15/07/2013 20:21:18] LuaScriptInterface::luaDoTransformItem(). Item not found
[15/07/2013 20:21:18] stack traceback:
 
Back
Top