Unknown Event error:


(Demolama) #1

some of my clients are getting kicked for Unknown Error: 72

Everytime I die, spec someone die/kill, or kill someone, I get kicked off.

The error message is – Unknown event: 72.

Why is that happening for me only?

EV_STOPSTREAMINGSOUND is number 72 … I didnt even mess with this event why would this be causing an error now??

unless the event I added causes this one to crash

case EV_HEADSHOT:

		DEBUGNAME("EV_HEADSHOT");
		
		if (dc_headshotsound.integer){
					
		
		trap_S_StartSound (NULL, es->number, CHAN_WEAPON, cgs.media.headshotSound);
		
		}
			break;

I added DEBUGNAME recently… but I would think this wouldnt be the problem

maybe its because the sound isnt clipping right from this event?

sometimes its the little bugs that causes the biggest problems :confused:


(Rain) #2

Event 72 looks like EV_POWERUP_QUAD here…

Did you add your EV_HEADSHOT event to the end of the list? (Just before EV_MAX_EVENTS, of course…) If not, the event offsets would be all wrong unless cgame was compiled with EV_HEADSHOT in the same place…


(Demolama) #3

I did have ev_headshot right after ev_losehat… then I moved it to the end… but for some reason it still was giving me the event errors


(Serge) #4

It happens when the client used to debug your mod is not the one you have written.

Check your client dll file date, if it’s different from your compile time, it have been replaced
by another dll.

In this case, to force the system to use your client dll, insert it into a pk3 and place the pk3
in the same directory than your dll. The decompression directory must match the one where
yout client dll is. So, as usual, before inserting the dll into the pk3, copy it to your root directory and insert it with the ‘save full path info’ option.

Hope it will help.