• 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] Something is wrong with those scripts...

Status
Not open for further replies.

Rochet2

Moderator / Eluna Dev
https://github.com/TrinityCore/Trin...r/game/AI/ScriptedAI/ScriptedGossip.h#L83-L93
The addgossipitemextended does not exist. Most likely you just use AddGossipItemFor instead.

It looks like the blood money script is missing includes at the top. It seems that this is the original script: https://gist.github.com/Rochet2/c8efdcf2d05bc4539a4b and that you just removed the scriptpch.
You should probably add in either the same list of includes as the other script has or you should add all missing includes like Player.h and Creature.h and so on.

For the second error you used Player instead of player. Player is a class and player is the variable you should be using.
 
Status
Not open for further replies.
Top