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

Round End Blocker (without fakeclients)[BIG UPDATE 7/4/2009]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Hawk552 (427)
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-02-2009 , 07:57   Round End Blocker (without fakeclients)[BIG UPDATE 7/4/2009]
Reply With Quote #1

Round End Blocker
Version 1.4
by Dores[Poog]


Requested here.


Description:
This plugin simply prevents the rounds from ending(if the number of non-spectator players is smaller than reb_max_players).
This is good for Free For All mods.
How does it work? The first player to die of a certain team will be revived and will have no-clip, god-mode, he won't be solid, etc.
There will be 2 blockers, 1 for each team.
The rounds won't end, as the game will see that there's still someone alive in both teams.
The blockers will have a "Dead" flag at scoreboard.
Also score will be updated.
The blockers can move around the map and are invisible.
The blockers can't switch teams.
On new round the blockers will be able to play normally.

CVar(s?):
  • reb_max_players[ 6 ] - The if the number of players not in spectator playing is equal or higher than this, the rounds won't be blocked.


Command(s?):
  • amx_reb - Toggles Round End Blocker on or off.


Requires the latest AMXModX!!!


ChangeLog:
1.0:
  • First public release.

1.0a:
  • Fixed 'index out of bounds' error.

1.1:
  • Fixed 'getRandomBlocker' function. Now if a blocker disconnects, a random dead player from the same team will be chosen.
  • Blocked team change for blockers.

1.1a:
  • Added a cvar to set with how many players should the plugin stop blocking the rounds.

1.2:
  • Added attack prevention. Now blockers cannot attack.
  • Changed the toggle command so it won't have any arguments - You just type it in console and it changes the plugin's [dis]ability.
    If for example the plugin is on, when you type the command the plugin will be turned off.
  • Added a check to make sure there are sounds at the Death Sounds list before precaching it.

1.3:
  • Changed registering forwards to enabling/disabling them(registered at plugin_ini()).
  • Fixed that blockers could get hit/killed by HE grenades(thanks Battousai-sama).

1.4:
  • Blocked radio commands - Blockers now cannot use radio commands.
  • Now counting entering players at TeamInfo event instead of client_putinserver.
  • bPlugOn is no longer global.
  • Blocked flashlight and spraying - Blockers now cannot use spray or flashlight.
  • Fixed getting a new random blocker instead of the one that disconnected.
  • Used private data to prevent blockers from attacking instead of receiving their buttons.
  • Added '*DEAD*' tags near the blockers' chat messages.
  • Removed useless code.
  • If the plugin will be disabled for any reason and will kill the current blockers, their death count won't go up.
Attached Files
File Type: sma Get Plugin or Get Source (round_end_blocker.sma - 3869 views - 12.0 KB)
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ

Last edited by Dores; 04-07-2009 at 10:21. Reason: Version 1.4
Dores is offline
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 01-02-2009 , 08:42   Re: Round End Blocker (without fakeclients)
Reply With Quote #2

Interesting...
__________________


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).


FakeNick is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 01-02-2009 , 09:04   Re: Round End Blocker (without fakeclients)
Reply With Quote #3

It sure is
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-02-2009 , 09:06   Re: Round End Blocker (without fakeclients)
Reply With Quote #4

Quote:
Originally Posted by DruGzOG View Post
It sure is
Is that a good thing, or a bad thing?
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 01-02-2009 , 09:17   Re: Round End Blocker (without fakeclients)
Reply With Quote #5

Its a Good ThinG!
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-03-2009 , 02:42   Re: Round End Blocker (without fakeclients)
Reply With Quote #6

Bump due to update.
Version 1.1a:
  • Added a cvar to set with how many players need to play so the rounds won't be blocked.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-03-2009 , 02:53   Re: Round End Blocker (without fakeclients)
Reply With Quote #7

aww Dores. I just posted back to this also on our forum.

lol eh, good job tho. My post has to do with it acting kinda funny. Looking forward to testing it, and let me know, we got the servers to test it with traffic also.

Doubled? lol
__________________

Last edited by bmann_420; 01-03-2009 at 03:56.
bmann_420 is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-03-2009 , 07:18   Re: Round End Blocker (without fakeclients)
Reply With Quote #8

I've put a link that redirects to the plugin.
Click 'here' to get it.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ

Last edited by Dores; 01-03-2009 at 10:40.
Dores is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-03-2009 , 15:51   Re: Round End Blocker (without fakeclients)
Reply With Quote #9

Thats a lil bitter *after Dores post

It needs a description at least for sure

And GJ
__________________
bmann_420 is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-03-2009 , 16:00   Re: Round End Blocker (without fakeclients)
Reply With Quote #10

Quote:
Originally Posted by bmann_420 View Post
Thats a lil bitter *after Dores post

It needs a description at least for sure

And GJ
Thanks a lot.
Btw, is it ok now with the cvar?
Also, if requested, I can make it so the blockers won't be able to move so it won't look so strange, but it will cost them the price of not spectating other people.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores 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 11:54.


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