xxxx CONFIGS xxxx

Server Administration Discussions and Issues

xxxx CONFIGS xxxx

Postby MADWyvern » 28 Jan 2012, 20:06

# DEFIB KILL ANNOUNCER
On Kill; Weapon Defib; Say %v% Paddle-Pwned by %p% !!
# WEAPON LIMITER - SMAW/RPG/M320
On Kill;Map Operation Metro;Weapon M320;PlayerCount 5; PlayerSay Get a grip soldier - Use another weapon;Kill 100
On Kill;Map Operation Metro;Weapon M320;PlayerCount 4; PlayerSay %p% M320 has backfired!;Kill 100
On Kill;Map Operation Metro;Weapon M320;PlayerCount 3; PlayerSay %p% Your M320 has jammed and may backfire, resort to small arms;End
On Kill;Map Operation Metro;Weapon M320;PlayerCount 2; PlayerSay %p% Only 1 M320 kill remaining;End
On Kill;Map Operation Metro;Weapon M320;PlayerCount 1; PlayerSay %p% Only 2 M320 kills remaining;End
On Kill;Map Operation Metro;Weapon M320; PlayerSay %p% Only 3 M320 kills allowed;End
On Kill;Map Operation Metro;Weapon RPG-7;PlayerCount 1;Kick
On Kill;Map Operation Metro;Weapon RPG-7;Say %p%, %w% Not Permitted;Kill 100
On Kill;Map Operation Metro;Weapon SMAW;PlayerCount 1;Kick
On Kill;Map Operation Metro;Weapon SMAW;Say %p%, %w% Not Permitted;Kill 100
# TEAMKILL TRACKING RULE
# On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill
# On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killing %v% twice in a row.;Kill
# On TeamKill;Set %server_lastteamkill[%p%]% %v%
# TEAMKILL PUNISH RULE
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
# TEAMKILL VICTIM REPORTER - This will allow the victim to type "!tk" to see who their last tker was, or the tker to type !itk to see who they tked.
# On Say;Text !tk;Say %p% you were tk'd by %server_lastteamkill[%p%]%
# On Say;Text !itk;Say %p% your most recent tk was %server_lastteamkill[%v%]%# SPAWN RULE, so we get info when BF3 gives it
# On Spawn;Log [%pt%] ^2%p%^0 spawned with [%kk%], [%wk%], [%speck%]
# TEAMKILL RULZ - SUPERSEDED ABOVE remove #'s below to activate
# On TeamKill;Admin
# On TeamKill;PlayerCount 2;Log %p% SUICIDAL TEAMKILL #%c% on %v% with %w%;Kill 100
# TeamKill;Log TEAMKILL #%c% by ^2%p%^0 on ^2%v%^0 with %w%
# SUICIDE LOG
On Suicide;Log Suicide by [%pt%] [^2%p%^0] with [%wk%]
# SAMPLE KILL RULZ
On Kill;Weapon M15&AT&MINE;Log Mine kill by [^2%p%^0] on [^2%v%^0]
On Kill;Weapon weapons/knife/knife;Log Knife kill by [^2%p%^0] on [^2%v%^0]
On Kill;Weapon M320;Log M320 kill by [^2%p%^0] on [^2%v%^]
On Kill;Damage ProjectileExplosive;Log Rockect nade kill by [^2%p%^0] on [^2%v%^0]
On Kill;Log Kill [%pt%] [^2%p%^0] killed [%vt%] [^2%v%^0] with [%wk%] [%w%], Kit [%kk%] [%k%], Damage [%d%]
# SAMPLE SAY RULZ
On Say;Text protected;Protected;Say [^2%p%^0] is protected
On Say;Text protected;Not Protected;Say [^2%p%^0] is NOT protected
On Say;Admin;Text xkill;TargetPlayer;Say Confirm %t%;TargetAction Say %t% killed by admin;TargetAction Kill 100
On Say;Admin;Text xkick;TargetPlayer;Say Confirm %t%;TargetAction Say %t% kicked by admin;TargetAction Kick Kicked by admin
On Say;Text xyes;TargetConfirm
# ROUND CHANGE
On Round;Log Round change to [%m%] [%mm%]
# JOINER/LEAVER LOG
On Join;Admin;Log Joiner [^2%p%^0] (min teamsize %n%) (Admin)
On Join;Log Joiner [^2%p%^0] (min teamsize %n%) (Not admin)
On Leave; Log Leaver [^2%p%^0] (min teamsize %n%)
User avatar

MADWyvern
Old-School Monkeh
Old-School Monkeh
 
Posts: 98
Joined: 30 Jul 2004, 23:20
Location: Limbo
Steam ID: MadWyvern

Re: xxxx CONFIGS xxxx

Postby MADWyvern » 29 Jan 2012, 03:11

Necr0/Mors - Have a look at the code below, this SHOULD work. After a !punish or !forgive the %server_tker[%p%]% value is set to 0, so further attempts to !punish or !forgive will pass the %server_tker[%p%]% == 0 rule, which respond by saying there wasn't a tk to forgive/punish.
Not sure if I need to add ; End after the forgive or punish is successfully actioned, cant see a need to as it shouldn't account for any other rules.
TESTED and it APPEARS to work. - but need to test if you can repeatedly spam "punish" - I have placed the "set tker value to 0" BEFORE the kill action, as kill actions end the rule progression by the looks of it - although the official one shows it in there. If it does not work, then i'll have to make a rule that says; On Say;Admin;Text !punish; Set %servertker[%p%] %o% ... or something like that. Hopefully it will work as is though!

# Team Kill Rulz
# setting variables

On TeamKill; Set %server_tked[%p%]% %v%
On TeamKill; Set %server_tker[%v%]% %p%
# Displaying tk info
On Say;Text !itk; PlayerSay %p% you teamkilled %server_tked[%p%]%;End
On Say;Text !tk; PlayerSay %p% your teamkiller was %server_tker[%p%]%;End
# !forgive
On Say; Text !Forgive;IF %server_tker[%p%]% == 0;PlayerSay You were not TKed
On Say; Text !Forgive;IF %server_tker[%p%]% != 0;PlayerSay %p% You Forgave TK by %server_tker[%p%]%;TargetPlayer %server_tker[%p%]%;TargetAction PlayerSay %server_tker[%p%]% %p% has forgiven your Teamkill;Set %server_tker[%p%]% %0%;End
# !Punish
On Say; Text !Punish;IF %server_tker[%p%]% == 0;PlayerSay You were not TKed
On Say; Text !Punish;IF %server_tker[%p%]% != 0;PlayerSay %p% - %server_tker[%p%]% has been killed for killing you;TargetPlayer %server_tker[%p%]%;TargetAction PlayerSay %server_tker[%p%]% You were punished by %p%;Set %server_tker[%p%]% %0%;TargetAction Kill 3000
User avatar

MADWyvern
Old-School Monkeh
Old-School Monkeh
 
Posts: 98
Joined: 30 Jul 2004, 23:20
Location: Limbo
Steam ID: MadWyvern

Re: xxxx CONFIGS xxxx

Postby MADWyvern » 29 Jan 2012, 23:36

PROCON SNIPPETS

# Team Kill Rulz
# setting variables
On TeamKill; Set %server_tked[%p%]% %v%
On TeamKill; Set %server_tker[%v%]% %p%
# Displaying tk info
On Say;Text !itk; PlayerSay %p% you teamkilled %server_tked[%p%]%;End
On Say;Text !tk; PlayerSay %p% your teamkiller was %server_tker[%p%]%;End
# !forgive
On Say; Text !Forgive;IF %server_tker[%p%]% == 0;PlayerSay You were not TKed
On Say; Text !Forgive;IF %server_tker[%p%]% != 0;PlayerSay %p% You Forgave TK by %server_tker[%p%]%;TargetPlayer %server_tker[%p%]%;TargetAction PlayerSay %server_tker[%p%]% %p% has forgiven your Teamkill;Set %server_tker[%p%]% %0%;End
# !Punish
On Say; Text !Punish;IF %server_tker[%p%]% == 0;PlayerSay You were not TKed
On Say; Text !Punish;IF %server_tker[%p%]% != 0;PlayerSay %p% - %server_tker[%p%]% has been killed for killing you;TargetPlayer %server_tker[%p%]%;TargetAction PlayerSay %server_tker[%p%]% You were punished by %p%;Set %server_tker[%p%]% %0%;TargetAction Kill 3000


# WEAPON LIMITER - SMAW/RPG/M320
#M320 Limiter
On Kill; Map Subway; weapon M320; PlayerCount 5; Kick Over-using M320 - you were warned
On Kill; Map Subway; weapon M320; PlayerCount 4; PlayerSay %p% M320 has Backfired - YOU WILL BE KICKED for further use;Kill 3000
On Kill; Map Subway; weapon M320; PlayerCount 3; PlayerSay %p% M320 has Backfired - Use another weapon;Kill 3000
On Kill; Map Subway; weapon M320; PlayerCount 2; PlayerSay %p% 3rd M320 Kill - your M320 is now JAMMED; End
On Kill; Map Subway; weapon M320; PlayerCount 1; PlayerSay %p% Only 1 M320 kill remaining - use it wisely; End
On Kill; Map Subway; weapon M320; PlayerFirst; PlayerSay %p% 2 more M320 kills remaining; End
On Kill;Map Operation Metro;Weapon RPG-7;PlayerCount 1;Kick
On Kill;Map Operation Metro;Weapon RPG-7;Say %p%, %w% Not Permitted;Kill 100
On Kill;Map Operation Metro;Weapon SMAW;PlayerCount 1;Kick
On Kill;Map Operation Metro;Weapon SMAW;Say %p%, %w% Not Permitted;Kill 100

#RPG Limiter
On Kill; ServerFirst
User avatar

MADWyvern
Old-School Monkeh
Old-School Monkeh
 
Posts: 98
Joined: 30 Jul 2004, 23:20
Location: Limbo
Steam ID: MadWyvern

Re: xxxx CONFIGS xxxx

Postby MADWyvern » 29 Jan 2012, 23:55

NEDCRO's


[23:37:31] (Channel) MadMors: # WEAPON LIMITER - M320
On Kill; Map Operation Metro; Weapon M320
PlayerCount 5; PlayerSay You really don't learn do you? Report to the Brigg!; Kick 300; End
PlayerCount 4; PlayerSay Get a grip soldier - Use another weapon; Kill 100; End
PlayerCount 3; PlayerSay %p%, Your M320 has backfired!; Kill 100; End
PlayerCount 2; PlayerSay %p% Your M320 has jammed and will now backfire - resort to small arms; End
PlayerCount 1; PlayerSay %p% Only 1x M320 kill remaining, %p%; End
PlayerSay %p% Only 2x M320 kills remaining for this round, use them wisely!

# WEAPON LIMITER - RPG
On Kill; Map Operation Metro; Weapon RPG-7
PlayerCount 2; PlayerSay %p%, RPG... Really??? Use a handcannon like the rest of us. Yoink!; Kick 300; End
PlayerCount 1; PlayerSay %p%, Buck up your idea's Soldier - You were warned!; Kill 100; End
PlayerSay THIS IS YOUR FIRST and ONLY WARNING %p% - RPG-7 is outlawed on Metro.

# WEAPON LIMITER - SMAW
On Kill; Map Operation Metro; Weapon SMAW
PlayerCount 2; PlayerSay %p%, SMAW... Really??? Use a handcannon like the rest of us. Yoink!; Kick 300; End
PlayerCount 1; PlayerSay %p%, Buck up your idea's Soldier - You were warned!; Kill 100; End
PlayerSay THIS IS YOUR FIRST and ONLY WARNING %p% - SMAW is outlawed on Metro.
User avatar

MADWyvern
Old-School Monkeh
Old-School Monkeh
 
Posts: 98
Joined: 30 Jul 2004, 23:20
Location: Limbo
Steam ID: MadWyvern


Return to Server Administration

Who is online

Users browsing this forum: No registered users

cron