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

Anti-Ghosting Tool


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TFN|Nick
Senior Member
Join Date: Sep 2007
Plugin ID:
227
Plugin Version:
0.1.0
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Helps to prevent ghosting on severs.
    Unapprover:
    Reason for Unapproving:
    user request
    Old 12-08-2007 , 12:55   Anti-Ghosting Tool
    Reply With Quote #1

    TFN ANTI-GHOSTING TOOL (Unapproved due to errors until further notice)


    by
    -=( TFN | Pieface )=-



    IMPORTANT!!
    This plugin is still in BETA development and so you may experiance some problems. The author is prepared to help solve any problems but will need details on errors, error log entries and sourcemod version information.

    This plugin is released via GPLv3.

    Description
    This is a plugin designed to help prevent ghosting on servers through the use of CVar Values. Server Admins will still be able to see all players.

    Installation
    Requirements:
    -MetaMod:Source 1.4.1.400 or higher
    -SourceMod Version 1780 or higher

    Navigate to: /mod/addons/sourcemod/ and place:
    -sm_ghost.smx in the plugins folder
    -sm_ghost.sp in the scripting folder
    -plugins.ghost.txt in the gamedata folder

    This is currently only tested on CS:S servers, but further mod support will hopefully be coming soon.

    CVars
    sm_ghost_active - enables/disables the plugin
    sm_ghost_mode - set the mode people can observe in. Overide for admins.
    sm_ghost_version - the plugin version

    sm_ghost_mode set at:
    -0 will allow everyone to see everyone.
    -2 will allow people on the same team to view each other but no else

    Experimentation will throw up more settings and these will be added to these notes. If you find a setting please share it with the author for reference.

    To Do
    Add in working system based on client ip Add in support for other mods
    Add in a menu system(??)

    Change Log
    0.1.0 - Initial Release
    Attached Files
    File Type: zip Ghost.zip (4.3 KB, 270 views)

    Last edited by TFN|Nick; 12-09-2007 at 12:28.
    TFN|Nick is offline
    Send a message via MSN to TFN|Nick
    tkaway69
    Senior Member
    Join Date: Dec 2004
    Location: Millbrook Alabama
    Old 12-08-2007 , 14:30   Re: Anti-Ghosting Tool
    Reply With Quote #2

    Thanks man. Getting this in error logs.

    Code:
    L 12/08/2007 - 13:26:54: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 50 on
    L 12/08/2007 - 13:26:54: [SM] Native "SDKCall" reported: Invalid Handle 0 (error 4)
    L 12/08/2007 - 13:26:54: [SM] Debug mode is not enabled for "sm_ghost.smx"
    L 12/08/2007 - 13:26:54: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 50 on
    L 12/08/2007 - 13:28:55: [SM] Native "SDKCall" reported: Invalid Handle 0 (error 4)
    L 12/08/2007 - 13:28:55: [SM] Displaying call stack trace for plugin "sm_ghost.smx":
    L 12/08/2007 - 13:28:55: [SM]   [0]  Line 114, sm_ghost.sp::OnClientPutInServer()
    Plugin is running though. Not sure if it is actually working at this point though. The Menu system would be nice for displaying all players on same ip so you could disable the ghosting plugin on trusted players.
    __________________

    Last edited by tkaway69; 12-08-2007 at 14:41.
    tkaway69 is offline
    Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
    TFN|Nick
    Senior Member
    Join Date: Sep 2007
    Old 12-08-2007 , 14:34   Re: Anti-Ghosting Tool
    Reply With Quote #3

    Hi tkaway69,

    thanks for the report, i know what that is and will try to get a release out later.

    TFN | Nick
    TFN|Nick is offline
    Send a message via MSN to TFN|Nick
    sslice
    Senior Member
    Join Date: Feb 2005
    Location: Texas, USA
    Old 12-08-2007 , 14:35   Re: Anti-Ghosting Tool
    Reply With Quote #4

    Aren't there already CVARs that do the same thing.
    __________________
    sslice is offline
    tkaway69
    Senior Member
    Join Date: Dec 2004
    Location: Millbrook Alabama
    Old 12-08-2007 , 14:46   Re: Anti-Ghosting Tool
    Reply With Quote #5

    @ sslice.
    Not that I am aware of. I know you can make everyone in server view chase cam. I am hoping this is for players on same ip only.
    __________________

    Last edited by tkaway69; 12-08-2007 at 15:18.
    tkaway69 is offline
    Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
    TFN|Nick
    Senior Member
    Join Date: Sep 2007
    Old 12-08-2007 , 14:50   Re: Anti-Ghosting Tool
    Reply With Quote #6

    Thats true, mp_forcecamera 1 is there, but there are no overides for admins... which is what this plugin is trying to achieve. At best it works, at worst i get nothing out of it but a better undertanding of coding, which is win win for me.

    And there will be ip support shortly... a few kinks to work out with it and it should be fully ready to go.

    Last edited by TFN|Nick; 12-08-2007 at 14:52.
    TFN|Nick is offline
    Send a message via MSN to TFN|Nick
    tkaway69
    Senior Member
    Join Date: Dec 2004
    Location: Millbrook Alabama
    Old 12-08-2007 , 15:18   Re: Anti-Ghosting Tool
    Reply With Quote #7

    Admins is just a added bonus I had not thought of. Thanks.
    __________________
    tkaway69 is offline
    Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
    TFN|Nick
    Senior Member
    Join Date: Sep 2007
    Old 12-08-2007 , 16:32   Re: Anti-Ghosting Tool
    Reply With Quote #8

    Okay... after about 2 hour of looking at the scripts i found something which kind of voids the plugin. I was using a Virtual Function which on further inspection doesn't target entities like i had thought, it simply sets a global setting on each client. This means that the plugin will not have the desired affect of allowing admins to be exempt from being limited, but will instead allow everyone to play as normal- voiding the plugins function.

    I am thereby withdrawing the plugin until i can make something that works.
    TFN|Nick is offline
    Send a message via MSN to TFN|Nick
    tkaway69
    Senior Member
    Join Date: Dec 2004
    Location: Millbrook Alabama
    Old 12-08-2007 , 18:35   Re: Anti-Ghosting Tool
    Reply With Quote #9

    Understood. I would like to state in plugins defense that if it is not possible to exempt admins that is fine. The Plugin actually only needs to focus on players with same ip. Thank you.
    __________________

    Last edited by tkaway69; 12-08-2007 at 18:38.
    tkaway69 is offline
    Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
    TFN|Nick
    Senior Member
    Join Date: Sep 2007
    Old 12-09-2007 , 07:35   Re: Anti-Ghosting Tool
    Reply With Quote #10

    uh... thats not the point i was really trying to make! lol. The problem is that the tool i was using to set it per player will just set it for everybody regardless. It essentially sets mp_forcecamera to whatever you set the convar to.

    It won't actually target a specific client which is what was originally wanted. So if there is a player on the server with the same ip as another player it will set everyone to mp_forcecamera 2. That throws up problems if your an admin and someone is accused of cheating becuase without removing the camera restriction they won't be able to spec them to determine if they are or not.

    So essentially the plugin is useless for the time being. I am trying to find another way around this but i highly doubt there is

    EDIT: And even that doesn't seem to work

    Last edited by TFN|Nick; 12-09-2007 at 08:08.
    TFN|Nick is offline
    Send a message via MSN to TFN|Nick
    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 11:14.


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