Transmog Script (almost ready)

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

Try replace “1guid” to “guid”. Or if is a variable, use “guid1”.

How is this different from the others, and is this a request to lend you a hand in fixing your unique implementation of Transmog?

I made different from others, still working on few things but if someone tell me what i am doing wrong at that part. Id appreciate it

In structed program language, the numbers cannot containting on the variable’s first letter. (It’s an unwritable law too. /emoticons/default_biggrin.png)

[Release] Transmogrification - 3.3.5a

You found my script and do you want to public it?

Nice…

Here you are:

[/URL][URL=“/”]http://www.trinityco…smogrification/

That’s ‘l’ not ‘1’…

lol, pwn’d

by the way, this board has a glitch that fucks up links when you edit the post after posting a link for some reason, so, your second link is broken.