View Single Post
Author Message
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 08-07-2021 , 10:53   [L4D/L4D2] "go_away_from_keyboard" Unlock | 0.3 : September 16, 2021 |
Reply With Quote #1

Description:
Patches a certain condition shared between the functions of the command and CTerrorPlayer::PreThink, making it possible for players to go AFK even when they're the only ones currently playing, either alone or with others that are already idle. Now, idling is possible in competitive game modes as well.

This serves as a better method than calling CTerrorPlayer::GoAwayFromKeyboard manually in order to save others the hassle of attempting to fetch the localized Valve translations for whenever someone takes a break through hack-ish workarounds or printing their own chat message for others to take notice.

ConVars:
  • go_afk_unlock_version
    → Version of the plugin.


Installation:
💡 Click "Get Plugin" below and put the compiled .smx file in the plugins folder or "Get Source" if you want to compile it yourself
💡 (Optional) Download the .txt file and put it in the gamedata folder

Changelog:
Code:
0.3 (9/16/21)
+ Made idling working in competitive game modes, e.g., Versus and Scavenge.

0.2 (8/8/21)
+ Now patches the auto idle detection as well.
+ Full L4D support.

0.1 (8/7/21)
* First release.
Attached Files
File Type: txt go_afk_unlock.txt (1.8 KB, 1003 views)
File Type: sp Get Plugin or Get Source (go_afk_unlock.sp - 1418 views - 10.5 KB)

Last edited by cravenge; 09-18-2021 at 06:28. Reason: 0.3 Release
cravenge is offline