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

[L4D2] Footlocker Spawner (1.19) [22-Nov-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
goldenshots
New Member
Join Date: Aug 2013
Old 08-25-2013 , 11:55   Re: [L4D2] Footlocker Spawner (1.9) [21-Jul-2013]
Reply With Quote #61

im using source mod 1.4.7.
and metamod 1.9.2.
goldenshots is offline
gajo0650
Member
Join Date: Apr 2012
Old 10-27-2013 , 23:29   Re: [L4D2] Footlocker Spawner (1.9) [21-Jul-2013]
Reply With Quote #62


Fireworks one box can be selected.
The remaining Fireworks box is not a choice.
Is this a bug?
Please check and fix.

Last edited by gajo0650; 10-27-2013 at 23:30.
gajo0650 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-27-2015 , 11:44   Re: [L4D2] Footlocker Spawner (1.9) [21-Jul-2013]
Reply With Quote #63

I know the post is old, but I just checked on SourceMod 1.7 and it's working, you can select all the fireworks. Maybe in some positions or something the Fireworks cannot be picked up, but this is probably a rare and unlucky case. Nothing more I can do about that sorry.
__________________
Silvers is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 04-12-2015 , 19:18   Re: [L4D2] Footlocker Spawner (1.9) [21-Jul-2013]
Reply With Quote #64

Hi Silvers, first off, you are one of my favorite plugin authors and I personally use all but a few of them and absolutely love them! All of the plugins I use work without error except for Footlocker. I downloaded the .sp and compiled it with 1.7.0 and got this error thought it seems to work fine in all respects...

//SourceMod Batch Compiler

//// l4d2_footlocker.sp
//
// l4d2_footlocker.sp(1479) : error 001: expected token: "-identifier-", but fou
nd "delete"
// l4d2_footlocker.sp(1479) : error 029: invalid expression, assumed zero
// l4d2_footlocker.sp(1480) : error 001: expected token: ";", but found "if"
// l4d2_footlocker.sp(1489) : error 029: invalid expression, assumed zero
// l4d2_footlocker.sp(1489) : warning 215: expression has no effect
// l4d2_footlocker.sp(1492) : error 029: invalid expression, assumed zero
// l4d2_footlocker.sp(1479) : warning 203: symbol is never used: "__unknown__"
//


and also this from my error log after a long but successful Dark Carnival campaign:

L 04/12/2015 - 15:05:21: [SM] Displaying call stack trace for plugin "l4d2_footlocker.smx":
L 04/12/2015 - 15:05:21: [SM] [0] Line 284, /groups/sourcemod/compiler-1.3/include/halflife.inc:rintToChatAll()
L 04/12/2015 - 15:05:21: [SM] [1] Line 911, /home/forums/content/files/8/5/7/7/8/104534.attach::OnSpawn()
L 04/12/2015 - 15:05:21: [SM] [2] Line 886, /home/forums/content/files/8/5/7/7/8/104534.attach::OnAnimationBegun()
L 04/12/2015 - 15:05:21: [SM] Plugin encountered error 15: Array index is out of bounds

Last edited by jking; 04-12-2015 at 19:21.
jking is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-13-2015 , 11:46   Re: [L4D2] Footlocker Spawner (1.9.1) [13-Apr-2015]
Reply With Quote #65

Thanks, fixed the error in sourcemod 1.7.x.

Not sure about the other one, would need more details. How many footlockers do you have spawning? The line numbers don't match up with the source I have so I'm clueless.
__________________
Silvers is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 04-13-2015 , 11:52   Re: [L4D2] Footlocker Spawner (1.9.1) [13-Apr-2015]
Reply With Quote #66

Quote:
Originally Posted by Silvers View Post
Thanks, fixed the error in sourcemod 1.7.x.

Not sure about the other one, would need more details. How many footlockers do you have spawning? The line numbers don't match up with the source I have so I'm clueless.
Thanks for the response Silvers, I didn't change much at all other than open time from 1 sec to 0.5 and witch spawn %. here's my config for reference:

Code:
// This file was auto-generated by SourceMod (v1.7.0)
// ConVars for plugin "l4d2_footlocker.smx"


// 0=Plugin off, 1=Plugin on.
// -
// Default: "1"
l4d2_footlocker_allow "1"

// 0=Off. Any other value is the range at which the glow will turn on.
// -
// Default: "100"
l4d2_footlocker_glow "100"

// 0=Default glow color. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
// -
// Default: "0 255 0"
l4d2_footlocker_glow_color "0 255 0"

// 0=Off. 1=Notify to all players in chat who opened the Footlocker.
// -
// Default: "1"
l4d2_footlocker_hint "1"

// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
// -
// Default: ""
l4d2_footlocker_modes ""

// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
// -
// Default: ""
l4d2_footlocker_modes_off ""

// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
// -
// Default: "0"
l4d2_footlocker_modes_tog "0"

// -1=All, 0=Off, Randomly select this many footlockers to spawn from the maps config.
// -
// Default: "3"
l4d2_footlocker_random "3"

// 0=Off. How many seconds it takes to open a footlocker.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d2_footlocker_timed "0.5"

// How many items can be taken from the locker before it's empty. 0 = Infinite.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_footlocker_total "0"

// Which items can spawn. 1=Molotov, 2=Pipebomb, 4=Vomitjar, 8=Adrenaline, 16=Pain Pills, 32=Fireworks crate. 63=All.
// -
// Default: "63"
l4d2_footlocker_types "63"

// Allows survivors to vocalize when they see a footlocker and open it.
// -
// Default: "1"
l4d2_footlocker_vocalize "1"

// 0=Off, 1/cvar. The chance of a footlocker containing a witch.
// -
// Default: "100"
l4d2_footlocker_witch "50"

Last edited by jking; 04-13-2015 at 11:53.
jking is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 04-15-2015 , 15:06   Re: [L4D2] Footlocker Spawner (1.9.1) [13-Apr-2015]
Reply With Quote #67

with your 4/13 update I'm still getting stack trace errors, though seems to work ok:

Code:
L 04/15/2015 - 12:57:05: [SM] Native "VFormat" reported: Client index -1 is invalid
L 04/15/2015 - 12:57:05: [SM] Displaying call stack trace for plugin "l4d2_footlocker.smx":
L 04/15/2015 - 12:57:05: [SM]   [0]  Line 333, H:\l4d2ds\left4dead2\addons\sourcemod\scripting\include\halflife.inc::PrintToChatAll()
L 04/15/2015 - 12:57:05: [SM]   [1]  Line 914, l4d2_footlocker.sp::OnSpawn()
L 04/15/2015 - 12:57:05: [SM]   [2]  Line 889, l4d2_footlocker.sp::OnAnimationBegun()
my config settings:

Code:
// This file was auto-generated by SourceMod (v1.7.0)
// ConVars for plugin "l4d2_footlocker.smx"


// 0=Plugin off, 1=Plugin on.
// -
// Default: "1"
l4d2_footlocker_allow "1"

// 0=Off. Any other value is the range at which the glow will turn on.
// -
// Default: "100"
l4d2_footlocker_glow "125"

// 0=Default glow color. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
// -
// Default: "0 255 0"
l4d2_footlocker_glow_color "0 255 0"

// 0=Off. 1=Notify to all players in chat who opened the Footlocker.
// -
// Default: "1"
l4d2_footlocker_hint "1"

// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
// -
// Default: ""
l4d2_footlocker_modes ""

// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
// -
// Default: ""
l4d2_footlocker_modes_off ""

// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
// -
// Default: "0"
l4d2_footlocker_modes_tog "0"

// -1=All, 0=Off, Randomly select this many footlockers to spawn from the maps config.
// -
// Default: "3"
l4d2_footlocker_random "3"

// 0=Off. How many seconds it takes to open a footlocker.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d2_footlocker_timed "0.5"

// How many items can be taken from the locker before it's empty. 0 = Infinite.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_footlocker_total "20"

// Which items can spawn. 1=Molotov, 2=Pipebomb, 4=Vomitjar, 8=Adrenaline, 16=Pain Pills, 32=Fireworks crate. 63=All.
// -
// Default: "63"
l4d2_footlocker_types "63"

// Allows survivors to vocalize when they see a footlocker and open it.
// -
// Default: "1"
l4d2_footlocker_vocalize "1"

// 0=Off, 1/cvar. The chance of a footlocker containing a witch.
// -
// Default: "100"
l4d2_footlocker_witch "25"
jking is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-14-2015 , 18:18   Re: [L4D2] Footlocker Spawner (1.9.1) [13-Apr-2015]
Reply With Quote #68

Quote:
Originally Posted by jking View Post
with your 4/13 update I'm still getting stack trace errors, though seems to work ok:

Code:
L 04/15/2015 - 12:57:05: [SM] Native "VFormat" reported: Client index -1 is invalid
L 04/15/2015 - 12:57:05: [SM] Displaying call stack trace for plugin "l4d2_footlocker.smx":
L 04/15/2015 - 12:57:05: [SM]   [0]  Line 333, H:\l4d2ds\left4dead2\addons\sourcemod\scripting\include\halflife.inc::PrintToChatAll()
L 04/15/2015 - 12:57:05: [SM]   [1]  Line 914, l4d2_footlocker.sp::OnSpawn()
L 04/15/2015 - 12:57:05: [SM]   [2]  Line 889, l4d2_footlocker.sp::OnAnimationBegun()
I made some changes, these errors shouldn't occur any more. Thanks
__________________
Silvers is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 07-19-2016 , 12:36   Re: [L4D2] Footlocker Spawner (1.9.2) [14-Jun-2015]
Reply With Quote #69

Silvers, thanks so much for your help last year, much appreciated. I took some time off from all of this but have recently returned and have a question on RGB color for default glow color, I've set it at "255 192 203" which is pink but nothing is showing as such, just normal color.

Last edited by jking; 07-19-2016 at 12:45.
jking is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-02-2016 , 12:58   Re: [L4D2] Footlocker Spawner (1.9.2) [14-Jun-2015]
Reply With Quote #70

It used to work so unless Valve has changed something I'm not sure, you checked both glow cvars are set while in game?
__________________
Silvers is offline
Reply


Thread Tools
Display Modes

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 14:54.


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