[EPICZ] Scriptdev2 Compiling / Making your mobs attack! USER-FRIENDLY
Helloo, throughout this guide I wish to make you as comfortable as possible, if you have any questions, ASKKK!!
By following this tutorial all mobs on your server will be scripted, and actually doing something when you attack'em
Repack users, STAY AWAY, if you want to follow this tutorial you have to compile your own core, you can follow this guide: [Only registered and activated users can see links. ]
Requirements:
Tortoise SVN which you can get here: [Only registered and activated users can see links. ]
Compiled mangos server which you can get by following this tutorial: (Thanks 711) [Only registered and activated users can see links. ]
Visual Studio 2008, which you probably have if you compiled your core
Alright, off we go
1.Go into the folder you used to compiled mangos (711 reffered to it as Mangos source), I will be reffering to this folder as the mangos folder.
2. Now go into SRC folder, then BINDINGS and create a folder inside bindings that you name ScriptDev2.
3. Right click your ScriptDev2 folder and click SVN Checkout in the URL of Repository link enter "https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2" without the quotes. Now click Ok and wait while it finishes, speed might differ depending on your Internet speed, but it shouldn't take more than 2-5 minutes.
4. Within the ScriptDev2 folder, you will find ScriptVC90 solution. Open this file in Visual Studio 2008, if you are using Visual Studio 2005 use ScriptVC80.
5. Inside Visual Stuido click, Build then Configuration Manager. Select Release from the dropdown menu, then click Close.
6. Now click Build, Build Solution and wait, depending on your computer's speed it should take some time.
7. When its done, it should say x Succeded and 0 Failed, if it says failed, try repeating step 4-6.
8. You have compiled ScriptDev2! However you aren't done just yet.
9. Connect to your database using Navicat, HeidiSQL, SQLYog or whatever you preffer. (You should know how as you have compiled your core)
10. Create a database named scriptdev2 and execute theese files on your scriptdev2 database, from your ScriptDev2/sql folder respectively:
1) scriptdev2_create_structure.sql
2) scriptdev2_script_full.sql
3) Now execute mangos_scriptname_full.sql on your mangos database.
12. Now you are nearly done, rename the scriptdev2.conf.dist.in file in your ScriptDev2 folder to simply scriptdev2.conf (Ignore any warnings) and move it to the same folder where you have Mangos.exe and Realmd.exe and their configs.
Now you are done, Congratulations your server now has scripted mobs and bosses.
Thanks for following this tutorial, ScaR.
Last edited by scarfaze; 07-27-2009 at 05:02 PM.
Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.
Thx for the awesome guide. I also have found out that in the creature_template table the very last column has a `ScriptName` and if you create a custom npc you can make that npc use a scripted npc or boss script. example: boss_gruul Look in your database for the entire script names.