Originally Posted by
Xmaily
Okay, I read your post and I'm still having errors so I decided to try something else to see if my maps were causing the problem. I compiled another server (just for testing) then I went to your EoC patch from ******* and took the maps, vmaps, and mmaps and put them into my server. I then went into patch 4.mpq and took one of your instances from World>Map. When I logged in i'm still experiencing the same problem? Is this still because of maps? I mean everything is there npcs move on waypoints and stuff but there still stuck in place during combat.
All of my custom maps do not have pathfinding data because the Noggit version I used did not write WMO collision correctly (1.3 fixed this). Subsequently I flag creatures on these maps to not use pathfinding data.
A quick way to test that it is a collision issue, which I do believe it is, is to go into the world config and find the collision option, and change it from 1 to 0 then restart the server. This will disable vmap usage (might be another option for mmap usage, I forget).
Originally Posted by
Xmaily
This is also something I'm interested in! Lately I have been have constantly been regenerating new maps for things i'm creating! If i understand your post correctly I should be able to take these links, compile them and create a new field in my Creature_Proto named CustomFlags, right?
Well, no. Yes that is the theory. No, the linked code is not enough as I explained. I implemented my custom flags column a long time ago and have been adding lots of new flags as I need them. I do not have the exact code you need to copy and paste, but that is how I dealt with this issue and you can attempt an implementation as well if you can program.
In my creature header file:
Code:
enum CustomFlags
{
CREATURE_CUSTOMFLAG_CANTDIE = 0x1, // 1
CREATURE_CUSTOMFLAG_IMMUNE_TO_CREATURE_DAMAGE = 0x2, // 2
CREATURE_CUSTOMFLAG_CANT_REGEN_HEALTH = 0x4, // 4
CREATURE_CUSTOMFLAG_NO_LOOT = 0x8, // 8
CREATURE_CUSTOMFLAG_VEHICLE_COMBAT = 0x10, // 16
CREATURE_CUSTOMFLAG_NO_ADV_PATHFINDING = 0x20, // 32
CREATURE_CUSTOMFLAG_NO_RETURN_AFTER_COMBAT = 0x40, // 64
CREATURE_CUSTOMFLAG_NO_ADV_VMAPS = 0x80, // 128
};
So I have a few custom flags. 32 disabling mmap usage and 128 disabling vmap usage.