Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

Originally Posted by Hodor*:

 

  ixnorp* said:

maybe the player's ip changed? I didn't use %ip% before, but You want to try using %ea_guid% or %pb_guid% instead? It works.

 

 

Sent from my iPhone using Tapatalk

I need to make kick or ban for IP! Because the player is using the brute accounts, but the IP it does not change!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by maxdamge*:

 

hello everone iam looking for some codes as shotguns limmit 3 players slots. and i want none usas-12 also shorty-12 so please help me.i mean when they use usas-12 or shorty they got killed as first punish then kicked then temp ban then perm ban and thanks. for Bf4

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by virusdead*:

 

could you tell me if the code is correct,I want 20 nad: Confus:

 

 

  Quote

# METRO NADE SPAM RULE

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Incr %server_nadespam[%pt%]%;Log ^1This is %server_nadespam[%pt%]% KILL for %pt% of 20 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 10;TeamSay %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 10;TeamYell 10 %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamSay %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamYell 10 %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamSay NO MORE M67 GRENADE KILLS FOR %pt% IN THIS ROUND

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamYell 10 NO MORE M67 GRENADE KILLS FOR %pt% IN THIS ROUND

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% >= 26;PlayerCount 1;Log Kicked for -= NADE LIMIT =- VIOLATED max (25) %p% type @nade for team usage;Kick -= NADE LIMIT =- VIOLATED max (25) %p% type @nade for team usage

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% >= 26;PlayerSay -= NADE LIMIT =- Your team has Reached (25) %p% Do not throw again;Kill 100

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Rate 5 120;PlayerSay %p% STOP THROWING M67 GRENADE FOR TWO MINUTE OR LIMIT WILL BE VIOLATED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Rate 5 120;PlayerYell 10 %p% STOP THROWING M67 GRENADE FOR TWO MINUTE OR LIMIT WILL BE VIOLATED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Rate 6 120;Kick -= NADE LIMIT =- %p% excessive nade spam / 5 KILLS IN 2 MIN

On Say;Text @nade;PlayerSay %pt% nade count %server_nadespam[%pt%]% of 25 allowed

On Say;Text !nade;TeamSay %pt% nade count %server_nadespam[%pt%]% of 25 allowed

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ixnorp*:

 

  Hodor* said:

I need to make kick or ban for IP! Because the player is using the brute accounts, but the IP it does not change!

I pm you instead. Not sure if the ip kick thing is ok to write here. :huh:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Chilace*:

 

  Hodor* said:

I need to make kick or ban for IP! Because the player is using the brute accounts, but the IP it does not change!

PB_SV_BanMask [iP Address / Subnet Mask]

Permanently bans players from joining the server from the specified IP Address / Subnet Mask; for example: issuing PB_SV_BanMask "12.34." will cause PB to deny access to all players trying to join from an IP Address that begins with "12.34."; These bans are written to the pbbans.dat file just like bans issued with the PB_SV_Ban command

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

  Chilace* said:

PB_SV_BanMask [iP Address / Subnet Mask]

Permanently bans players from joining the server from the specified IP Address / Subnet Mask; for example: issuing PB_SV_BanMask "12.34." will cause PB to deny access to all players trying to join from an IP Address that begins with "12.34."; These bans are written to the pbbans.dat file just like bans issued with the PB_SV_Ban command

??????? ???? ?? ???, ?? ???? ?????? ? ?????? ????? ?????????? :smile:

 

Code:

On Spawn;If %ip% contains 178.165.64.167;Kick
Work perfect, big thanks ixnorp :biggrin:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

  trans-am* said:

I'm not sure if that will work but this will "mapList.restartRound" as it is a rCon command.

vars.roundRestartPlayerCount 0

 

works :ohmy:.. and i think Chilace was getting at the point of why not use that command and let the server automatically restart the server as it should be done...

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

Is there a possibility to make an auto /nextround command in order to not wait for 60 seconds, Dont say that people will have a black screen cause we are doing it for 2 months already manualy and no one said that they had a black screen.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by maxdamge*:

 

hello everone iam looking for some codes as shotguns limmit 3 players slots. and i want none usas-12 also shorty-12 so please help me.i mean when they use usas-12 or shorty they got killed as first punish then kicked then temp ban then perm ban and thanks. for Bf4

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

  maxdamge* said:

hello everone iam looking for some codes as shotguns limmit 3 players slots. and i want none usas-12 also shorty-12 so please help me.i mean when they use usas-12 or shorty they got killed as first punish then kicked then temp ban then perm ban and thanks. for Bf4

That was something i had planned for my addon.. except there was very little to no interest.. so its not being published anymore.. that being said if i do bother to add that i might re apply to have my plugin published here... might... but probably not.. but if i do get it done one day i might post it to you privately.. but it isnt a huge priority right now.

 

@Hodor.. one of the main plugin developers is working on a plugin that does that.. i havent followed it recently but when i did last look at it.. aparently the black screens were still happening and there wasnt an easy way to detect if the error had happend or not.. but as i said i havent been following that plugin for a little while now so i am unsure... i will find the link for you.

showthread....reen-remedy%29*

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

  somno* said:

Anybody knows if it's possible yet to ban the Bulldog from server?

Code:
On Kill;Weapon U_Bulldog;PlayerCount 1;Say [BANNED] %p% for using BULLDOG;Exec banList.add guid %ea_guid% seconds 1800 "your ban reason. Brace do not delete!!!"
On Kill;Weapon U_Bulldog;Say [KILLED] %p% using BULLDOG;Kill 1
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by trans-am*:

 

Hi i have a question about playercount, this is my code: Code:

On Kill;Map Subway;Damage Shotgun;PlayerCount 2;Log: %p% was BANNED for using a %w%;Say BANNED: %p% for using a %w%;TempBan 1800 %p%, No SHOTGUN  (30m ban)! You used a %w% weapon.
On Kill;Map Subway;Damage Shotgun;PlayerCount 1;Log: %p% was KICKED for using a %w%;Say KICKED: %p% for using a %w%;Kick %p%, No SHOTGUN on Metro ! You used a %w%.
On Kill;Map Subway;Damage Shotgun;Log: %p% has %c%/1 offenses (%w%);Say  %p%!!! Warning %c%/1 for using a %w%;Kill 100
Will the playercount reset? If yes, how long for it to reset?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

  trans-am* said:

Hi i have a question about playercount, this is my code: Code:

On Kill;Map Subway;Damage Shotgun;PlayerCount 2;Log: %p% was BANNED for using a %w%;Say BANNED: %p% for using a %w%;TempBan 1800 %p%, No SHOTGUN  (30m ban)! You used a %w% weapon.
On Kill;Map Subway;Damage Shotgun;PlayerCount 1;Log: %p% was KICKED for using a %w%;Say KICKED: %p% for using a %w%;Kick %p%, No SHOTGUN on Metro ! You used a %w%.
On Kill;Map Subway;Damage Shotgun;Log: %p% has %c%/1 offenses (%w%);Say  %p%!!! Warning %c%/1 for using a %w%;Kill 100
Will the playercount reset? If yes, how long for it to reset?
Player count resets whenever a new map loads or an old map reloads.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by jdge439*:

 

Im new here, And Im not allowed to make a new thread. But, We do use proconrulz on our server and I have a question.

 

Is it capable of setting ticket% by either map order or mode? As Chainlink hasnt been added to very many plugins, Id imagine the only way to accomplish this task is a plugin that changes % based on the # of the map in rotation.

 

Im trying to run a mix mode server, dragons teeth conquest and chanilink. Currently Chainlink is way to short, so we have been only running it with our ticket % upped to 300%, I guess you can see the issue with adding conquest in.

 

Is there any plugin that can Change the Game %'s? Based on the mode or the number in rotation?

 

Thanks,

 

Jdge

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

@jdge439

 

It sure is :ohmy:.. however Proconrulz doesnt know what the next map is it only knows the current map.. and that there is a problem :ohmy:

you can only set Ticket counts n game counter before the round begins.. so unless you know the next map you really cant do it (without restarting the round)

 

%mm% contains the game mode so for Chainlink it is Chainlink0 and %m% contains the map name

 

so with those 2 bits of information you know what the current map and mode is.. so if you are NOT running anything that changes the order of the maps being played you could always check the map before chainlink and set the counters at the end of the round

 

however if you are running votemap or anything else that might change the order of the played maps that will not work and you will need to set the data once the map has loaded.. then restart the round

 

im unsure if Ultimate Map Manager has been updated for Dragons Teeth but it allows for separate settings per map might be one to look at.. or you can attempt to write a proconrulz script to handle it

 

Code:

On Init;if %mm% == "Chainlink0"
   Exec vars.gameModeCounter 300
   if %ini_gamemode_test% == 0;Set %ini_gamemode_test% 1;Log Restarting round to set gameModeCounter for Chainlink;exec mapList.restartRound
On Init;if %mm% != "Chainlink0"
   Exec vars.gameModeCounter 100
   if %ini_gamemode_test% == 1;Set %ini_gamemode_test% 0;Log Restarting round to set gameModeCounter for Normal;exec mapList.restartRound
^^ completely untested

but the idea is to set an ini variable so you know if you need to restart the round based on if a chainlink map was last run or not :ohmy:

hope that helps

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

  DoctorTrojan* said:

Here is a bug in this plugin. So ur not able to use constructions like:

Code:

On Kill; Damage 1,2,3..; Weapon 4,5,6..; Kit 7,8,9..; Do smth...
Where is the bug? Please note that only BFBC2 supports kit. So if you try kit in BF3 or BF4, it won't work. Otherwise, I don't see any bug.

 

"Weapon a,b,c" is supported and means weapon a, b, or c. "Damage a,b,c" is also supported and means damage a, b, or c. Please note however that the semicolons between conditions mean and NOT or. So, you are saying weapon a, b, or c and damage a,b,or c.

 

Read the documentation if you need further help.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

  FormatKLG* said:

Tell me how to make the plugin through the VIP slot

If you read the documentation which is provided to you via a link in the first post, you will see information about the 'Protected' condition.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DoctorTrojan*:

 

ty_ger07, i mean if i want to allow pistols expect G18, 93R for example. I write

Code:

On Kill;Not Damage Handgun;Weapon U_M93R,U_Glock18;Kill
But this code will not work coz a bug. If u will perform a kill with G18 u will not be punished coz plugin stops on first condition. G18 is a handgun.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

  DoctorTrojan* said:

ty_ger07, i mean if i want to allow pistols expect G18, 93R for example. I write

Code:

On Kill;Not Damage Handgun;Weapon U_M93R,U_Glock18;Kill
But this code will not work coz a bug. If u will perform a kill with G18 u will not be punished coz plugin stops on first condition. G18 is a handgun.
It's not a bug. It is a flaw in your logic. As you said, it stops at the first condition because a G18 is a handgun. Each rule only proceeds to the action at the end of the line if all the conditions of that rule are satisfied. If any one condition is not satisfied, it stops that rule from proceeding to the end.

 

Here: "or" not "and":

 

On Kill;Not Damage Handgun;Kill

On Kill;Weapon U_M93R,U_Glock18;Kill

 

There. That does what you want to do.

 

As I said, each semicolon between each condition is 'and'. The documentation also states this.

 

The G18 is a handgun. It can't be both not a handgun and a specific handgun -- they are mutually exclusive. You wanted not a handgun or a specific handgun -- therefore you need to put them on separate rules.

 

If it helps, draw circles on a piece of paper around each condition and see which group of circles is mutually exclusive or which group of circles share a common area. If they are mutually exclusive, they need to be separate rules.

 

If you want the infractions to the rules to share the same punishment counter, create an incremented variable shared by both separate rules and punish when that variable exceeds a certain quantity.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bandit66AU*:

 

Anyone got the entries to kill a player for killing with a jet in BF4? Is there a vehicle type jet in Proconrulz for BF4?

 

Ive search this thread and cant find anything - not for lack of trying since the thread search option says "jet" is too small a search term.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

  Bandit66AU* said:

Anyone got the entries to kill a player for killing with a jet in BF4? Is there a vehicle type jet in Proconrulz for BF4?

 

Ive search this thread and cant find anything - not for lack of trying since the thread search option says "jet" is too small a search term.

Code:
A-10 Thunderbolt Attack Jet Gameplay/Vehicles/A-10_THUNDERBOLT/A10_THUNDERBOLT VehicleAir None 
A-130 Gunship Gameplay/Vehicles/AC130/AC130_Gunship VehicleAir None 
AH-1Z Viper Attack Helicopter Gameplay/Vehicles/AH1Z/AH1Z VehicleAir None 
AH-6 Little Bird Scout Helicopter Gameplay/Vehicles/AH6/AH6_Littlebird VehicleAir None 
B-1 Lancer Bomber XP1/Gameplay/Vehicles/B1Lancer/B1Lancer VehicleAir None 
F-35 Stealth Jet Gameplay/Vehicles/F35/F35B VehicleAir None 
J-20 Stealth Jet Gameplay/Vehicles/Ch_FJET_J-20/CH_FJET_J-20 VehicleAir None 
Xian H-6 Bomber XP1/Gameplay/Vehicles/H6K/H6K VehicleAir None 
Mi-28 Havoc Attack Helicopter Gameplay/Vehicles/Mi28/Mi28 VehicleAir None 
Su-25TM Attack Jet Gameplay/Vehicles/SU-25TM/SU-25TM VehicleAir None 
Su-50 Stealth Jet Gameplay/Vehicles/RU_FJET_T-50_Pak_FA/RU_FJET_T-50_Pak_FA VehicleAir None 
Global Hawk UAV Gameplay/Vehicles/UAV_GlobalHawk/UAV_GlobalHawk VehicleAir None 
Q-5 Fantan Attack Jet Gameplay/Vehicles/CH_JET_Qiang-5-fantan/CH_JET_Q5_FANTAN VehicleAir None 
Z-10 Attack Helicopter Z-10w VehicleAir None 
Z-11W Scout Helicopter Gameplay/Vehicles/Z11W/Z-11w VehicleAir None 
Z-11W Scout Helicopter Gameplay/Vehicles/Z11W/spec/Z-11w_CH VehicleAir
First is the name.. second is weapon key (what inside %wk% on a kill) and the third is the damage type :ohmy:

 

 

now a quick way to disable all of a specific damage type

 

On Kill;Damage VehicleAir;Kill;PlayerSay no Air Vehicles allowed

 

however if you only want to single out the Jets you will need to make some different rules instead :ohmy:

 

On Kill;if %wk% contains "Jet";kill;PlayerSay No Jets allowed

On Kill;if %wk% contains "F35";kill;PlayerSay No Jets allowed

On Kill;if %wk% contains "Thunder";kill;PlayerSay No Jets allowed

.. etc etc till you have one for each of the jets

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.