Hello all! I am going to show you how to compile a Cpp script like a gossip, pvp scripts or etc... that goes with your Extra Scripts Folder.
First thing we do is download our SVN Source:
Arcemu SVN
Then we will go to:
Programs Needed:
Tortoise SVN
Visual C++ Express Edition 2008
Now you will need to put your .cpp script in the "ExtraScripts" folder, now we will go back until you see the "ExtraScripts2008" located in your "scripts" folder.Code:trunk > src > scripts > src > ExtraScripts
Double click it and click the + signs and everything should be open and now right click the "Scripts" folder while you're in the "ExtraScripts2008" Visual C++ and go to "Add" > "Existing Item" Like SO:
Now search your Folder that you download the SVN with and go to your ExtraScripts folder and ADD The script to the Visual C++, like so:
Now double click the script while it is in your Visual C++ and look down until you see the
Code:SetupYOURSCRIPTNAME(ScriptMgr * mgr)
Copy SetupYOURSCRIPTNAME and go to your setup.cpp in the "Main Resources" folder, you should see it in the pictures above and put this where mine is:
Picture:Code:SetupYOURSCRIPTNAME(mgr);
Now copy this in your script:
Code:void SetupYOURSCRIPTNAME(ScriptMgr * mgr)
Now paste it in the "Setup.h" as this:
Code:void SetupRepop(ScriptMgr * mgr);
Picture:
Now go all the way back to the start of that folder go to:
trunk > win > Double Click VC90 - All Projects and do the following:
Change it to "Release" instead of Debug and click build:
Now you're done! Thanks for reading.