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

Bad spawn preventer v1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Hawk552 (427)
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 09-07-2009 , 07:39   Bad spawn preventer v1.3
Reply With Quote #1

Description:

There are many maps that have corrupted spawn points. If you get spawned in one of those - you will get killed thus leaving you dead waiting for next round. This plugin respawns the player if he got killed because of bad spawn position and respawns the player if he is stuck in the wall at spawn. It also logs the map name, that may have bad spawn points, to it's own log file. This will let the admin to fix the map spawns with additional plugin. Very helpful for servers, that have lots off maps and for admins that don't have time to check them all.


Notes:

- Requires HamSandwich & FakeMeta modules
- My first plugin

Change log:

Code:
1.3:
- Spawn stuck detection metod changed to more efficient

1.2:
- Now it also checks if the player is stuck at spawn

1.1:
- Spawn kill detection metod changed to more efficient
- Removed cvars

1.0:
- Public release

Credits:


Alka - for helping with the log file

xPaw - for better way to check spawn kills

VEN - for better way to check player stuck on spawn




Attached Files
File Type: sma Get Plugin or Get Source (bsp.sma - 5126 views - 2.5 KB)

Last edited by BeasT; 03-04-2010 at 05:56.
BeasT is offline
Send a message via Skype™ to BeasT
Old 09-07-2009, 07:40
BeasT
This message has been deleted by BeasT.
Jon
Veteran Member
Join Date: Dec 2007
Old 09-07-2009 , 09:39   Re: Bad spawn preventer v1.1
Reply With Quote #2

Spawning dead is one thing, how about stuck spawns? (zm_lila_panic_css for instance).
Jon is offline
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 09-07-2009 , 10:57   Re: Bad spawn preventer v1.1
Reply With Quote #3

Quote:
Originally Posted by Jon View Post
Spawning dead is one thing, how about stuck spawns? (zm_lila_panic_css for instance).
Updated!
BeasT is offline
Send a message via Skype™ to BeasT
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 09-07-2009 , 19:01   Re: Bad spawn preventer v1.2
Reply With Quote #4

Thank you very much this is perfect for my Deathrun and ZM servers
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 09-08-2009 , 08:25   Re: Bad spawn preventer v1.3
Reply With Quote #5

Updated, check change log.
BeasT is offline
Send a message via Skype™ to BeasT
Anonymous
Member
Join Date: Nov 2009
Location: Anonuser.org
Old 12-02-2009 , 21:52   Re: Bad spawn preventer v1.3
Reply With Quote #6

Does this support podbot spawns?
2 lazy to check the code.
__________________
This site is filled with shitters who call themselves experts.
Anonymous is offline
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 12-03-2009 , 06:56   Re: Bad spawn preventer v1.3
Reply With Quote #7

Of course.
BeasT is offline
Send a message via Skype™ to BeasT
waza123a
Member
Join Date: Mar 2010
Old 05-07-2010 , 12:51   Re: Bad spawn preventer v1.3
Reply With Quote #8

Can you add fix, if player dead from bad spawn point, then kills will not count +1
waza123a is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-07-2010 , 13:29   Re: Bad spawn preventer v1.3
Reply With Quote #9

Quote:
Originally Posted by waza123a View Post
Can you add fix, if player dead from bad spawn point, then kills will not count +1
http://forums.alliedmods.net/showthread.php?p=1047629
__________________
xPaw is offline
Gam3ronE
SourceMod Donor
Join Date: Aug 2010
Old 04-10-2012 , 16:44   Re: Bad spawn preventer v1.3
Reply With Quote #10

Nice plugin, I currently use xPaw's one though.

Last edited by Gam3ronE; 04-10-2012 at 16:45.
Gam3ronE 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 00:37.


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