Hello i compile my core 10798 with this patch http://pastebin.ca/1996943.
i apply manually but when i would like to compile i have 2 error on the file vehicle.cpp, all the rest are ok.
the first on line 352
../../../src/game/Vehicle.cpp: In member function âbool Vehicle::Create(uint32, Map*, uint32, uint32, uint32, uint32, const CreatureData*)â:
../../../src/game/Vehicle.cpp:353: error: invalid conversion from âuint32â to âTeamâ
../../../src/game/Vehicle.cpp:353: error: initializing argument 2 of âbool Creature::UpdateEntry(uint32, Team, const CreatureData*, bool)â
the code on this line is (i slash it for try the rest of compile)
//BUGGED
//if(!UpdateEntry(Entry, team, data))
// return false;
the second line 973
../../../src/game/Vehicle.cpp: In member function âvoid Vehicle::InstallAllAccessories()â:
../../../src/game/Vehicle.cpp:974: error: invalid conversion from âintâ to âTeamâ
../../../src/game/Vehicle.cpp:974: error: initializing argument 5 of âbool Creature::Create(uint32, Map*, uint32, uint32, Team, const CreatureData*)â
the code on this line is (i slash it for try the rest of compile)
//BUGGED
//if(!pPassenger->Create(guid, GetMap(), GetPhaseMask(), entry, 0))
// continue;
please if you have an idea help me
ps: this is my complete vehicle.cpp
http://pastebin.fr/9667
edit:second problem i try to launch with the error above slashed but my mangos world couldn't boot
Error in creature_template_addon table, probably sql file format was updated (there should be 9 fields in sql).
but on the table i have 10 fields
entry mount bytes1 b2_0_sheath b2_1_pvp_state emote moveflags vehicle_id passengers auras
i see this on creature.h
// from `creature_addon` and `creature_template_addon`tables
struct CreatureDataAddon
{
uint32 guidOrEntry;
uint32 mount;
uint32 bytes1;
uint8 sheath_state; // SheathState
uint8 pvp_state; // UnitPVPStateFlags
uint32 emote;
uint32 splineFlags;
uint32 vehicle_id;
CreatureDataAddonPassengers const* passengers; // loaded as char* "entry1 seatid1 entry2 seatid2 ... "
CreatureDataAddonAura const* auras; // loaded as char* "spell1 eff1 spell2 eff2 ... "
};