TrilliumEMU/TrilliumEMU — Issue #60: Character Creation segfault
Author: DoGoodS
Created: 2011-11-29 12:08:30+00:00
State: open

Revision : 7cc4f3a (Mon Nov 28 17:57:58 2011 +0100)
Gcc Version : 4.4.5 (Debian 4.4.5-8)

Problem : Segfault on creating new characters. Due to wrong count of fields in PREPARE_STATEMENT(CHAR_ADD_CHARACTER) (57 fields) and on Player::saveDb (58 fields)
This is because there is no honor field in characters table but try to assign a value with :
```cpp
stmt->setUInt32(index++, GetCurrency(CURRENCY_TYPE_HONOR_POINTS));
```

Here a temporary fix because I don't know if honor fields needs to be added in table or delete from the code (my patch).
Patch : https://gist.github.com/1404586