Re: Fail Spawn Protector v1.0
What is the difference between yours and https://forums.alliedmods.net/showthread.php?t=114857 ? Also tell me where is your code ? I only see code from xpaw, VEN and Arkshine.
|
Re: Fail Spawn Protector v1.0
Quote:
|
Re: Fail Spawn Protector v1.0
Quote:
|
Re: Fail Spawn Protector v1.0
Awesome plugin, not seen it before.
Just tested right now on special map with 32 spawnpoints at identical origin: http://5.firepic.org/5/images/2015-1...2p08m039hr.png And its works. Works better than Bad Spawns Preventer by xPaw. Current plugin: http://6.firepic.org/6/thumbs/2015-1...zey72q7knj.jpghttp://6.firepic.org/6/thumbs/2015-1...cim5usymqt.jpg Bad Spawns Preventer: http://6.firepic.org/6/thumbs/2015-1...s8m63wqgh3.jpghttp://6.firepic.org/6/thumbs/2015-1...386m9fqjhw.jpg Notice on shadow in center. There is many alive bots at same origin (stucked). PS: Both plugins can't spawn more players than existed spawnpoints inside map (if map have 1 CT and 1 T spawnpoints, then game can spawn only 1 CT and 1 T Players). So, would be nice to "crack" (bypass) this limit (optional cvar). |
Re: Fail Spawn Protector v1.0
Quote:
Quote:
|
Re: Fail Spawn Protector v1.0
Quote:
|
Re: Fail Spawn Protector v1.0
You are right, Phant. Thank you for testing the code.
HamletEagle, my code is the whole code that consist of xPaw, VEN and Arkshine codes. I combine all of their code into one working and better code. |
Re: Fail Spawn Protector v1.0
1.I would like you to be consistent while coding(keep the same naming technique). For example, on some variables you use HN(g_,i,f, etc) and at some you don't(originF).
2.I also don't think g_bHamHookEnabled is really needed, you can simply Enable the hook at SpawnPre and Disable it in SpawnPost. 3.Also try to understand what you are taking from others. In is_player_trap you do: PHP Code:
Apart of that, code looks ok. I'll wait for you to fix at least 2 and 3, then I'll approve it. |
Re: Fail Spawn Protector v1.0
Quote:
Count info_player_start entities in plugin_precache() and if total count < 16, then copy last (or randomly founded) info_player_start entity at same position X times (up to 16). Ofcourse same for info_player_deathmatch. With this all players can play on ANY map without spawnpoints editing :). What do you think? Make it optional (fs_extra_spawns 1/0). |
Re: Fail Spawn Protector v1.1
New Update!
Code:
v1.1 |
All times are GMT -4. The time now is 14:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.