Page 1 of 1

Character Details fails to save

Posted: Sat Feb 28, 2015 10:41 am
by John Adams
Error trying to save characters with current SVN:

Code: Select all

10:17:57.475 E Database Error running MySQL query (1054): Unknown column 'adventure_points' in 'field list'
SELECT `account_id`, `firstname`, `lastname`, `race`, `gender`, `posture`, `title_show`, `title_prefix`, `title_suffix`,
 `adventure_class`, `adventure_subclass`, `adventure_level`, `adventure_xp`, `crafting_class`, `crafting_level`, `crafti
ng_xp`, `diplomacy_class`, `diplomacy_level`, `diplomacy_xp`, `current_chunk_fk`, `current_x`, `current_y`, `current_z`,
 `current_pitch`, `current_yaw`, `current_roll`, command_access, `is_anon`, `is_gm`, `is_dev`, `hidehood`, `hidehelm`, `
hidecloak`, `money`, `bank_money`, `bank_money2`, `bank_money3`, `enable_appearance_gear`, `equip_adventure_gear`, `equi
p_crafting_gear`, `equip_diplomacy_gear`, `equip_harvesting_gear`, `adventure_points`, `crafting_points` FROM `character
s` JOIN `character_details` ON `character_id`=`char_id_fk` WHERE `character_id`=670
10:17:57.475 E Char     Error loading character 'Malazath' from Database, attempting to disconnect them.
Appears there was a SQL change in code that did not make it to SVN

Where's the SQL, or did I miss it?

Re: Character Details fails to save

Posted: Sat Feb 28, 2015 11:08 am
by Xinux
ops my bad i had it created just for to check it. just committed it

Re: Character Details fails to save

Posted: Sat Feb 28, 2015 11:45 am
by John Adams
Okay, I thought it was inside the other character_details changes, but it wasn't.

Also, if you're adding code for "new features", because Attribute Points are a new feature, be sure to add it to ProjMan so it can be tracked.

This literally took me 30 seconds to add: http://vgoemulator.net/index.php?p=projman&id=1354

This is not "optional". Make it a part of your commit process from now on.

Re: Character Details fails to save

Posted: Sat Feb 28, 2015 12:03 pm
by Xinux
Sorry I was trying to get it committed and done in between meetings yesterday and forgot.

Re: Character Details fails to save

Posted: Sat Feb 28, 2015 12:58 pm
by John Adams
You need to have a talk with your boss... he's disrupting our project here.