AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   SpawnPoint Generator (https://forums.alliedmods.net/showthread.php?t=128721)

Zephyrus 06-04-2010 14:53

SpawnPoint Generator
 
1 Attachment(s)
Description:
This plugin bypasses "team is full" error by creating new spawnpoints on maps where are less spawnpoints than the max server slots. It keeps the rate between teams, so on a 18 slots server with a map where are 4 CT spawn points and 5 T spawn points, there will be 8 CT spawn points and 10 T spawn points. Works with CS:S OB.

Requirements:
In order to use it you need a noblock plugin, because the new spawn points are placed inside the old ones. If you are using altex's noblock plugin then this plugin will automatically enable it if needed.

Known issues:
-On maps with possibly invalid spawn points (spawn points are in the wall, etc...) you can't use all the new spawns

V1.3:
-Fixed a bug related to the NoBlock plugin support (thanks to GoD-Tony)

V1.2:
-New name
-Custom Cvar sm_spg_version

V1.1:
-Support for altex's noblock plugin (http://forums.alliedmods.net/showthread.php?p=820069)
-Fixed two bugs (thanks to tigerox)

V1.0:
-Initial release

KyleS 06-04-2010 15:14

Re: Teamlimit remover
 
I love you :D

Galaxy9000 06-05-2010 20:00

Re: Teamlimit remover
 
WHOOOHO it work so fine. Now we can play 40 player maps with ur plugin with 64 players. With CSS DM and Noblock etc. its total mayhem :)))

tigerox 06-05-2010 20:43

Re: Teamlimit remover
 
Quote:

Originally Posted by Zephyrus (Post 1199728)
There's a bug that I couldn't fix (:oops:), so you have to place these 2 lines in your server.cfg:
sm plugins unload limitremove
sm plugins load limitremove

I think you just need to set your maxt and maxct vars to zero in OnMapStart().

Should fix it.

GoD-Tony 06-19-2010 08:51

Re: SpawnPoint Generator
 
This is exactly what I needed. Great idea!

One thing you need to change:
Code:

[SM] Native "SetConVarInt" reported: Invalid convar handle 0 (error 4)
[SM] Displaying call stack trace for plugin "sm_spg.smx":
[SM]  [0]  Line 35, /home/groups/alliedmodders/forums/files/7/9/7/8/6/67428.attach::OnMapStart()

I use a different NoBlock plugin, so I think you need to check if the cvar exists before trying to change it.

FrozenHaxor 06-19-2010 13:32

Re: SpawnPoint Generator
 
Very nice ;)
This one just headshots all other Spawn Point generators, fixing all problems itself!

But I have one question: Does this plugin obeys maps with for example 20T spawns and 0CT? Many maps like MG (MiniGame) allows only one team for gameplay reasons. I'm just too lazy to look into code :P But if it doesn't have this feature, please add it.

Zephyrus 06-19-2010 14:16

Re: SpawnPoint Generator
 
yes it does

FrozenHaxor 06-19-2010 14:33

Re: SpawnPoint Generator
 
Okay thanks :D

Zephyrus 06-26-2010 23:51

Re: SpawnPoint Generator
 
i want my plugin to be approved :(

GoD-Tony 06-27-2010 05:13

Re: SpawnPoint Generator
 
As an added note, this plugin seems to be working fine on my CS:S OB server.


All times are GMT -4. The time now is 04:10.

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