osian, either you didn't put the functions on "function.lua" or didn't create the table I said.
How I can drop the query(?):
PHP:ALTER TABLE `players` ADD `marrystatus` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `marriage` ;
data/npc/scripts/furniture.lua:52: attempt to call global 'getMarryStatus' (a nil value)
[20/02/2009 20:52:48] stack traceback:
[20/02/2009 20:52:48] data/npc/scripts/furniture.lua:52: in function 'callback'
[20/02/2009 20:52:48] data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
I got following error:
Code:data/npc/scripts/furniture.lua:52: attempt to call global 'getMarryStatus' (a nil value) [20/02/2009 20:52:48] stack traceback: [20/02/2009 20:52:48] data/npc/scripts/furniture.lua:52: in function 'callback' [20/02/2009 20:52:48] data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
Lua Script Error: [Npc interface]
data/npc/scripts/atuais/married.luanCreatureSay
data/global.lua:826: attempt to index global 'db' (a nil value)
stack traceback:
data/global.lua:826: in function 'getMarryStatus'
data/npc/scripts/atuais/married.lua:52: in function 'callback'
data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
data/npc/scripts/atuais/married.lua:8: in function <data/npc/scripts/atu
ais/married.lua:8>
@Up
It's working on Gesiors acc maker. It's showing single because this character is not married ;d
ALTER TABLE `players` ADD `marrystatus` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `marriage` ;
[01/06/2009 18:26:11] Lua Script Error: [Npc interface]
[01/06/2009 18:26:11] data/npc/scripts/marry.lua:onCreatureSay
[01/06/2009 18:26:11] luaGetPlayerNameByGUID(). Player not found
[01/06/2009 18:26:11] Lua Script Error: [Npc interface]
[01/06/2009 18:26:11] data/npc/scripts/marry.lua:onCreatureSay
[01/06/2009 18:26:11] data/npc/scripts/marry.lua:58: attempt to concatenate local 'marryname' (a nil value)
[01/06/2009 18:26:11] stack traceback:
[01/06/2009 18:26:11] data/npc/scripts/marry.lua:58: in function 'callback'
[01/06/2009 18:26:11] data/npc/lib/npcsystem/npchandler.lua:384: in function 'onCreatureSay'
[01/06/2009 18:26:11] data/npc/scripts/marry.lua:8: in function <data/npc/scripts/marry.lua:8>