From 9f585b73ce691fcc8331caeb1ec049bc89f80d15 Mon Sep 17 00:00:00 2001 From: Poszer <41213210+poszer@users.noreply.github.com> Date: Sun, 23 Jun 2019 18:37:38 +0200 Subject: Update Add-a-module.md Showing correctly images --- docs/Add-a-module.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/Add-a-module.md b/docs/Add-a-module.md index 96c212e..959d9e7 100644 --- a/docs/Add-a-module.md +++ b/docs/Add-a-module.md @@ -6,38 +6,38 @@ 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]] +![Image]() 5. Copy this folder you will have to paste it in next steps: -[[images/2.png]] +![Image]() 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]] +![Image]() 8. Open that folder modules -> It will look like this : -[[images/4.png]] +![Image]() 9. Paste there your downloaded module ( That we use in step 4., in my case we use : NPC Services Module And it will look like this when you paste it there : -[[images/5.png]] +![Image]() 10. Than, open Cmake -> Press Configure -[[images/6.png]] +![Image]() 11. Than press Generate : -[[images/7.png]] +![Image]() 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]] +![Image]() then World : -[[images/9.png]] +![Image]() - this module has an SQL file which needs to be executed in your World Database : -[[images/10.png]] +![Image]() - Let's do it : 13. Open it with any text editor and copy all content from the file, or run it directly : ( I'll use Editor ) @@ -57,7 +57,7 @@ INSERT INTO `creature_template` (`entry`, `modelid1`, `name`, `subname`, `minlev 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]] +![Image]() 15. We are done now. Go in game and spawn this NPC with command .npc add 55003 @NpcEntry = 55003 <---- This is our NPC ENTRY -- cgit