Raised This Month: $51 Target: $400
 12% 

[ANY] Report a cheater


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Gachl
BANNED
Join Date: Feb 2009
Plugin ID:
986
Plugin Version:
1.0.3
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A player reports a cheater and the server will record a demo of him.
    Unapprover:
    Reason for Unapproving:
    Bugs unfixed for months
    Old 07-07-2009 , 21:20   [ANY] Report a cheater
    Reply With Quote #1

    Report a cheater
    Version 1.0.3
    Support level: Bugs

    Requirements
    Source TV enabled and running.

    Description

    This plugin has been requested here.
    Players can report a cheater by saying /cheater and picking his username from a list. The plugin will start recording a demo with source tv (because there is no other way to record a demo serverside) and save it to cheater_timestamp_steamid.dem on the server. It will automatically stop the demo on map end, or after sm_cheater_rounds rounds or after sm_cheater_time seconds.

    Usage

    CVars
    Quote:
    • sm_cheater_time = 300.0
      Max. time to record in seconds.
    • sm_cheater_rounds = 3
      Max. rounds to record.
    • sm_cheater_wait = 300.0
      Time that must elapse until an other /cheater can be reported (spam protection). The time will count from the end of the last recording, so you don't have to include recording time.
    • sm_cheater_runcmd = "status"
      This command(s) will be run after the demo started. For multiple commands seperate them with an semicolon (;). This can be used for status or sb_status etc.
    • sm_cheater_version
      The current version of the plugin.
    Commands
    The commands are public, so regular players can use them.
    The commands must be used in chat.
    Quote:
    • /cheater
      Report a cheater. "/" is the silent chat trigger of the server. Alternatively you can write "sm_cheater" in your client console.
    Changelog

    Code:
    v1.0.0 2009/07/08
    +	Plugin created.
    v1.0.1 2009/07/08
    *	Fixed status cvar (FCVAR_NOTIFY)
    v1.0.2 2009/07/17
    +	Added sm_cheater_runcmd
    v1.0.3 2009/08/21
    *	Fixed !cheater sometimes not showing the menu
    *	Changed !cheater to /cheater
    Please report bugs here, I'll try to fix them as soon as possible.
    Attached Files
    File Type: sp Get Plugin or Get Source (reportcheater.sp - 1256 views - 3.8 KB)

    Last edited by Gachl; 08-21-2009 at 03:47. Reason: new version (1.0.3)
    Gachl is offline
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 07-07-2009 , 23:56   Re: [ANY] Report a cheater
    Reply With Quote #2

    Does this lag the server at all? If no, I'd be willing to use it because about every other week I get complaints about a possible hacker, then I have to join the server and spectate, and it gets annoying.
    noodleboy347 is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 07-08-2009 , 05:03   Re: [ANY] Report a cheater
    Reply With Quote #3

    Your public cvar does not have the flag FCVAR_NOTIFY which is required. Please update your plugin and it will be approved.

    Reference: http://forums.alliedmods.net/showthread.php?t=57142
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 07-08-2009 , 06:09   Re: [ANY] Report a cheater
    Reply With Quote #4

    okay :>
    Gachl is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 07-08-2009 , 06:21   Re: [ANY] Report a cheater
    Reply With Quote #5

    New version up.

    Quote:
    Originally Posted by noodleboy347 View Post
    Does this lag the server at all?
    Well, since source tv and recording is used on competitive servers I am pretty sure it doesn't cause any lags.

    Last edited by Gachl; 07-08-2009 at 07:37. Reason: quote noodlboy + answer
    Gachl is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 07-08-2009 , 21:09   Re: [ANY] Report a cheater
    Reply With Quote #6

    Thanks for approving!
    Gachl is offline
    DigitalL_
    Junior Member
    Join Date: Nov 2008
    Old 07-08-2009 , 21:34   Re: [ANY] Report a cheater
    Reply With Quote #7

    This is not working to me
    my server IP: 93.103.11.110:24015

    my surce tv:
    tv_enable 1
    tv_port 24086
    tv_name "Source TV: 93.103.11.110:24016" // change to the desired name of your stv bot
    tv_title "Slovenia-United.net Server Surce TV" // change to the desired title of your stv
    tv_maxclients 10 // set the max clients for ingame stv (no more then 15 reccomended for an ingame stv, use a relay)
    tv_autoretry 1
    tv_autorecord 0 // Set to 1 if you want stv to auto record a stv demo
    tv_timeout 30
    tv_delay 5
    tv_delaymapchange 1
    tv_maxrate 6500 // A maxrate of 6500 is recommended for smooth stv
    tv_snapshotrate 16
    tv_password "" // If you want a password on your stv, set it here
    tv_relaypassword "" // If you want a password for relays to connect, set it here
    tv_dispatchmode 1 // distributes clients evenly to relays when availble, set to 2 to force all clients to relays
    tv_relayvoice 0 // set to 1 if you wish to broadcast voice chat to stv viewers
    tv_transmitall 1
    tv_chatgroupsize 0
    tv_allow_static_shots 1
    tv_allow_camera_man 0
    tv_deltacache 2
    tv_chattimelimit 5 // set the timelimit for speaking in stv chat

    EDIT: Is it possible zBlock is blocking?

    Last edited by DigitalL_; 07-08-2009 at 21:44.
    DigitalL_ is offline
    InflatableSoulmate
    Senior Member
    Join Date: Oct 2008
    Location: *.mdmp
    Old 07-08-2009 , 21:50   Re: [ANY] Report a cheater
    Reply With Quote #8

    Wouldn't it make more sense to use create a console command instead of hooking the say command? Then you would be able to use !cheater or /cheater in chat to trigger the command. This way, when someone uses the /cheater command, it's not seen by other players in chat. It would help keep the cheaters from being notified that someone is reporting them, plus it would minimize conflicts with other plugins that hook the say command.

    Instead of:

    PHP Code:
    RegConsoleCmd("say"cSay); 
    It would be something like:

    PHP Code:
    RegConsoleCmd("cheater"cCheater); 
    Then you would remove the code in the cSay function that checks the say message for the command name. You could even then add arguments to the cheater command such as the userid of the player being accused of cheating (you could then grab the player's name and log it to a file with the filename of the sourcetv demo for reference).

    We've been considering doing this for a while, now, but we are trying to figure out a way to hide the sourcetv bot so that the cheater's cheat doesn't detect that sourcetv is running or a player is in spec.
    __________________
    Inflatable Soulmate
    Server Operations Manager
    Brothers of Chaos Multi-Gaming Clan
    http://www.brothersofchaos.com/
    InflatableSoulmate is offline
    physonic
    Junior Member
    Join Date: May 2009
    Old 07-09-2009 , 04:54   Re: [ANY] Report a cheater
    Reply With Quote #9

    Great idea, and good work.
    If you can make the changes that InflatableSoulmate suggested, or at least have some way of recording the players steam_id along it would be great. Cheaters are not always as stupid as they are annoying, so it's hard to keep them banned with a demo and name only.

    also, if you decide to make it yourself Inflatable, I would love if you post it on the forums here

    Last edited by physonic; 07-09-2009 at 04:56.
    physonic is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 07-09-2009 , 06:19   Re: [ANY] Report a cheater
    Reply With Quote #10

    soulmate, if you type !cheater it will not be repeated to the other players, thats why I use return Plugin_Handled; which prevents forewarding the command to the server.
    Also I *think* typing !cheater and having a graphical LIST of all players is a *little* bit easier than opening console to copy the targets utf8 crippled username or his user id and using is as parameter (which can also be done by hooking say).

    physonic, please please read the plugin description:
    Quote:
    Originally Posted by Gachl View Post
    and save it to cheater_timestamp_steamid.dem on the server
    digitalL, I have no idea what zBlocking is. Try disabling it and/or check the console for errors.
    Gachl 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 07:55.


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