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

TrinityCore 3.3.5 did they srsly???

pinkyflip

Banned
did trinitycore remove #include "ScriptPCH.h"??????

seems every script i use that includes this file says it cant be found??? LOL

trinitycore was pulled lastnight and does not contain it. have pulled 5 times and still it dont have it???
how the hell are we supposed to write scripts now??
THEY ARE RETARDS................
 

Rochet2

Moderator / Eluna Dev
You should now include what you use.

Your script contains PlayerScript or some other script class? Include ScriptMgr.h
Your script contains Player? Creature? Include Player.h or Creature.h
By default I suggest you include Common.h since it has all the vector and map and uint32 etc defines.

:)

Btw. The ScriptPCH.h is there, but you cant include it.
For a quick fix you can try find the file and copy the contents of it (only the includes) and paste them to your code file.
However it is recommended to actually include just what you need in your script.
 
Top