Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ixnorp*:

 

Nope that will get the stand alone versions only.. for underslung versions aswell try the code below :ohmy:

 

Code:

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
contains does a word search .. so that should cover U_AEK971_M320_HE, U_CZ805_M320_HE, U_M320_HE... etc... for example :ohmy:
look at LjMjollnir's code, chesterfield. short and sweet, like he said covers all the underslungs
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by chesterfield*:

 

sorry again

 

So only this Code Stop all M320 from evry weapon on my server?

 

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

 

THX

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

Originally Posted by hauser1*:

 

WILL THIS WORK FOR BF4?

 

#Shotgun BF4

 

On Kill;Weapon U_QBS09;PlayerCount 2;Log %p% banned for U_QBS09;Ban %p% U_QBS09 shotgun use

On Kill;Weapon U_QBS09;PlayerCount 1;Log %p% kicked for U_QBS09;Kick %p% U_QBS09 shotgun use

On Kill;Weapon U_QBS09;PlayerSay %p% no U_QBS09 shotgun;Kill 100

On Kill;Weapon U_SAIGA_20K;PlayerCount 2;Log %p% banned for U_SAIGA_20K;Ban %p% U_SAIGA_20K shotgun use

On Kill;Weapon U_SAIGA_20K;PlayerCount 1;Log %p% kicked for U_SAIGA_20K;Kick %p% U_SAIGA_20K shotgun use

On Kill;Weapon U_SAIGA_20K;PlayerSay %p% no U_SAIGA_20K shotgun;Kill 100

On Kill;Weapon U_USAS-12_Nightvision;PlayerCount 2;Log %p% banned for U_USAS-12_Nightvision;Ban %p% U_USAS-12_Nightvision shotgun use

On Kill;Weapon U_USAS-12_Nightvision;PlayerCount 1;Log %p% kicked for U_USAS-12_Nightvision;Kick %p% U_USAS-12_Nightvision shotgun use

On Kill;Weapon U_USAS-12_Nightvision;PlayerSay %p% no U_USAS-12_Nightvision shotgun;Kill 100

On Kill;Weapon U_870;PlayerCount 2;Log %p% banned for U_870;Ban %p% U_870 shotgun use

On Kill;Weapon U_870;PlayerCount 1;Log %p% kicked for U_870;Kick %p% U_870 shotgun use

On Kill;Weapon U_870;PlayerSay %p% no U_870 shotgun;Kill 100

On Kill;Weapon U_DBV12;PlayerCount 2;Log %p% banned for U_DBV12;Ban %p% U_DBV12 shotgun use

On Kill;Weapon U_DBV12;PlayerCount 1;Log %p% kicked for UU_DBV12;Kick %p% U_DBV12 shotgun use

On Kill;Weapon U_DBV12;PlayerSay %p% no U_DBV12 shotgun;Kill 100

On Kill;Weapon U_HAWK;PlayerCount 2;Log %p% banned for U_HAWK;Ban %p% U_HAWK shotgun use

On Kill;Weapon U_HAWK;PlayerCount 1;Log %p% kicked for U_HAWK;Kick %p% U_HAWK shotgun use

On Kill;Weapon U_HAWK;PlayerSay %p% no U_HAWK shotgun;Kill 100

On Kill;Weapon U_M1014;PlayerCount 2;Log %p% banned for U_M1014;Ban %p% U_M1014 shotgun use

On Kill;Weapon U_M1014;PlayerCount 1;Log %p% kicked for U_M1014;Kick %p% U_M1014 shotgun use

On Kill;Weapon U_M1014;PlayerSay %p% no U_M1014 shotgun;Kill 100

On Kill;Weapon U_SerbuShorty;PlayerCount 2;Log %p% banned for U_SerbuShorty;Ban %p% U_SerbuShorty shotgun use

On Kill;Weapon U_SerbuShorty;PlayerCount 1;Log %p% kicked for U_SerbuShorty;Kick %p% U_SerbuShorty shotgun use

On Kill;Weapon U_SerbuShorty;PlayerSay %p% no U_SerbuShorty shotgun;Kill 100

On Kill;Weapon U_SPAS12;PlayerCount 2;Log %p% banned for U_SPAS12;Ban %p% U_SPAS12 shotgun use

On Kill;Weapon U_SPAS12;PlayerCount 1;Log %p% kicked for U_SPAS12;Kick %p% U_SPAS12 shotgun use

On Kill;Weapon U_SPAS12;PlayerSay %p% no U_SPAS12 shotgun;Kill 100

On Kill;Weapon U_USAS-12;PlayerCount 2;Log %p% banned for U_USAS-12;Ban %p% U_USAS-12 shotgun use

On Kill;Weapon U_USAS-12;PlayerCount 1;Log %p% kicked for U_USAS-12;Kick %p% U_USAS-12 shotgun use

On Kill;Weapon U_USAS-12;PlayerSay %p% no U_USAS-12 shotgun;Kill 100

On Kill;Weapon U_UTAS;PlayerCount 2;Log %p% banned for U_UTAS;Ban %p% U_UTAS shotgun use

On Kill;Weapon U_UTAS;PlayerCount 1;Log %p% kicked for U_UTAS;Kick %p% U_UTAS shotgun use

On Kill;Weapon U_UTAS;PlayerSay %p% no U_UTAS shotgun;Kill 100

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

Originally Posted by bambam*:

 

sorry again

 

So only this Code Stop all M320 from evry weapon on my server?

 

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

 

THX

yeah now you got it... most long lists of rulz can be improved in the way you have done it.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

WILL THIS WORK FOR BF4?

 

#Shotgun BF4

 

On Kill;Weapon U_QBS09;PlayerCount 2;Log %p% banned for U_QBS09;Ban %p% U_QBS09 shotgun use

On Kill;Weapon U_QBS09;PlayerCount 1;Log %p% kicked for U_QBS09;Kick %p% U_QBS09 shotgun use

On Kill;Weapon U_QBS09;PlayerSay %p% no U_QBS09 shotgun;Kill 100

On Kill;Weapon U_SAIGA_20K;PlayerCount 2;Log %p% banned for U_SAIGA_20K;Ban %p% U_SAIGA_20K shotgun use

 

<... loads more rulz ...>

 

On Kill;Weapon U_USAS-12;PlayerCount 2;Log %p% banned for U_USAS-12;Ban %p% U_USAS-12 shotgun use

On Kill;Weapon U_USAS-12;PlayerCount 1;Log %p% kicked for U_USAS-12;Kick %p% U_USAS-12 shotgun use

On Kill;Weapon U_USAS-12;PlayerSay %p% no U_USAS-12 shotgun;Kill 100

On Kill;Weapon U_UTAS;PlayerCount 2;Log %p% banned for U_UTAS;Ban %p% U_UTAS shotgun use

On Kill;Weapon U_UTAS;PlayerCount 1;Log %p% kicked for U_UTAS;Kick %p% U_UTAS shotgun use

On Kill;Weapon U_UTAS;PlayerSay %p% no U_UTAS shotgun;Kill 100

Is there some reason you are not using "On Kill;Damage Shotgun;..." instead of your long list of weapons?

 

Also, FYI, you can use a condition "Weapon U_USAS-12,U_SPAS12,U_UTAS;..." to filter on any of those weapons in a single rule (but I expect Damage Shotgun is more what you need).

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

Originally Posted by bambam*:

 

Is there a way to display the current date with other formats? Like %d%/%m%/%y (10/01/14) or %d%/%M%/%YYYY (10/Jan/2014) etc.

ProconRulz is just providing %ymd% which gives e.g. 2012_07_17. I could have provided %year% %month% and %day% but I'm guessing it's not a widespread requirement so I've prioritized other stuff. You *could* write some fairly shitty looking rulz that convert the date yourself, e.g.

 

Code:

On Round;
    Set %server_date% %ymd%Z;
    If %server_date% contains 2014;Set %server_year% 2014
    If %server_date% contains 2015;Set %server_year% 2015
    If %server_date% contains 2016;Set %server_year% 2016

    If %server_date% contains _01_;Set %server_month% Jan
    If %server_date% contains _02_;Set %server_month% Feb
... 10 more lines ...

    If %server_date% contains _01Z;Set %server_day% 01
    If %server_date% contains _02Z;Set %server_day% 02
... 29 more lines ...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

Good Morning Mr BamBam nice to see you pop in an say Hello :P

 

i was just looking at your example for the Date seperation and i wondered about something

 

Code:

If %server_date% contains _02Z;Set %server_day% 02
Why is there a Z in the search.. would that search for _02Z which i dont think would exist in a date code.. or is that a special feature in the contains function to check the end of the line or something... logically to me it would be searching for _02Z and not _2

 

I was thinking of something else this morning.. if %tartgettext% was an array of words.. eg. %targettext[0]% size of array. %targettext[1]% = first word %targettext[2]% second word.. etc.. i did have some idea's for uses but nothing important right now..

 

but once i seen the question about the Date thing i thought about it again same thing could be used for %server_date%.. %server_date[0] = year, %server_date[1]% = Month, %server_date[2]% = day

 

Myself personally tho.. i would love to see a %random% :P i have some idea's for new game modes but i need a random number generator :P.. and it would make my Knife message script a little more interesting (i have 40 something knife messages but it just loops them all.. being random would be great)

 

%random% just needs to generate a number between 0.000 and 1

Random number between 0 and 10 would be generated like..

 

Set %luckynumber% %random% * 10

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

Originally Posted by shai*:

 

ProconRulz is just providing %ymd% which gives e.g. 2012_07_17. I could have provided %year% %month% and %day% but I'm guessing it's not a widespread requirement so I've prioritized other stuff. You *could* write some fairly shitty looking rulz that convert the date yourself, e.g.

 

Code:

On Round;
    Set %server_date% %ymd%Z;
    If %server_date% contains 2014;Set %server_year% 2014
    If %server_date% contains 2015;Set %server_year% 2015
    If %server_date% contains 2016;Set %server_year% 2016

    If %server_date% contains _01_;Set %server_month% Jan
    If %server_date% contains _02_;Set %server_month% Feb
... 10 more lines ...

    If %server_date% contains _01Z;Set %server_day% 01
    If %server_date% contains _02Z;Set %server_day% 02
... 29 more lines ...
That's one way to acomplish this, but then again, it doesn't seem very resource friendly. Any chance you would just add those variables for us to use:

Code:

%FORMAT String	Description
%%	a literal %
%a	locale's abbreviated weekday name (e.g., Sun)
%A	locale's full weekday name (e.g., Sunday)
%b	locale's abbreviated month name (e.g., Jan)
%B	locale's full month name (e.g., January)
%c	locale's date and time (e.g., Thu Mar 3 23:05:25 2005)
%C	century; like %Y, except omit last two digits (e.g., 21)
%d	day of month (e.g, 01)
%D	date; same as %m/%d/%y
%e	day of month, space padded; same as %_d
%F	full date; same as %Y-%m-%d
%g	last two digits of year of ISO week number (see %G)
%G	year of ISO week number (see %V); normally useful only with %V
%h	same as %b
%H	hour (00..23)
%I	hour (01..12)
%j	day of year (001..366)
%k	hour ( 0..23)
%l	hour ( 1..12)
%m	month (01..12)
%M	minute (00..59)
%n	a newline
%N	nanoseconds (000000000..999999999)
%p	locale's equivalent of either AM or PM; blank if not known
%P	like %p, but lower case
%r	locale's 12-hour clock time (e.g., 11:11:04 PM)
%R	24-hour hour and minute; same as %H:%M
%s	seconds since 1970-01-01 00:00:00 UTC
%S	second (00..60)
%t	a tab
%T	time; same as %H:%M:%S
%u	day of week (1..7); 1 is Monday
%U	week number of year, with Sunday as first day of week (00..53)
%V	ISO week number, with Monday as first day of week (01..53)
%w	day of week (0..6); 0 is Sunday
%W	week number of year, with Monday as first day of week (00..53)
%x	locale's date representation (e.g., 12/31/99)
%X	locale's time representation (e.g., 23:13:48)
%y	last two digits of year (00..99)
%Y	year
%z	+hhmm numeric timezone (e.g., -0400)
%:z	+hh:mm numeric timezone (e.g., -04:00)
%::z	+hh:mm:ss numeric time zone (e.g., -04:00:00)
%:::z	numeric time zone with : to necessary precision (e.g., -04, +05:30)
%Z	alphabetic time zone abbreviation (e.g., EDT)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by shai*:

 

I've noticed several things that aren't in the documentation for ProconRulz, while during research for working with ProconRulz.

 

Things like using multiple Conditions such as:

 

Using multiple conditions:

Code:

On Join;If x > y;If y < z;do something
Checking if a variable contains a substring:

Code:

On Join;If %wk% contains M320_HE;Say M320 isn't allowed;Kill 100
Using the (new) On Init trigger:

Code:

On Init;Set %server_counter% 1
I wonder two things:

1. Could you please update the docs to include all of these so that we can use them (I'm assuming this is just an issue of not having enough time on your hands to keep the docs exactly up-to-date_)

2. Are there more such un-documented things we can use to enhance our rules?

 

And a couple of questions:

3. Is capitalization important in rules? Like On Join would work if written as on join ; and would writing if work the same as when using a capital I like If

4. I've seen a reply to the thread when someone said that spaces are important (or rather, lack thereof), ie. would:

Code:

On Join;Set %server_counter% 1
work the same as:

Code:

On Join ; Set %server_counter% 1
Or:

Code:

On Join;If x > y;If y < z;do something
work the same as:

Code:

On Join ; If x > y ; If y < z ; do something
Thanks in advance!!!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by shai*:

 

Question: Say I have a 8 variables, each containing a natural number (ie. 1 23 305 400 etc) and I want to find and AdminSay the variable with the largest number .. how would I be able to accomplish this within a rule?

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

Originally Posted by Jaffaman*:

 

Hi could someone please tell me how to make a shotguns/knifes only server on BF4.

 

Would it be.....

 

On Kill;Not Damage Shotguns;Not Damage Melee;PlayerCount 5;Log %p%banned (Shotguns / Knifes only);Ban %p% Shotguns only

On Kill;Not Damage Shotguns;Not Damage Melee;PlayerCount 3;Log %p% kicked (Shotguns / Kinfes only);Kick %p% Shotguns only

On Kill;Not Damage Shotguns;Not Damage Melee;PlayerSay %p% Shotguns/Kinfes only;Kill 100

 

 

Thanks in advance..........Jaffaman

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

Originally Posted by hauser1*:

 

Is there some reason you are not using "On Kill;Damage Shotgun;..." instead of your long list of weapons?

 

Also, FYI, you can use a condition "Weapon U_USAS-12,U_SPAS12,U_UTAS;..." to filter on any of those weapons in a single rule (but I expect Damage Shotgun is more what you need).

i need acode that kills then kick 3 time ban?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

i need acode that kills then kick 3 time ban?

It has been posted on these forums a few times :ohmy:.. but here ya go again

 

Code:

On Kill;Damage Shotgun
   PlayerCount 2;Say Banned %p% for using Shotguns;Ban No shotguns on this server!!!
   PlayerCount 1;Say %p% Kicked from server for using Shotguns!!;Kick Warning kick this time.. no shotguns will be a BAN next time.
   Say %p% killed for using Shotguns;Kill 100
^^^ Taken directly from the Proconrulz documentation... i only changed the damage type :P and added some messages.. try reading the Doc's next time

http://www.forsterlewis.com/proconrulz.pdf

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

Originally Posted by hauser1*:

 

Is there some reason you are not using "On Kill;Damage Shotgun;..." instead of your long list of weapons?

 

Also, FYI, you can use a condition "Weapon U_USAS-12,U_SPAS12,U_UTAS;..." to filter on any of those weapons in a single rule (but I expect Damage Shotgun is more what you need).

How will that shotgun code look like?

 

and this code for snipers is not working u know why?

 

 

 

On Spawn;ServerFirst;Set %server_sniperlimit% 4

 

# sniper limit rulz

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %_beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %_beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %_beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %_beingsniper% == 1;decr %_beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %_beingsniper% == 1;Decr %team_recontotal%

 

I need no shotguns and limit snipers bf4

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

Originally Posted by hauser1*:

 

Could someone help me whit a code for no shotguns on server bf4

 

1 use kill player

2 use kick

3 use ban

 

And i need a sniper limiter this code is for bf3 anyone have one for bf4?

 

On Spawn;ServerFirst;Set %server_sniperlimit% 4

 

# sniper limit rulz

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %_beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %_beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %_beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %_beingsniper% == 1;decr %_beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %_beingsniper% == 1;Decr %team_recontotal%

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

Originally Posted by tarreltje*:

 

Could someone help me whit a code for no shotguns on server bf4

 

1 use kill player

2 use kick

3 use ban

 

And i need a sniper limiter this code is for bf3 anyone have one for bf4?

 

On Spawn;ServerFirst;Set %server_sniperlimit% 4

 

# sniper limit rulz

On kill;Damage sniperRifle;

if %team_recontotal% == %server_sniperlimit%;if %_beingsniper% == 0;Say Sniper Limit max %server_sniperlimit% snipers each team !!!;Kill

if %_beingsniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers on team %pt%

incr %team_recontotal%;set %_beingsniper% 1;log %p% is a sniper, %team_recontotal% snipers on team %pt%

On kill;Not Damage sniperRifle;Not Damage Handgun;if %_beingsniper% == 1;decr %_beingsniper%;decr %team_recontotal%;log %p% is no sniper anymore, %team_recontotal% snipers on team %pt%

On Leave;if %_beingsniper% == 1;Decr %team_recontotal%

What is it with you people, just skipping to the last page of all topics... havent read a word of the first page.. and then think we will help you? Im getting so tired of this attitude!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ixnorp*:

 

just a random question that came to my mind.

 

On Spawn;If %ea_guid% == 0;If %pb_guid% == 0;Log %p% has NO GUID!;Kick

 

would this even work_____? :ohmy:

 

(i actually saw a guy that got tempban for 2 hours, change his ign, and came back to the server with no guid)

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

Originally Posted by tarreltje*:

 

just a random question that came to my mind.

 

On Spawn;If %ea_guid% == 0;If %pb_guid% == 0;Log %p% has NO GUID!;Kick

 

would this even work_____? :ohmy:

 

(i actually saw a guy that got tempban for 2 hours, change his ign, and came back to the server with no guid)

Its a good idea!!! But i dont think BamBam has forwarded the ea_guid to a var. Otherwise your rulz would work
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

Its a good idea!!! But i dont think BamBam has forwarded the ea_guid to a var. Otherwise your rulz would work

Its in the PDF so it should be there :ohmy: %ea_guid% and %pb_guid% are listed

 

Hi,

i am looking for a rule to stop the use of MAV. Can anyone help with this rule please?

Many thanks.

Mav is counted as Damage Type DEATH.. you can stop them but you will also stop all Vehicles and weapon enplacements(.50 Cal and the other one) it will also stop Suav/Ucav/EOD/Mortar...

 

so sadly while yes you can stop MAV.. you have to stop a load of other things at the same time.

 

Code:

On Kill;Damage Death;PlayerSay No MAV (and other vehicles.. + loads of equipment);Kill 100
also Hauser1 ive given you an example how to disable Shotguns... and it was from the Proconrulz.pdf.. read the help files.. you will not get anymore help from me... (apparently im invisible since you keep asking for the same things ive already helped you with)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ixnorp*:

 

Its a good idea!!! But i dont think BamBam has forwarded the ea_guid to a var. Otherwise your rulz would work

thanks! I tried it, i tested

 

On Spawn;If %pb_guid% == (my guid);kick

 

and it worked. :biggrin:

 

I doubt the If %pb_guid% == 0;If %ea_guid% == 0;kick will work right? It has to show a 0 to make the rule work right? Unless anyone know how to set the value for a blank_? :huh:

 

 

Mav is counted as Damage Type DEATH.. you can stop them but you will also stop all Vehicles and weapon enplacements(.50 Cal and the other one) it will also stop Suav/Ucav/EOD/Mortar...

 

so sadly while yes you can stop MAV.. you have to stop a load of other things at the same time.

It will also stop those explosive barrels in maps too.

 

 

out of topic but..

:huh: I don't think SUAV is linked together with Death? I got no idea why, i have a rule for using Weapon Death, used and get killed. But luckily SUAV isn't in it, we allowed it and everybody is having fun roadkilling with that in my server :ohmy:

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

Originally Posted by LjMjollnir*:

 

I doubt the If %pb_guid% == 0;If %ea_guid% == 0;kick will work right? It has to show a 0 to make the rule work right?

I'd put those as separate rules.. as 1 rule it would only kick if BOTH are 0 (which i believe in proconrulz is the same as Null for strings)

keep them separate to kick if either are null :ohmy:

 

It will also stop those explosive barrels in maps too.

I thought they were counted as explosive :ohmy:.. but could be death

 

out of topic but..

:huh: I don't think SUAV is linked together with Death? I got no idea why, i have a rule for using Weapon Death, used and get killed. But luckily SUAV isn't in it, we allowed it and everybody is having fun roadkilling with that in my server :ohmy:

Ahh yes you are correct on that one.. they are counted as Damage Roadkill
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Good Morning Mr BamBam nice to see you pop in an say Hello :P

 

i was just looking at your example for the Date seperation and i wondered about something

 

Code:

If %server_date% contains _02Z;Set %server_day% 02
Why is there a Z in the search.. would that search for _02Z which i dont think would exist in a date code.. or is that a special feature in the contains function to check the end of the line or something... logically to me it would be searching for _02Z and not _2
simples... I used Set %server_date% %ymd%Z

so %server_date% will be whatever %ymd% returns plus a "Z", e.g. "2014_01_12Z"

This is so I can search for DAY "_12" without it getting confused with a MONTH "_12_" ...

 

I was thinking of something else this morning.. if %tartgettext% was an array of words.. eg. %targettext[0]% size of array. %targettext[1]% = first word %targettext[2]% second word.. etc.. i did have some idea's for uses but nothing important right now..

 

but once i seen the question about the Date thing i thought about it again same thing could be used for %server_date%.. %server_date[0] = year, %server_date[1]% = Month, %server_date[2]% = day

great idea... I'll work on it.

 

Myself personally tho.. i would love to see a %random% :P i have some idea's for new game modes but i need a random number generator :P.. and it would make my Knife message script a little more interesting (i have 40 something knife messages but it just loops them all.. being random would be great)

 

%random% just needs to generate a number between 0.000 and 1

Random number between 0 and 10 would be generated like..

 

Set %luckynumber% %random% * 10

Sure, it's easy to do and I can always add it. I reckon you could update a variable yourself to give it a pseudo-random value each time but I haven't really worked that out (random = random * large_prime modulo 50) maybe. Dunno.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Furo92*:

 

Hello, i'm new with Procorulz so i'm sorry if my question will sound a bit stupid!! I'm trying to set my BF4 server without explosives but just in Domination Mode, since we even run some conquest maps in the rotation. Is there a way to have the kill/kick command just in Domination mode? i wrote this but it doesn't work :sad: this was only for m320 and missile launchers

 

On Kill;MapMode Domination0; Damage ProjectileExplosive; PlayerCount 2; Say %p% kicked for%w% use; Kick %p% %w% use

On Kill;MapMode Domination0; Damage ProjectileExplosive; PlayerCount 1; Say %p% killed for %w% use; Say %p% LAST WARNING NEXT TIME YOU WILL BE KICKED; Kill %p% %w% use

On Kill;MapMode Domination0; Damage ProjectileExplosive; PlayerCount 0; Say %p% killed for %w% use; Kill %p% %w% use

 

I even tried to switch MapMode Domination0 with Not MapMode Conquest but it didn't work. Any suggestions? Thanks in advance!!! :smile:

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

Originally Posted by Talzac*:

 

Hi

Found this:

 

On Kill;Weapon Death;Teamsize 4;

PlayerCount 5;Say %p% kicked for vehicle kills;Kick kicked for vehicle kills with small teams

PlayerCount 3;Say %p% slayed for vehicle kill %c%/5;Kill 100

Say %p% - no vehicle kills with small teams (#%c%/5)

Can this be used on BF4? I also do not want team size I want it to be on number of people online.

 

If less then 6 persons this rule should apply. Thanks :smile:

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

Originally Posted by axRhino*:

 

I can't copy / paste rules into proconrulz. This may sound really dumb but its driving me crazy. I can copy from the forums just fine and paste into any other text editor but not into the dialog box for rules. Any advice will be greatly appreciated.

 

I'd be happy to manually edit the text file to where they are saved but I can't find that either.

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

Originally Posted by Wlad*:

 

Hello guys,

 

I have one question about one modified rule.

If someone could help me a bit to solve the problem. Big thanks

Also I have tryed this out but not sure if it would work:

 

On kill;Not rate 2 4;if %ini_limit_sniperrifle_% == 1;Damage SniperRifle

set %ini_ini_limit_sniperrifle_%p%% %ini_ini_limit_sniperrifle_%p%% + 1

if %ini_limit_activeban% == 1;if %ini_ini_limit_sniperrifle_%p%% >= %ini_limit_ban%;Say :::::::::: [%p%] Ban for Proj.Explo > %w% using !;Ban %p% for Sniperrifle > %w% using !(Auto BAN);set %ini_sniperrifle_%p%% 0

if %ini_limit_activetempban% == 1;if %ini_SniperRifle_%p%% >= %ini_limit_tempban%;if %ini_SniperRifle_%p%% %w% using !;tempBan 900 %p% for Sniper usage > %w% (Tempban);if %ini_limit_activeban% == 0;set %ini_sniperrifle_%p%% 0

 

On kill;Damage SniperRifle;if %ini_limit_activekick% == 1;if %ini_sniperrifle_%p%% >= %ini_limit_kick%

if %ini_limit_activetempban% == 1;if %ini_sniperrifle_%p%% >= %ini_limit_kick%;if %ini_sniperrifle_%p%% %w% using !;kick for Sniperrifle > %w% using !

if %ini_limit_activetempban% == 0;if %ini_sniperrifle_%p%% >= %ini_limit_kick%;if %ini_sniperrifle_%p%% %w% using !;kick for Sniperrifle > %w% using !;if %ini_limit_activeban% == 0;set %ini_sniperrifle_%p%% 0

 

On kill;Damage SniperRifle;if %ini_limit_activekill% == 1;if %ini_Sniperrifle_%p%% >= %ini_limit_kill%

if %ini_limit_activekick% == 1;if %ini_limit_activetempban% == 1;if %ini_ProjectileExplosive_%p%% %w% using !;kill 100

if %ini_limit_activekick% == 1;if %ini_limit_activetempban% == 0;if %ini_Sniperrifle_%p%% %w% using !;kill 100

if %ini_limit_activekick% == 0;if %ini_limit_activetempban% == 1;if %ini_ProjectileExplosive_%p%% %w% using !;kill 100

if %ini_limit_activekick% == 0;if %ini_limit_activetempban% == 0;if %ini_Sniperrifle_%p%% %w% using !;kill 100;if %ini_limit_activeban% == 0;set %ini_Sniperrifle_%p%% 0

 

On kill;Damage SniperRifle;if %ini_limit_activewarn% == 1;if %ini_limit_activekill% == 1;if %ini_Sniperrifle_%p%% >= %ini_limit_warn%

if %ini_limit_activekick% == 1;if %ini_limit_activetempban% == 1;if %ini_Sniperrifle_%p%%

if %ini_limit_activekick% == 0;if %ini_limit_activetempban% == 1;if %ini_Sniperrifle_%p%%

if %ini_limit_activekick% == 1;if %ini_limit_activetempban% == 0;if %ini_Sniperrifle_%p%%

if %ini_limit_activekick% == 0;if %ini_limit_activetempban% == 0;if %ini_Sniperrifle_%p%%

 

On kill;Damage SniperRifle;if %ini_limit_activewarn% == 1;if %ini_limit_activekill% == 0;if %ini_SniperRifle_%p%% >= %ini_limit_warn%

if %ini_limit_activekick% == 0;if %ini_limit_activetempban% == 1;if %ini_SniperRifle_%p%%

if %ini_limit_activekick% == 1;if %ini_limit_activetempban% == 1;if %ini_SniperRifle_%p%%

if %ini_limit_activekick% == 1;if %ini_limit_activetempban% == 0;if %ini_SniperRifle_%p%%

if %ini_limit_activekick% == 0;if %ini_limit_activetempban% == 0;if %ini_SniperRifle_%p%%

* 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.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • 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.