• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

NPC [ULTRA Release] !EXCLUSIVE! Marriage System!

error

[04/06/2009 20:07:21] Lua Script Error: [Npc interface]
[04/06/2009 20:07:22] data/npc/scripts/marriage.lua:eek:nCreatureSay

[04/06/2009 20:07:23] luaGetPlayerNameByGUID(). Player not found

[04/06/2009 20:07:23] Lua Script Error: [Npc interface]
[04/06/2009 20:07:24] data/npc/scripts/marriage.lua:eek:nCreatureSay

[04/06/2009 20:07:25] data/npc/scripts/marriage.lua:58: attempt to concatenate local 'marryname' (a nil value)
[04/06/2009 20:07:27] stack traceback:
[04/06/2009 20:07:27] data/npc/scripts/marriage.lua:58: in function 'callback'
[04/06/2009 20:07:28] data/npc/lib/npcsystem/npchandler.lua:384: in function 'onCreatureSay'
[04/06/2009 20:07:28] data/npc/scripts/marriage.lua:8: in function <data/npc/scripts/marriage.lua:8>
 
Thank you all for your comments and recommendations. Sorry for the long time without logging in, but I'm too busy in my real life, and I don't have anymore the time for Tibia that I used to have.

I know about the errors lately, and that it's not working on the newest TFS, but I stopped programming since february, and I really don't know about the changes they made.

I'm sure someone will help you guys on this matter, since this is one of the biggest community of Open Tibia on the internet.

And again, I'm really sorry for being not able to help you right now, but you will surely find someone who can.

Yours,
Godely.
 
@Godely

-- Hello man, great job on this release, but this don't work on TFS 0.3.4-pl2, can you help me to fix bugs on this to work on my server????

-- Wheen i'm SAY MARRY for a NPC, apear this error on cosole and NPC don't make nothing:
Lua Script Error: [Npc interface]
data/npc/scripts/atuais/married.lua:eek:nCreatureSay

luaGetPlayerNameByGUID(). Player not found

Lua Script Error: [Npc interface]
data/npc/scripts/atuais/married.lua:eek:nCreatureSay

data/npc/scripts/atuais/married.lua:58: attempt to concatenate local 'marryname'
(a nil value)
stack traceback:
data/npc/scripts/atuais/married.lua:58: in function 'callback'
data/npc/lib/npcsystem/npchandler.lua:384: in function 'onCreatureSay'
data/npc/scripts/atuais/married.lua:8: in function <data/npc/scripts/atu
ais/married.lua:8>

-- Thx for this and help me plx....
 
Code:
[22/06/2009 13:36:34] Lua Script Error: [Npc interface] 
[22/06/2009 13:36:34] data/npc/scripts/Marriage NPC.lua:onCreatureSay

[22/06/2009 13:36:34] data/global.lua:721: attempt to index global 'db' (a nil value)
[22/06/2009 13:36:34] stack traceback:
[22/06/2009 13:36:34] 	data/global.lua:721: in function 'getMarryStatus'
[22/06/2009 13:36:34] 	data/npc/scripts/Marriage NPC.lua:52: in function 'callback'
[22/06/2009 13:36:34] 	data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
[22/06/2009 13:36:34] 	data/npc/scripts/Marriage NPC.lua:8: in function <data/npc/scripts/Marriage NPC.lua:8>
 
i have this error when Player 1 say Hi, marry, yes then the error
Code:
[27/06/2009 13:08:17] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such column: marrystatus (UPDATE "players" SET "marrystatus" = 23 WHERE "id" = 2;)

Server: 8.40 The Forgotten Server, version 0.3.1 (Crying Damson)
 
ok NVM i fix it for my ot :) changed the marrystatus to marriage in your functions, but one question how i breakup?

EDIT: OK NVM, saying Divorce, :D nice script + rep
 
Last edited:
Code:
[03/07/2009 11:47:58] stack traceback: [03/07/2009 11:47:58] 	data/npc/scripts/slub.lua:58: in function 'callback' [03/07/2009 11:47:58] data/npc/lib/npcsystem/npchandler.lua:384: in function 'onCreatureSay' [03/07/2009 11:47:58] 	data/npc/scripts/slub.lua
WTF?xD
 
add search please?
ALTER TABLE `players` ADD `marrystatus` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `marriage` ;
accounts
bans
global_storage
guilds
guild_invites
guild_ranks
houses
house_data
house_lists
players
player_deaths
player_depotitems
player_items
player_skills
player_spells
player_storage
player_viplist
server_config
server_motd
server_record
server_reports
tiles
tile_items

i noob



-------------------

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Now, add to your MySQL database the following table:' at line 1

Now, ADD TO your MySQL DATABASE the following TABLE :
 
Back
Top