vModEnable is voice related stuff. I got spammed with that by sub 
classing one of the gamerules classes, and not defining this in my 
Gamerules' ClientCommand function.

I ended up doing a work around like thus:

// Do nothing except prevent vModEnable messages spamming clients
if (FStrEq(pcmd, "vModEnable")) {
  return TRUE;
}

If any 'command' does not return true at some point in the chain, it 
falls back to (forget where), one of the parents' ClientCommand 
functions, which reports Unknown command: x.

-- pat 'sluggo' magnan

> This is a multi-part message in MIME format.
> 
> 
> hi
> 
> I'm getting the same "Unknown Command" stuff as you, plus i'm getting
> several "UTIL_SetSize" Msg's i haven't had time to look into that, 
but i'm
> going to do that today...
> If anyone has any idea on any of those issues, feel free to post them.
> 
> Thanks,
>     Blair
>   -----Ursprüngliche Nachricht-----
>   Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Cortex
>   Gesendet: Mittwoch, 14. November 2001 07:27
>   An: [EMAIL PROTECTED]
>   Betreff: [hlcoders] Big problem with SDK 2.2 ( again !!!! )
> 
> 
>   Folks,
> 
>   I've merged my code to SDK 2.2 final.
>   I made this with Beyond Compare and I haven't any problem.
>   When I tested my mod under HL, my console indicated me
>   sevral errors :
> 
>           - Unknow command : vModEnable
> 
>           - No Pfn for message : ... ( 4 times with different server-
>client
> messages )
> 
>   I know the cause of the pfn error ( HOOK_MESSAGE... ). So, I set a
> breakpoint
>   in my Init function of a class of a wrong message. In debug, HL 
didn't
>   break at this point ! Then, I set a breakpoint in CHud::Init, HL 
didn't
>   break too !
> 
>   So, I've got a *BIG* problem with my SDK 2.2 ! :-(
> 
>   I think these troubles are the consequence of _one_ error, but I 
don't
> know where ;(
> 
>   -------------------------------------------------------------------
>   Cortex
>   Mappeur et codeur du mod HL Albator pour Half-Life :
>   www.hlalbator.fr.st
> 
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to