PDA

View Full Version : TrinityCore 3.3.5 Error in Compile Scripts in the last trinityCore



kusanagy
09-17-2016, 03:12 PM
Hey guys can help me please.

I have a errors in my Compile :'(

ADD_GOSSIP_ITEM

606

THANKS guys!

Tommy
09-17-2016, 05:21 PM
Look at existing gossip scripts.

They replaced "ADD_GOSSIP_ITEM" with AddGossipItemFor (https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/scripts/World/npc_innkeeper.cpp#L64)
They replaced "SEND_GOSSIP_MENU" with SendGossipMenuFor (https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/scripts/World/npc_innkeeper.cpp#L85)
They replaced "CLOSE_GOSSIP_MENU" with CloseGossipMenuFor (https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/scripts/World/npc_innkeeper.cpp#L120)
They replaced "player->PlayerTalkClass->ClearMenus();" with ClearGossipMenuFor (https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/scripts/World/npc_innkeeper.cpp#L91)

Not sure what else they changed. I also updated my TrinityCore gossip scripting templates with these changes http://emudevs.com/showthread.php/58.