Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: slyceR on November 07, 2014, 07:56:03 pm

Title: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 07, 2014, 07:56:03 pm
hello there,

i have 2 maps with the same tilesets example 33_31 etc. on 2 different maps.
on the other map shows me the /who list the name of the other map.

in the areatable.dbc and map.dbc is all correct.

i dont understand that.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Steff on November 07, 2014, 10:05:58 pm
Read Areaid painter section in noggit manual.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 08, 2014, 11:36:44 pm
I know the AreaID-System the problem is that the isle of magic and schreckensinsel from my custom patch are on 2 different maps. the maps have the same tileset numbers 31_31 etc.

the isle of magic shows me the name "dämmerwald" in the areatable is "Insel der Magie"! i have painted all zones. on the schreckensinsel shows me the /who list "Insel der Magie" on the minimap "Schreckensinsel" i dont know why.

sorry for my bad english
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Steff on November 09, 2014, 10:36:16 am
Area IDs are not maped to the adt id: It is directely saved inside the adt.

AreaTable.dbc relates to Map.dbc
AreaID is linked direct in adt.

You need for every map its own entrys in Map.dbc and in AreaTable.dbc
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 09, 2014, 01:26:39 pm
I know i do that! - I create for every map a own entry in Map.dbc and AreaTable.dbc
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Laduguer on November 10, 2014, 09:08:53 pm
Make sure column 23 in your Map.dbc entry is linked to the Areatable.dbc ID of the main area on that map.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 10, 2014, 09:28:48 pm
Quote from: "Laduguer"
Make sure column 23 in your Map.dbc entry is linked to the Areatable.dbc ID of the main area on that map.

It doesnt work! Here is my patch-4.MPQ, i dont know what i make wrong.
The Map "Schreckensinsel" shows the Name "Insel der Magie"! And the Isle of Magic shows me Dämmerwald or "Unknown".

Is the Problem that i use the same ADT number?

http://nefarian-wow.com/files/patch-4.rar (http://nefarian-wow.com/files/patch-4.rar" onclick="window.open(this.href);return false;)

Greets
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 11, 2014, 05:34:14 pm
Any Ideas?

Hat keiner eine Idee?
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Laduguer on November 11, 2014, 07:00:14 pm
Hmm, everything looks fine in the .dbc to me. Have you tried clearing your cache and WTF folders?
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 11, 2014, 08:09:25 pm
Yes i delete the Cache and WTF folder every time.
I dont know what is wrong.

Laduguer do you have Skype, ICQ or something?
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 12, 2014, 01:20:53 am
Here is a Picture from Noggit! Ingame shows me the /who Insel der Magie and Area 5001...

Here is the Picture from my .gps! He shows me on Schreckensinsel in Zone 5001 Insel der Magie. In Noggit is 5000 Schreckensinsel.

[attachment=0:1whwdit3]Screenshot_1.jpg[/attachment:1whwdit3]
[attachment=1:1whwdit3]Screenshot_1.jpg[/attachment:1whwdit3]
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Jøk3r on November 12, 2014, 06:52:14 am
Is your server setup right?
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Amaroth on November 12, 2014, 10:27:07 am
I have had the same problem on blizzlike ADTs modded by my own areas and never was actually able to solve it. Map problem? Core problem? Not sure at all. I just never tryed to actually do something about this. .gps will show you everywhere, where server cannont find where the hell are you, the last area in AreaTable.dbc. This would be question for guys like stoneharry, who like to tinker with all kinds of scripts.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 12, 2014, 04:58:04 pm
Quote from: "Jøk3r"
Is your server setup right?
Yes it is! - When i put a Map side on side with a another map its all okay. when i put a map with example map number 810 on the same adts he give me that fuc.... problem!
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Steff on November 12, 2014, 05:27:28 pm
Gps and list mapnames are from server.  The one over the minimap is from client.
I think you maps files and or serverside dbcs are wrong.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 12, 2014, 07:08:22 pm
Quote from: "Steff"
Gps and list mapnames are from server.  The one over the minimap is from client.
I think you maps files and or serverside dbcs are wrong.

I recompile my Mapfiles and i upload all dbc files again.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 12, 2014, 11:13:44 pm
I doesnt work....
i have no idea....

Schreckensinsel -> 5000 Schreckensinsel
Insel der Magie -> 5001 Insel der Magie

on the realm

Schreckensinsel -> 5001 Insel der Magie
Insel der Magie -> 5001 Insel der Magie

...
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Amaroth on November 13, 2014, 01:17:34 pm
There is also one little problem when you are extracting maps from your WoW I found. Extractors are extracting DBCs from Locale directories and don't even try to look for them in root Data file. That means that DBCs are extracted blizzlike, if you don't have modified map extractors or if you place your DBCs just into some patch in Data, not in Locale folder. That might actually mean that during creating of map files blizzlike DBCs are used, not your modified ones.

In fact its probably not so simple.  I have my modified DBCs in Locale folder and still have problems very similiar to yours - server keeps having problems recognizing correctly where the hell my character is when I type .gps. Friend of mine said something about core related problem, but I haven't investigated it any further, because I can't do a **** in a core and I don't want to start learning it.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 13, 2014, 04:33:38 pm
Quote from: "Amaroth"
There is also one little problem when you are extracting maps from your WoW I found. Extractors are extracting DBCs from Locale directories and don't even try to look for them in root Data file. That means that DBCs are extracted blizzlike, if you don't have modified map extractors or if you place your DBCs just into some patch in Data, not in Locale folder. That might actually mean that during creating of map files blizzlike DBCs are used, not your modified ones.

In fact its probably not so simple.  I have my modified DBCs in Locale folder and still have problems very similiar to yours - server keeps having problems recognizing correctly where the hell my character is when I type .gps. Friend of mine said something about core related problem, but I haven't investigated it any further, because I can't do a **** in a core and I don't want to start learning it.

Its a stupid problem! - I hope i can make this work.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: ferreon on November 14, 2014, 01:47:28 pm
Quote from: "Steff"
I think you maps files and or serverside dbcs are wrong.

I have the same problem, in the area it shows the last AreaTable.dbc entry, tried with new source, new dbcs but without results. I thinks extractors (mapextractor and vmap4extractor for me) needs an update or something...

In my case I can't open mop adts in noggit so I have to work with blizzlike areaids and in gps I can see only the last entry...

Quote from: "Amaroth"
There is also one little problem when you are extracting maps from your WoW I found. Extractors are extracting DBCs from Locale directories and don't even try to look for them in root Data file. That means that DBCs are extracted blizzlike, if you don't have modified map extractors or if you place your DBCs just into some patch in Data, not in Locale folder. That might actually mean that during creating of map files blizzlike DBCs are used, not your modified ones.

In fact its probably not so simple. I have my modified DBCs in Locale folder and still have problems very similiar to yours - server keeps having problems recognizing correctly where the hell my character is when I type .gps. Friend of mine said something about core related problem, but I haven't investigated it any further, because I can't do a **** in a core and I don't want to start learning it.

Of course, in my case im replacing patch-xxXX-X.MPQ dbcs with my areatable and map.dbc (in all Data/xxXX patches) to be sure that the extractor only read my dbcs not blizzlikes one. And then I put my WorldMapsHawaiiMainLand in all Data/ patches, to be sure the extractor read without problem.

The last try that I did was open each adt in 010 editor to edit AreaID, but the adt crash ingame. Don't know why...

Each areaID ...
(http://i.imgur.com/T14HDDX.png)

... of each row of each ADT
(http://i.imgur.com/x9ev71t.png)
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Steff on November 14, 2014, 05:46:43 pm
The original teinity core dont handle custom maps.  You have to change the extractor to make it work.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Amaroth on November 15, 2014, 10:13:25 am
Where is problem? Only in selection of loaded and used input data? I found sources of TC extractorsm but meh... I'm really no C++ coder and never seen those sources before. I don't know what to look for at all.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 16, 2014, 10:49:43 pm
The Problem is the TrinityCore not the Mapextracor! The Extractor read only the dbc and load the map in the mapfile.

the trinitycore dont read the custom map! i try to implement the map
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Amaroth on November 17, 2014, 10:36:50 pm
Quote from: "slyceR"
The Problem is the TrinityCore not the Mapextracor! The Extractor read only the dbc and load the map in the mapfile.

the trinitycore dont read the custom map! i try to implement the map
Sorry sir, you wrote bullshit :D. No fun now, I am using blizzlike map #37; PvPZone02. No custom map. Custom ADTs? Yep. Custom zones and areas? Yep. But no custom map used for me. Btw, I encountered the same problems while editing Arathi and Hillsbrad.
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: slyceR on November 18, 2014, 01:37:47 pm
Quote from: "Amaroth"
Quote from: "slyceR"
The Problem is the TrinityCore not the Mapextracor! The Extractor read only the dbc and load the map in the mapfile.

the trinitycore dont read the custom map! i try to implement the map
Sorry sir, you wrote bullshit :D. No fun now, I am using blizzlike map #37; PvPZone02. No custom map. Custom ADTs? Yep. Custom zones and areas? Yep. But no custom map used for me. Btw, I encountered the same problems while editing Arathi and Hillsbrad.

When i wrote bullshit solve this problem! - The TrinityCore Owner self wrote me that the problem in the trinitycore not in the mapextrator.

I found the right place in the core to solve this problem
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: ferreon on November 18, 2014, 02:10:13 pm
So... Can you tell us which part we have to edit to solve it?
Title: Re: [QUESTION] [PROBLEM] Map-Names show wrong!
Post by: Amaroth on November 18, 2014, 02:16:57 pm
Take it easy, I was joking :D. And I hoped you will be able to recognize it in my post. So, will you tell us? I heared the same from ony of my collegues, but never went deeper into it.