• 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 wait(delay) error

Mazen

Developer
Joined
Aug 20, 2007
Messages
612
Reaction score
38
Location
Sweden
Hi, I'm getting an error form the wait(delay) function.

Here is the error from the server:
Code:
[15/04/2009 10:16:03] Lua Script Error: [Action Interface] 
[15/04/2009 10:16:03] data/actions/scripts/quests/lersatio mirrors.lua:onUse

[15/04/2009 10:16:03] attempt to yield across metamethod/C-call boundary
[15/04/2009 10:16:03] stack traceback:
[15/04/2009 10:16:03] 	[C]: in function 'wait'
[15/04/2009 10:16:03] 	data/actions/scripts/quests/lersatio mirrors.lua:34: in function <data/actions/scripts/quests/lersatio mirrors.lua:1>

Here is the piece of code were I used that function:
Code:
	doTransformItem(item.uid, 9637)
	wait(1000)
	doTransformItem(item.uid, 9583)

Any idea why I'm getting this error? :o
 
Back
Top