AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [L4D2] Boss Spawn Percent Issue (https://forums.alliedmods.net/showthread.php?t=337590)

alasfourom 04-30-2022 22:05

[L4D2] Boss Spawn Percent Issue
 
Hello Guys

This is an old plugin which basically inform you about the chances of tank/witch spawn by typing !boss

Github Link

Unable to compile it with 1.11 or 1.10

Compile Errors

PHP Code:

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// l4d_boss_percent.sp
//
// C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp(38) : error 158: multi-tags are no longer supported
// C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp(41) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp(42) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp(43) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp(65) : error 158: multi-tags are no longer supported
// C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp(102) : error 158: multi-tags are no longer supported
// C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp(123) : error 158: multi-tags are no longer supported
//
// 4 Errors.
//
// Compilation Time: 0.3 sec
// ----------------------------------------

Press enter to exit ... 

Here are the links for the include files

L4D2_direct.inc

l4d2util.inc

readyup.inc

HarryPotter 05-01-2022 01:24

Re: [L4D2] Boss Spawn Percent Issue
 
newer plugin
https://github.com/SirPlease/L4D2-Co...oss_percent.sp

alasfourom 05-01-2022 02:17

Re: [L4D2] Boss Spawn Percent Issue
 
Thanks HarryPotter

I don't know whats the issue now

Its compiled with no errors

PHP Code:

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// l4d_boss_percent.sp
//
// Code size:         19480 bytes
// Data size:         5496 bytes
// Stack/heap size:      16892 bytes
// Total requirements:   41868 bytes
//
// Compilation Time: 0.27 sec
// ----------------------------------------

Press enter to exit ... 

when I try to use the commands "!boss" "!tank" etc it seems the server recognizing the command but doesn't show any information in the chatbox. If you have any clue let me know thanks

HarryPotter 05-01-2022 20:58

Re: [L4D2] Boss Spawn Percent Issue
 
any error log?
do you have any other plugin that would set percent of tank/witch spawn? (progress (0-100)% of the distance map)

alasfourom 05-02-2022 19:20

Re: [L4D2] Boss Spawn Percent Issue
 
Thanks again

Yeah, I just checked it now

PHP Code:

L 05/03/2022 03:42:45SourceMod error session started
L 05
/03/2022 03:42:45Info (map "c1m1_hotel") (file "C:\Servers\L4D2\left4dead2\addons\sourcemod\logs\errors_20220503.log")
L 05/03/2022 03:42:45: [SMException reportedNative is not bound
L 05
/03/2022 03:42:45: [SMBlamingl4d_boss_percent.smx
L 05
/03/2022 03:42:45: [SMCall stack trace:
L 05/03/2022 03:42:45: [SM]   [0IsStaticTankMap
L 05
/03/2022 03:42:45: [SM]   [1Line 715C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp::ProcessBossString
L 05
/03/2022 03:42:45: [SM]   [2Line 560C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_boss_percent.sp::GetBossPercents 

No other plugin errors or plugins that could interfere with it like percent etc

HarryPotter 05-02-2022 22:00

Re: [L4D2] Boss Spawn Percent Issue
 
Are you going to use this plugin in versus or coop?

I shouldn't recommend this plugin because it is for competitive versus and it requires losts of plugins (readyup.smx l4d2lib.smx witch_and_tankifier.smx....), and it seems that you don't need them at least.

You just need
1. a plugin sets percent of tank/witch spawn (progress (0-100)% of the distance map)
2. a plugin informs you about the percent of tank/witch spawn by typing !boss

alasfourom 05-02-2022 23:46

Re: [L4D2] Boss Spawn Percent Issue
 
Quote:

You just need
1. a plugin sets percent of tank/witch spawn (progress (0-100)% of the distance map)
2. a plugin informs you about the percent of tank/witch spawn by typing !boss
Exactly I only need that, I'm using it for Versus

The other plugins, currently I'm not using them and I don't think that I will ever need them

I couldn't find any other plugin that can do even some of its functions.

alasfourom 05-03-2022 23:59

Re: [L4D2] Boss Spawn Percent Issue
 
Excellent Work again HarryPotter

It worked 101%

Appreciate it :up:

BloodyBlade 01-29-2023 11:20

Re: [L4D2] Boss Spawn Percent Issue
 
2 Attachment(s)
Quote:

Originally Posted by HarryPotter (Post 2778571)
l4d_boss_filter: a plugin sets percent of tank/witch spawn (progress (0-100)% of the distance map)
Spoiler


l4d_boss_percent: a plugin informs you about the percent of tank/witch spawn by typing !boss
Spoiler


Require:
Left4dhooks
Multicolors

It's not good to use the old and new syntax together.
* Converted plugin source to the latest syntax.
* Fixed: Compilation errors


All times are GMT -4. The time now is 00:58.

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