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

[TF2] Respawn Timer (v1.1, 2/26/2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Plugin ID:
6034
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    Author is no longer supporting this plugin and have requested it unapproved.
    Old 02-25-2018 , 21:15   [TF2] Respawn Timer (v1.1, 2/26/2018)
    Reply With Quote #1

    Description:
    Allows server operators to set a respawn time (in seconds). You can also control if bots are respawned, print hint or center text telling players how many seconds until they respawn (also customization of the message), restrict respawning with the plugin to players with certain admin flags, and enabling/disabling respawning with the plugin after a round ends. This plugin is essentially an updated version of this plugin (without the teleporting back to where you died feature & sudden death support).

    Installation:
    Code:
    1.) Click Get Plugin and place the file into addons/sourcemod/plugins.
    2.) Download the respawntimer.phrases.txt file and place it in addons/sourcemod/translations.
    3.) Load the plugin by using the command sm plugins load respawntimer, changing the map, or restarting the server.
    Optional: 4.) After loading the plugin, a file will be generated: cfg/sourcemod/respawntimer.cfg. In that file, you can customize the values of the ConVars to your liking. After modifying the file, to apply changes to the ConVars, reload the plugin by using the command sm plugins reload respawntimer.
    Optional: 5.) You can edit the message that is shown to players with the translations file respawntimer.phrases.txt.
    Updating:
    Code:
    1.) Click Get Plugin and place the file into addons/sourcemod/plugins.
    2.) Delete the config file cfg/sourcemod/respawntimer.cfg.
    3.) Reload the plugin by using the command sm plugins reload respawntimer.
    Optional: 4.) Repeat step 4 in the installation guide.
    Todo:
    Code:
    - Add sudden death support.
    Attached Files
    File Type: txt respawntimer.phrases.txt (109 Bytes, 692 views)
    File Type: sp Get Plugin or Get Source (respawntimer.sp - 1150 views - 8.0 KB)

    Last edited by ThatKidWhoGames; 02-26-2018 at 05:40.
    ThatKidWhoGames is offline
    ThatKidWhoGames
    Veteran Member
    Join Date: Jun 2013
    Location: IsValidClient()
    Old 02-25-2018 , 21:16   Re: [TF2] Respawn Timer (v1.0, 2/25/2018)
    Reply With Quote #2

    Changelog:

    Version: 1.0
    Code:
    *Initial release.
    Version: 1.1
    Code:
    *Fixed an error involving an array being an invalid handle.
    
    L 02/26/2018 - 04:00:57: [SM] Exception reported: Invalid Handle 0 (error: 4)
    L 02/26/2018 - 04:00:57: [SM] Blaming: respawntimer.smx
    L 02/26/2018 - 04:00:57: [SM] Call stack trace:
    L 02/26/2018 - 04:00:57: [SM]   [0] ArrayList.Clear
    L 02/26/2018 - 04:00:57: [SM]   [1] Line 115, H:\SourceMod Projects\projects\TF2\My Plugins\Respawn Timer\respawntimer.sp::OnConfigsExecuted

    Last edited by ThatKidWhoGames; 02-26-2018 at 05:42.
    ThatKidWhoGames is offline
    heavyisgps
    Member
    Join Date: Aug 2018
    Old 06-14-2023 , 14:24   Re: [TF2] Respawn Timer (v1.1, 2/26/2018)
    Reply With Quote #3

    When using this plugin I get seg faults

    FATAL ERROR: Host_Error: SV_CreatePacketEntities: GetEntServerClass failed for ent 251.

    This is when using TF2_UpdateClientRespawnTime(victim, 2.0); in the event_death pre hook mode.
    __________________
    Creator of the Hi GPS Balance mod for TF2.

    www.higps.no

    Last edited by heavyisgps; 06-14-2023 at 14:24.
    heavyisgps is offline
    Reply


    Thread Tools
    Display Modes

    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 06:38.


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