Michcol94
Member
- Joined
- Sep 2, 2021
- Messages
- 105
- Reaction score
- 18
On xtibia.com I found an interesting dialogue system and I wanted to test it. link:
[OTClient] Sistema de Dialogo Otpokemon (https://xtibia.com/forum/topic/252290-otclient-sistema-de-dialogo-otpokemon/page/2/)
It turns out that there is no doSendPlayerExtendedOpcode function in the tfs 1.5 by nekiro downgrade 8.6 engine, at least I haven't found it and it is certainly needed. ExtendedOpcode is supposedly in the engine somewhere in the sources somewhere I found something trying to install opcode according to the guide from our forum. link:
Extended Opcodes (Server Side) (https://otland.net/threads/extended-opcodes-server-side.180536/)
Unfortunately, the guide differs significantly from my source code and I can't do it and I need your help.
And how to enable opcode in otclient mehah?
I would still have a question about the guide from xtibia.com what to do exactly with the downloaded module in the last part of the guide. Because I pasted the module files into the modules folder.
so far the NPC appears when I write to him hi nothing happens and throws this error in the console:
[OTClient] Sistema de Dialogo Otpokemon (https://xtibia.com/forum/topic/252290-otclient-sistema-de-dialogo-otpokemon/page/2/)
It turns out that there is no doSendPlayerExtendedOpcode function in the tfs 1.5 by nekiro downgrade 8.6 engine, at least I haven't found it and it is certainly needed. ExtendedOpcode is supposedly in the engine somewhere in the sources somewhere I found something trying to install opcode according to the guide from our forum. link:
Extended Opcodes (Server Side) (https://otland.net/threads/extended-opcodes-server-side.180536/)
Unfortunately, the guide differs significantly from my source code and I can't do it and I need your help.
And how to enable opcode in otclient mehah?
I would still have a question about the guide from xtibia.com what to do exactly with the downloaded module in the last part of the guide. Because I pasted the module files into the modules folder.
so far the NPC appears when I write to him hi nothing happens and throws this error in the console:
Lua Script Error: [Npc interface]
data/npc/scripts/gengo.luanCreatureSay
data/npc/scripts/gengo.lua:11: attempt to call global 'getNpcId' (a nil value)
stack traceback:
[C]: in function 'getNpcId'
data/npc/scripts/gengo.lua:11: in function 'callback'
data/npc/lib/npcsystem/npchandler.lua:340: in function 'greet'
data/npc/lib/npcsystem/npchandler.lua:509: in function 'onGreet'
data/npc/lib/npcsystem/modules.lua:223: in function 'callback'
data/npc/lib/npcsystem/keywordhandler.lua:26: in function 'processMessage'
data/npc/lib/npcsystem/keywordhandler.lua:151: in function 'processNodeMessage'
data/npc/lib/npcsystem/keywordhandler.lua:126: in function 'processMessage'
data/npc/lib/npcsystem/npchandler.lua:398: in function 'onCreatureSay'
data/npc/scripts/gengo.lua:8: in function <data/npc/scripts/gengo.lua:8>