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

FF Skill Utility


Post New Thread Reply   
 
Thread Tools Display Modes
Author
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Plugin ID:
196
Plugin Version:
2.6
Plugin Category:
General Purpose
Plugin Game:
Fortress Forever
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Different commands to help you with skill maps
    Old 10-10-2007 , 20:32   FF Skill Utility
    Reply With Quote #1

    +description+
    This plugin allows players to use various commands that help them with mostly skill type maps.

    +installation+
    - Place the skillutility.smx file inside of the addons/sourcemod/plugins/ folder.

    +admin commands+
    /goto <PlayerName>: Lets an admin teleport to the specified players location.

    +client commands+
    saveme: Lets a player save their position they are standing at.
    posme: Lets a player return to the position they saved at using 'saveme'.
    /clipon: Lets a player gain noclip for a time in seconds specified by a cvar. After the time runs out the player is teleported back to where they started noclip at.
    /clipoff: If the player is using '/clipon' then this will return them back to where they started it if the time hasn't ran out yet.

    +cvars+
    sv_cliptime <seconds>: The number of seconds to allow noclip when a user types '/clipon'.
    sv_helpmsg <0 or 1>: 0 Turns help messages off, 1 turns them on.
    sv_helpmsgtime <seconds>: The number of seconds in between each help message that displays.
    sv_skillutility <0 or 1>: 0 Turns plugin off, 1 turns plugin on.

    +change log+
    Version 1.0 ( 10-10-2007 )
    -- Initial release.

    Version 2.0 ( 09-09-2008 )
    -- Rewrote a lot of code for better optimization and compatibility with FF and SM versions.
    -- Removed blocking of +attack and +use as this is no longer possible at the moment.
    -- Added checks if player is on ground and not ducking before using saveme.
    -- Added blocking interaction with some entities when using /clipon.
    -- Added help message displaying to use /clipoff for turning noclip off.
    -- Added sv_skillutility cvar to enable/disable the plugin.
    -- Fixed a for statement that would leave off the last player.
    -- Changed MAX_PLAYERS from 32 down to 22 (max FF player limit).

    Version 2.1 ( 11-29-2008 )
    -- Resets players saved position on spawn (thanks Lt. Llama).

    Version 2.2 ( 01-27-2009 )
    -- No longer removes clients saved position on spawn unless they changed class.
    -- Fixed a problem with clients collision value when turning clip off.
    -- When using posme/clipoff the clients velocity is set to 0.
    -- When using saveme/clipon the clients angles are now saved.

    Version 2.3 ( 02-02-2009 )
    -- Added color to the messages when using the commands.
    -- Fixed the error when someone chats via server console (thanks PartialSchism).

    Version 2.4 ( 02-06-2009 )
    -- Added a new client command for admins (say /goto <PlayerName>).
    -- Fixed the message beep when using commands.

    Version 2.5 ( 03-05-2009 )
    -- Fixed the SayText function.

    Version 2.6 ( 03-09-2009 )
    -- Fixed a bug on users clip reset.

    Version 2.7 ( 12-17-2011 )
    -- Fixed crashing servers in the latest FF version (GetClientEyeAngles() seems to have wrong offset).
    -- Updated to use MaxClients variable instead of GetMaxClients().
    Attached Files
    File Type: sp Get Plugin or Get Source (skillutility.sp - 710 views - 12.7 KB)

    Last edited by hlstriker; 12-17-2011 at 09:34.
    hlstriker is offline
    Lt Llama
    Senior Member
    Join Date: Aug 2004
    Old 10-18-2007 , 14:07   Re: Skill Utility
    Reply With Quote #2

    So much agonies on FF because people get stuck, and have to kill themselves, and cant get back. You solved all that. Next generation /clipon .

    As FF has a problem with the teles currently, you think it's possible to implement unstuck in this? Maybe another plugin, and hopefully they will patch it.

    Is it intentional that you can change class and still use posme and get back to the previous position? It looks like you can now.

    I think you should add
    g_savedPos[client] = Float:{0.0,0.0,0.0}
    g_savedPosClip[client] = Float:{0.0,0.0,0.0}

    to public hook_death

    and tell the player that he lost his previous /saveme coord because he changed class.

    Very gj Hlstriker

    EDIT:

    Ok, tested it

    1. You can touch entities when using /clipon. Is it possible to make the player not able to do that. Now you can noclip to any secret or go and get points for finishing the map.

    2. Add to the message "type /clipoff to turn it off".

    3. Now you can use /clipon or saveme & posme of you are in mid air and use it just to retry a jump from a position in mid air. Possible to change? Can only be used while standing still on ground?

    4. Hide the messages to other users.

    5. Sometimes you get stuck if you use posme or /clipon while crouching.
    __________________
    A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.

    Last edited by Lt Llama; 10-18-2007 at 14:59.
    Lt Llama is offline
    [HBA]Whiteboy
    New Member
    Join Date: Feb 2008
    Old 02-14-2008 , 14:53   Re: Skill Utility
    Reply With Quote #3

    I would definately like to be able to turn saveme posme off/on. Depending on type of map in play.
    [HBA]Whiteboy is offline
    Lt Llama
    Senior Member
    Join Date: Aug 2004
    Old 02-14-2008 , 17:22   Re: Skill Utility
    Reply With Quote #4

    Obsolete after last update

    Last edited by Lt Llama; 11-07-2008 at 03:31. Reason: Obsolete after last update
    Lt Llama is offline
    Lt Llama
    Senior Member
    Join Date: Aug 2004
    Old 11-07-2008 , 03:33   Re: FF Skill Utility
    Reply With Quote #5

    Still possible to use saveme, switch team, and use posme.
    Add something like

    HookEvent("player_spawn", hook_death, EventHookMode_Post);

    K thx
    __________________
    A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.
    Lt Llama is offline
    hlstriker
    Green Gaben
    Join Date: Mar 2006
    Location: OH-IO!
    Old 11-29-2008 , 11:07   Re: FF Skill Utility
    Reply With Quote #6

    Updated. Thanks Llama
    hlstriker is offline
    hellomoto
    Member
    Join Date: Sep 2006
    Old 04-09-2014 , 02:38   Re: FF Skill Utility
    Reply With Quote #7

    This plugin seems to not be working on a map-specific basis anymore. Before, it would work for any map that had this code in the lua file:

    SetConvar( "sv_skillutility", 1 )

    If I have the sv_skillutility disabled in my server.cfg file, it does not work. But as soon as I enable it in the cfg file, it works, but for all maps including non-skill maps. If I disable it again, restart the server and make sure it is off, then remove the sv_skillutility command completely from my server.cfg file and restart the server again, it works for every map. So I have to have it turned off in my server.cfg file so I make sure the maps that can't have that plugin turned on don't get effected.
    hellomoto 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 22:28.


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