Raised This Month: $ Target: $400
 0% 

Blocking a log message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-28-2004 , 20:24   Blocking a log message
Reply With Quote #1

how can I block a log message form getting logged, BAIL told me it would be possible in 0.20 but I have no idea where to start looking.

Basically I want to use "user_kill" to kill someone but block the log message that says they commited suicide with "world"

Thanks for any help
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Ingram
Veteran Member
Join Date: May 2004
Old 09-29-2004 , 07:12  
Reply With Quote #2

/* Called when a client types kill in console. */
forward client_kill(id);

in engine. does that help?
Ingram is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 09-29-2004 , 15:26  
Reply With Quote #3

try registering the log message and return PLUGIN_HANDLED on the right 1
Freecode is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 09-29-2004 , 15:54  
Reply With Quote #4

try this:
Code:
set_msg_block(get_user_msgid("DeathMsg"),BLOCK_ONCE) fakedamage(id,"trigger_hurt",9999.0,0)
it kills a client wihout any message
it should work by replacing fakedamage func with user_kill too
__________________
alias White Panther
karlos is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 09-29-2004 , 16:04  
Reply With Quote #5

yea but blocking deathmsg doesn't block the logging of the death by world...
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-29-2004 , 18:39  
Reply With Quote #6

Quote:
Originally Posted by pimp daddy
yea but blocking deathmsg doesn't block the logging of the death by world...
exactly.... which is what I need to do....
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
BAILOPAN
Join Date: Jan 2004
Old 09-29-2004 , 19:05  
Reply With Quote #7

Sorry, I forgot to do this.

Post a message about thisin the bug reports forum and I'll do it when I get the chance
__________________
egg
BAILOPAN is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 09-30-2004 , 11:23  
Reply With Quote #8

Blocking the deathmessage should not block the log I think. You would probably need to block AlertMessage to block the server logs. Not sure though.
__________________
hello, i am pm
PM is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode