I attempted to add a weapon to my mod today...and all it has caused is havoc. This is the second gun I tried to add, the first one has same problem. Basically, I can give myself the weapon via give weapon_weaponname, and it appears in weapon-selection hud item. however, once i select it, i get an error in hw.dll, the exact error is:
The instruction at "0x04f47c16" referenced memory at "0x00000184". The memory could not be "read". The debugger brings me to hw.dll, which is why i cannot figure it out. The call stack consists of: HW! 04f47c16() HW! 04f83331() HL! 0040f0b3() The actual crash instruction is: mov eax,dword ptr [ecx+184h] It seems to me that ecx should be pointing to some struct and that this is the last statement of a function which returns a value of some member of this struct (the next statement is a RETN). The cause is that ECX is NULL when it should be pointing somewhere..but i dont know what because it is in hw.dll and not my address space. Oh yes, I almost forgot, this is a problem in the CLIENT. I tried this over a Lan dedicated server, the server was fine, but the client crashed out. Has anyone ever had this problem? and if so, what was the cause? _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

