Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Tutorials => Topic started by: Sebbo on October 14, 2010, 05:26:52 pm

Title: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:26:52 pm
[center:2ax2nlmf](http://imagr.eu/up/4cb6e4ad8d6403_0_Logo.png)[/center:2ax2nlmf]

[center:2ax2nlmf]Level Design[/center:2ax2nlmf]



[center:2ax2nlmf]- set up your custom Maps with a WoW Server -[/center:2ax2nlmf]


[center:2ax2nlmf](c) Sebbo[/center:2ax2nlmf]


Directory



1 Set up your custom Maps with a WoW- Server
1.1   Introduction (http://modcraft.io/viewtopic.php?f=22&t=255#p1259)
1.2   Basic knowledge (http://modcraft.io/viewtopic.php?f=22&t=255&p=1258#p1260)
1.3   Set up your custom Maps
1.3.1   MPQ creation (http://modcraft.io/viewtopic.php?f=22&t=255&p=1258#p1261)
1.3.2   DBC replacement (http://modcraft.io/viewtopic.php?f=22&t=255&p=1258#p1262)
1.3.3    Includes collision *coming soon*
1.4   Travel to your continent
1.4.1   Through GM commands or SQL (http://modcraft.io/viewtopic.php?f=22&t=255&p=1258#p1263)
1.4.2   Through Instance portal (SQL or C++) *coming soon*
1.4.3   Through World transporter *coming soon*
Credits (http://modcraft.io/viewtopic.php?f=22&t=255&p=1258#p1265)
Title: Re: Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:30:51 pm

1    Set up your custom Maps with a WoW Server
1.1    Introduction



-> This guide is based on a trinity core and WoW Woltk Patch rev. 3.3.2.a (11403). <-



Hello Guys,

Today I will introduce you how easy it is to set up your custom maps with your
WoW Server.

Of late i read a lot of post with the question “How can I include my custom maps in a WoW-Server?”. So there came up the image to share my knowledge with you and the idea of this guide was born.

Offline Guide Version (http://filebeam.com/df88a2f062a9e1886ce75434b925a7f3)



Tools




Of course you can use your favoured programs if they work the same way.
Title: Re: Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:32:46 pm

1.2   Basic knowledge


Before we can start you must have to know Basics about WoW emulation and worldbuidling.
 There are many excellent guides in this Forum about WoW modding. Subsequent a list of important posts that will be help to understand my guide.

Welcome to WoW modding (Beginners)

- A guide about the basics differences between Server- and Clientmodding (http://modcraft.io/viewtopic.php?f=22&t=223)

[TUTORIAL]  Modding basics.
- A guide about the basics files formats that are used in WoW (http://modcraft.io/viewtopic.php?f=26&t=98)

[TUTORIAL] World building Basics

- A guide about the basics of world creation (http://modcraft.io/viewtopic.php?f=22&t=26)

Wiki pages:
- WoW-modding Wiki (http://madx.dk/wowdev/wiki/index.php?title=Main_Page)
- Basics about server emulation (http://en.wikipedia.org/wiki/Server_emulator)

Core Wiki:
- Trinity core (http://www.trinitycore.info//index.php?title=Main_Page)
- Mangos core (http://getmangos.com/wiki/Main_Page)
- Arcemu core (http://arcemu.org/wiki/index.php?title=Main_Page)
Title: Re: Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:34:43 pm

1.3   Set up your custom Maps


1.3.1   MPQ creation


Already there exists a tutorial that show’s how you create a MPQ archive. Read this first, before you carry forward.  

[Tutorial] MPQ/Patch Basics

- A guide about creation of MPQ files (http://modcraft.io/viewtopic.php?f=26&t=41)

If you understand all about MPQ archives we can finally start to convert our map files.
At the beginning you have to create two folders on your hard disc. Name one “DBFilesClient” and the other “world”.
(The folders should be named without the Symbol :D).
(http://imagr.eu/up/4cb6fec8110fa7_01.png)

Now create a subfolder at “world” and name them “maps”.
(http://imagr.eu/up/4cb6f5dbd621e9_1.png)

At the folder “maps” create another subfolder named “*put your map name here*” (the new folder must have exactly the same name like your continent and .ADT and .WDT files are named).

-> Notice: (for example)<-


I will create a new continent of 2x2 ADT’s and name them “Sebbo”.
So I have to create a folder included in my “world” folder and entitle this new folder “Sebbo”. The files I get out of tallis are my .ADT and .WDT files also called “Sebbo”:

Files:
Sebbo.wdt
Sebbo_0_0.adt
Sebbo_0_1.adt
Sebbo_1_0.adt
Sebbo_1_1.adt

(http://imagr.eu/up/4cb6f7059687f7_2.png)

Finally the folder structure should look like this:
…DBFilesClient
…worldmaps*put your map name here*

Ok back to the topic.
After you have create all 4 folders (DBFilesClient, world, maps, *put your map name here*) we can go on with the copy of our map files.

Copy your edited Map.dbc that includes a row of your new continent in the “DBFilesClient” folder.
(http://imagr.eu/up/4cb6f8a8342792_3.png)

After this you have to copy all the content of your continent folder (this means all .adt files that are registered in the .wdt file) into the “*put your map name here*” folder. It is very important that you copy all .adt files that are registered in the .wdt file. If you forgot one file WoW will be crash.
(http://imagr.eu/up/4cb70085390762_4.png)

(http://imagr.eu/up/4cb7010643a315_5.png)

-> Notice: <-


You don’t have to copy always the whole content of your continent folder, because WoW crash only when the .wdt file is searching for .adt files that doesn’t exist or can’t be located. So it’s possible to edit the .wdt file if you only want to visit 1 .adt file in game.

When you do all the copy acts we can go on to create our own WoW-Patch.
Open your favoured MPQ-program and include the “DBFilesClient” and “world” folder. (It is very important that your MPQ-archive look like this.)
(http://imagr.eu/up/4cb701ffae5a09_6.png)

-> Notice: <-


The MPQ folder structure for overwrite files like the Map.dbc is very important for WoW. Because you can always overwrite an existing WoW file with a custom Patch, if the involved files have the same MPQ structures.

If you get all this orders you have to save your MPQ file. Name the file like this “patch-deDE-4.MPQ”. The number must be the highest in the order of all patch files from your “WoWData*client language*” folder. Name the “deDE” in dependence on your client language. I have a German client so it named deDE. If you have an English client it named for example enGB and so on.
Get confident that your custom patch has a file extension .MPQ that is written in capital letters.
(http://imagr.eu/up/4cb70360683678_7.png)

-> Notice: <-


The Patch preference. If Wow is start it will first load all WoWData Patches from low to high. Next the WoWData*client language* Patches will be load. Also from low to high. So you want that your Patch works always, create the highest Patch in the WoWData*client language* folder. Of course you can create an Patch in your
WoWData folder, but be confident no patch in the language folder will overwrite the included files.

Last but not least copy your custom patch in your wow “WoWData*client language*” folder.
(http://imagr.eu/up/4cb7044f51c8d4_8.png)
Title: Re: Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:35:44 pm

1.3.2   DBC replacement


After the creation of a custom patch your WoW-Client get all show-off informations about your world build.
If you want to visit it your Server needs information about the place where it is.
These informations are written in the Map.dbc. So you have the choice to overwrite your Map.dbc in your Server folder with your Map.dbc from DBFilesClient folder. Also you can edit the Map.dbc in your Server folder that includes a row with your continent.
(http://imagr.eu/up/4cb7057d491832_9.png)

(http://imagr.eu/up/4cb705bac9d413_10.png)

(http://imagr.eu/up/4cb7060be0c808_11.png)

-> Notice: <-


The Map.dbc advises the Server where the continent is and what the MapID of it is. Also it tells what coordinates the continent have. Without this information you can’t get on your continent by dint of the gm.teleport.command.xyz or everything else.
Title: Re: Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:37:10 pm

1.4   Travel to your continent


In public there are many ways to get on your Maps. Now I will show you the two basic methods.

At first we have to look up a point on our continent where we will be teleported.
Open your Noggit and look at the lower line.
(http://imagr.eu/up/4cb70712d09f86_12.png)

Write down or notice these 3 coordinates. (X, Y, Z). In my case it would be X=15874.3, Y=15897.2 and Z=133.580.
Now we need the MapID to enter the new continent. The MapID you can find in your Map.dbc. It is the number forwards your Map name in the Table section.
(http://imagr.eu/up/4cb70897a6fcd8_13.png)

With these informations you are able to visit your custom continent.

First method: -> using the .go xyz command <-


NOTICE:


The newer Version of noggit support this. The key 'g' on your keyboard the SDL version of noggit saves you current position into the file "ports.txt" in the noggit folder. Therein you can find directly usable port commands for ArcEmu and Trinity!

To the Tutorial


Login the Server as GM.
Open your chat bar (standard pressing the enter button) an enter

.go X-coordinate Y-coordinate Z-coordinate MapID”.

Enter your coordinates and MapID you searched for. (Make the entry without the Symbol :D)

In my case the command would look like
“.go 15874.3 15897.2 133.580 720
(http://imagr.eu/up/4cb7099d39d497_14.png)



For users with SQL-knowledge only


Second method: -> adding a teleport entry in the SQL-Database <-


Open your favoured SQL-Tool and connect to your Server. Open the World database.
(http://imagr.eu/up/4cb70a43f16a22_15.png)

Open the game_tele database.
(http://imagr.eu/up/4cb70a61a88e54_16.png)

Scroll down to the last entry and make a new one.
(http://imagr.eu/up/4cb70a8f88efc7_17.png)

Description of the fields:
Id - the ID is a unique ID of the teleporter location. (It is usual to add an ID that is one number higher than the last number in the Database.)

position_x - your X-coordinate

position_y - your Y-coordinate

position_z - your Z-coordinate

orientation - the orientation that the player will have after teleporting (it’s a number between 0 and 7. you can look up an orientation with the .gps command. Turn your character in the way you wish and enter the .gps command in the Chat bar.)

map - your MapID

name – the name of the location

In my case the entry looks like
(http://imagr.eu/up/4cb70dcd311233_18.png)

At the end you have to reload your game_tele database or restart your server.
To reload the database in game, use the reload command. (.reload game_tele)

After this is done you are qualified to teleport to your location by using the .tele command.
In my case the entry looks like
.tele sebbo
(http://imagr.eu/up/4cb70e420b2376_19.png)

The best way to keep up your SQL-database clean is the usage of batch files.
So you can also create a .txt file on your hard disc and batch them into your SQL.
For example the entry of the batch files look like
(http://imagr.eu/up/4cb70eabba5bb5_20.png)

Feel free to modify this line to your own :D!
Finally you see there are many ways to connect to your own continent.
Title: Re: Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:39:24 pm
[center:6j1e9nwn]

-> Congratulation <-


You are able to set up your custom maps and enter them in game.




It’s me!
(http://imagr.eu/up/4cb710b33d46f3_21.png)


(http://imagr.eu/up/4c151f4593365_lala.png) (http://modcraft.io/viewtopic.php?f=22&t=26&p=69#p69)[/center:6j1e9nwn]
Title: Re: Set up your custom Maps with a WoW Server
Post by: Sebbo on October 14, 2010, 05:40:34 pm
Credits

Thanks to Eluo
– for his beautiful guids about the basics of WoW-Modding and Worldbuilding.

Thanks to Steff
– for his beautiful guids about the basics of WoW Files.

Thanks to Jack
– for his beautiful guids about the basics of MPQ creation.

Thanks to everyone I forgot!

 

I hope this short guide helps somebody! ;)
Title: Re: Set up your custom Maps with a WoW Server
Post by: SinisterX on November 22, 2010, 04:26:53 am
When we are editing existing adts, let say for example: The blocked Gilneas area in normal wow. (I'm thinking about creating my own little Gilneas there).

Once we've edited and saved our changes with noggit and have created our MPQ: (patch-enUS-4.MPQ).

We don't need to edit the map.dbc, or the server side dbc, right? Because these maps are already referenced. (They aren't new maps, just old adts that have been edited).

I did a little test. Followed the exact file structure for the adts. And my area changes don't show up in WoW. Do we need to use a model hack, in order to get the patch working? I'm using wow 3.3.3

-Thanks in advance.
Title: Re: Set up your custom Maps with a WoW Server
Post by: Eluo on November 22, 2010, 04:06:37 pm
patch-enUS-4.MPQ for dbc lua ect and interface files.
patch-4.MPQ for normal files like blp,adt wmo m2 ect.
Title: Re: Set up your custom Maps with a WoW Server
Post by: zimbb on December 28, 2010, 10:18:54 am
when i tele to my location .tele Gilneas ut shows only loadscreen and loadbar.
I made all changes in base of server. But it wont tele to my map.
When i relog and Enter world whith my character(wich teleported to gilneas(my custom)) game crashes.

*edit*
Oops! I fix it. My dbc files was in patch-5 mpq file. I put dbfilesclient folder in ruRU(lang) and create mpq and name it as patch-ruRU-5 and all work.

p.s.: Soon i`l make tutorial how to add water.
p.s.s.: Sorry for my bad known of English lang  :ulol:
Title: Re: Set up your custom Maps with a WoW Server
Post by: glararan on May 03, 2011, 07:51:25 pm
Hi i have mini problem:D when i use party in custom location Core crash.Where can be problem?.
Title: Re: Set up your custom Maps with a WoW Server
Post by: Ndogg on June 12, 2011, 09:35:42 am
Noggit doesn't work for me, does that mean I cant edit maps?
Title: Re: Set up your custom Maps with a WoW Server
Post by: Steff on June 12, 2011, 11:14:05 pm
And why it not work. I know it works for over 40 people i pers. know.
So why not for you?
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: Shruik on September 13, 2011, 10:46:59 pm
I´m really sorry for asking this question but it doesn´t want to work on my pc...
I followed exactly the tutorial but when i´m porting myself on the map (.worldp 750 1 1 1 on arcemu) i just get that loadingscreen with the dwarf holding his hammer (i guess its the crash or freeze screen) and nothing happens. No wow error , no core error. I verified all the informations twice and even made 2 patchs (patch-5.MPQ for ./world and patch-deDE-5.MPQ for DBFilesClient) but i always ends up like this... do you have any idea of what i could do?
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: Eluo on September 21, 2011, 03:26:44 pm
Uhh no problem (yeah normally pushing is bad and you shouldn't do it blabla).

As you described it it sounds like as if you added either a old dbc or you made something wrong in the dbc.
Are you sure that you added it to the server?
The server will port you anywhere , even if the mapid doesn't exsist(why don't they deactivate that?!).
So
1) check your dbc again (a: is it the newest? b: did you make sth. wrong in the dbc?)
2) Did you insert the modified dbc in the server?
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: zdroid9770 on December 30, 2011, 06:47:46 am
I did everything it said in the Tut but i'm stuck at getting the coordinates...but Noggit is not getting it. What to do?? :( :?


Here's the patch plus whats in it:

(http://imageshack.us/photo/my-images/32/55787565.png/)




Here's Noggit (i checked all the tabs) :

(http://imageshack.us/photo/my-images/11/16180715.png/)
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: Migaoli on January 01, 2012, 11:19:14 pm
at first I would like to thank you for this very nice tutorail
but I have one problem.

When I start noggit I cant chose an area anymore.
Here is a screenshot:
http://pic.leech.it/pic.php?id=46216a93unbenannt.jpg
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: nasteey on January 21, 2012, 03:09:37 pm
I have the same problem az Shruik. I downloaded Steff's custommap1, edited it, packed it in an MPQ, edited map.dbc (i did these all like i did it before with my 2 own custom maps and they work). However, the loading screen appears and it stucks, and if i restart the game i get a nice wowerror.
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: Steff on January 22, 2012, 08:28:50 pm
1. Recreate WDT with taliis form zero and use auto scan folder.
2. Move all ADTs out of your patch and start with 1. If this works add more and more till it crash if you are at the location of the adts
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: picachuu on February 12, 2012, 12:19:02 am
I really liked your tutorial, but I do everything else consigui when I enter the custom map I created the fatal error look at the picture:

(http://img28.imageshack.us/img28/8650/mpqerror.jpg)

I believe the error was on my patch.MPQ, give me a help please!!


here is download my patch please a look if I did something wrong = (

http://www.mediafire.com/?4gghd7rl6t59t8t (http://www.mediafire.com/?4gghd7rl6t59t8t" onclick="window.open(this.href);return false;)

(my wow is english)
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: picachuu on February 12, 2012, 12:24:01 am
I really enjoyed your tutorial, I did everything you told me more when I get into the game to try and go on my map has an error, the map was created successfully but I think the problem was the patch there is an image:

(http://img28.imageshack.us/img28/8650/mpqerror.jpg)

I'm pretty sure I entered the patch (I looked at the tutorial on how to make a patch.MPQ) ai download this peopl you a look at the patch, see if there is any error, download:

http://www.mediafire.com/?4gghd7rl6t59t8t (http://www.mediafire.com/?4gghd7rl6t59t8t" onclick="window.open(this.href);return false;)
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: longkallsong on August 06, 2012, 02:10:29 pm
Is there any way to do this in Arc Emu ? its the only serversoftware i REALLY maaster :)
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: detonatorss on August 06, 2012, 02:20:51 pm
good tutorial but in my pc not works the custom continents TT i dont know why but not works TT
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: longkallsong on August 06, 2012, 07:16:52 pm
Any way to do this with arc emu ??
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: mike1084 on August 08, 2012, 10:59:20 pm
Quote from: "longkallsong"
Any way to do this with arc emu ??
Yes. Simply try following the tutorial, and you'll have pretty much no problems considering the core you are using. ;)
The only thing that's different is the .go command. In an ArcEmu server, the command would be .worldport

Other than that, there is actually little interaction with the core anyway. It's mainly client editing, so you should be good to go. ;)

If you've got any problems, don't hesitate to ask! Good luck.
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: Steff on August 09, 2012, 06:09:48 am
And if you are in noggit just press G and then have a look in the ports.txt. Only in SDL1.1.
Title: Re: [TUTORIAL] Set up your custom Maps with a WoW Server
Post by: Nupper on August 17, 2012, 06:16:19 pm
if your getting this error is because the map dose not have the Folders/adts for it.