Jump to content
  • 0
Sign in to follow this  
Shindu

rAthena -> Hercules

Question

Okay so when im running the sql-files -> rAthena-main-upgrade.sql

 

I get errors;

ErrorSQL query:-- Upgrades for table `cart_inventory`ALTER TABLE `cart_inventory` MODIFY `bound` tinyint( 1 ) unsigned NOT NULL default '0';MySQL said: Documentation#1054 - Unknown column 'bound' in 'cart_inventory' 

Both rAthena and Hercules and upto date.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
  • 0

 

ALTER TABLE `cart_inventory` MODIFY `bound` tinyint(1) unsigned NOT NULL default '0';

Shouldn't fail. Must be an issue on your side because both rAthena and Hercules have the column `bound`.

Check your db if your table `cart_inventory` has the column `bound`. If not add it by hand.

 

rAthena ->

 

CREATE TABLE IF NOT EXISTS `cart_inventory` (  `id` int(11) NOT NULL auto_increment,  `char_id` int(11) NOT NULL default '0',  `nameid` int(11) NOT NULL default '0',  `amount` int(11) NOT NULL default '0',  `equip` int(11) unsigned NOT NULL default '0',  `identify` smallint(6) NOT NULL default '0',  `refine` tinyint(3) unsigned NOT NULL default '0',  `attribute` tinyint(4) NOT NULL default '0',  `card0` smallint(11) NOT NULL default '0',  `card1` smallint(11) NOT NULL default '0',  `card2` smallint(11) NOT NULL default '0',  `card3` smallint(11) NOT NULL default '0',  `expire_time` int(11) unsigned NOT NULL default '0',  `bound` tinyint(3) unsigned NOT NULL default '0',  `unique_id` bigint(20) unsigned NOT NULL default '0',  PRIMARY KEY (`id`),  KEY `char_id` (`char_id`)) ENGINE=MyISAM;

 

Hercules ->

 

CREATE TABLE IF NOT EXISTS `cart_inventory` (  `id` int(11) NOT NULL auto_increment,  `char_id` int(11) NOT NULL default '0',  `nameid` int(11) NOT NULL default '0',  `amount` int(11) NOT NULL default '0',  `equip` int(11) unsigned NOT NULL default '0',  `identify` smallint(6) NOT NULL default '0',  `refine` tinyint(3) unsigned NOT NULL default '0',  `attribute` tinyint(4) NOT NULL default '0',  `card0` smallint(11) NOT NULL default '0',  `card1` smallint(11) NOT NULL default '0',  `card2` smallint(11) NOT NULL default '0',  `card3` smallint(11) NOT NULL default '0',  `expire_time` int(11) unsigned NOT NULL default '0',  `bound` tinyint(1) unsigned NOT NULL default '0',  `unique_id` bigint(20) unsigned NOT NULL default '0',  PRIMARY KEY (`id`),  KEY `char_id` (`char_id`)) ENGINE=MyISAM;

Share this post


Link to post
Share on other sites
  • 0

They're a bit outdated, I'm in process of renewing them when I have time.

 

Sadly they need to be remade every time rAthena or Hercules launch SQL updates, so that's a hard task to always keep updated.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.