I get these errors when compiling.
Quote from: "Kobiesan"I get these errors when compiling.If you're trying to add custom class spellscripts, I just tried this and it seemed to work fine:Core: Right click scriptsSpells folder in solution explorer.Add new item, name it spell_<class>.cpp (just like the existing class script files).Add whatever you like to your new spell_<class>.cpp. look at existing class spell script files for examples. If you copy+paste, remember to rename sensibly.Rebuild scripts and worldserver.SQL: add entries for your spell scripts in world.spell_script_namesIf you just want to test that it works, in Spell.dbc make a duplicate of a spell that relies on a script to work (for example, priests' Guardian Spirit: 47788), check in-game that the original works but the duplicate doesn't (because it has a different spell ID and so doesn't get to use the script yet), then add a new spell script for your duplicate that's exactly the same as the script of the original, with the only difference being the script's classname. Don't forget to add an entry in world.spell_script_names for your duplicate, that's what ties a spell ID (in Spell.dbc) to the script.By the way, I was making notes for an updated TrinityCore custom class guide and I couldn't figure out why you had to edit playermethods.h, worldsession.cpp and worldsession.h. What did you change in those files?
Stop trying to hang yourself with the stdafx. I never mentioned it once. Do as was written. It's more healthy than trying to do evne more.
It either means arcemu is badly coded or you did something wrong.I just remembered that I wrote a tutorial myself. It's not "everything" but still valid for the utmost part. 3.3.5 only, though. Too much changed with 6.xviewtopic.php?f=79&t=3756
They are not even close to each other. Moved the thread around. YOu can see it now.