|
1 | 1 | --- How to install ScriptDev2 --- |
2 | 2 |
|
3 | | -1) Download MaNGOS |
4 | | -2) Create a new folder under "src\bindings\" within the MaNGOS source called "ScriptDev2" |
5 | | -3) Checkout the ScriptDev2 trunk from "https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2" |
| 3 | +1) Download MaNGOS (using git clone) |
6 | 4 |
|
7 | | -4a) On Win32: |
8 | | - - Compile MaNGOS |
9 | | - - Compile ScriptDev2 using the ScriptVC70, ScriptVC80, or ScriptVC90 Solution within the ScriptDev2 folder (this will overwrite the Mangoscript dll in the output directory) |
| 5 | +2) Do the source stuff: |
10 | 6 |
|
11 | | -4b) On Linux: |
12 | | -- Apply MaNGOS-rXXXX-ScriptDev2.patch, where XXXX is the highest version to that of your MaNGOS revision, to Mangos Source |
13 | | -- Compile MaNGOS (ScriptDev2 will automatically be built when compiling Mangos from here on) |
| 7 | + MS Windows: |
| 8 | + - Create a new folder under "src\bindings\" within the MaNGOS source called "ScriptDev2" |
| 9 | + - Checkout the ScriptDev2 trunk from "https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2" |
| 10 | + - Apply the Git patch - "git am src/bindings/ScriptDev2/patches/MaNGOS-yyyy-mm-dd-ScriptDev2.patch" where 'yyyy' is year, 'mm' is month and 'dd' is the day of the target MaNGOS commit/relase |
| 11 | + - Compile MaNGOS |
| 12 | + - Compile ScriptDev2 using the ScriptVC70, ScriptVC80, or ScriptVC90 Solution within the ScriptDev2 folder (this will overwrite the Mangoscript dll in the output directory) |
14 | 13 |
|
15 | | -5) Create the default ScriptDev2 database using "sql\create_database.sql", then execute "sql\scriptdev2_structure.sql" on that database. |
| 14 | + GNU/Linux: |
| 15 | + - Checkout the ScriptDev2 to "src/bindings/ScriptDev2" - "svn co https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2 src/bindings/ScriptDev2" |
| 16 | + SVN: |
| 17 | + - Apply MaNGOS-rXXXX-ScriptDev2.patch, where XXXX is the highest version to that of your MaNGOS revision, to Mangos Source |
| 18 | + GIT: |
| 19 | + - Apply the Git patch - "git am src/bindings/ScriptDev2/patches/MaNGOS-yyyy-mm-dd-ScriptDev2.patch" where 'yyyy' is year, 'mm' is month and 'dd' is the day of the target MaNGOS commit/relase |
16 | 20 |
|
17 | | -6) Execute the included "sql\scriptdev2_script_texts.sql" on your ScriptDev2 database. |
| 21 | + - Compile MaNGOS (ScriptDev2 will automatically be built when compiling Mangos from here on) |
18 | 22 |
|
19 | | -7) Optionally, apply scripts from ACID now. |
| 23 | +3) Create the default ScriptDev2 database using "sql\create_database.sql", then execute "sql\scriptdev2_structure.sql" on that database. |
20 | 24 |
|
21 | | -8) Execute the included "sql\mangos_full_scripts.sql" on your MaNGOS database. |
| 25 | +4) Execute the included "sql\scriptdev2_script_texts.sql" on your ScriptDev2 database. |
22 | 26 |
|
23 | | -9) Place the included "scriptdev2.conf" file within the directory containing your "mangosd.conf" and "realmd.conf" files. You may need to change this file to match the database you created and any custom settings you wish to use. Note this file will be different created for Unix based systems. |
| 27 | +5) Optionally, apply scripts from ACID now. |
24 | 28 |
|
25 | | -10) Run mangosd from your output directory |
| 29 | +6) Execute the included "sql\mangos_full_scripts.sql" on your MaNGOS database. |
26 | 30 |
|
| 31 | +7) Place the included "scriptdev2.conf" file within the directory containing your "mangosd.conf" and "realmd.conf" files. You may need to change this file to match the database you created and any custom settings you wish to use. Note this file will be different created for Unix based systems. |
27 | 32 |
|
28 | | -To update ScriptDev2: |
29 | | -All you have to do is open src\bindings\ and right click on the ScriptDev2 folder and click "Update" and then follow steps 4, 6, 7, and 8 again. You must still compile MaNGOS before ScriptDev2 when on the Windows platform. |
| 33 | +8) Run mangosd from your output directory |
| 34 | + |
| 35 | + |
| 36 | +To update ScriptDev2: |
| 37 | + |
| 38 | +MS Windows: |
| 39 | + - All you have to do is open src\bindings\ and right click on the ScriptDev2 folder and click "Update" and then follow steps 4, 6, 7, and 8 again. You must still compile MaNGOS before ScriptDev2 when on the Windows platform. |
| 40 | + |
| 41 | +GNU/Linux: |
| 42 | + - Go to the src/bindings/ScriptDev2 directory - "cd src/bindings/ScriptDev2" |
| 43 | + - Update ScriptDev2 - "svn up" |
30 | 44 |
|
31 | 45 | To update your Database with new Scriptdev2 SQL changes you can either: |
32 | | -a) apply only the changes that were made during that revision by looking in the sql\update folder or (files named rXXX_scriptdev2.sql should be executed on the scriptdev2 db while rXXX_mangos.sql should be executed on your mangos db) |
33 | | -b) reapply "mangos_full_scripts.sql" to your MaNGOS database. |
| 46 | + a) apply only the changes that were made during that revision by looking in the sql\update folder or (files named rXXX_scriptdev2.sql should be executed on the scriptdev2 db while rXXX_mangos.sql should be executed on your mangos db) |
| 47 | + b) reapply "mangos_full_scripts.sql" to your MaNGOS database. |
34 | 48 |
|
35 | 49 | You can view the ScriptDev2 Change Log at: |
36 | | -[url=http://scriptdev2.svn.sourceforge.net/viewvc/scriptdev2/?view=log]http://scriptdev2.svn.sourceforge.net/viewvc/scriptdev2/?view=log[/url] |
| 50 | +http://scriptdev2.svn.sourceforge.net/viewvc/scriptdev2/?view=log |
0 commit comments