• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Transmog errors (Rochet2)

Status
Not open for further replies.

katos

Noble Member
Hey all,

Having a little bit of a nightmare here, I was recently given an "updated" transmog of Rochet's, which turned out to be an absolute nightmare, and more or less destroyed Trinity (yes... literally. :mad2:)
So, I have moved back to Rochet's and tried to apply it, but I keep getting errors that the patch did not apply and I have no idea as to why?

I have taken a screenshot of the errors here:
http://puu.sh/9WmKr/e22071135b.png

I would like to point out, I am fairly new to applying .diff files etc, so it could even be a simple mistake I am making on my end?

Many thanks for all your help in advance,
Regards,
Katos.
 

katos

Noble Member
Ok, applied the .diff manually, just recompiling now, will let you know how it goes! :)
 

katos

Noble Member
Ok, so I have completed the recompile and got the following errors:

Error 1 error C2039: 'DeleteFakeFromDB' : is not a member of 'Transmogrification' D:\trinity\src\server\game\Entities\Item\Item.cpp 483 1 game
Error 2 error C2664: 'uint32 Transmogrification::GetFakeEntry(const Item *)' : cannot convert argument 1 from 'uint64' to 'const Item *' D:\trinity\src\server\game\Entities\Player\Player.cpp 12581 1 game
Error 3 error C2039: 'DeleteFakeFromDB' : is not a member of 'Transmogrification' D:\trinity\src\server\game\Entities\Player\Player.cpp 12710 1 game
Error 4 error LNK2019: unresolved external symbol "void __cdecl AddSC_arena_top_teams(void)" (?AddSC_arena_top_teams@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) D:\build\src\server\worldserver\game.lib(ScriptLoader.obj) worldserver
Error 5 error LNK2019: unresolved external symbol "public: unsigned int __thiscall Transmogrification::GetFakeEntry(class Item const *)" (?GetFakeEntry@Transmogrification@@QAEIPBVItem@@@Z) referenced in function "private: void __thiscall spell_gen_clone_weapon_aura::spell_gen_clone_weapon_auraScript::OnApply(class AuraEffect const *,enum AuraEffectHandleModes)" (?OnApply@spell_gen_clone_weapon_auraScript@spell_gen_clone_weapon_aura@@AAEXPBVAuraEffect@@W4AuraEffectHandleModes@@@Z) D:\build\src\server\worldserver\scripts.lib(spell_generic.obj) worldserver
Error 6 error LNK1120: 2 unresolved externals D:\build\bin\Release\worldserver.exe worldserver
 
Are you using outdated version of transmog.
DeleteFakeFromDB is in old version of transmog script, rochet2 updated to 5.5

Download the newest version here : https://docs.google.com/folderview?id=0Bx5knS2IsjatTlVtWHRwbUN3VlE





Code:
Error	2	error C2664: 'uint32 Transmogrification::GetFakeEntry(const Item *)' : cannot convert argument 1 from 'uint64' to 'const Item *' D:\trinity\src\server\game\Entities\Player\Player. cpp	12581	1	game

use 
uint32 Transmogrification::GetFakeEntry(const Item* item)
 
Last edited:

katos

Noble Member
This is tremendously strange, I have downloaded the new .diff and got errors again, so manually applied the .diff using

patch -p1 < Transmogrification.diff

now there are no transmogrification.cpp etc in the custom scripts file?

- - - Updated - - -

This is tremendously strange, I have downloaded the new .diff and got errors again, so manually applied the .diff using

patch -p1 < Transmogrification.diff

now there are no transmogrification.cpp etc in the custom scripts file?

Resolved this, will try a recompile.
 

katos

Noble Member
Ok, have recompiled, and got errors about item.cpp and player.cpp

Error 1 error C2039: 'DeleteFakeFromDB' : is not a member of 'Transmogrification' D:\trinity\src\server\game\Entities\Item\Item.cpp 483 1 game
Error 2 error C2601: 'Player::MoveItemToInventory' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 12724 1 game
Error 3 error C2601: 'Player::DestroyItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 12749 1 game
Error 4 error C2601: 'Player::DestroyItemCount' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 12850 1 game
Error 5 error C2601: 'Player::DestroyZoneLimitedItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13041 1 game
Error 6 error C2601: 'Player::DestroyConjuredItems' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13071 1 game
Error 7 error C2601: 'Player::GetItemByEntry' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13098 1 game
Error 8 error C2601: 'Player::DestroyItemCount' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13126 1 game
Error 9 error C2601: 'Player::SplitItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13150 1 game
Error 10 error C2601: 'Player::SwapItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13265 1 game
Error 11 error C2601: 'Player::AddItemToBuyBackSlot' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13621 1 game
Error 12 error C2601: 'Player::GetItemFromBuyBackSlot' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13675 1 game
Error 13 error C2601: 'Player::RemoveItemFromBuyBackSlot' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13683 1 game
Error 14 error C2601: 'Player::SendEquipError' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13709 1 game
Error 15 error C2601: 'Player::SendBuyError' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13752 1 game
Error 16 error C2601: 'Player::SendSellError' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13764 1 game
Error 17 error C2601: 'Player::IsUseEquipedWeapon' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13776 1 game
Error 18 error C2601: 'Player::IsTwoHandUsed' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13782 1 game
Error 19 error C2601: 'Player::TradeCancel' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13788 1 game
Error 20 error C2601: 'Player::UpdateSoulboundTradeItems' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13808 1 game
Error 21 error C2601: 'Player::AddTradeableItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13831 1 game
Error 22 error C2601: 'Player::RemoveTradeableItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13837 1 game
Error 23 error C2601: 'Player::UpdateItemDuration' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13842 1 game
Error 24 error C2601: 'Player::UpdateEnchantTime' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13859 1 game
Error 25 error C2601: 'Player::AddEnchantmentDurations' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13883 1 game
Error 26 error C2601: 'Player::RemoveEnchantmentDurations' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13896 1 game
Error 27 error C2601: 'Player::RemoveArenaEnchantments' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13911 1 game
Error 28 error C2601: 'Player::AddEnchantmentDuration' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13957 1 game
Error 29 error C2601: 'Player::ApplyEnchantment' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13981 1 game
Error 30 error C2601: 'Player::ApplyEnchantment' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 13987 1 game
Error 31 error C2601: 'Player::UpdateSkillEnchantments' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14359 1 game
Error 32 error C2601: 'Player::SendEnchantmentDurations' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14404 1 game
Error 33 error C2601: 'Player::SendItemDurations' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14412 1 game
Error 34 error C2601: 'Player::SendNewItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14420 1 game
Error 35 error C2601: 'Player::prepareGossipMenu' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14450 1 game
Error 36 error C2601: 'Player::SendPreparedGossip' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14591 1 game
Error 37 error C2601: 'Player::OnGossipSelect' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14626 1 game
Error 38 error C2601: 'Player::GetGossipTextId' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14761 1 game
Error 39 error C2601: 'Player::GetGossipTextId' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14769 1 game
Error 40 error C2601: 'Player::GetDefaultGossipMenuForSource' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14787 1 game
Error 41 error C2601: 'Player::prepareQuestMenu' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14806 1 game
Error 42 error C2601: 'Player::SendPreparedQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14866 1 game
Error 43 error C2601: 'Player::IsActiveQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14952 1 game
Error 44 error C2601: 'Player::GetNextQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14957 1 game
Error 45 error C2601: 'Player::CanSeeStartQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 14987 1 game
Error 46 error C2601: 'Player::CanTakeQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15001 1 game
Error 47 error C2601: 'Player::CanAddQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15014 1 game
Error 48 error C2601: 'Player::CanCompleteQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15038 1 game
Error 49 error C2601: 'Player::CanCompleteRepeatableQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15108 1 game
Error 50 error C2601: 'Player::CanRewardQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15127 1 game
Error 51 error C2601: 'Player::AddQuestAndCheckCompletion' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15163 1 game
Error 52 error C2601: 'Player::CanRewardQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15210 1 game
Error 53 error C2601: 'Player::AddQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15249 1 game
Error 54 error C2601: 'Player::CompleteQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15322 1 game
Error 55 error C2601: 'Player::IncompleteQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15342 1 game
Error 56 error C2601: 'Player::RewardQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15354 1 game
Error 57 error C2601: 'Player::FailQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15539 1 game
Error 58 error C2601: 'Player::SatisfyQuestSkill' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15577 1 game
Error 59 error C2601: 'Player::SatisfyQuestLevel' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15600 1 game
Error 60 error C2601: 'Player::SatisfyQuestLog' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15623 1 game
Error 61 error C2601: 'Player::SatisfyQuestPreviousQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15638 1 game
Error 62 error C2601: 'Player::SatisfyQuestClass' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15732 1 game
Error 63 error C2601: 'Player::SatisfyQuestRace' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15753 1 game
Error 64 error C2601: 'Player::SatisfyQuestReputation' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15771 1 game
Error 65 error C2601: 'Player::SatisfyQuestStatus' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15811 1 game
Error 66 error C2601: 'Player::SatisfyQuestConditions' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15825 1 game
Error 67 error C2601: 'Player::SatisfyQuestTimed' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15841 1 game
Error 68 error C2601: 'Player::SatisfyQuestExclusiveGroup' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15855 1 game
Error 69 error C2601: 'Player::SatisfyQuestNextChain' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15899 1 game
Error 70 error C2601: 'Player::SatisfyQuestPrevChain' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15922 1 game
Error 71 error C2601: 'Player::SatisfyQuestDay' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15953 1 game
Error 72 error C2601: 'Player::SatisfyQuestWeek' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15990 1 game
Error 73 error C2601: 'Player::SatisfyQuestSeasonal' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 15999 1 game
Error 74 error C2601: 'Player::SatisfyQuestMonth' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16012 1 game
Error 75 error C2601: 'Player::GiveQuestSourceItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16021 1 game
Error 76 error C2601: 'Player::TakeQuestSourceItem' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16049 1 game
Error 77 error C2601: 'Player::GetQuestRewardStatus' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16089 1 game
Error 78 error C2601: 'Player::GetQuestStatus' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16103 1 game
Error 79 error C2601: 'Player::CanShareQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16118 1 game
Error 80 error C2601: 'Player::SetQuestStatus' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16130 1 game
Error 81 error C2601: 'Player::RemoveActiveQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16142 1 game
Error 82 error C2601: 'Player::RemoveRewardedQuest' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16155 1 game
Error 83 error C2601: 'Player::SendQuestUpdate' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16168 1 game
Error 84 error C2601: 'Player::GetQuestDialogStatus' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16197 1 game
Error 85 error C2601: 'Player::GetReqKillOrCastCurrentCount' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16302 1 game
Error 86 error C2601: 'Player::AdjustQuestReqItemCount' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16315 1 game
Error 87 error C2601: 'Player::FindQuestSlot' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16333 1 game
Error 88 error C2601: 'Player::GetQuestSlotQuestId' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16342 1 game
Error 89 error C2601: 'Player::GetQuestSlotState' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16347 1 game
Error 90 error C2601: 'Player::GetQuestSlotCounter' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16352 1 game
Error 91 error C2601: 'Player::GetQuestSlotTime' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16357 1 game
Error 92 error C2601: 'Player::SetQuestSlot' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16362 1 game
Error 93 error C2601: 'Player::SetQuestSlotCounter' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16371 1 game
Error 94 error C2601: 'Player::SetQuestSlotState' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16379 1 game
Error 95 error C2601: 'Player::RemoveQuestSlotState' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16384 1 game
Error 96 error C2601: 'Player::SetQuestSlotTimer' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16389 1 game
Error 97 error C2601: 'Player::SwapQuestSlot' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16394 1 game
Error 98 error C2601: 'Player::AreaExploredOrEventHappens' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16406 1 game
Error 99 error C2601: 'Player::GroupEventHappens' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16427 1 game
Error 100 error C2601: 'Player::ItemAddedQuestCheck' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16444 1 game
Error 101 error C2601: 'Player::ItemRemovedQuestCheck' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16486 1 game
Error 102 error C2601: 'Player::KilledMonster' : local function definitions are illegal D:\trinity\src\server\game\Entities\Player\Player.cpp 16528 1 game
Error 103 error C1003: error count exceeds 100; stopping compilation D:\trinity\src\server\game\Entities\Player\Player.cpp 16528 1 game
Error 104 error C2039: 'inventoryIcon' : is not a member of 'ItemDisplayInfoEntry' D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 129 1 scripts
Error 105 error C3668: '`anonymous-namespace'::pS_Transmogrification::OnLogin' : method with override specifier 'override' did not override any base class methods D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 779 1 scripts
Error 106 error C4263: 'void `anonymous-namespace'::pS_Transmogrification::OnLogin(Player *,bool)' : member function does not override any base class virtual member function D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 779 1 scripts
Error 107 error C4264: 'void PlayerScript::OnLogin(Player *)' : no override available for virtual member function from base 'PlayerScript'; function is hidden D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 837 1 scripts
Error 108 error LNK2019: unresolved external symbol "void __cdecl AddSC_arena_top_teams(void)" (?AddSC_arena_top_teams@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) D:\build\src\server\worldserver\game.lib(ScriptLoader.obj) worldserver
Error 109 error LNK2019: unresolved external symbol "public: unsigned int __thiscall Transmogrification::GetFakeEntry(class Item const *)" (?GetFakeEntry@Transmogrification@@QAEIPBVItem@@@Z) referenced in function "private: void __thiscall spell_gen_clone_weapon_aura::spell_gen_clone_weapon_auraScript::OnApply(class AuraEffect const *,enum AuraEffectHandleModes)" (?OnApply@spell_gen_clone_weapon_auraScript@spell_gen_clone_weapon_aura@@AAEXPBVAuraEffect@@W4AuraEffectHandleModes@@@Z) D:\build\src\server\worldserver\scripts.lib(spell_generic.obj) worldserver
Error 110 error LNK1120: 2 unresolved externals D:\build\bin\Release\worldserver.exe worldserver

I have no idea what is going on to be honest.

I had to manually apply the player.cpp changes as the .diff wont apply properly for some reason...
My player.cpp is here:

if (Item* it = GetItemByPos(bag, slot))
{
if (Item* it = GetItemByPos(bag, slot))
{
ItemRemovedQuestCheck(it->GetEntry(), it->GetCount());
RemoveItem(bag, slot, update);
it->SetNotRefundable(this, false);
it->RemoveFromUpdateQueueOf(this);
if (it->IsInWorld())
{
it->RemoveFromWorld();
it->DestroyForPlayer(this);
}
}
}


void Player::MoveItemFromInventory(uint8 bag, uint8 slot, bool update)
{
if (Item* it = GetItemByPos(bag, slot))
{
if (Item* it = GetItemByPos(bag, slot))
{
sTransmogrification->DeleteFakeEntry(this, it);
ItemRemovedQuestCheck(it->GetEntry(), it->GetCount());
RemoveItem(bag, slot, update);
it->SetNotRefundable(this, false);
it->RemoveFromUpdateQueueOf(this);
if (it->IsInWorld())
{
it->RemoveFromWorld();
it->DestroyForPlayer(this);
}
}
}
 

Rochet2

Moderator / Eluna Dev
Somewhere in your own edits you added a { without closing } or you removed a }.
Btw .. the latest patch is in gist and is uptodate with TC. The older patch was also working directly with TC so Im guessing you have older core?
 

katos

Noble Member
Somewhere in your own edits you added a { without closing } or you removed a }.
Btw .. the latest patch is in gist and is uptodate with TC. The older patch was also working directly with TC so Im guessing you have older core?

Yea, it seems my core is actually outdated a little bit, so I need to find the bracket issue then! :)
 

katos

Noble Member
Cheers for that Rochet, now seems that I am having these issues:

Error 1 error C2039: 'DeleteFakeFromDB' : is not a member of 'Transmogrification' D:\trinity\src\server\game\Entities\Item\Item.cpp 483 1 game
Error 2 error C2039: 'inventoryIcon' : is not a member of 'ItemDisplayInfoEntry' D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 129 1 scripts
Error 3 error C3668: '`anonymous-namespace'::pS_Transmogrification::OnLogin' : method with override specifier 'override' did not override any base class methods D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 779 1 scripts
Error 4 error C4263: 'void `anonymous-namespace'::pS_Transmogrification::OnLogin(Player *,bool)' : member function does not override any base class virtual member function D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 779 1 scripts
Error 5 error C4264: 'void PlayerScript::OnLogin(Player *)' : no override available for virtual member function from base 'PlayerScript'; function is hidden D:\trinity\src\server\scripts\Custom\Transmogrification.cpp 837 1 scripts
Error 6 error LNK2019: unresolved external symbol "void __cdecl AddSC_arena_top_teams(void)" (?AddSC_arena_top_teams@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) D:\build\src\server\worldserver\game.lib(ScriptLoader.obj) worldserver
Error 7 error LNK2019: unresolved external symbol "public: unsigned int __thiscall Transmogrification::GetFakeEntry(class Item const *)" (?GetFakeEntry@Transmogrification@@QAEIPBVItem@@@Z) referenced in function "private: void __thiscall spell_gen_clone_weapon_aura::spell_gen_clone_weapon_auraScript::OnApply(class AuraEffect const *,enum AuraEffectHandleModes)" (?OnApply@spell_gen_clone_weapon_auraScript@spell_gen_clone_weapon_aura@@AAEXPBVAuraEffect@@W4AuraEffectHandleModes@@@Z) D:\build\src\server\worldserver\scripts.lib(spell_generic.obj) worldserver
Error 8 error LNK1120: 2 unresolved externals D:\build\bin\Release\worldserver.exe worldserver
 

Rochet2

Moderator / Eluna Dev
Error 1 error C2039: 'DeleteFakeFromDB' : is not a member of 'Transmogrification' D:\trinity\src\server\game\Entities\Item\Item.cpp 483 1 game
You seem to have old code there that doesnt belong there.

Error 2 error C2039: 'inventoryIcon' : is not a member of 'ItemDisplayInfoEntry' D:\trinity\src\server\scripts\Custom\Transmogrific ation.cpp 129 1 scripts
You seem to be missing an edit from ItemDisplayInfoEntry struct

Error 3 error C3668: '`anonymous-namespace'::pS_Transmogrification::OnLogin' : method with override specifier 'override' did not override any base class methods D:\trinity\src\server\scripts\Custom\Transmogrific ation.cpp 779 1 scripts
Error 4 error C4263: 'void `anonymous-namespace'::pS_Transmogrification::OnLogin(Player *,bool)' : member function does not override any base class virtual member function D:\trinity\src\server\scripts\Custom\Transmogrific ation.cpp 779 1 scripts
Error 5 error C4264: 'void PlayerScript::OnLogin(Player *)' : no override available for virtual member function from base 'PlayerScript'; function is hidden D:\trinity\src\server\scripts\Custom\Transmogrific ation.cpp 837 1 scripts
These are fixed on the latest release of transmogrification you can find here:
http://rochet2.github.io/?page=Transmogrification

Error 6 error LNK2019: unresolved external symbol "void __cdecl AddSC_arena_top_teams(void)" (?AddSC_arena_top_teams@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) D:\build\src\server\worldserver\game.lib(ScriptLoa der.obj) worldserver
Most likely not Transmog fault?

Error 7 error LNK2019: unresolved external symbol "public: unsigned int __thiscall Transmogrification::GetFakeEntry(class Item const *)" (?GetFakeEntry@Transmogrification@@QAEIPBVItem@@@Z ) referenced in function "private: void __thiscall spell_gen_clone_weapon_aura::spell_gen_clone_weapo n_auraScript::OnApply(class AuraEffect const *,enum AuraEffectHandleModes)" (?OnApply@spell_gen_clone_weapon_auraScript@spell_ gen_clone_weapon_aura@@AAEXPBVAuraEffect@@W4AuraEf fectHandleModes@@@Z) D:\build\src\server\worldserver\scripts.lib(spell_ generic.obj) worldserver
You are likely missing an include from this file (spell_ generic.cpp)

Error 8 error LNK1120: 2 unresolved externals D:\build\bin\Release\worldserver.exe worldserver
Caused by the above.


All in all, try getting the newest patch and make sure everything is added everywhere.
Before adding, Try to remove all old transmogrification code you might have.

Would be best to do these things in commits so you could revert the commit easily when needed : | and or keep at least all previous stuff committed so you can easily manage adding new patch, testing and removing it if it doesnt work or you need to retry.
 
Status
Not open for further replies.
Top