Left 4 Dead 2

Left 4 Dead 2

Tabun's Skill Detect
34 Comments
Interneted  [author] 5 Apr @ 8:40am 
Well, I've double checked any related boomer exploded events, and I can't find anything related to the crash. Since it happens on both vscripts, I mostly suspect it's from your plugins/add-ons, I can't say much about it, sry.

The compiled .smx plugin works in my friend server without any plugin added, do note that I have no knowledge of sourcepawn. In short, the best I can suggest is keep finding the add-on culprit or start fresh on your game files.
CaptPatrick01 3 Apr @ 3:48pm 
Both failed. One tried to read from a .sp file as include which it didn't support and the other wanted to read morecolors.inc from a subdirectory. Neither premade .smx files from the same place worked out of the box either.

The boomer had a high chance of crashing the game after it receives damage where it would normally explode. I've been removing possible culprit mods for the better part of a month, seems like anything that even tangentially interacts with the boomer triggers it. I had to use depot_download to roll back to a version of L4D2 from late last year before it started happening which sort of fixed it happening with particle replacements and skins, but this still cause me first-map crashes instead of later down the line, though skysky's does so more frequently.
Interneted  [author] 3 Apr @ 5:18am 
@CaptPatrick01
Try this one [github.com] from the zonemod repo.

Alternative by harry potter [github.com]

And may I know what exactly happened before the boomer crashes the game?
CaptPatrick01 2 Apr @ 4:00pm 
Any download for the sourcemod implementation? Both Vscript versions makes the boomer crash my game and I cannot compile the .sp files the site provided.
db4ks 12 Jan @ 11:20am 
If you take requests could you please port "dissolve infected sourcemod" 1.17(?)
Interneted  [author] 17 Dec, 2024 @ 4:08pm 
@ 队,友姜丝杀手
Maybe one day.
队,友姜丝杀手 17 Dec, 2024 @ 8:31am 
机翻:
添加对 jockey 的推开和空爆?:steamhappy:
Cursed 6 Sep, 2024 @ 5:01pm 
i love this mod
Interneted  [author] 23 Jul, 2024 @ 7:22pm 
@MK18,
It should work in all gamemodes.
Dale Roger 3 Jul, 2024 @ 11:24am 
I really appreciate you taking the time to help. Information on this sort of thing can be tough to find. I would have never guessed I could just extract the vpk and add them to game files like that. I'm a total newb to sourcepawn, vscript, and source servers. Just some basic linux and programming knowledge. It was driving me nuts trying to disable client addons, while still running custom content on the server.
Interneted  [author] 2 Jul, 2024 @ 8:49pm 
Nice, I am glad that you got it working! That was the step I was going to guide you if there is somehow another script file in there, but it's great that you know how to edit the file.

Anyways, back in past, I really liked that plugin when I watched a lot of zonemod clips, and wanted to apply it to my server. But I don't like setting up a dedicated server and sourcemod just for that, using local hosted sourcemod server lagged my game hardcore.

Now that I have some background with vscript, I decided to make it for myself and share with others who doesn't like setting up a sourcemod server. :)

One more thing, it is server-sided, only the host needs to install this and every player will see the message, and it is not exactly the same as the original plugin, ex: melee-skeeting a hunter fires only when they are not staggering in the plugin, while mines are in the air.
Dale Roger 2 Jul, 2024 @ 9:46am 
That worked perfectly, thanks! Out of curiosity, why did you go through the trouble to convert Tabun's original plugin in (sourcemod) sourcepawn into this .vpk with .nut files? Seems like that must have been a ton of work! I get this allows people to use it client side too though.

To summarize for others, if you want to run .vpk addons on your dedicated server, but block client-side addons, make sure you restrict addons in "left4dead2/cfg/addonconfig.cfg", eg:
"RestrictAddons"
{
"default" "1"
"versus" "1"
"scavenge" "1"
"mutation15" "1" // versus survival
}

Extract your desired .vpk files using VPKEdit. Move the extracted "scripts" folder into the "update" folder (root, above "left4dead2" folder)

A lot of addons use "director_base_addon.nut" to load themselves. So just merge them so all their lines exist, eg:
IncludeScript("bhop_detector");
IncludeScript("interneted_skilldetect", getroottable());
Interneted  [author] 2 Jul, 2024 @ 3:43am 
Yeah, the vpk only works when configuring addonconfig, the only way to make it work while disabling addons for clients is to unpack the vpk and put it to the game files manually without using gameinfo.txt, kinda like how zonemod does.

Assuming you know how to unpack vpk files, you need to copy the vscripts folder and put it into update/scripts (assuming it is empty, it mostly is) and that's it.

If it's not empty, may I know the contents?
Dale Roger 1 Jul, 2024 @ 10:43pm 
To get this addon to work in versus, you have to set it to 0 (disabled) in addonconfig.cfg
"RestrictAddons"
{
"default" "0"
"versus" "0"
"scavenge" "1"
"mutation15" "1" // versus survival
}

But then the server lets client addons work as well. Setting it to "1" blocks all vpks (but does still run Sourcemod plugins). Is there any way to just load the server addon vpks, while still blocking client addons? I've tried all sort of combinations and nothing seems to work, for example

sv_consistency 1
sv_pure 2

Any ideas? Are VPKs not meant to be server addons like this?
Dale Roger 1 Jul, 2024 @ 7:46pm 
This is awesome, thank you! Got it working on my dedicated server. Nice clear instructions, and I don't see any errors
Interneted  [author] 27 Jun, 2024 @ 7:58am 
well, it is definitely possible, and great suggestion, though I am not sure how the message will be written, as all of the detect messages are based on the original plugin, and that detect you're mentioning aren't included.
Legoshi's Lover 25 Jun, 2024 @ 6:17am 
Is it possible to add a skill detect for (single handedly) killing a Witch melee only without anyone being incapacitated?
Lancer 18 Jun, 2024 @ 2:25am 
I see, thanks. I dont like sm plugin because the movement on the server with smod installed feels kinda slow/laggy. Your addon is a great solution
Interneted  [author] 17 Jun, 2024 @ 9:44pm 
Yep, it's possible and I have considered doing that later on.

For now, I am thinking on whether I should put a configurable time and height limit on some of the detects, most likely not.
Lancer 17 Jun, 2024 @ 6:40pm 
is that possible that you make a simple txt file in ems folder where I can configure which messages I want to see and which not?
Interneted  [author] 11 Jun, 2024 @ 3:14am 
Well yeah, it's possible, but it is out of my interest and as you said, it gets annoying as heck xD, especially when you are playing hard 8+ mutations.
King 10 Jun, 2024 @ 3:43pm 
any way to get something like when u get pounced by a hunter or charged by a charger to tell u how much hp they had? or would that be too much text spam? i would like to know how low i left that one jockey after he somehow still jumped on my head lol
Coder 4 May, 2024 @ 1:30am 
GOAT
youjin 3 May, 2024 @ 10:46am 
Please do, thank you
Interneted  [author] 3 May, 2024 @ 6:08am 
If you are familiar with squirrel lang, you can use the slice function to round the numbers to a certain decimal amount, it's possible.

If you don't know anything about it, then fortunately, I am going to round it to 2 in an update soon.
youjin 3 May, 2024 @ 12:55am 
is there a way to decrease the number of decimals of seconds?
Kitto 29 Jan, 2024 @ 8:09pm 
1. I have both the addons downloaded and Im the host
2. This worked, thanks
Interneted  [author] 29 Jan, 2024 @ 7:22pm 
@Kitto
Ensure that:
1. The local host is the one subscribed to this add-on.
2. I thought this is common knowledge but whatever.

Right-click on Left 4 Dead 2 in your steam library, select Properties, click on the Installed Files tab, then click on the Browse... button.
Go to left4dead2/cfg/ and open addonconfig.cfg with a text editor or Notepad.

Finally, edit this line:
"versus" "1"
Kitto 29 Jan, 2024 @ 6:14pm 
Doesn't work in local versus, I have subscribed to the required addon and there is nothing conflicting. Might be worth a look at, ty.
xyz 28 Jan, 2024 @ 3:10am 
Problem solved. There was a conflict with another addon. thank you
Interneted  [author] 28 Jan, 2024 @ 2:19am 
@xyz
Have you subscribed to the required item on the right?
xyz 27 Jan, 2024 @ 5:02am 
This script doesn't work....ㅠㅠ
Do I need to subscribe to something else?
Evil Jonathan Main 27 Jan, 2024 @ 2:41am 
The Comic Sans font you're using just adds to the screenshots.
Pyri 20 Dec, 2023 @ 8:01am 
Amazing, great job.