This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Vmaps not working with WMO of Custom Maps  (Read 9451 times)

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
[QUESTION] Vmaps not working with WMO of Custom Maps
« on: January 29, 2013, 04:16:12 pm »
Hello,

We are having an issue with vmap4 on custom maps.
We extracted the maps from the custom patchs, but the NPC falls to the underfloor from any WMO.
It happens only if the NPC is inside the WMO of a custom map.

Some Info about this matter (edited 05-feb-2013):

-The NPCs only falls if is inside of an WMO of a Custom Map (blizzlike maps that we did notmodify doenst have any issue). They fall once you interact with them (by attacking or talking) passing the floor and ground. If you dont interact with them, they stand still. If the NPCs fly, it doenst fall to the ground, however once you kill him, the body will do.
-We use TrinityCore Emulator, last revision (4.19 i think) for 3.3.5a WOTLK Server , with vmaps and mmaps for that version.
-This issue started with vmaps3... older revisions worked fine, but we cannot use those now because there are not compatible with our current version of TrinityCore.
-Our custom Maps are made in Noggit SDL 1.2 (the raw ADT and WDT are made in Thalis), but it also fails with other revisions of Noggit. We tried to add the wmos from noggith and also with the cryetictool "FileInfo" and "LoadInfo" commands. We saved our maps both with noggit and thalis in order to test if the ADT is corrupt.
-We extract the Vmaps by adding all our custom ADTs,WDTs and DBC files into a custom MPQ file called "patch-4" (this MPQ is solely used to extract the vmaps). The extractor reads this mpq (and all the blizzard mpqs) and create the files for the vmaps. Then we upload those to the server side. And of course, the vmaps and mmaps are activated in the configuration.
-We tried to change the IDs of our custom maps several times (both in the dbc and the DB), recreating the vmaps with each try.
-We tried to use low IDs for the WMO objects in the ADT (i.e., instead of using a large number generated by noggit, like 200000000, we used something short like 10000)
-We tried to load blizzard NPCs with a low GUIDs,
-We tried to load a raw blizzard server with nothing custom but only one map. We created the vmaps for this custom map,  and activate them (but no the mmaps). However, the NPCs keep falling underground from inside the WMO of the custom map, but no of the blizzlike maps.
-We have only two custom maps that works fine  (with or without vmaps and mmaps).IThey only have one WMO underground. Both maps use the same ADT model (we used the same ADT for creating two maps in different WDTs, but each have a different WMO). This ADT model is extracted from a blizzlike map. What i mean is that we took some random ADT, rename it, put a WMO underground with noggit, and then we assign the ADTs to a new WDT.

I am not sure if the problems are the WMO itself, the ADTs, or the vmaps

Here's a custom ADT (with his WDT) wich WMO present the issue:

http://www.mediafire.com/?vcyuo4y57v8htb2

If someone can give it a look to find the error, we would be gratefull.

Most Regards.
« Last Edit: February 07, 2013, 02:18:30 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #1 on: January 29, 2013, 04:40:47 pm »
You do know that you also have to re-create maps right ? Both should be extracted and assembled.

Also, did you make sure that your converter is extracing your custom content as well ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #2 on: January 29, 2013, 09:14:04 pm »
new map new areas - new maps, new vmaps and mmaps

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #3 on: January 29, 2013, 09:16:39 pm »
Ascathos, Yes, we created the maps, excracted them, and then the vmaps using vmaps4.
However the NPCs insides WMO on the map falls under floor.

The converter reads the customs content, cuz it reads patch numbers like patch-3, patch-4, patch-5, etc.
What we do is rename our patch from "patch-x" to "patch-3", for example, in order to extract the vmaps.

We are not sure if the problem is the WMO, the vmaps or the mmaps.

Akriso, we create new maps, new vmaps and gps work perfect, say us custom area etc.... but if i put a wmo(similar castle) into these custom maps the npcs fall down....

Regards.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #4 on: January 29, 2013, 09:23:04 pm »
Why do I have NPCs are normally on WMO? (The platform for one of the boss battles) if you made new maps and did merge with the old patch the game client, so then  NPCs can not fall down (if you have not switched off accidentally vmaps / mmaps in config server).

I like just to put the names of the new patches for the new maps and dBc in the source code extractor.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #5 on: January 29, 2013, 09:47:43 pm »
Akriso, I dont quite understand what do you mean with merging the old patch with the game client...

The source code extractor that we use already reads patchs like "patch-3", "patch-4", etc. So we rename our custom patchs (that have the custom maps and dbc) with those names in order to extract the files from custom content.

What do we just do, is extract the maps, vmaps and mmaps from the custom patchs. Upload the files extracted into the Server Data Folder, and then execute the client side with the custom patchs.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #6 on: January 29, 2013, 09:54:51 pm »
If extractor read your patches, I have no idea what the problem is, because it works for me.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ferreon

  • Contributors
  • Loreweaver
  • *****
  • Posts: 104
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #7 on: January 29, 2013, 10:05:50 pm »
Eng:
Maybe you have 0 in your conf file

Esp:
Como decia Akriso, puede que por un error tengais la opcion de los mmaps o vmaps desactivada en el archivo config de worldserver.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #8 on: January 30, 2013, 01:03:23 am »
The vmaps are correctly activated in the config file, that's not the problem.

Akriso, it works fine to you? Do you have custom maps with WMO, made with  noggit, and they have vmaps?

If that so tell me what version of extractor are you using, or what steps do you do in order to get the vmaps working.

and also, tell me what emulator are you using, we are using the last version of Trinity Core

Regards
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Shutok2

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 90
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #9 on: January 30, 2013, 08:46:19 am »
Larry, you didnt solved it the last time it happened??

I think Soldan had this problem time ago and he solved it, may you can ask him.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #10 on: January 30, 2013, 04:11:29 pm »
Quote from: "Shutok2"
Larry, you didnt solved it the last time it happened??

I think Soldan had this problem time ago and he solved it, may you can ask him.

Nope.. i didnt solved it...
Soldan doenst have the solution either (we worked in the project together and he also didnt understand why doenst work...)

We even tried to create a brand new server with no custom code and apply the vmaps of the custom maps in there... but with no avail.

This whole problem started with vmaps3.... before that, all worked fine. Now we cannot apply older versions of vmaps with our current version of Trinity Core.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #11 on: January 31, 2013, 08:47:15 am »
When I ran my own project with a friend, we had the same problem when it came to making a custom instance with one WMO...

It worked, we changed the map a bit and then it stopped working  (NPCs falling through the floor). My friend (the project mapper) managed to fix it, he told me what he did, and I told you some time ago Larry, but unfortunatly, said solution didn't take effect. :/

Now, ironically, when we end up working in the same project, along with the friend that I had my project with the same problem occurred - the only thing is, this time there doesn't seem to be any solution :S.

If anyone seems to have any incentive to how to fix this problem, please share it with us :)

P.D: It IS possible to fix, I've seen it with my own eyes XD
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ferreon

  • Contributors
  • Loreweaver
  • *****
  • Posts: 104
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #12 on: January 31, 2013, 05:19:39 pm »
That you want to say is this?



Pd: Is a custom map in a custom continent.
Pd2: If I misunderstood sorry.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #13 on: January 31, 2013, 06:41:56 pm »
Quote from: "ferreon"
That you want to say is this?



Pd: Is a custom map in a custom continent.
Pd2: If I misunderstood sorry.

Nope, in that case the NPC is outside the WMO.
Our problem is that the NPC falls underground when they are inside of a WMO on a custom map.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ferreon

  • Contributors
  • Loreweaver
  • *****
  • Posts: 104
    • View Profile
Re: [QUESTION] Vmaps not working with WMO of Custom Maps
« Reply #14 on: January 31, 2013, 06:58:36 pm »
Now?



Inside and in the second floor.
[In the first floor is working too]

Regards.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »