In certain areas of the game, if you run in to an area, monsters can trap you and you have to 'fight your way out'. This is because the client calculates collision with your player x/y/z (or some other value) with in-memory x/y/z of NPC's. For instance, ALL monsters, and SOME NPC like the tristram militant guards in Tristram have this detection, or the commander having collision vs. the guards NOT having collision at the gates of Tristram in ACT I. The game makes you try to 'run around' them or in some cases you rubberband bounce off of them if you are 'just right' and your character keeps trying to walk through them but is not stopped.
the ONLY code writing to the x/y/z seems to be here (and near here)
00B48612 - D9 5B 10 - fstp dword ptr [ebx+10]
that is the 'X'. This is for the variables if I lock them they character stays in place.
at any rate, i have been having trouble with this. Because you are able to walk through some NPC and because the collision checks are so fast and don't seem to have 'lag' I feel somewhat certain that the player to 'xxxx' collisions are done client side. With that said, i been at this all day and haven't found anything useful. Likely this all boils down to a collision check somewhere or even a actor type vs. another actor type to determine if there even IS a collision check. also, the actor struct of the 'mob' or 'npc' might simply have a 1 or 0 or -1 or something indicating to check it for collisions.
there is at least ONE hack out that seems to kill this collisions check, and offers an option to do what i am trying to do.. i.e. you can walk through monsters without being stopped. I did not have the beta to look at so all my work is being done with retail. however, i think it is ghey to buy someone else's work and then reverse it, unless there is just no other way to determine how to do something.
has anyone else been looking into this? if you know of the function that determines if the player actor collides with mobs/monsters can you tell me which one it is? i'd appreciate any guidance or help if you have any knowledge or suggestions.
been a member since mmowned days, look forward to any help guys-
Shoni-