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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-28-2011 , 13:36   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #21

It auto places 3 randomly from the config (l4d2_footlocker_random default) but if you dont have the config then theres nothing to auto spawn. Or just change the cvar to 0.

@TOP-ic: those errors are because you need to update sourcemod/your sourcemod gamedata files.
__________________
Silvers is offline
Optics233
Member
Join Date: Nov 2010
Old 05-28-2011 , 14:03   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #22

Found a bug:

Spawning a foot locker with "infinite" fireworks does not work.

!sm_locker 32 0 spawns a footlocker with a limited supply of fireworks that runs out.

Same thing with the witch. !sm_locker w # with any # spawns a locker with molotovs.
Optics233 is offline
Optics233
Member
Join Date: Nov 2010
Old 05-28-2011 , 14:04   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #23

Another bug:

On survival maps, !sm_lockerwipe gives me an error:

"Current map not in the footlocker config." And thus does not wipe any lockers.

Sm_lockerdel still works but replies the nasty error message as well.
Optics233 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-28-2011 , 14:13   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #24

Quote:
Originally Posted by Optics233 View Post
Found a bug:

Spawning a foot locker with "infinite" fireworks does not work.

!sm_locker 32 0 spawns a footlocker with a limited supply of fireworks that runs out.

Same thing with the witch. !sm_locker w # with any # spawns a locker with molotovs.
The fireworks and Witch are more special items so won't spawn unlimited. Fireworks spawn the way they are so they fit in the box and can be picked up, I would have to hook when they are taken and spawn another in the same place, something I can't be bothered doing.


Quote:
Originally Posted by Optics233 View Post
Another bug:

On survival maps, !sm_lockerwipe gives me an error:

"Current map not in the footlocker config." And thus does not wipe any lockers.

Sm_lockerdel still works but replies the nasty error message as well.
I take it these are with temporary lockers.. I could probably supress the warning messages for temp lockers. I'm not sure if I can make sm_lockerdel wipe all temp lockers, maybe, probably, can't remember how it was written now.
__________________
Silvers is offline
TOP-ic
Junior Member
Join Date: Mar 2010
Location: Russia Saint-Petersburg
Old 05-29-2011 , 04:39   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #25

Quote:
Originally Posted by Silvers View Post

@TOP-ic: those errors are because you need to update sourcemod/your sourcemod gamedata files.
Well. Thank you. Now everything works.
TOP-ic is offline
Optics233
Member
Join Date: Nov 2010
Old 05-29-2011 , 12:54   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #26

Quote:
Originally Posted by Silvers View Post
The fireworks and Witch are more special items so won't spawn unlimited. Fireworks spawn the way they are so they fit in the box and can be picked up, I would have to hook when they are taken and spawn another in the same place, something I can't be bothered doing.




I take it these are with temporary lockers.. I could probably supress the warning messages for temp lockers. I'm not sure if I can make sm_lockerdel wipe all temp lockers, maybe, probably, can't remember how it was written now.
Yeah, everything I did was with temporary lockers. The wipe command really isn't needed I guess since the cursor delete command works.. you just might want to note in the first post that wipe is for non-temp lockers only.

Other than that, suppressing the warning messages for temp lockers would be nice as it's annoying for them to pop up when I've done nothing wrong. Can non-admins see those?

Good plugin though. I'm only using it for "fun mode" type things, but its great for what it is. All of your plugins have been really cool, I have most of them on my server. Can't wait to see what you come up with next.
Optics233 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-29-2011 , 13:12   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #27

Thanks Optics233. The error message is only seen by yourself. I've added an sm_clear command to remove all the footlockers from the map, but not attempt to wipe from the config. I also suppressed the messages. Will update the thread with this version soon.
__________________
Silvers is offline
Optics233
Member
Join Date: Nov 2010
Old 05-29-2011 , 15:18   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #28

Quote:
Originally Posted by Silvers View Post
Thanks Optics233. The error message is only seen by yourself. I've added an sm_clear command to remove all the footlockers from the map, but not attempt to wipe from the config. I also suppressed the messages. Will update the thread with this version soon.
I found a bug with temporary lockers in VS - a potentially fatal bug. If I spawn a temporary locker on the first round of a map, when the teams switch sides the server crashes.

So if I spawn a locker as survivor, when I become infected the server would crash.
Optics233 is offline
protero
New Member
Join Date: Jan 2011
Old 05-30-2011 , 10:55   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #29

L 05/30/2011 - 18:48:12: [SM] Native "HookSingleEntityOutput" reported: Entity Outputs are disabled - See error logs for details
L 05/30/2011 - 18:48:12: [SM] Displaying call stack trace for plugin "l4d2_footlocker.smx":
L 05/30/2011 - 18:48:12: [SM] [0] Line 564, /home/groups/alliedmodders/forums/files/8/5/7/7/8/86278.attach::CreateLocker()
L 05/30/2011 - 18:48:12: [SM] [1] Line 1114, /home/groups/alliedmodders/forums/files/8/5/7/7/8/86278.attach::CmdLockerSave()
protero is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-30-2011 , 11:04   Re: [L4D2] Footlocker Spawner (1.1 - 22-May-2011)
Reply With Quote #30

@Optics233: I confirm the game crashes when deleting the *_spawn entities during a versus game. I have no idea how to fix but I am trying some other methods.

@protero: This was posted a few posts above, have a read. It has nothing to do with the plugin, its your gamedata/sourcemod installation which needs to be updated.
__________________
Silvers 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 15:10.


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