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

SQL Error :S

exique

Natala-ot.com
Joined
Sep 28, 2008
Messages
1,673
Reaction score
25
Location
Sweden
I've tried to add marriage to my ot :P (The npc)
http://otland.net/f83/ultra-release-exclusive-marriage-system-22540/
And when I try to add
Code:
         ALTER  TABLE  `players`  ADD  `marrystatus` INT  UNSIGNED NOT  NULL DEFAULT  '0' AFTER  `marriage`
I get this:
Code:
[B]SQL-fråga:[/B]     
              ALTER  TABLE  `players`  ADD  `marrystatus` INT  UNSIGNED NOT  NULL DEFAULT  '0' AFTER  `marriage`      
      [B]MySQL sa: [/B][URL="http://dev.mysql.com/doc/refman/4.1/en/error-messages-server.html"][IMG]http://localhost/phpmyadmin/themes/original/img/b_help.png[/IMG][/URL] 
  #1054 - Unknown column 'marriage' in 'players'

How to fix it? :(
HELP!
 
Hello!

Maybe are you using 0.2? I think that that script is for 0.3.x But...

Execute these:
PHP:
ALTER TABLE `players` ADD `marriage` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `online` ;
ALTER TABLE `players` ADD `marrystatus` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `marriage` ;

Regards.
 
Last edited:
Thanks ;D
Reputation!

:( Now the npc doesn't say anything when you after you've said marry :(

HELP!
 
Last edited by a moderator:

Similar threads

Back
Top