PDA

View Full Version : fix npc w/ bad min max dmg error


phil3370
01-26-2015, 08:42 PM
get this error when I try to use the fix, then it crashes

Run-time error '-2147217900(80040e14)':

[MySQL][ODBC 3;51 Driver][mysqld-5.6.21]Uknown column
'd_meele_texture1' in 'field list'

thanks for any help

joligario
01-26-2015, 09:22 PM
get this error when I try to use the fix

What 'fix'?

That column was changed a while ago.

Kayen
01-27-2015, 07:21 AM
He is asking in an archaic way for GeorgeS to fix his npc_editor tool, which crashes (giving you an error like that) if you copy and NPC due to that field change.

phil3370
01-27-2015, 10:03 AM
no, I'm not asking for him to fix anything.

I was referencing the "fix npc w/ bad min max dmg error" button within the npc_editor tool, when I hit the button it freezes for a minute and then crashes the program and gives the afore mentioned error. My assumption is I did something slightly wrong installing the tool. Additionally I'm connecting to a remote DB and when I start the tool it warns me it couldn't connect to the database but it does if that's relevant.

Thanks

trevius
01-27-2015, 11:05 AM
The crash is due to the d_meele_texture1/2 fields being renamed to d_melee_texture1/2 to correct the spelling. The tool is hard code to the old field name, so when it tries to run any database changes for NPCs it fails and in this case crashes the tool.

GeorgeS will need to update the field name in the tool to match the new database field names. Once that is done, the button you are referring to should work again.

phil3370
01-27-2015, 05:12 PM
awesome, thanks for the help