HOW TO APPLY PATCHES TO YOUR SCRIPTDEV2 .
Alright , Let's Say you Found a Nice Anti WEH Patch or a Teleporter NPC Patch or a Teleportation Stone / Donation Vendor / Vote Vendor Patch and you would like to Insert it to your Scriptdev2 Asap.
Put Your Patch File and Any other Files Related to that Patch File in Your Desktop.
to keep things more orgenized Put then in a File Called "PATCH"
Go To Your File "MaNGOS\src\src\bindings"
Then Right Click on Folder "Scriptdev2" as Following :
Then Click on Apply Patch .
Then You will get The Browse Window , go to your File "PATCH" as Following :
After Clicking on The Patch File and Clicking Done you Will get the Following Window :
This Window Resprosents What are The Files that are going to be affected if you apply this patch .
Note: if Your Patch is Out of Date or has an Error And You Apply the Patch using This Method You will get Compiling Error's .
now Right Click on The Window in the Upper left corner and Click Patch all as Following :
Then , if you have a scriptdev2.conf Included in The Patch File like i do Above,
you Will have to Copy this and Paste it into the File "MaNGOS\src\server"
And Edit it To meet the Following right on top of the conf file :
# ScriptDev2 Configuration file
# This file must be placed within the directory which holds mangosd.conf and realmd.conf
ConfVersion=2009040501
# Database connection settings for the world server.
# Default: hostname;port;username;password;database
# .;somenumber;username;password;database - use named pipes at Windows
# Named pipes: mySQL required adding "enable-named-pipe" to [mysqld] section my.ini
# .;/path/to/unix_socket;username;password;database - use Unix sockets at Unix/Linux
# Unix sockets: experimental, not tested
ScriptDev2DatabaseInfo = "127.0.0.1;3306;root;YOUR PASSWORD;scriptdev2"
Now After Applying The Patch You have To Recompile , Exact Same Method you used to Compile it in the First Place , Above .
Without The SVN Checkout thingy .
Go To Your File "MaNGOS\src\src\bin\Win32_Release"
Copy The Files :
1- "MaNGOSScript.lib"
2- "MaNGOSScript.exp"
3- "MaNGOSScript.dll"
Then Place Them Inside Your Server File with Realmd.exe and mangosd.exe
if you have any issue getting your custom script to work in your scriptdev2 post it here ,
i have tested it on 2 windows versions and they both works with my custom scripts
I WILL EXPLAIN UPDATING SCRIPTDEV2 and MANGOS to Latest Patch Without Losing any Data in later


Likes: 










Reply With Quote
Bookmarks