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

Talkaction, Help me

andurz

Senior Member
Joined
Nov 1, 2008
Messages
126
Reaction score
0
Location
$wedeN
Hi im using Roxor 1337 server, i got bugg when someone is talking to the Demon oak info guy and the tp scroll quest.
The Demon oak info guy dosent replay if you say Hi and the tp scroll you will need to stand on a platform and say "shit" but you wont get tp i only get a error on my server console. I think its more Npc and other talkaction that are bugged.
I can show a error from demon oak guy:


[14/02/2009 23:23:42] data/npc/scripts/oak info.lua:36: attempt to compare nil with number
[14/02/2009 23:23:42] stack traceback:
[14/02/2009 23:23:42] data/npc/scripts/oak info.lua:36: in function <data/npc/scripts/oak info.lua:33>

And this is the other Demon oak monk in the Sultan's


[14/02/2009 23:24:46] data/npc/scripts/demon oak monk.lua:43: attempt to compare nil with number
[14/02/2009 23:24:46] stack traceback:
[14/02/2009 23:24:46] data/npc/scripts/demon oak monk.lua:43: in function <data/npc/scripts/demon oak mon

I went to the line 43 i will copy what it sasys on the Demon Oak Monk:


if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then
selfSay('Hi. Im the Demon Oak Monk. I can either sell you an Hallowed axe or tell you about Demon Oak.')
focus = cid
talk_start = os.clock()

elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
selfSay('You will have to wait, ' .. getPlayerName(cid) .. '.')
 
Back
Top