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

NPC Marriage System for TFS 0.3.5

baf :/ still doesn't work
 
I'm trying
i'm stuck in part when npc asks for partner's name
 
[28/06/2010 19:46:53] [error - npc interface]
[28/06/2010 19:46:53] data/npc/scripts/wedding.lua:eek:ncreaturesay
[28/06/2010 19:46:53] description:
[28/06/2010 19:46:53] data/npc/scripts/wedding.lua:127: Attempt to call global 'dosetitemspecialdescription' (a nil value)
[28/06/2010 19:46:53] stack traceback:
[28/06/2010 19:46:53] data/npc/scripts/wedding.lua:127: In function 'callback'
[28/06/2010 19:46:53] data/npc/lib/npcsystem/npchandler.lua:390: In function 'oncreaturesay'
[28/06/2010 19:46:53] data/npc/scripts/wedding.lua:8: In function <data/npc/scripts/wedding.lua:8>

[28/06/2010 19:46:58] [error - npc interface]
[28/06/2010 19:46:58] data/npc/scripts/wedding.lua:eek:ncreaturesay
[28/06/2010 19:46:58] description:
[28/06/2010 19:46:58] (luagetplayernamebyguid) player not found

[28/06/2010 19:46:58] [error - npc interface]
[28/06/2010 19:46:58] data/npc/scripts/wedding.lua:eek:ncreaturesay
[28/06/2010 19:46:58] description:
[28/06/2010 19:46:58] (luagetthingposition) thing not found

[28/06/2010 19:46:58] [error - npc interface]
[28/06/2010 19:46:58] data/npc/scripts/wedding.lua:eek:ncreaturesay
[28/06/2010 19:46:58] description:
[28/06/2010 19:46:58] (luadoplayeradditem) player not found

[28/06/2010 19:46:58] [error - npc interface]
[28/06/2010 19:46:58] data/npc/scripts/wedding.lua:eek:ncreaturesay
[28/06/2010 19:46:58] description:
[28/06/2010 19:46:58] data/lib/050-function.lua:725: Attempt to concatenate local 'player' (a boolean value)
[28/06/2010 19:46:59] stack traceback:
[28/06/2010 19:46:59] data/lib/050-function.lua:725: In function 'isonline'
[28/06/2010 19:46:59] data/npc/scripts/wedding.lua:117: In function 'callback'
[28/06/2010 19:46:59] data/npc/lib/npcsystem/npchandler.lua:390: In function 'oncreaturesay'
[28/06/2010 19:46:59] data/npc/scripts/wedding.lua:8: In function <data/npc/scripts/wedding.lua:8>

0.3.6 !
 
omfggggg !
sry dudes!
my mistake :( !
Aw, the script "work" , ok ok, appear o nick Wife of X, Husband X, but
i dont like errors u.u
so im removing it xD !!!!!
 
Someone knows how to execute this query in SQLite, this only works on MySQL database ;/
 
Hmm it's strange, I tested it now on the newest TFS 0.4 and it's working without any problems and bugs, I don't know why it's not working for you guys
 
its working in 0.34 but when i marry...and dont receive the ring and outift...just the look in character and love talkaction!
what i do,?
thanks!
 
Hey... I was edited the npc, for 0.4 are bugged.

Monje.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Monje" script="data/npc/scripts/wedding.lua" walkinterval="2000" floorchange="0" access="5" >
    <health now="150" max="150"/>
    <look type="57" corpse="6080"/>
    
    <parameters>
        <parameter key="message_greet" value="Hum Humm! Welcome Player..."/>
        <parameter key="message_farewell" value="Good bye."/>
    </parameters>
</npc>

Enjoy ;)!
 
Back
Top