Hello! I am going to show you how to compile your own Boss fights or just a plain npc (C++) file.
First you get your SVN's from arcemu:
svn://arcemu.info/svn
Now open the folder with the SVN's in it. Then go to:
trunk > src > scripts > src > InstanceScripts
Now once you're in the InstanceScripts folder put your C++ script (NPC SCRIPTS ONLY!) in the folder. Now we will go back until you're in the "Scripts" folder. Once you're in the scripts folder double click scripts2008.
Once you have opened the scripts2008 go this:
Right click the folder where ever you put your C++ script at, then click "Existing Item. . ." like so:
Now once you have clicked "Existing Item. . ." search your file you put it in your InstanceScripts folder, so go in the folder where you downloaded the SVN's and click on the C++ script and click "ADD" once you have added it do the following:
Click on your script and go down to the bottom until you seeCopy SetupYOURSCRIPTNAME and you should see "Main Resources" folder in your scripts2008 click on it and go toCode:void SetupYOURSCRIPTNAME(ScriptMgr * pScriptMgr)and do this:Code:Setup.cpp
Code:SetupYOURSCRIPTNAME(mgr);
Mine isJust an example.Code:SetupWorldBoss(mgr);
Now go back to your script and copy the whole thing like so:
Now go to yourCode:void SetupYOURSCRIPTNAME(ScriptMgr* pScriptMgr);file and paste the [code]void SetupYOURSCRIPTNAME(ScriptMgr* pScriptMgr);[/CODE ] in the fileCode:Setup.h
Like so:
And now compile IT!
Go to:
trunk > win > and click onnow on the top make it release then go to build and build it:Code:arcemuV90 - All Projects
Build it:
Now you should get 15 Success, 0 failed, 0 Up to date (UP TO DATE IS FINE IT DOES NOT MATTER IF YOU GET IT!)