Go Back   AvaMods 5.o Forums > AvaMods - Server > Server / Mod Support
       Log In
Log In | Lost Password | Register


Server / Mod Support Discuss our servers - Questions, requests, complaints, etc.. Need help with your server? Have any amxx questions/suggestions?

Reply
Views: 1853 - Replies: 22  
Share LinkBack Thread Tools
  #1 (permalink)  
Old March 7th, 2008
forum n00b
 
Join Date: March 7th, 2008
Status: No Status
Posts: 5
Default Query regarding dod_blockexploits

Hi all,

We run a server that has dod_blockexploits installed and get the occasional offender picked up by it.

We also have a "monitor" parsing all the real-time data that comes from logaddress_add, so we can update our player stats as well as track who gets banned and by whom. (I have modified plmenu and pmenufront to do this).

I would also like to get "Real Time" information about who your plugin kicks/bans for a "Hall of Shame" - but I cannot detect any messages from your plug-in in the normal feed or log files only in the logs from your plug-in.

Is it possible to have this information "logged" to the console etc.

cheers
Will Beattie
aka OldFart

Server: 202.60.93.18:27035 |WaD| DOD Server +FF + Alltalk
Forums: http://wad.tals.com.au
Reply With Quote
  #2 (permalink)   diamond-optic is Special  
Old March 8th, 2008
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,259
Default

ya i could add normal hl log output (which should send it thru the server console first)

any specific format you'd like it in? or is same as the dod_blockexploits log file format fine?

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
  #3 (permalink)  
Old March 8th, 2008
forum n00b
 
Join Date: March 7th, 2008
Status: No Status
Posts: 5
Thumbs up

Hi diamond-optic,

Thanks for the quick response.

The short answer is "whatever is easiest for you".

The parser is in PHP and it will be a trivial change in there.

cheers
OldFart
Reply With Quote
  #4 (permalink)   diamond-optic is Special  
Old March 9th, 2008
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,259
Default

ok im gonna try and get around to posting a new release tomorrow that will have logging to the default hl log files.. the msgs should look something like this:

when the logging option is on....
all detections (no matter what action is taken) should print a msg like this:
PHP Code:
[DoD BlockExploits"playername" <steamid> <ipaddress> <detected> <detection_name

then if an action is taken there should be a 2nd msg as well thats looks like this:
PHP Code:
[DoD BlockExploits"playername" <steamid> <ipaddress> <ACTION> <detection_name

the playername, steamid, ipaddress parts should be self explanatory as to what will replace them.. the detection_name is replaced by whatever the server admin sets in the config file for the plugin... and the ACTION part will be replaced by 'blocked', 'kicked', or 'banned' depending on which action is taken ontop of the detection.

so you should be able to catch ALL detections, and then seperately catch blocked, kicked, and banned actions...


also if it would be easier for you, i can change all the
PHP Code:
<afdasfa

sections to
PHP Code:
"afdasfa" 

or the other way around.. not sure which will be easiest for you to parse

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.


Last edited by diamond-optic; March 9th, 2008 at 08:21 PM.
Reply With Quote
  #5 (permalink)  
Old March 10th, 2008
forum n00b
 
Join Date: March 7th, 2008
Status: No Status
Posts: 5
Default

Hi diamond-optic,

I really appreciate you help in this area.

I could quite readily use the following method ..
Code:
&lt;asdfasda&gt;

I will create a new page on our forums, a "Hall of Shame" as soon as I change the parser. It will log (in MySQL) and display in (nearly) Real Time as well as adding them to our "Recent Ban/Recent Kick" pages.

I would be pleased if we could applaud both your efforts and time with a comment and a link in our forums.

cheers
Will Beattie aka OldFart
(Australia)
Reply With Quote
  #6 (permalink)   diamond-optic is Special  
Old March 10th, 2008
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,259
Default

alright a new version is available now



http://www.dodplugins.net/forums/showthread.php?t=1208

or

http://www.avamods.com/download.php?view.164


let me know if this logging stuff works for you now and if theres anything else you need for it

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
  #7 (permalink)  
Old March 10th, 2008
forum n00b
 
Join Date: March 10th, 2008
Status: No Status
Posts: 9
Default

Cool,
Me or Oldie will keep you update on how it's running.
oh i'm the sucker who installs it.
Reply With Quote
  #8 (permalink)  
Old March 10th, 2008
forum n00b
 
Join Date: March 10th, 2008
Status: No Status
Posts: 9
Default

oops,
forgot to ask, will it run on AMX 76c ? i am shaw i read somewhere you have compiled it for 76d and above, yeah ??

thanks
Reply With Quote
  #9 (permalink)   diamond-optic is Special  
Old March 10th, 2008
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,259
Default

well you could try the one for 1.76d, it might work without a problem.. but I will try to get ahold of 1.76c to compile it for that when i get a chance

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
  #10 (permalink)   diamond-optic is Special  
Old March 10th, 2008
diamond-optic's Avatar
i dont want a goldfish
 
Join Date: March 13th, 2005
Location: Upstate New York
Status: hazey
Posts: 3,259
Default

ok nevermind it was faster then i thought it would be lol..

i attached the 1.76c compiled version and i will update the downloads in a moment
Attached Files
File Type: amxx dod_blockexploits.amxx (34.4 KB, 1 views)

Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:28 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.