Raised This Month: $32 Target: $400
 8% 

Solved [L4D2] Boss Spawn Percent Issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 04-30-2022 , 22:05   [L4D2] Boss Spawn Percent Issue
Reply With Quote #1

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

Last edited by alasfourom; 05-04-2022 at 20:25.
alasfourom is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-01-2022 , 01:24   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #2

newer plugin
https://github.com/SirPlease/L4D2-Co...oss_percent.sp
__________________
HarryPotter is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 05-01-2022 , 02:17   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #3

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
alasfourom is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-01-2022 , 20:58   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #4

any error log?
do you have any other plugin that would set percent of tank/witch spawn? (progress (0-100)% of the distance map)
__________________

Last edited by HarryPotter; 05-01-2022 at 21:02.
HarryPotter is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 05-02-2022 , 19:20   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #5

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

Last edited by alasfourom; 05-02-2022 at 21:43.
alasfourom is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-02-2022 , 22:00   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #6

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
__________________

Last edited by HarryPotter; 05-02-2022 at 22:28.
HarryPotter is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 05-02-2022 , 23:46   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #7

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 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-03-2022 , 21:12   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #8

Quote:
Originally Posted by alasfourom View Post
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.

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
Attached Files
File Type: sp Get Plugin or Get Source (l4d_boss_filter.sp - 111 views - 11.0 KB)
File Type: sp Get Plugin or Get Source (l4d_boss_percent.sp - 108 views - 4.0 KB)
__________________

Last edited by HarryPotter; 05-03-2022 at 21:28.
HarryPotter is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 05-03-2022 , 23:59   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #9

Excellent Work again HarryPotter

It worked 101%

Appreciate it
alasfourom is offline
BloodyBlade
Senior Member
Join Date: Feb 2018
Old 01-29-2023 , 11:20   Re: [L4D2] Boss Spawn Percent Issue
Reply With Quote #10

Quote:
Originally Posted by HarryPotter View Post
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
Attached Files
File Type: sp Get Plugin or Get Source (l4d_boss_filter.sp - 103 views - 11.1 KB)
File Type: sp Get Plugin or Get Source (l4d_boss_percent.sp - 89 views - 4.0 KB)
BloodyBlade 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:23.


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