set d->repeat = 0 for commands you don't mind them spamming.  (I think in
the command itself)

Or you could add an additional bool to the interp table, and if TRUE, then
it resets the spam counter.  (then you don't have to edit all the functions
individually)


> -----Original Message-----
> From: Chris "Winston" Litchfield [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 25, 2003 11:03 PM
> To: [email protected]
> Subject: Spamming
> 
> 
> ROM has spam checking in that it checks for a string repeated 
> X amount of time.  This is fine as it can catch some people 
> spamming the mud.  However, this does not work for things 
> like "note, note, note ,note" or "n,n,n,n,n,n" spamming.
> 
> So in order for me to prevent that I have long since added 
> (&& !strcmp(...,"note"); statements here.
> 
> Does anyone have a better system to avoid performance issues?
> 
> Chris
> 
> 
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to