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] Ingame error: npcs falling to ground from WMOs  (Read 7493 times)

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
[QUESTION] Ingame error: npcs falling to ground from WMOs
« on: September 13, 2012, 03:08:00 am »
Hello,

I am currently having a very annoying problem with some custom maps of my server.
In my maps i have WMOs like a fortress... plataforms... caves, etc.
The problem is that the NPCs that are inside those WMOs, fall under the floor when they move.
This problem happens when the NPC moves around or get aggro, if dont, you can see them stand normally in the wmo floor.

Funny fuct is that only happens in some custom maps, but not in others.... and the wmos that i am using works fine in blizz maps.

I tried several things to fix this:
-Remake the map from 0
-Save the map with the latest versions of noggit
-Respawn the wmos... etc.

But nothing works. Each time i upload a new version to both the server and the client, it still have the same problem... the damn npcs just fall under the floor. I dont know if it is a problem within the wmo.. the server.. the emulator... etc..

The server emulator is Trinity. I used mythcore before, but we change it.

If anyone knows how to fix this problem... i will be very grateful

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

Shruik

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 121
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #1 on: September 13, 2012, 04:03:29 am »
Try using vmaps. When creating these maps for (i guess) each wmo are created to assure mobs don´t run trough walls or fall trough the floor ;)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
"If you don´t like modelchanging, you don´t know the fascination of it"

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #2 on: September 13, 2012, 04:41:04 am »
Quote from: "Besidas"
Try using vmaps. When creating these maps for (i guess) each wmo are created to assure mobs don´t run trough walls or fall trough the floor ;)

I forgot to mention... we are using the vmaps :P
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #3 on: September 13, 2012, 07:16:57 am »
Did you try to update the VMaps with the newest ADTs ? Just to make sure that everything is alright.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #4 on: September 13, 2012, 09:21:37 am »
Movement is client side. Are you sure the WMOs are solid in eyes of the client? Also: Do the server positions and client positions match? ie. is z on the server a bit too low, so it is below the colliding plane on the client?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #5 on: September 13, 2012, 01:29:06 pm »
Hey Larry,

We used to have the same problem with a couple of our instances in our server "WoW Xenon" or before that, "Lost WoW - Neltharion" Neltharion was just our realm, you might know it.

Now, what we did was create a new map id, let's say yours is 5000, just make a new one with 5001, and re-extract the maps with map-extractor. It should work. ^_^


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

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #6 on: September 13, 2012, 03:31:15 pm »
Thanks to all for your replies,

Ascathos,

I thinks that we updated the vmaps several times.. but the problem always persisted.
Anyway, we are gonna check again

Schumplf,

The WMO is solid, ingame i can walk on it with my character, and the npc stand on the floor... however once it starts to move, fall under it.
Server and client position should match since we uploaded the map to the server... however i dont know if we check the z position, we are gonna check that and i will let you know.


Soldan,

Gonna try this and let you know if it worked ;)


Once again thanks to all, after work i will try those solutions and see if i can fix those damn maps.

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

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #7 on: September 14, 2012, 07:10:17 pm »
Ok.. we tried everything that you ppl suggested.. but nothing seems to work :(

Quote from: "Ascathos"
Did you try to update the VMaps with the newest ADTs ? Just to make sure that everything is alright.

we always updated the vmaps... but that dindt fix the problem

Quote from: "schlumpf"
Movement is client side. Are you sure the WMOs are solid in eyes of the client? Also: Do the server positions and client positions match? ie. is z on the server a bit too low, so it is below the colliding plane on the client?

The WMOs are solid. About the position, i dont understand very well how to see the z position in server and client side. As far i know, an object has 3 xyz position in the ADT: the actual xyz position of the object, and the lower an upper position to form some "cage" around the wmo. We tried to give greater values to those lower and upper positions.. but it doenst work.

Quote from: "Soldan"
Hey Larry,

We used to have the same problem with a couple of our instances in our server "WoW Xenon" or before that, "Lost WoW - Neltharion" Neltharion was just our realm, you might know it.

Now, what we did was create a new map id, let's say yours is 5000, just make a new one with 5001, and re-extract the maps with map-extractor. It should work. ^_^


Soldan

We tried that... dint work :(


Now.. we noted something in one map: The map have several wmos... and in a couple of them the npcs fall under the floor, but not in the other ones... so we think is something about within thewmo, maybe we miss some information in the ADT.
If someone has another idea of how to fix the error.. please let us know.

Regards and thanks for ur time.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #8 on: September 14, 2012, 07:12:07 pm »
Are you really sure the server has all the files extracted? By default those tools only export the standard maps or something like that. Double check, that the server has both, the map and the wmo visible and calculates that.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #9 on: September 16, 2012, 06:48:38 pm »
Quote from: "schlumpf"
Are you really sure the server has all the files extracted? By default those tools only export the standard maps or something like that. Double check, that the server has both, the map and the wmo visible and calculates that.

Yeah.. we checked and double checked that.. but it still doenst work :S
Is very strange cuz some wmos (platforms) of the map works fine, but in other ones the npc just fall under the floor.... and there are wmos that are in blizz maps and works fine in them.

Maybe is a problem with the emulator? we are using trinity now...

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

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #10 on: September 16, 2012, 07:15:25 pm »
It's very weird..

I also sent other instructions to shutok to tell you to try.. You tried them aswell? Step by step?

We did that on our server. The bug happened with 2-3 instances.. THe instances we had, ofc were just 1 adt and a floating wmo, so all of the npcs fell.

If I can think of anything else, I'll post it.

But what I told shutok to send to you should have worked.. It's very strange.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #11 on: September 20, 2012, 01:59:29 am »
i think we tried those steps but dindt worked....

as a new information, i was wrong about the time that the error took place. The error only happens when the npcs figth on the wmo, and not when they just move around walking with waypoints.

Once an npc in the wmo starts to fight, it fell under the ground....
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #12 on: September 21, 2012, 12:40:42 am »
Quote from: "Soldan"
He hablado con mi noggitero, y me dice que lo más seguro es que aparte de lo que te dije arriba, tengas que borrar y meter las entries de criaturas, creo que me dijo la tabla de las spawneadas, no el template.

Intenta, incluso borrar los maps del emulador (porque seguramente lo has comprobado ya, si enciendes el emulador sin los maps sale "desconocido" en /who pero los npcs si van.") Pon los mapids en otro id, si son 10001, pues le pones algo como 101001, y vuelve a sacar los mapas.

Y claro, si cambias los id de los mapas, tendrás que cambiar todas las tablas que tengas ajustadas a eso, ya sea la de instance, incluso los de las criaturas spawneadas (en este caso, no solo lo cambiaria sino, los sacaria, los borraría de la db y los metería de nuevo con la id nueva de mapa, como dije arriba).

Se que seguramente hayáis hecho ya todo esto, pero no se a lo mejor haciendolo paso por paso como dije funcione. Al menos a nosotros nos funcionó.

Un saludo, Soldan.

P.D: Sabes lo que le pasaba a mi raptor? // Por cierto, al pasar modelos nuevos que haga otravez a .m2, en todos la armadura sale mal ajustada en plan si el casco está ajustado perfectamente en la cabeza, en el modelo se verá arriba, o no irá al ritmo de la animación del mismo modelo, o una parte de armadura se pone a dar vueltas a lo loco.. cosas asi.

--> Sorry for the spanish guys, it's just alot of information and alot easier to explain when the person asking for help is a native spanish speaker.

Soldan :)

This is an English only forum. Try writing in English, as it might help others who come across the same problem at a later time.

I deleted your post as it was violating one of the few rules we have.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #13 on: September 21, 2012, 09:22:44 am »
Are they game objects?

NPCs load before game objects, so they can fall to the real ground level (or next object if loaded in time) client side.

If you did this via noggit (direct map editing) then I have no idea.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Ingame error: npcs falling to ground from WMO
« Reply #14 on: September 22, 2012, 04:08:52 am »
Quote from: "stoneharry"
Are they game objects?

NPCs load before game objects, so they can fall to the real ground level (or next object if loaded in time) client side.

If you did this via noggit (direct map editing) then I have no idea.

No, there are map objects, i added them via noggit.

About the solution that soldan gave me (assign a new zone id, then delete the npcs and recreate them with new  entry.. etc.) it doenst work for us.

It seems that the problem is that the server reads the z position of the npc to low. If we appear in the npc position, we appear under the floor. However is not a server problem because some custom maps and blizz maps works fine.

Probably we need to add some data in the map or in the wmo in order to properly make it work, but we are stuck at the moment.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »