Hey everyone I made a new Transmog script for trinity community, very unique. Different from others.
I compiled everything correctly except for this part:
LootHandler.cpp
//My TRANSMOG
if(Player* player = GetPlayer())
if(TransmogEngine::IsActiveInterface(guid))
{
if(Creature* creature = GetPlayer()->GetCreature(guid))
TransmogEngine::SendInterfaceClose(player, guid);
return;
}
//RANSMOG FINISH
//my TRANSMOG
if (TransmogEngine::IsActiveInterface(1guid) && player)
{
if (Creature* creature = player->GetMap()->GetCreature(1guid))
TransmogEngine::HandleInterfaceSelect(player, creature, player->selectedInterface, lootSlot);
return;
}
//FINISH TRANSMOG
compile errors:
…......\src\server\game\Handlers\LootHandler.cpp(44): error C2059: syntax error : ‘bad suffix on number’
3>…......\src\server\game\Handlers\LootHandler.cpp(44): error C2146: syntax error : missing ‘)’ before identifier ‘guid’
3>…......\src\server\game\Handlers\LootHandler.cpp(44): error C2059: syntax error : ‘)’
3>…......\src\server\game\Handlers\LootHandler.cpp(44): error C2059: syntax error : ‘)’
3>…......\src\server\game\Handlers\LootHandler.cpp(45): error C2143: syntax error : missing ‘;’ before ‘{’
3>…......\src\server\game\Handlers\LootHandler.cpp(46): error C2059: syntax error : ‘bad suffix on number’
3>…......\src\server\game\Handlers\LootHandler.cpp(46): error C2146: syntax error : missing ‘)’ before identifier ‘guid’
3>…......\src\server\game\Handlers\LootHandler.cpp(46): error C2059: syntax error : ‘)’
3>…......\src\server\game\Handlers\LootHandler.cpp(244): error C2660: ‘Unit::GetCreature’ : function does not take 1 arguments