Raised This Month: $ Target: $400
 0% 

AntiRoxx 5 (05 jan 2014)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-15-2013 , 04:42   AntiRoxx 5 (05 jan 2014)
Reply With Quote #1

ANTIROXX V5



.: Description :.


This plugin combines few features, in order to make game more fair between skilled players and beginners.
Players with too high ratio can be kicked according to cvars, for beginner servers for example.
  • Weapons Mode
    Skilled players can be restricted according to their K/D ratio, each weapon has a dedicated ratio above which players can't use / buy / collect it.
  • Newbies Mode
    According to their ratio, players can be protected against any other damage than knife, in that case, those players are glowing.
  • Health Mode
    According to their ratio, players can have a health bonus or malus at spawn, there are 3 bonuses ratios, and 3 maluses ratios.
  • Damage Mode
    According to their repective ratios, damage between 2 players are computed in order to make the game more fair.
    Damage between 2 players with rhoughly the same ratio won't be changed.
    Damage between a skilled players shooting a beginner gonna be decreased.
    Damage between a beginner shooting a skilled players gonna be increased.
    There are cvars in order to set min and max factor that can be applied to weapons damage and HE damage.




.: Cvars :.

! Any cvar change is taken in account on new round.
! For any ratio cvar, put a negative value to disable.
  • antiroxx_active < 0/1 >
    Switches ON or OFF the plugin
  • antiroxx_always_count < 0/1 >
    Keep counting frags and deaths when antiroxx_active is 0
  • antiroxx_ratio_kick < float value >
    Above that ratio, player is kicked from server
  • antiroxx_kick_min_frags < integer value >
    Min frags required in order to cvar antiroxx_ratio_kick can be taken in account
  • antiroxx_default_score < integer value >
    Default score attributed to player on first time he joins server
    This is usefull for 2 things, 1: player won't have deaths=0 so ratio can be safely computed, 2: ratio gonna be more accurate with high values
  • antiroxx_maxcumul < integer value >
    Once player kills or deaths have reached that value, score is divided by 2
  • antiroxx_prune_days < integer value >
    Stored players older than this value are deleted from nvault save file


  • antiroxx_newbie_mode < 0/1 >
    Switches Newbie Mode ON or OFF
  • antiroxx_ratio_newbie < float value >
    Players with ratios lower than this value will be protected against shooting (only knife allowed on them) and gonna glow
  • antiroxx_glow_newbie_t < RRR GGG BBB AAA >
    Color and Alpha for glowing Terrorists
  • antiroxx_glow_newbie_ct < RRR GGG BBB AAA >
    Color and Alpha for glowing Counter-Terrorists


  • antiroxx_weapons_mode < 0/1 >
    Switches ON or OFF Weapons Restrictions Mode
  • antiroxx_ratio_*** < float value >
    Players with higher ratio that this value have no more access to that weapon
    Replace *** with weapon shortname
    Weapons short names are :
    • shield
    • p228
    • scout
    • hegrenade
    • xm1014
    • mac10
    • aug
    • smokegrenade
    • elite
    • fiveseven
    • ump45
    • sg550
    • galil
    • famas
    • usp
    • glock18
    • awp
    • mp5navy
    • m249
    • m3
    • m4a1
    • tmp
    • g3sg1
    • flashbang
    • deagle
    • sg552
    • ak47
    • knife
    • p90


  • antiroxx_health_mode < 0/1 >
    Switches ON or OFF Health Mode
  • antiroxx_health_bonus_ratio3 < float value >
  • antiroxx_health_bonus3 < integer value >
  • antiroxx_health_bonus_ratio2 < float value >
  • antiroxx_health_bonus2 < integer value >
  • antiroxx_health_bonus_ratio1 < float value >
  • antiroxx_health_bonus1 < integer value >
    If player has ratio < antiroxx_health_bonus_ratio3 he receives antiroxx_health_bonus3 health,
    else if ratio is between antiroxx_health_bonus_ratio3 and antiroxx_health_bonus_ratio2, he receives antiroxx_health_bonus2,
    else if ratio is between antiroxx_health_bonus_ratio2 and antiroxx_health_bonus_ratio1, he receives antiroxx_health_bonus1
  • antiroxx_health_malus_ratio3 < float value >
  • antiroxx_health_malus3 < integer value >
  • antiroxx_health_malus_ratio2 < float value >
  • antiroxx_health_malus2 < integer value >
  • antiroxx_health_malus_ratio1 < float value >
  • antiroxx_health_malus1 < integer value >
    If player has ratio > antiroxx_health_malus_ratio3 he is taken antiroxx_health_malus3 health,
    else if ratio is between antiroxx_health_malus_ratio3 and antiroxx_health_malus_ratio2, he is taken antiroxx_health_malus2,
    else if ratio is between antiroxx_health_malus_ratio2 and antiroxx_health_malus_ratio1, he is taken antiroxx_health_malus1


  • antiroxx_damage_mode < 0/1 >
    Switches ON or OFF Damage Mode
  • antiroxx_max_adv_factor < float value >
    Max factor which can be applied to damage when a beginner is shooting a skilled player
  • antiroxx_max_handicap_factor < float value >
    Min factor which can be applied to damage when a skilled player is shooting at a beginner
  • antiroxx_max_adv_factor_he < float value >
    Max factor which can be applied to damage when a beginner is hurting a skilled player with HE grenade
  • antiroxx_max_handicap_factor_he < float value >
    Min factor which can be applied to damage when a skilled player is hurting a beginner with HE grenade


.: Commands :.


The 2 admin commands are also avalaible as the menu 2 last items.
  • say(_tem) /antiroxx
    Opens AntiRoxx menu
  • antiroxx_motd (Admin)
    Displays players Kills Deaths and Ratios in a motd window
  • antiroxx_con (Admin)
    Displays players Kills Deaths and Ratios in admin or server console



.: Notes :.

For administrators using old (amx or amxx) versions, in order to keep old players ratio, you have to edit .sma, on current version at line 23 :
Code:
new OLD_ANTIROXX_PATH[] = "";
and you have to put old folder path here, something like :
Code:
new OLD_ANTIROXX_PATH[] = "addons/amx/config/antiroxx_logs";
or
Code:
new OLD_ANTIROXX_PATH[] = "addons/amxmodx/configs/antiroxx_logs";

Once you have run that recompile plugin, old files should have been deleted, you can either keep the plugin as it is, either recompile it without old folder path.


.: Installation :.

Put antiroxx.amxx in addons/amxmodx/plugins/ folder
Put antiroxx.txt in addons/amxmodx/data/lang/ folder
Put antiroxx.cfg in addons/amxmodx/configs/antiroxx/ folder

For specific maps, you can put mapname.cfg in addons/amxmodx/configs/antiroxx/maps/ folder
For specific maps prefixes, you can put prefix_***.cfg in addons/amxmodx/configs/antiroxx/maps/ folder, where *** stands for prefix names

Examples :
addons/amxmodx/configs/antiroxx/maps/fun_matrix.cfg
addons/amxmodx/configs/antiroxx/maps/prefix_aim.cfg
addons/amxmodx/configs/antiroxx/maps/prefix_awp.cfg
addons/amxmodx/configs/antiroxx/maps/prefix_fy.cfg


Priority config file is : 1 mapname cfg file, 2 prefix cfg file, 3 default cfg file.
If a file is executed, plugin won't check for other files, means that if there is awp_map.cfg, prefix_awp.cfg and antiroxx.cfg won't be checked.


.: ChangeLog :.


Code:
v5.0.12 (05 jan 2014)
- Make per map cfg file works if map has been set with some uppercase chars
- Added amxx1.8.3 support
v5.0.11 (29 oct 2013)
- Attempt to fix an errorlog on invalid player in Killed() callback (my guess is invalid one is killer, we'll see)
- Added possibility to change say /antiroxx command access level via cmdaccess.ini
v5.0.10 (03 aug 2013)
- Added support for uft-8 in motd, so russian or other languages can work.
v5.0.9 (30 jul 2013)
- Fixed little error on armoury touch when armouries were vest or vesthelm
v5.0.8 (15 jul 2013)
- Official Release
Attached Files
File Type: cfg antiroxx.cfg (9.3 KB, 577 views)
File Type: sma Get Plugin or Get Source (antiroxx.sma - 1436 views - 46.8 KB)
File Type: txt antiroxx.txt (8.5 KB, 536 views)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 01-05-2014 at 05:24.
ConnorMcLeod is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-15-2013 , 04:55   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #2

* Reserved *
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 07-15-2013 , 06:40   AW: AntiRoxx 5 (15 jul 2013)
Reply With Quote #3

Sounds nice
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Portugal
Old 07-15-2013 , 06:48   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #4

So the plugin marks some players as noob in order to them get prizes for fair game?
__________________
Jhob94 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-15-2013 , 06:51   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #5

Not really.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 07-15-2013 , 09:44   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #6

Nice plugin, you didn't approve a plugin a long time ago
TheDS1337 is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 07-15-2013 , 10:03   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #7

I think he means that you haven't submitted new plugins lately.

Nice plugin.
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 07-16-2013 , 09:45   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #8

Connor, nice plugin.

Why don't you return PLUGIN_HANDLED on ClCmd_AntiRoxx? It's better to hide all commands from chat.
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 07-17-2013 , 00:59   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #9

You noob
Makes it fun and exciting for new players. Nice work.
DruGzOG is offline
Send a message via AIM to DruGzOG
Roccoxx
AlliedModders Donor
Join Date: Jan 2012
Location: Argentina
Old 07-17-2013 , 01:11   Re: AntiRoxx 5 (15 jul 2013)
Reply With Quote #10

good idea ;)
__________________
Tutorials here (Spanish)

GitHub

Private Jobs -> PM
Roccoxx is offline
Send a message via MSN to Roccoxx
Reply


Thread Tools
Display Modes

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 15:00.


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