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

Bug with marriage script!

Bug

New Member
Joined
Jan 7, 2011
Messages
111
Reaction score
1
Hi i got this error on my server :
Code:
mysql_real_query(): INSERT INTO `marriage_system` (`player_id`, `partner`, `marriage_date`) VALUES ('251', '21150', '1360004230'); - MYSQL ERROR: Duplicate entry '0' for key 'PRIMARY' (1062)

[Error - NpcScript Interface]
data/npc/scripts/marriagesystem.lua:onCreatureSay
Description:
data/lib/004-database.lua:82: [Result:getDataString] Result not set!
stack traceback:
        [C]: in function 'error'
        data/lib/004-database.lua:82: in function 'getDataString'
        [string "..."]:51: in function 'getPartner'
        data/npc/scripts/marriagesystem.lua:67: in function 'callback'
        data/npc/lib/npcsystem/npchandler.lua:456: in function 'onCreatureSay'
        data/npc/scripts/marriagesystem.lua:8: in function <data/npc/scripts/marriagesystem.lua:8>
 
Back
Top