Wednesday, September 30, 2009

Scriptdev2 Compile for MaNGOS

When you have your compiled MaNGOS you need scripts and this is how we do it

STEP 1

Go to your git downloaded source of MaNGOS(example)C:\sources\src\bindings\ folder and there create folder named Scriptdev2
Checkout the Scriptdev2 trunk from
https://scriptdev2.svn.sourceforge.n...oot/scriptdev2

STEP 2

Now open Scriptdev2 folder and double click(open)ScriptVC90
In your VC++ application window select Build->Configuration Manager from the menu
Select Release in the drop down for Active Solution Configuration Manager
Active Solution Platform should default be Win32 and DO NOT CHANGE THAT
Close the dialog and now select Build->Build Solution from the menu and wait to finish
NOTE-If you had an error or having problems with the build you can select Build->Clean Solution to reset compilation

STEP 3

When finished go to (example)C:\source\bin\release folder and copy MaNGOSScript.dll and paste that file to your compiled MaNGOS SERVER(example)C:\MaNGOS SERVER and overwrite old one
Go to C:\source\src\bindings\Scriptdev2 folder and copy scriptdev2.conf.dist.in also in your MaNGOS SERVER folder and rename that to scriptdev2.conf
Now open scriptdev2.conf and you will see line like this ScriptDev2DatabaseInfo = "127.0.0.1;3306;mangos;mangos;scriptdev2"
Now you need to change that line to ScriptDev2DatabaseInfo = "127.0.0.1;3306;root;mangos;scriptdev2"

You now have compiled scripts for your server
If have some problems with this guide post problem on forums.

0 comments:

Post a Comment


Powered by: BlogSpot