Left 4 Dead 2

Left 4 Dead 2

Tabun's Skill Detect
34 kommentarer
Interneted  [ophavsmand] 5. apr. kl. 8:40 
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. kl. 15:48 
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  [ophavsmand] 3. apr. kl. 5:18 
@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. kl. 16:00 
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.
db 12. jan. kl. 11:20 
If you take requests could you please port "dissolve infected sourcemod" 1.17(?)
Interneted  [ophavsmand] 17. dec. 2024 kl. 16:08 
@ 队,友姜丝杀手
Maybe one day.
队,友姜丝杀手 17. dec. 2024 kl. 8:31 
机翻:
添加对 jockey 的推开和空爆?:steamhappy:
FernandaMyLove 6. sep. 2024 kl. 17:01 
i love this mod
Interneted  [ophavsmand] 23. juli 2024 kl. 19:22 
@MK18,
It should work in all gamemodes.
Dale Roger 3. juli 2024 kl. 11:24 
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  [ophavsmand] 2. juli 2024 kl. 20:49 
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. juli 2024 kl. 9:46 
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  [ophavsmand] 2. juli 2024 kl. 3:43 
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. juli 2024 kl. 22:43 
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. juli 2024 kl. 19:46 
This is awesome, thank you! Got it working on my dedicated server. Nice clear instructions, and I don't see any errors
Interneted  [ophavsmand] 27. juni 2024 kl. 7:58 
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.
Xenorvya 25. juni 2024 kl. 6:17 
Is it possible to add a skill detect for (single handedly) killing a Witch melee only without anyone being incapacitated?
Lancer 18. juni 2024 kl. 2:25 
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  [ophavsmand] 17. juni 2024 kl. 21:44 
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. juni 2024 kl. 18:40 
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  [ophavsmand] 11. juni 2024 kl. 3:14 
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. juni 2024 kl. 15:43 
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. maj 2024 kl. 1:30 
GOAT
youjin 3. maj 2024 kl. 10:46 
Please do, thank you
Interneted  [ophavsmand] 3. maj 2024 kl. 6:08 
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. maj 2024 kl. 0:55 
is there a way to decrease the number of decimals of seconds?
Kitto 29. jan. 2024 kl. 20:09 
1. I have both the addons downloaded and Im the host
2. This worked, thanks
Interneted  [ophavsmand] 29. jan. 2024 kl. 19:22 
@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 kl. 18:14 
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 kl. 3:10 
Problem solved. There was a conflict with another addon. thank you
Interneted  [ophavsmand] 28. jan. 2024 kl. 2:19 
@xyz
Have you subscribed to the required item on the right?
xyz 27. jan. 2024 kl. 5:02 
This script doesn't work....ㅠㅠ
Do I need to subscribe to something else?
Evil Jonathan Main 27. jan. 2024 kl. 2:41 
The Comic Sans font you're using just adds to the screenshots.
Pyri 20. dec. 2023 kl. 8:01 
Amazing, great job.