Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Pages: [1]   Go Down
  Print  
Author Topic: Spawn Protection  (Read 1397 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod4, Homefront, BF3
Posts: 19
Offline Offline
WWW
« on: August 25, 2011, 06:12:31 AM »

Description: Description:
Will notify attackers, victims, or everyone when a player spawn kills someone.

Based of amount of time between deaths. its not a perfect science but it does the job.

I built (and only tested) this for homefront based on time of death because homefront doesn't have a event for spawning. But it should work the same with any game.

It has warning and a notice times, warn or obvious spawn kill, notice for when the attacker is getting too close to the spawns. then the ability to give the attacker a warning message or to give them a actual warning.

Special Thanks to Courgette for all his help getting this started.

Any ideas, or suggestions would be appreciated.

Change Log:
#    08/23/2011 - 1.0.0 - Ultra
#    -- Created the plugin and released it to the public.

#    08/23/2011 - 1.0.1 - Ultra
#    -- Fixed warning message and indentation issue.

#    09/17/2011 - 1.1.0 - Ultra
#    -- Added notice limit to issue a warning after so many notices.
#    -- Cleaned up the code a little bit.
#    -- Fixed a error when issuing a warning.


Example Config
Code: xml


   

5


10


   

   **WARNING**, %s Spawn Camping and Spawn Killing are not allowed.


**NOTICE**, %s You are to close to spawn. Please back up.
   





2

0

rule9

3

   




Download

Mirror Download
« Last Edit: September 17, 2011, 10:14:25 AM by ultra1776 » Logged

We, and all others who believe in freedom as deeply as we do, would rather die on our feet than live on our knees.
-Franklin D. Roosevelt

Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: bbc2, moh, cod4, cod5, cod7, bf3
Posts: 25
Offline Offline
« Reply #1 on: August 27, 2011, 05:38:41 AM »

I am getting a error trying to run this plugin on Homefront:

110827 09:24:47   INFO   'Could not load built in plugin spawnprotection (No module named spawnprotection)'
110827 09:24:47   CRITICAL   'Error loading plugin: unexpected indent (spawnprotection.py, line 113)'

Anyone else having problems?
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod4, Homefront, BF3
Posts: 19
Offline Offline
WWW
« Reply #2 on: August 27, 2011, 04:08:55 PM »

Uploaded v1.0.1 it should be fine now..

Stay tuned i have 1.1.0 coming in the next couple days which will have the ability to issue a warning after getting a defined amount of notices.
Logged

We, and all others who believe in freedom as deeply as we do, would rather die on our feet than live on our knees.
-Franklin D. Roosevelt
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod4, Homefront, BF3
Posts: 19
Offline Offline
WWW
« Reply #3 on: August 28, 2011, 09:47:15 AM »

Thanks to Storm for pointing out that I had the plugin_spawnprotection.xml file named incorrectly to just spawnprotection.xml. I have reuploaded the zip file with the .xml named correctly.

Thanks for your help Storm.
Logged

We, and all others who believe in freedom as deeply as we do, would rather die on our feet than live on our knees.
-Franklin D. Roosevelt
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: bbc2, moh, cod4, cod5, cod7, bf3
Posts: 25
Offline Offline
« Reply #4 on: August 28, 2011, 02:46:37 PM »

No problem, glad to help out. Wink
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod4, Homefront, BF3
Posts: 19
Offline Offline
WWW
« Reply #5 on: September 17, 2011, 10:15:21 AM »

#    09/17/2011 - 1.1.0 - Ultra
#    -- Added notice limit to issue a warning after so many notices.
#    -- Cleaned up the code a little bit.
#    -- Fixed a error when issuing a warning.
Logged

We, and all others who believe in freedom as deeply as we do, would rather die on our feet than live on our knees.
-Franklin D. Roosevelt
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #6 on: September 18, 2011, 09:38:53 AM »

Nice plugin!  Smiley Maybe you can consider adding respawn delay time in the next version?
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod4, Homefront, BF3
Posts: 19
Offline Offline
WWW
« Reply #7 on: September 18, 2011, 04:07:56 PM »

Thanks a lot Freelander.

 I feel like a idiot for asking but. What do you mean by respawn delay?
Logged

We, and all others who believe in freedom as deeply as we do, would rather die on our feet than live on our knees.
-Franklin D. Roosevelt
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #8 on: September 19, 2011, 06:56:01 AM »

No reason to feel that way, I may have used a wrong description  Smiley What I mean by respawn delay is the time between the death of a player until spawning again. For some games it's possible to set a predetermined time to wait until the player spawns again after getting killed.

For blackops ranked servers, there's a different built in calculation of this waiting time I guess because it's not always the same waiting time. Btw, if anyone knows the logic, it can also be integrated in your plugin. I know a lot of people complains about excessive spawn kills in blackops.

Edit: I guess there's no spawn delay in blackops softcore, so it must be only in hardcore servers...
« Last Edit: September 19, 2011, 07:03:13 AM by Freelander » Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod4, Homefront, BF3
Posts: 19
Offline Offline
WWW
« Reply #9 on: September 19, 2011, 10:34:26 AM »

I get it. There is a repawn delay section in cod and in hf. Since it is based on the amount of time someone is dead that would be best to set it as a option rather than playing with the times. Cause right now I'm allowing 13 seconds to be considered spawn camping. but there is a 2 second respawn delay on the server and the fly down time that I'm trying to calculate in there. that's our server other server may have a longer respawn delay. I think the default is 10.

Yes I will defiantly add that to the next version. Thanks for the idea Freelander.
Logged

We, and all others who believe in freedom as deeply as we do, would rather die on our feet than live on our knees.
-Franklin D. Roosevelt
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal