diff options
| author | Poszer <41213210+poszer@users.noreply.github.com> | 2019-06-23 18:26:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-23 18:26:49 +0200 |
| commit | 01d7ace84dd9ae95eb6be9e6fc2ecc8047c4d0b5 (patch) | |
| tree | 3e1d19ea7762ef1ca1fea36a64dce5e2f48742f4 /docs/Add-a-module.md | |
| parent | dfb70621113b19ff3d947225dd5d10cea2e2ec76 (diff) | |
| download | wiki-01d7ace84dd9ae95eb6be9e6fc2ecc8047c4d0b5.tar.gz wiki-01d7ace84dd9ae95eb6be9e6fc2ecc8047c4d0b5.tar.bz2 wiki-01d7ace84dd9ae95eb6be9e6fc2ecc8047c4d0b5.zip | |
Update Add-a-module.md
Edits
Diffstat (limited to 'docs/Add-a-module.md')
| -rw-r--r-- | docs/Add-a-module.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/Add-a-module.md b/docs/Add-a-module.md index a124bec..1f5f846 100644 --- a/docs/Add-a-module.md +++ b/docs/Add-a-module.md @@ -3,7 +3,7 @@ 1. Get the Module From this website [http://www.azerothcore.org/modules-catalogue/](http://www.azerothcore.org/modules-catalogue/) -2. Clone it, or download. +2. Clone it using git (recommended) or just download it 3. I'll use this for Exmple: [http://www.azerothcore.org/modules-catalogue/details.html?id=177019524](http://www.azerothcore.org/modules-catalogue/details.html?id=177019524). 4. Once you downloaded it or cloned: ( Extract it, you will have than Folder looks like this : [[/images/1.png]] @@ -12,7 +12,7 @@ 5. Copy this folder you will have to paste it in next steps: [[images/2.png]] -6. Now go in your AzerothCore folder in my case it's: C:\azerothcore-wotlk-master +6. Now go in your AzerothCore folder (for example C:\azerothcore-wotlk-master) 7. When you are there, you will see there folder named modules like on this image: [[images/3.png]] @@ -33,14 +33,14 @@ And it will look like this when you paste it there : 12. And you are done. P.S You have also to check in the module folder (SQL folder) if there is any .sql file required to be executed in your database ( Like on this image ) : [[images/8.png]] - than World : + then World : [[images/9.png]] -- Yes, this module have SQL which need to be executed in your World Database : +- this module has an SQL file which needs to be executed in your World Database : [[images/10.png]] - Let's do it : -13. Open it with any text editor, or run it directly : ( I'll use Editor ) +13. Open it with any text editor and copy all content from the file, or run it directly : ( I'll use Editor ) This is what i have there : ``` @@ -55,7 +55,7 @@ INSERT INTO `creature_template` (`entry`, `modelid1`, `name`, `subname`, `minlev (@NpcEntry, @NpcDisplayID, @NpcName, @NpcSubname, @NpcLevel, @NpcLevel, 35, 1, 1, 1.14286, 1, 1, 0, 2000, 2000, 2, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 50, 50, 1, 0, 0, 1, 0, 0, 'npc_visualweapon', 12340); ``` -14. So, We have to run this query in the Database, Let's do it. +14. So, We have to run (paste) this query in the Database, Let's do it. Open your DB Program ( Example : Navicat, HeidiSQL ) and run our code there, in this way : [[images/11.png]] |
