Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: MR. Farrare on July 21, 2013, 06:18:34 am

Title: npc falls from spawn object when they fight in some maps
Post by: MR. Farrare on July 21, 2013, 06:18:34 am
npc falling from spawn object when they fight even if in some maps i have mmaps and vmaps in wow maps but in custom map they dont that weird plz help
Title: Re: npc falls from spawn object when they fight in some maps
Post by: XxXGenesisXxX on July 21, 2013, 05:46:10 pm
Dunno shit about custom maps. But I think I might have read somewhere you need to make the mmaps and vmaps extractors actually create the files for the custom maps. As I don't think the extractors are meant to get mmaps and vmaps for custom files by default.

Might be wrong, but just think I read that somewhere. I'd be pretty sure the answer is already on forums somewhere.
Title: Re: npc falls from spawn object when they fight in some maps
Post by: samgartell on July 21, 2013, 07:39:57 pm
What XxXGenesisXxX said is correct, you need to re-extract the Vmaps from your client and put those in your server, rather than the defaults that usually come with repacks/Unmodified clients.
Title: Re: npc falls from spawn object when they fight in some maps
Post by: MR. Farrare on July 21, 2013, 11:04:26 pm
i ment my custom maps works fine  but the wow maps is the problem i think whith vmaps because when i spawn wmo object from the databace and spawn a two npc on it and then when they walk fight run.... they fall lol
Title: Re: npc falls from spawn object when they fight in some maps
Post by: merunes on July 27, 2013, 11:48:18 am
I got the same Problem (npcs falling trough the wmo's and g.objects on custom maps.
but i made a patch (patch-4) with the maps and put it in the wow folder prior to extracting vmaps and maps.
Title: Re: npc falls from spawn object when they fight in some maps
Post by: MR. Farrare on July 29, 2013, 12:08:15 am
Quote from: "merunes"
I got the same Problem (npcs falling trough the wmo's and g.objects on custom maps.
but i made a patch (patch-4) with the maps and put it in the wow folder prior to extracting vmaps and maps.

not in custom but in blizzard map my custom maps works fine
Title: Re: npc falls from spawn object when they fight in some maps
Post by: Ascathos on July 29, 2013, 05:09:51 pm
Quote from: "XxXGenesisXxX"
Dunno shit about custom maps. But I think I might have read somewhere you need to make the mmaps and vmaps extractors actually create the files for the custom maps. As I don't think the extractors are meant to get mmaps and vmaps for custom files by default.

Might be wrong, but just think I read that somewhere. I'd be pretty sure the answer is already on forums somewhere.
This.

Also, as far as my own researches found out (stoneharry actually confirmed it), VMaps and Mmaps are so f**ked up for custom maps with current noggit.
Title: Re: npc falls from spawn object when they fight in some maps
Post by: XxXGenesisXxX on July 30, 2013, 02:15:35 am
Quote from: "raeef"
Quote from: "merunes"
I got the same Problem (npcs falling trough the wmo's and g.objects on custom maps.
but i made a patch (patch-4) with the maps and put it in the wow folder prior to extracting vmaps and maps.

not in custom but in blizzard map my custom maps works fine

Well, you're going to need to provide more information. What have you done so far?

Because if you did modify the extractors then recompiled them, it could be an issue with the how you modified the extractors. Or it could stem from dodgy dbc files even. The possibilities are larger the less information you provide.
Title: Re: npc falls from spawn object when they fight in some maps
Post by: stoneharry on July 30, 2013, 11:06:16 am
WMOs placed through noggit are not written correctly and thus vmap data for it is non existent after extraction.

Without vmap data mmap data is not generated.

Without mmap data you have no server side collision, without vmap data you have no line of sight data.
Title: Re: npc falls from spawn object when they fight in some maps
Post by: stan84 on July 30, 2013, 01:31:50 pm
stoneharry so what you proposng ?

is placing wmo by had via cryect tools  fileinfo-> loadinfo could help ?

what do you think ?
Title: Re: npc falls from spawn object when they fight in some maps
Post by: schlumpf on July 30, 2013, 01:45:05 pm
https://bitbucket.org/berndloerwald/nog ... lt#cl-1041 (https://bitbucket.org/berndloerwald/noggit3/src/10e45aef09873ebf47c25de76f51ca20da736e6f/src/noggit/MapTile.cpp?at=default#cl-1041" onclick="window.open(this.href);return false;)
Title: Re: npc falls from spawn object when they fight in some maps
Post by: MR. Farrare on July 31, 2013, 11:35:41 am
when i wrote i spawn wmo ididnot mean i spawn it whith noggit no i ment i spawned it from the dbc and the database like i spawn garroshgunship up in doratar and when i spawn an npc on it if he walks or fight he would fall so srry if you didnot understand me before im learning english now
Title: Re: npc falls from spawn object when they fight in some maps
Post by: stoneharry on July 31, 2013, 12:18:12 pm
Quote from: "raeef"
when i wrote i spawn wmo ididnot mean i spawn it whith noggit no i ment i spawned it from the dbc and the database like i spawn garroshgunship up in doratar and when i spawn an npc on it if he walks or fight he would fall so srry if you didnot understand me before im learning english now

You do not have game object collision on the emulator you are using. Or it is not enabled.
Title: Re: npc falls from spawn object when they fight in some maps
Post by: MR. Farrare on July 31, 2013, 01:16:27 pm
Quote from: "stoneharry"
Quote from: "raeef"
when i wrote i spawn wmo ididnot mean i spawn it whith noggit no i ment i spawned it from the dbc and the database like i spawn garroshgunship up in doratar and when i spawn an npc on it if he walks or fight he would fall so srry if you didnot understand me before im learning english now

You do not have game object collision on the emulator you are using. Or it is not enabled.

i dont think so in blizz maps i figgered not all the maps have the same problem but there is many maps that do like when you spawn an wmo at doratar in front of orgrimmar gate they fall but some places in the barrens they dont fall and about collision i thought it was for gameobject because the gameobject is fine because when i spawn it only in some location i get this error not all locations srry for my english im trying to make it better

and i think it enabled in the config DetectPosCollision = 1
i dont think its the problem plz help
Title: Re: npc falls from spawn object when they fight in some maps
Post by: stoneharry on July 31, 2013, 04:59:43 pm
Quote from: "raeef"
Quote from: "stoneharry"
Quote from: "raeef"
when i wrote i spawn wmo ididnot mean i spawn it whith noggit no i ment i spawned it from the dbc and the database like i spawn garroshgunship up in doratar and when i spawn an npc on it if he walks or fight he would fall so srry if you didnot understand me before im learning english now

You do not have game object collision on the emulator you are using. Or it is not enabled.

i dont think so in blizz maps i figgered not all the maps have the same problem but there is many maps that do like when you spawn an wmo at doratar in front of orgrimmar gate they fall but some places in the barrens they dont fall and about collision i thought it was for gameobject because the gameobject is fine because when i spawn it only in some location i get this error not all locations srry for my english im trying to make it better

and i think it enabled in the config DetectPosCollision = 1
i dont think its the problem plz help

As schlumpf linked, the code for WMO's is very much unfinished. You are very lucky indeed if some are working - most will not and there is no real way to fix at the moment without implementing the necessary missing features.

I want this fixed as well - but the latest version of noggit isn't even public so I can't even give it a shot and I've been told about multiple private branches being developed...
Title: Re: npc falls from spawn object when they fight in some maps
Post by: MR. Farrare on July 31, 2013, 07:02:54 pm
ty for trying to help me guys all of you