Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Piccolodmq on January 16, 2017, 07:18:21 pm

Title: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 16, 2017, 07:18:21 pm
Hi there

I compiled a server a few months ago (3.3.5a trinitycore), and back then it work just fine.    I exctracted my Maps, dbcs mmaps vmaps etc, and everyone was fine.

Somehow in the road I managed to get thos files deleted.   So when I try to extract them again from a clean client (with map exctractors) but, they wont work.  ( I get the jumping in the Air problems).  

I tried alredy extracted maps from jeutys or other recent repack, and world server wont start.

So what can I do?  If I just use maps, I can run the server, but with mmaps and vmaps it looks really glitchy.



Another issue that i dont know if it has solution, is how to have mmaps and vmaps for custom maps?  (like Pandaria).

Thanks a lot!
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 16, 2017, 09:29:59 pm
It depends on amount of custom content you are using. If you have heavily modified maps or even custom maps, consider following my guide for making 100% sure that server side files are extracted in an actual up to date and full version, taking into account all modifications you have done.:
http://www.model-changing.net/tutorials ... aps-mmaps/ (http://www.model-changing.net/tutorials/article/83-extracting-maps-vmaps-mmaps/" onclick="window.open(this.href);return false;)
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 17, 2017, 12:51:59 am
Quote from: "Amaroth"
It depends on amount of custom content you are using. If you have heavily modified maps or even custom maps, consider following my guide for making 100% sure that server side files are extracted in an actual up to date and full version, taking into account all modifications you have done.:
http://www.model-changing.net/tutorials ... aps-mmaps/ (http://www.model-changing.net/tutorials/article/83-extracting-maps-vmaps-mmaps/" onclick="window.open(this.href);return false;)


What I have been doing is extracting maps from a clean client.   With no result so normal áreas like teldrasil,  hace The NPC Jumping And are going through The floor.

I wanted to fix that before trying with custom.content.  

What I have is Kronixusa cusom maps.  Should I put all oficina the maps data un patch 3 try And extract the custom maps?
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 17, 2017, 11:06:22 am
If that client is really clean, this shouldn't be happening to you, at least not as long as you have vmaps and mmaps actually turned on in worldserver config and as long as you don't have NPCs with incorrect waypoints which actually make them go somewhere to the sky/under the ground.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 17, 2017, 05:15:25 pm
Quote from: "Amaroth"
If that client is really clean, this shouldn't be happening to you, at least not as long as you have vmaps and mmaps actually turned on in worldserver config and as long as you don't have NPCs with incorrect waypoints which actually make them go somewhere to the sky/under the ground.

No idea what I am doing wrong, I use your tutrial (with the BAT file) to get vmaps etc.   Could it be that  i need an specifific map extractor from an specific date or version?  I did go to the config file and everything is in theory correct.

You have any links to a confirmed working maps vmaps and  a mmaps files?
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 17, 2017, 07:33:50 pm
Server side maps are 2-3GBs big. Too much for me to upload :X.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 18, 2017, 05:07:05 am
Quote from: "Amaroth"
Server side maps are 2-3GBs big. Too much for me to upload :X.

Just to make sure I understand your guide.   I have to put all the custom maps in my patch-3  folder, run all the map , vmaps and mmaps extractors (with your bat file), and it should get the maps working with custom maps?  

Can i put the maps in their previous patches back or for them to run should I leave them all in patch-3?

Thank you!
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 18, 2017, 11:34:13 am
Just make sure that you don't have one part of a custom/modified map in patch-3 and older version of it in some previous patch (especially WDT). Extractors love to use outdated data in such cases, or even report that some data are missing and leave map unextracted.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 18, 2017, 02:08:18 pm
Quote from: "Amaroth"
Just make sure that you don't have one part of a custom/modified map in patch-3 and older version of it in some previous patch (especially WDT). Extractors love to use outdated data in such cases, or even report that some data are missing and leave map unextracted.


So custom patches aside, I cant get itto work on a clean client extract.  this what the log says.

>> World database is up-to-date! Containing 563 new and 1259 archived updates.
Realm running as realm ID 1
Using World DB: TDB 335.62
Missing name MonsterSight in config file C:/BUILD2/bin/Release/worldserver.conf, add "MonsterSight = 50.000000" to this file
Missing name Quests.DailyResetTime in config file C:/BUILD2/bin/Release/worldserver.conf, add "Quests.DailyResetTime = 3" to this file
Will clear `logs` table of entries older than 1209600 seconds every 10 minutes.
Using DataDir ./
WORLD: MMap data directory is: ./mmaps
VMap support included. LineOfSight: 1, getHeight: 1, indoorCheck: 1
VMap data directory is: ./vmaps
VMap file './vmaps/000.vmtree' does not exist
Please place VMAP-files (*.vmtree and *.vmtile) in the vmap-directory (./vmaps/), or correct the DataDir setting in your worldserver.conf file.
Unable to load critical files - server shutting down !!!


:(
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Ascathos on January 18, 2017, 07:19:57 pm
Quote from: "Piccolodmq"
VMap support included. LineOfSight: 1, getHeight: 1, indoorCheck: 1
VMap data directory is: ./vmaps
VMap file './vmaps/000.vmtree' does not exist
Please place VMAP-files (*.vmtree and *.vmtile) in the vmap-directory (./vmaps/), or correct the DataDir setting in your worldserver.conf file.
Unable to load critical files - server shutting down !!!

This should tell you everything you need. óo
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 18, 2017, 07:48:55 pm
Quote from: "Ascathos"
Quote from: "Piccolodmq"
VMap support included. LineOfSight: 1, getHeight: 1, indoorCheck: 1
VMap data directory is: ./vmaps
VMap file './vmaps/000.vmtree' does not exist
Please place VMAP-files (*.vmtree and *.vmtile) in the vmap-directory (./vmaps/), or correct the DataDir setting in your worldserver.conf file.
Unable to load critical files - server shutting down !!!

This should tell you everything you need. óo


I do see that is missing .vmtree and .vmtile but there are many files like that in the file.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 18, 2017, 08:07:35 pm
Have you considered a possibility that its just an incorrect path in a config file?
Use:
DataDir = "."

if you want to place vmaps into a folder where your .exe are.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 19, 2017, 12:08:23 am
Quote from: "Amaroth"
Have you considered a possibility that its just an incorrect path in a config file?
Use:
DataDir = "."

if you want to place vmaps into a folder where your .exe are.


THis is where my mmaps maps vmaps are located

C:BUILD2binRelease

Is that ok?  if so, is that the "location i should put in the, DataDir = "." in the config file?

should it look like this?
DataDir = "C:BUILD2binRelease"

Thanks!
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 19, 2017, 11:15:09 am
I said:
DataDir = "."

Not:
DataDir = "C:BUILD2binRelease"

;). The second one might work, but I am unsure if it really will. Keep on mind that TC has been made to run on Linux server, not on local Windows computer. I really mean "put only a . symbol there and nothing else". Because setting it as it was running on a Linux definitely always works, what you have put there very likely won't.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 21, 2017, 03:01:21 am
Quote from: "Amaroth"
I said:
DataDir = "."

Not:
DataDir = "C:BUILD2binRelease"

;). The second one might work, but I am unsure if it really will. Keep on mind that TC has been made to run on Linux server, not on local Windows computer. I really mean "put only a . symbol there and nothing else". Because setting it as it was running on a Linux definitely always works, what you have put there very likely won't.


So thanks to you I got everything working.

now step 2 for me is try to get Kronixusa cata and Mop maps into patch-3, and try to run the extractors.  I am guessing this could get the NPC´s to "use" this maps correctly.   Meaning if i manually spawn a npc in a zone that previously there wasnt nothing (for example Catastormwind has different loactions thatn WOTLK stormwind).  

is this even posible?

Thanks!

http://www.model-changing.net/tutorials ... aps-mmaps/ (http://www.model-changing.net/tutorials/article/83-extracting-maps-vmaps-mmaps/" onclick="window.open(this.href);return false;)
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 21, 2017, 11:30:26 am
Ofc it is. Once you successfully make extractors generate server side maps based on up to date stuff, everything works fine, unless some models (usually WMOs) are really, really horribly broken. And I have seen that happening only with custom WMOs made by Mirror Mashine, not with retro ported ones.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 23, 2017, 05:01:18 am
Quote from: "Amaroth"
Ofc it is. Once you successfully make extractors generate server side maps based on up to date stuff, everything works fine, unless some models (usually WMOs) are really, really horribly broken. And I have seen that happening only with custom WMOs made by Mirror Mashine, not with retro ported ones.

Sorry for the delay, and quick question.  i found that most if not all ADT and map related files are in encrypted files of Kronixusa Patched files.

They look like this.

WIll the vmaps extractor, be able to find them?   If not do you anywhere I can find this patched files wiith no encryption?


this are the famous cata and mop files retroported from Kronixusa, no longer hosted anywhere.

thanks
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 26, 2017, 06:48:20 pm
So i tried, with the orginal retropoerted maps, of Kronixusa, I used all the custom adts and wmo files into file 3.
and custom DBC files in Patch enUS 3.
The extractors took nearly 15 hours to get the maps, and DBC. And i didnt work.


WHen the maps where been extracted i did si some errores regarding the files not been able to load correctly.  IT (was somehwere in those 15 hours of extracting so I kind of knew that it wasnt going to work.

So Cani extract parts of what I want (like only Pandaria) and add it to my alredy working maps patch in my original map files?
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 26, 2017, 07:31:40 pm
Extractors won't work with files which aren't in listfile and are "encrypted". As simple as that.

Using (updating) only part of files might get you into compatibility troubles and random server crashes (personal experience), at least in regards to vmaps.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 26, 2017, 09:29:30 pm
Quote from: "Amaroth"
Extractors won't work with files which aren't in listfile and are "encrypted". As simple as that.

Using (updating) only part of files might get you into compatibility troubles and random server crashes (personal experience), at least in regards to vmaps.


Ok got the real files without encryption.  And same problem.
 (these are the maps of cata azeorht retroported from Kronixusa)

In my first attempt I carefully pulled out, and deleted all oriiginal wotlk files and replaced them with the cata ones.  But I got the same error as in the image.   I did not use the files this time, but I get the same error.


Any sugestions?
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 26, 2017, 09:39:31 pm
Well, that error says all you need to know - extractors can't find some files. Do files listed in that error log exist, or not? Screenshot you have taken doesn't really show world/maps/azeroth/ folder.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 27, 2017, 02:58:04 am
Quote from: "Amaroth"
Well, that error says all you need to know - extractors can't find some files. Do files listed in that error log exist, or not? Screenshot you have taken doesn't really show world/maps/azeroth/ folder.

I did everything again, and same error (can´t find the map)

I also found this from ac-web

Dont know if this applies


---------------------------

I've been getting a lot of questions lately about how to extract Maps & VMaps for custom maps made with Noggit so I've altered the extractors to make them able to work with custom patches (where your custom maps are in).

Mapextractor.exe
Vmapextractor.exe

How-to:
Both the extractors have a new command-line option "-p" which will add the specified patch name to the extraction container, you can use this option to specify your custom patches to have their Maps/VMaps extracted.

Example:
Adding Patch-X.MPQ to extract Maps:
Code:
mapextractor.exe -p Patch-X.MPQ
I offer support at the ED thread or through PM's here, simply because that's where I am most of the time.

http://www.ac-web.org/forums/showthread ... extractors (http://www.ac-web.org/forums/showthread.php?211144-Altered-Maps-amp-Vmaps-extractors" onclick="window.open(this.href);return false;)
-----------------------------

I am desperate for getting Kronixusa maps working on 3.3.5a :(
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 27, 2017, 10:52:10 am
Error tells you stuff like "could not find Azeroth_12_40.adt". Now tell me, is that file in your patch in world/maps/azeroth/ directory? No, it is not. I am kinda lost now, because Idk what is it you still don't understand. Files which are supposed to be there are not there. So either your WDT file, which marks which ADT tiles are supposed to be there, is incorrect/outdated, or you simply don't have whole map (there). Or you have renamed some ADTs and moved them to coords they are not supposed to be, while not remaking WDT. Or idk, there are many possibilities.

But the main thing is that I have an impression that you have no idea what WDT file is and that you have never even created a new, custom map. Otherwise you would know what to do, even while you are just modifying an old map.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 28, 2017, 11:49:41 pm
Quote from: "Amaroth"
Error tells you stuff like "could not find Azeroth_12_40.adt". Now tell me, is that file in your patch in world/maps/azeroth/ directory? No, it is not. I am kinda lost now, because Idk what is it you still don't understand. Files which are supposed to be there are not there. So either your WDT file, which marks which ADT tiles are supposed to be there, is incorrect/outdated, or you simply don't have whole map (there). Or you have renamed some ADTs and moved them to coords they are not supposed to be, while not remaking WDT. Or idk, there are many possibilities.

But the main thing is that I have an impression that you have no idea what WDT file is and that you have never even created a new, custom map. Otherwise you would know what to do, even while you are just modifying an old map.

So thanks again, the errores where trying to find ADT that neither existed in wotlk files or cata files.  So I tried the maps with vmaps and mmaps and they seem to work.  HOWEVER i get this error, randomly on different locations in game. (in Cata azeroth only).

Is this related to not having a modified wow.exe file?  (because I am using a modified one).
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Amaroth on January 29, 2017, 07:42:14 am
Unlikely, unmodified WoW.exe would probably crash always, not just sometimes and somewhere. It is definitely a client side problem though, but I can't tell you for sure wheter it is an ADT related error or some model related error.


viewtopic.php?f=12&t=2971 (http://modcraft.io/viewtopic.php?f=12&t=2971" onclick="window.open(this.href);return false;)

schlumpf mentiones this error here, however, there is no description present. So I honestly don't know. I'd assume some model is corrupted there though. And it can be literally any model you have retro-ported.
Title: Re: Problem with MAPS, Vmaps and Mmaps.
Post by: Piccolodmq on January 30, 2017, 05:19:27 am
I found the problem, I found a more "complete" version of kronixusa maps, and it works with no errores so far. I have been flying everywhere in the game, with no issues so far.   So thanks for all the help provided!