Ok, this error is going to drive my mod to its death if I can't fix it. I don't know WHAT causes it or why... If I start up a map in SP, then go through a trigger_changelevel or use "map levelname" it crashes. I have the option to debug and when I do MSVC++ says "Unhandled exception in hl.exe (NTDLL.DLL): Access Violation." Take a look at the picture:
http://www.llamanade.net/ghoul/pictures/ntdll_dll.jpg
I can click OK on the dialog box and then MSVC++ opens up ntdll.dll in Disassembly Mode and points to this line:
77F52236 mov dword ptr [ecx],eax
This error occured when I changed some code in ItemPostFrame() in CBaseWeapon in weapon.cpp. It had some stuff too do with a little code I changed there that has to do with the ThirdAttack I added through a tutorial online (don't know where it is). Before I changed this line the error was less harsh. Instead of ntdll.dll crashing my kill.dll crashed and pointed to some code in ItemPostFrame() for CBaseWeapon. The only thing I can think of to fix this is recode the mod, line by line. If anyone has something to say please respond, this is killing me here. Thank you.
~Ghoul
Lets leave it at that...
- Re: [hlcoders] NTDLL.dll crash on map change OneEyedGhoul
- Re: [hlcoders] NTDLL.dll crash on map change OneEyedGhoul
- Re: [hlcoders] NTDLL.dll crash on map change Mike Blowers

