View Full Version : TrinityCore 3.3.5 did they srsly???

01-13-2016, 06:10 AM
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................

01-13-2016, 10:46 AM
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.