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

[L4D2] Spawn uncommon Infected


Post New Thread Reply   
 
Thread Tools Display Modes
L4D2Noob
AlliedModders Donor
Join Date: Mar 2020
Location: Moscow
Old 09-20-2022 , 07:06   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #221

Quote:
Originally Posted by alasfourom View Post
I updated the part that I need only, and modified it a bit, u can only spawn hordes, I removed fallen and roadcrew.

you can use it this way:
sm_horde <riot|ceda|clown|mud|jimmy>

if anyone interested, here it is.
After trying to summon a horde, the server went down.
Code:
Ry@N  :  !horde jimmy
[Horde] Player Ry@N has called Jimmy Hordes, get ready!

Server connection timed out.
CAsyncWavDataCache:  111 .wavs total 0 bytes, 0.00 % of capacity
Duplicate sequence 3 in sheet file
CAsyncWavDataCache:  111 .wavs total 0 bytes, 0.00 % of capacity
BinkOpen( d:\steamlibrary\steamapps\common\left 4 dead 2\left4dead2\media\l4d2_background04.bik )
__________________
L4D2Noob is offline
Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 09-20-2022 , 11:49   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #222

Quote:
Originally Posted by L4D2Noob View Post
After trying to summon a horde, the server went down.
Code:
Ry@N  :  !horde jimmy
[Horde] Player Ry@N has called Jimmy Hordes, get ready!

Server connection timed out.
CAsyncWavDataCache:  111 .wavs total 0 bytes, 0.00 % of capacity
Duplicate sequence 3 in sheet file
CAsyncWavDataCache:  111 .wavs total 0 bytes, 0.00 % of capacity
BinkOpen( d:\steamlibrary\steamapps\common\left 4 dead 2\left4dead2\media\l4d2_background04.bik )
yeah I apologize for that, when I checked the code, instead of typing this:
PHP Code:
public void OnMapStart() 
I have no idea but I saw this creepy line instead:
PHP Code:
public void OnMaHordetart() 
So, it crashed cuz we didnt "PrecacheModel", but now should be fine, thank you for reporting it.

The updated one here
Attached Files
File Type: sp Get Plugin or Get Source (horde_test.sp - 296 views - 5.9 KB)
__________________

Last edited by alasfourom; 09-20-2022 at 11:52.
alasfourom is offline
L4D2Noob
AlliedModders Donor
Join Date: Mar 2020
Location: Moscow
Old 09-21-2022 , 12:25   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #223

Now it works great.
__________________
L4D2Noob is offline
Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-17-2023 , 07:21   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #224

This is great plugin. I convert the enum to new syntax and make some change, unlock fallen survivor myself
__________________

Last edited by HarryPotter; 10-09-2023 at 01:02.
HarryPotter is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 06-26-2023 , 15:47   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #225

I had a crash on the questionable ethics map 2 right at the beginning, when the bridge was deploying itself..
It took me days to find that it was the fact i had the fallen survivor set to appear in the hordes sith spawn uncommon plugin.
I think that some custom maps can crash if you force the fallen surv to appear in it
I didn't try to do research to fix the problem because having the fallen appearing was not a priority.
But i know it can crash some maps and it's a real pain to find the reason when you have more than 70 plugins in your server.

I also wonder why there is no .cfg file in cfg/sourcemod and the only way to apply the cvars is to put them in the server.cfg
__________________
82.66.75.218:27015 - Walk In Dead Nightmare
82.66.75.218:27016 - Walk In Dead Rampage
82.66.75.218:27017 - Walk In Dead Vanilla
NeoTM is offline
mrtach
Junior Member
Join Date: Jan 2018
Old 10-08-2023 , 15:24   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #226

I tried to convert the enum to new syntax but I just failed
it seems need a little more rework where the data array is made and my knowledge is short at this 🤣
mrtach is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 10-26-2023 , 13:52   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #227

I wish new version of new syntax for compile new sm 1.11 and 1.12 (
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 01-10-2024 , 08:45   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #228

I edit and add road crew and fallen survivors enjoy!
Gamedata: unlock_fallensurvivor_limit.txt
Source: horde_uncommon.sp

Last edited by maclarens; 01-22-2024 at 09:21. Reason: Update, Fixing crash server v2.1
maclarens is offline
voledar
Junior Member
Join Date: Jan 2024
Location: Russian, Moscow
Old 01-22-2024 , 03:22   Re: [L4D2] Spawn uncommon Infected
Reply With Quote #229

I liked the author's original plugin, so I decided to update the syntax.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_spawnuncommons.sp - 83 views - 9.5 KB)
voledar 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:41.


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