AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [TF2] Respawn Timer (v1.1, 2/26/2018) (https://forums.alliedmods.net/showthread.php?t=305608)

ThatKidWhoGames 02-25-2018 21:15

[TF2] Respawn Timer (v1.1, 2/26/2018)
 
2 Attachment(s)
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.

ThatKidWhoGames 02-25-2018 21:16

Re: [TF2] Respawn Timer (v1.0, 2/25/2018)
 
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


heavyisgps 06-14-2023 14:24

Re: [TF2] Respawn Timer (v1.1, 2/26/2018)
 
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.

Seamusmario 04-25-2024 11:37

Re: [TF2] Respawn Timer (v1.1, 2/26/2018)
 
I made a fork of this plugin for L4D2.


All times are GMT -4. The time now is 01:34.

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