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

TS_Stability


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   The Specialists        Category:   Admin Commands       
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 08-27-2016 , 13:59   TS_Stability
Reply With Quote #1

This plugin aims to prevent a number of common crashes in The Specialists 3.0

Additional Features
The server owner can specify whether or not powerups will appear in the map, using the cvar sv_powerups. Powerups are enabled by default. Setting sv_powerups to 0 will free up an additional model from the precache space.

The server owner can enable or disable player gibs. Gibs are disabled by default. Setting sv_gibs to 0 frees up a model. Setting sv_gibs to 2 removes DMG_NEVERGIB and provides added amusement.

Crashes and Exploits Addressed
Precache Limit: Hitting the 512 model precache limit can cause servers to crash when loading certain levels (levels that were created for TS 2.1, which precached less material). This plugin frees up 15 to 17 models (depending on cvar settings) from the precache space, allowing these levels to be loaded normally. This will remove all dropped magazines and bullet casings / shotgun shells from the game, but it's subtle enough that I've never had anyone notice they weren't there.

Throwing Knives: A throwing knife could be picked up as it strikes a player or breakable object, causing the server to crash. Throwing knives are teleported arbitrarily deep within the ground (outside of the normal playable space) after striking a player, which prevents them from being picked up.

Door Overflow: Getting stuck in a door could cause players to have a reliable channel overflow, or the server could crash. Doors are made non-solid for a short period if they are determined to be "spamming," preventing overflows. If within any single door open or close, the door is blocked from completing its movement more than five times, the door will begin to calculate the number of times it has been blocked per second. If it is blocked more than 10 times per second, the door will become non-solid until players have left the immediate space.

Potential Issues: Running teamplay maps will probably cause the server to crash, because precaching of the briefcase is prevented. Any additional plugin that attempts to house arbitrary data within pev_weaponanim and pev_fov on func_door or func_door_rotating will have issues.

I am hoping this mod will allow more players to host as they please within TS 3.0, which is notoriously difficult to run. With so many easily exploitable crashes, running a casual server for any period of time has been next to impossible.
Attached Files
File Type: sma Get Plugin or Get Source (TS_Stability.sma - 648 views - 11.2 KB)
__________________

Last edited by Bad_Bud; 08-31-2016 at 14:46.
Bad_Bud is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 08-27-2016 , 20:01   Re: TS_Stability
Reply With Quote #2

Quote:
Originally Posted by Bad_Bud View Post
This plugin aims to prevent a number of common crashes in The Specialists 3.0
Hi, if this is only for TS, change the submission from `Modification: ALL` to `Modification: The Specialists`
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 08-27-2016 , 20:12   Re: TS_Stability
Reply With Quote #3

Okay, thanks.
__________________
Bad_Bud 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 18:19.


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