Report Hacker Script

NazadusNazadus Join Date: 2005-01-30 Member: 39070Members
<div class="IPBDescription">I'm thinking of writting a script...</div> I'm thinking of writting an AMX Mod X script that will do the following:

* Allow the user to do a `/report <email address>` in the console and that will give him the current list of players and let the admin know how to contact them.
- In that list, all *red* players will be considered reported as hacking by someone already
- In that list, all *white* players will be those not reported.
- Selecting someone from the list will give them a question: Do they have a demo?"

* When reported, this script will insert an entry into a MySQL table. It will contain the following:
- Reporters Steam ID
- Reporters Alias
- Reporters Email Address
- Eleged Hackers Steam ID
- Eleged Hackers Alias
- Timestamp
- Server Name
- Demo
- Verified [So an admin will know if this instance has already been investigated or not)

Now, those that have PHP (or some dynamic language) could *easily* query the database and have it do events, like email someone or IM someone, depending on the capabliity of the language.
You would setup a cron job (or scheduled task) to parse the database for new entries and then do as you wish however often you want. I would probably suggest once every 5 minutes.

I'm thinking of writting this becuase I *hate* leaving a server with a demo to post on the forums, come back and the server is full. It takes just long enough to get kicked by being idle. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->
This also gives other players the ability to help -- or whomever ou choose to help. This would allow your regulars (those you trust a little more than the anonymous players) players to help -- or something.

Thoughts? Suggestions?
Would anyone use this? (ie, is this worth my time?)
<!--emo&::tsa::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tsa.gif' border='0' style='vertical-align:middle' alt='tsa.gif' /><!--endemo--> <!--emo&::hive::--><img src='http://www.unknownworlds.com/forums/html/emoticons/hive5.gif' border='0' style='vertical-align:middle' alt='hive5.gif' /><!--endemo-->

Comments

  • uniqueunique Join Date: 2005-07-12 Member: 55779Members
    edited July 2005
    Is this possible? o_O If so, it sounds pretty hard.

    Pretty neat, though.
  • NazadusNazadus Join Date: 2005-01-30 Member: 39070Members
    Not really.
    The code itself would be fairly simple.

    Here is how it works:

    someone dues `/report someone@domain.com`
    The script queries the database for anyone already reported that matches this alias or steam id. It would throw that information in an array. The select would be somethign like:

    SELECT hacker_id, hacker_alias FROM some_table WHERE eleged_id=hacker_id or eleged_alias=hacker_alias;

    hmm.. thinking about it, perhaps a menu isn't the way to go -- perhaps everyting should be the console.

    Perhaps:
    /report_list -- would display those reported in this current session that matched the alias and/or ID (simple select query)
    /report_submit -- would allow yu to submit a eleged report. (simple insert query)


    hmm
  • joeejoee Join Date: 2005-06-18 Member: 54113Members
    this forum is for scripting via the HL console/engine and i doubt anyone could help you with whatever code you're using for this thing honestly

    maybe try the AMX\whatever forums
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    Nazadus, we'd be glad to have you aboard on the <a href='http://www.modns.org/forums/' target='_blank'>modNS.org Forums</a>, stop by and register and I'll set you up. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
  • xxxacexxxxxxacexxx Join Date: 2004-11-13 Member: 32765Members, Constellation
    steal it from hlguard
Sign In or Register to comment.