CREDITS: QQrofl
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:
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
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.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
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:SetupYOURSCRIPTNAME(mgr);
Now copy this in your script:
Now paste it in the "Setup.h" as this:void SetupYOURSCRIPTNAME(ScriptMgr * mgr)
Picture:void SetupRepop(ScriptMgr * mgr);
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.



LinkBack URL
About LinkBacks









Reply With Quote


Bookmarks