Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by mimimimi*:

 

Hey again, it's Simple and Adaptive Vote System, which works on two of my Hosters, the third one (Gamed!de) sadly does not really support the feature of creating and editing *.ini Files.

 

Code:

#Votesystem by [one]#################################################
#Workarounds
On say;if %percent% == 0; set %percent% % 

#Player already Voted Yes
On Say;Text !vote yes,!vote no; if %ini_PlayersVoted_%p%_voted% == 1
+PlayerSay You already voted Yes! use !resetvote if you changed your mind.
#Player already Voted No
On Say;Text !vote yes,!vote no; if %ini_PlayersVoted_%p%_voted% == 2
+PlayerSay You already voted No! use !resetvote if you changed your mind.

#Reset without vote
On Say;Text !resetvote; if %ini_PlayersVoted_%p%_voted% == 0
+PlayerSay You didn't vote yet.

#Reset if vote was Yes
On Say;Text !resetvote; if %ini_PlayersVoted_%p%_voted% == 1 
+set %ini_PlayersVoted_%p%_voted% 0
+Decr %ini_vars_total_votes%
+set %ini_vars_option_1% %ini_vars_option_1% - 1
+PlayerSay reset your Vote. you can now vote again.

#Reset if vote was No
On Say;Text !resetvote; if %ini_PlayersVoted_%p%_voted% == 2 
+set %ini_PlayersVoted_%p%_voted% 0
+Decr %ini_vars_total_votes%
+set %ini_vars_option_2% %ini_vars_option_2% - 1
+PlayerSay Reset your Vote. You can now vote again.

#Vote Option 1 (Yes) 
On Say;Text !vote yes; if %ini_PlayersVoted_%p%_voted% == 0
+Incr %ini_vars_total_votes%
+Set %ini_vars_option_1% %ini_vars_option_1% + 1
+set %ini_PlayersVoted_%p%_voted% 1
+set %percentage1.1% 100 / %ini_vars_total_votes% * %ini_vars_option_1%
+set %percentage2.1% 100 / %ini_vars_total_votes% * %ini_vars_option_2%
+PlayerSay thanks for your vote! (%percentage1.1%%percent% Yes, %percentage2.1%%percent% No. Total Votes: %ini_vars_total_votes%)

#Vote Option 2 (No) 
On Say;Text !vote no; if %ini_PlayersVoted_%p%_voted% == 0
+Incr %ini_vars_total_votes%
+Set %ini_vars_option_2% %ini_vars_option_2% + 1
+set  %ini_PlayersVoted_%p%_voted% 2
+set %percentage1.1% 100 / %ini_vars_total_votes% * %ini_vars_option_1%
+set %percentage2.1% 100 / %ini_vars_total_votes% * %ini_vars_option_2%
+PlayerSay thanks for your vote! (%percentage1.1%%percent% Yes, %percentage2.1%%percent% No. Total Votes: %ini_vars_total_votes%)
#Votesystem end###############################################
make sure in this file on the layer hosted by Gamed!de:

 

Configs/proncon.cfg

 

this line is like this:

 

procon.private.options.runPluginsInSandbox False

 

 

if not, stop layer, set it to False, save file, and restart layer

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

Originally Posted by QuadPrime*:

 

Hey mimimimi, thanks for your suggestion.

 

The line is not apparent in the ProconRulz.cfg. If i try to add it, it gets reset to its original state on Layer Start :sad:

 

mfg QP

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

Originally Posted by mimimimi*:

 

Hey mimimimi, thanks for your suggestion.

 

The line is not apparent in the ProconRulz.cfg. If i try to add it, it gets reset to its original state on Layer Start :sad:

 

mfg QP

then open a ticket with your game server provider and ask them to add that line

 

 

same problem as yours in this same thread:

myrcon.net/...proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions#entry15220

 

follow ALL my conversation with Thuishy user.

 

 

however did you select that option from your procon application too?

procon > Tools > Options > Plugins > Plugin security: Run plugins with no restrictions

 

dont know if it is required but ill give it a try

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

Originally Posted by madmuthamonk*:

 

Trying to set each gunmaster map with its own preset but I cannot get it to work. Is it even possible?

 

I have tried a few things but they don't seem to work. Is there another way of putting this code in proconrulz?

 

On Round;Map XP7_Valley GunMaster0;Set vars.gunMasterWeaponsPreset 0

 

***Note, I tried the random gunmaster preset for insane balancer and it does not work with mixed mode servers.

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

Originally Posted by BuRockK*:

 

Trying to set each gunmaster map with its own preset but I cannot get it to work. Is it even possible?

 

I have tried a few things but they don't seem to work. Is there another way of putting this code in proconrulz?

 

On Round;Map XP7_Valley GunMaster0;Set vars.gunMasterWeaponsPreset 0

 

***Note, I tried the random gunmaster preset for insane balancer and it does not work with mixed mode servers.

When a code you think should work doesnt, its usually you made a typo somewhere in the code. or used it wrong way. Very rare that its a conflict or theres an access/write issue problem between plugin,server or procon.

 

Heres the right code: On Round;Map XP7_Valley;MapMode GunMaster0;Set vars.gunMasterWeaponsPreset 0

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

Originally Posted by madmuthamonk*:

 

When a code you think should work doesnt, its usually you made a typo somewhere in the code. or used it wrong way. Very rare that its a conflict or theres an access/write issue problem between plugin,server or procon.

 

Heres the right code: On Round;Map XP7_Valley;MapMode GunMaster0;Set vars.gunMasterWeaponsPreset 0

Ah I see, I didn't separate the game mode. I will try this, thank you for the help.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by QuadPrime*:

 

You just used the Wrong Action. Console commands like vars.gunMasterWeaponsPreset are executed via the " exec " command. Set is used to handle Procon-rulz internal Variables.

 

On Round;Map XP7_Valley;MapMode GunMaster0;exec vars.gunMasterWeaponsPreset 0

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

Originally Posted by madmuthamonk*:

 

You just used the Wrong Action. Console commands like vars.gunMasterWeaponsPreset are executed via the " exec " command. Set is used to handle Procon-rulz internal Variables.

 

On Round;Map XP7_Valley;MapMode GunMaster0;exec vars.gunMasterWeaponsPreset 0

I will try this, the other did not work
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

When a code you think should work doesnt, its usually you made a typo somewhere in the code. or used it wrong way. Very rare that its a conflict or theres an access/write issue problem between plugin,server or procon.

You just used the Wrong Action. Console commands like vars.gunMasterWeaponsPreset are executed via the " exec " command. Set is used to handle Procon-rulz internal Variables.

 

On Round;Map XP7_Valley;MapMode GunMaster0;exec vars.gunMasterWeaponsPreset 0

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

Originally Posted by Crawfy2D*:

 

Hi ...

 

I have a BF3 Server and i do this in proconRulz. But is this ok ?

 

###### Knife, Defib and Repair-Tool Kills Announcer #######

 

# german

 

On Kill;Weapon Weapons/Knife_RazorBlade;Say %p% Hat %v% Die Kehle Aufgeschlitzt !!!

On Kill;Weapon Weapons/Knife/Knife;Say %p% Hat %v% Die Kehle Aufgeschlitzt !!!

On Kill;If %wk% contains Defib;Say %p% Hat %v% Mit Dem Defib Elektrisiert !!!

On Kill;If %wk% contains Repair;Say %p% Hat %v% Mit Dem Repair-Tool Zerbraten !!!

On Kill;Weapon Weapons/Knife_RazorBlade;Yell %p% Hat %v% Die Kehle Aufgeschlitzt !!!

On Kill;Weapon Weapons/Knife/Knife;Yell %p% Hat %v% Die Kehle Aufgeschlitzt !!!

On Kill;If %wk% contains Defib;Yell %p% Hat %v% Mit Dem Defib Elektrisiert !!!

On Kill;If %wk% contains Repair;Yell %p% Hat %v% Mit Dem Repair-Tool Zerbraten !!!

 

Best Reg

 

Crawfy

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

Originally Posted by Hodor*:

 

Does anyone know how to run @scramblenow (truebalancer) through proconrulz rule?

I want to write a rule that in running round turned on scramble if too much difference in strength of teams.

Multibalancer works fine, but asked to create an account in Procon Layer with name "Server" order to command Multibalancer started to work.

 

Test Multibalancer command - works:

Code:

On Say;Text /test;Say @mb scramble on
- works

 

Test Truebalancer command - doesnt work

Code:

On Say;Text /test;Say @scramblenow
- doesnt work

 

How to solve this problem?

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

Originally Posted by ty_ger07*:

 

Does anyone know how to run @scramblenow (truebalancer) through proconrulz rule?

I want to write a rule that in running round turned on scramble if too much difference in strength of teams.

Multibalancer works fine, but asked to create an account in Procon Layer with name "Server" order to command Multibalancer started to work.

 

Test Multibalancer command - works:

Code:

On Say;Text /test;Say @mb scramble on
- works

 

Test Truebalancer command - doesnt work

Code:

On Say;Text /test;Say @scramblenow
- doesnt work

 

How to solve this problem?

There is no way. The plugins don't talk to eachother.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

There is no way. The plugins don't talk to eachother.

What he's asking about is chat commands. Multibalancer is able to be 'spoken to' since it listens to chat messages from "Server", which can include admin say messages. You don't talk between plugins per-say, you fake the plugin into believing an admin has entered the command in chat and has access to it. IL, MB, and AdKats accept commands this way. I don't know if this exists in proconrulz though.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Chilace*:

 

Test Truebalancer command - doesnt work

Code:

On Say;Text /test;Say @scramblenow
- doesnt work

 

How to solve this problem?

What if:

Code:

On Say;Text /test;Exec admin.say "@scramblenow" all
Also read this:

Known Issues:

- While BalancingGuard is turned on, no players can be moved by an admin, if the admin would unbalance the teams by playernumber or skill with that playermove. Solution: Turn off BalancingGuard while trying to move players and than afterwards turn it back on or use TB's own movecommands ingame.

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

Originally Posted by Hodor*:

 

There is no way. The plugins don't talk to eachother.

AdKats, Multibalancer commands works through proconrulz rule

AdKats:

Code:

On Kill;Damage ProjectileExplosive;Say /punish %p% %w% not allowed here. Read !rules

What he's asking about is chat commands. Multibalancer is able to be 'spoken to' since it listens to chat messages from "Server", which can include admin say messages. You don't talk between plugins per-say, you fake the plugin into believing an admin has entered the command in chat and has access to it. IL, MB, and AdKats accept commands this way. I don't know if this exists in proconrulz though.

Can you give me an example for IL, to run a command True Balancer !scramblenow/@scramblenow eg OnAnyChat?

 

 

What if:

Code:

On Say;Text /test;Exec admin.say "@scramblenow" all
Doesnt work :sad:

 

Also read this:

Known Issues:

- While BalancingGuard is turned on, no players can be moved by an admin, if the admin would unbalance the teams by playernumber or skill with that playermove. Solution: Turn off BalancingGuard while trying to move players and than afterwards turn it back on or use TB's own movecommands ingame.

it was turned off

 

P.S I can give server IP, rcon port and rcon password to connect Procon Layer If someone wants to help me

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

Originally Posted by ozersk*:

 

JOINER/LEAVER LOG

It can be a limit on the script? example:

Will write in the chat, if the players less than 30. If more than 30 players, it does not write in the chat.

Sorry for my English)

 

JOINER/LEAVER LOG RU

????? ??????? ????? ?? ???? ??????? ??????:

????? ?????? ? ???, ???? ??????? ?????? 30. ???? ?????? 30 ???????, ?? ?? ????? ? ???.

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

Originally Posted by Chilace*:

 

JOINER/LEAVER LOG

It can be a limit on the script? example:

Will write in the chat, if the players less than 30. If more than 30 players, it does not write in the chat.

Sorry for my English)

 

JOINER/LEAVER LOG RU

????? ??????? ????? ?? ???? ??????? ??????:

????? ?????? ? ???, ???? ??????? ?????? 30. ???? ?????? 30 ???????, ?? ?? ????? ? ???.

Code:
#             JOINER/LEAVER LOG
On Join;Teamsize 14;Say %p% has joined the server
On Leave;Teamsize 14;Say %p% has left the server
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by maxdralle*:

 

JOINER/LEAVER LOG

It can be a limit on the script? example:

Will write in the chat, if the players less than 30. If more than 30 players, it does not write in the chat.

Sorry for my English)

less than 30 player = info message

more than 30 player = no message

 

Code:

On Join; if %ts1% + %ts2% < 30; Say %p% has joined the server
On Leave; if %ts1% + %ts2% < 30; Say %p% has left the server
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

Good afternoon folks. I been playing around with no luck but appreciate some help if you can. Two thing I would like to have A: Show or Say in this case when a headshot occurs to the player how many he has and going on each time he has one to him self.

 

Code:

####Headshot Number Announcer 
On Kill;Headshot;Incr %headnumberincr%;Incr %headshotnumber%;If %headnumberincr% == 10;Set %headnumberincr% 0;Say %p%: %headshotnumber% headshots this round.
And B: I would like to add the most Headshots at the end of a round and this is what I have. Any ideas what I am doing wrong?

 

 

Code:

###End Of Round###
On Kill;If %server_msg_now% == 1
If %server_m_kills_player% != 0;Say -= Most KILLS >>> %server_m_kills_player% >>> %server_m_kills[%server_m_kills_player%]% kills
If %server_m_head_player% != 0;Say -= Most HEADSHOTS >>> %server_m_head_player% >>> %server_m_head[%server_m_head_player%]% kills
If %server_m_knife_player% != 0;Say -= Most KNIFES %server_m_knife_player% >>> %server_m_knife[%server_m_knife_player%]% kills
Set %server_msg_now% 0
Heres a code for most headshots msg after every round end:

 

Code:

# Most Headshots
On Kill;Headshot;Incr %playerheadshots%
On Kill;Headshot;If %playerheadshots% > %server_mostheadshots%;Set %server_mostheadshots% %playerheadshots%;Set %server_mostheadshotsplayer% %p%

On RoundOver;if %ts1% + %ts2% > 0; Say - Most Headshots: %server_mostheadshotsplayer% (%server_mostheadshots%)
For msg players their total headshots, after every 10 headshot they make:

 

Code:

On Kill;Headshot;
    Incr %headshots_%p%%
    Incr %headshotstotal_%p%%
    If %headshots_%p%% == 10;PlayerSay You have %headshotstotal_%p%% headshots so far.;Set %headshots_%p%% 0
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Guest**:

 

Hi my friend.. im very lost on this forums haha i can't find what im looking for and im a pro for search and find normaly... also when im getting lost i know other gonna be lost to and still more than me ..

 

anyway :P Please can you send me the good thread with the (Battlefield Hardline - Procon Plugin - InsaneLimit - Pistol ONLY.-

 

Or maybe the thread where i can clearly learn how to make my own version of insane limit ... .

 

im looking for make a server ( PISTOL / KNIFE ONLY - MuseumGrinder - Museum ONLY FAST XP )

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

Originally Posted by BuRockK*:

 

Hi my friend.. im very lost on this forums haha i can't find what im looking for and im a pro for search and find normaly... also when im getting lost i know other gonna be lost to and still more than me ..

 

anyway :P Please can you send me the good thread with the (Battlefield Hardline - Procon Plugin - InsaneLimit - Pistol ONLY.-

 

Or maybe the thread where i can clearly learn how to make my own version of insane limit ... .

 

im looking for make a server ( PISTOL / KNIFE ONLY - MuseumGrinder - Museum ONLY FAST XP )

To make limits in Insane Limits, you need to know at least some basic C# coding.

 

This thread is for ProconRulz plugin. Go to ...* thread to get help on that plugin.

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

Originally Posted by BuRockK*:

 

How can i choose to round based settings?

 

CQ each 2 round Pistol Only!

 

THX Level

Not sure what you need. You can send server setting command after every round end with this basic "On Round End" code:

 

On RoundEnd;exec

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