Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by armypoilce*:

 

Here is what I used for when in game.

Code:

On Say;Admin;Text asay;AdminSay %p% -- %text%
Also I always led with / so that it would hide from squad.

so if I typed in game only admins would get

Cheers mate it kinda like this one

page1/index.html* sept this thread went to all :sad: and this one works what u did :smile:

 

Sent from my HUAWEI G510-0100 using Tapatalk

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

Originally Posted by Alexis-Alexander*:

 

Hi ty_ger07

Be so kind to help me. I would like to monitor the current number of points for the players on the server, and keep increasing their value.

here, something like:

 

On Kill;Set %ini_score[%p%]% %ini_score?[%p%]% + %score%

On Say;Text !score;PlayerSay Score: % p% has %ini_score[%p%]% points!

If the score is the lifetime kill number on the server then use:

On Kill;Incr %ini_score[%p%]%

On Say;Text !score;PlayerSay Score: % p% has %ini_score[%p%]% points!

 

if you are looking for %score% to be used, then you probably don't want to keep adding running total score on every kill, just on the end of round. Or you could subtract as you go with a round specific variable:

On Kill;Set %ini_score[%p%]% + %score% - %server_previous_score[%p%]%;Set %server_previous_score[%p%]% %score%

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

Originally Posted by m4gnet*:

 

If the score is the lifetime kill number on the server then use:

On Kill;Incr %ini_score[%p%]%

On Say;Text !score;PlayerSay Score: % p% has %ini_score[%p%]% points!

 

if you are looking for %score% to be used, then you probably don't want to keep adding running total score on every kill, just on the end of round. Or you could subtract as you go with a round specific variable:

On Kill;Set %ini_score[%p%]% + %score% - %server_previous_score[%p%]%;Set %server_previous_score[%p%]% %score%

There is a player, he has a score current per round, and historical. I would like both.

ie: server %previous_score% + current %score%, on the increase.

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

Originally Posted by spatieman*:

 

is there a way to pimp on spawn messages using the %pt% variable ?

like, where %pt% = us army ,and than saying ,Lets kill some commies's,

or when %pt% is russian army and saying ,comrads ,lets kill some yankee's

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

Originally Posted by ty_ger07*:

 

is there a way to pimp on spawn messages using the %pt% variable ?

like, where %pt% = us army ,and than saying ,Lets kill some commies's,

or when %pt% is russian army and saying ,comrads ,lets kill some yankee's

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

Originally Posted by ty_ger07*:

 

ok, sorry late response ger07, my windows say'd goodbye to me, ok .

HOW ? do i do that ?

This is very simple. I feel that you should read the plugin documentation (link in first post) if you ask such a question. At some point you need to learn so that you can ask less questions and start helping others with their questions.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LuxatenaVN*:

 

Is There a version Shotgun Limit for BF3 ?

Just like the same on Sniper Limit by Tarreltje.

My Wish there is shotgun limit is 4 :biggrin:

Code:

##### SNIPER LIMIT V2.7 ONLY BOLT ACTION #####

# SET THE MAX # OF SNIPERS HERE:
On Kill;ServerFirst;Set %server_sniperlimit% 3
On Say;ServerFirst;Set %server_sniperlimit% 3

# SNIPER LOG MESSAGES
On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%
On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk%

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)
On Kill;Damage SniperRifle;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerSay -;PlayerSay - %p% killed by SNIPER LIMIT max %server_sniperlimit%;PlayerSay -;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;PlayerSay -;PlayerSay - YOU HAVE A SNIPER SLOT !!! %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerSay -;Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES 
On Kill;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;Not Damage Explosive;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot!!!;TeamSay -;Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk%
On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot !!!;TeamSay -;Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk%

# !snipers / !sniperx INFO MESSAGES
On Say;Text !snipers;
PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%. Reserve slot with sniper kill, lose it with non-sniper/handgun kill.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

On Say;Text !sniperx;
PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%
Sorry for my bad english :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by spatieman*:

 

This is very simple. I feel that you should read the plugin documentation (link in first post) if you ask such a question. At some point you need to learn so that you can ask less questions and start helping others with their questions.

yes your right.

but i readed it.

i know the link between triger, event and action.

and did some amazing stuff with it already thanks to the documentation.

when i inpliment the docu correct, it should be,

Code:

on spawn;team us;playeryell 3 Lets kill some commies
on spawn;team russian;playeryell 3 Lets kill some yankee doodle
but for some reason, it doesnt.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

I would try

If %ptk% Contains us

and

If %ptk% Contains russia

instead of

Team us

and

Team russia.

 

Team is the same thing as %pt% which I believe is only stuff like "attack" or "defense". I think you need %ptk% (player team key) to get the string value of the player team name.

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

Originally Posted by Alexis-Alexander*:

 

There is a player, he has a score current per round, and historical. I would like both.

ie: server %previous_score% + current %score%, on the increase.

%score% will go up without rules changing it. The ini is the lifetime score on server.

If someone is on kill 1 lets say the have a %score% of 100. And at kill 5 a %score% of 500. On kill 5 you don't want to add all the points from kills 1-4,since you did that already on those kills. So adding a previous score variable is how to subtract out the points that would be duplicate.

 

So score in file + score on board - score on board at last kill.

 

Another thing is that if someone gets a lot of points between their last kill and end of round then they won't get credit for that.

 

There may be an onRound you can use, but I've not tried those on individual players.

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

Originally Posted by spatieman*:

 

I would try

If %ptk% Contains us

and

If %ptk% Contains russia

instead of

Team us

and

Team russia.

 

Team is the same thing as %pt% which I believe is only stuff like "attack" or "defense". I think you need %ptk% (player team key) to get the string value of the player team name.

hmm, i didntsee the if statements in docu, but yes, your right.

lets try it...

 

Code:

on spawn;if %pt% contains russian;playeryell 3 Comrads Lets kill some yankee doodle;playersay Comrads Lets kill some yankee doodle
on spawn;not if %pt% contains russian;playeryell 3 Lets kill some commies;playersay Lets kill some commies
This works xD ,without the k in %pt%

* edit * ups,, THIS does work.

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

Originally Posted by ty_ger07*:

 

I don't think it is a very good idea. You should only store a short list of information with Proconrulz. For instance, if you wanted to store a list of top 10 scores, fine. But storing scores for everyone, not fine. You should use a plugin like XpKiller's which stores to a database for doing that. Databases are used instead of text files for a reason. If you try to use Proconrulz to do this, it will work fine for a while, but will get too large and then start crashing the plugin or causing severe lag. At that point you will lose all your progress and will have to use XpKiller's plugin and start over. You might as well start with the correct plugin from the start.

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

Originally Posted by Alexis-Alexander*:

 

I was storing player rounds and player kicks to ini file. I'm sure it hit 10,000 lines. I"d sometimes purge the very low round players.

 

It didn't crash the plugin, but I don't know if it caused lag.

 

Game servers.com has lifetime server scores. Is that accessible in any way?

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

Originally Posted by spatieman*:

 

To make the ingame admins it a but more easy, i made below rule set.

nothing wrong with it, but for the exeption that when a ingame admin (added in adkats) type's !info

he gets the access denied rule

when i type it ,it works as it should be.

the only difrence is ,that i also connect to a proconlayer, so, is my rule set mistaken, or is procon having a hickup.

 

Code:

on say;admin;text !info;playersay /kill donkey /baserape (baserape kill) 
on say;admin;text !info;playersay /tban rules /kick rules <name string>
on say;admin;text !info;playersay Keep in mind, /kick rules = KICK /tban rules = TEMP BAN
on say;not admin;text !info;playersay ADMINS ONLY ACCESS DENIED YOU DONKEY;playeryell 3 ADMINS ONLY ACCESS DENIED YOU DONKEY
on say;admin;text /kill donkey;targetplayer;yell 3 %t% is a donkey;targetaction kill 2000
on say;admin;text /baserape;targetplayer;yell 3 %t% is a donkey NO BASERAPE !;targetaction kill 2000
on say;admin;text /kick rules;targetplayer;yell 3 %t% is kicked for not playing by the rules;targetaction kick %t% play by the rules
on say;admin;text /tban rules;targetplayer;yell 3 %t% is a donkey, tempory ban for not reading, and following the rules;targetaction tempban 240 play by the rules
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mamba334*:

 

I hope I didn't miss this, but I've read so many threads and can't find it.

 

Is there a code to have it to where you can only get 3 kills max with U_SMAW or U_RPG-7 on Metro?

 

Is it ... On Kill;Map MP_Subway;Weapon U_SMAW;Count 3;Kick %p% was kicked for kill limit using SMAW!

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

Originally Posted by m4gnet*:

 

I don't think it is a very good idea. You should only store a short list of information with Proconrulz. For instance, if you wanted to store a list of top 10 scores, fine. But storing scores for everyone, not fine. You should use a plugin like XpKiller's which stores to a database for doing that. Databases are used instead of text files for a reason. If you try to use Proconrulz to do this, it will work fine for a while, but will get too large and then start crashing the plugin or causing severe lag. At that point you will lose all your progress and will have to use XpKiller's plugin and start over. You might as well start with the correct plugin from the start.

No, no! We are not talking about the plugin. The top 10_! good idea. If possible, detail )
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hi ty_ger07

Set %c% 0

On Kill;Not Weapon blablabla;Count 5;Kick

On Kill;Not Weapon blablabla;If %c% > 5;Kick

How to reset counter?

Use something other than %c%. %c% is a special variable in proconrulz.

 

On Kill;Not Weapon blablabla;Incr %counter%;If %counter% >= 5;Set %counter% 0;Kick

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

Originally Posted by m4gnet*:

 

Use something other than %c%. %c% is a special variable in proconrulz.

 

On Kill;Not Weapon blablabla;Incr %counter%;If %counter% >= 5;Set %counter% 0;Kick

Ah, OK! Thank you)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Gunslinger1973*:

 

Hi there. I run a Gunmaster Server. There are 5 Gunmaster presets

 

(vars.gunMasterWeaponsPreset "0" to vars.gunMasterWeaponsPreset "4")

 

I need a script that cycles through this presets from 0 to 4 and back to 0 again. Or, if possible some randomization between 0 to 4. I know how to set it on round start but I don't know how to create the counter that will stay over the end of the round. Any1 can help or, since I'm not a big scripter, create a script for this?

 

Thanks a lot for giving it some thought :smile:

 

BTW. you will find the presets here --> http://battlelog.battlefield.com/bf4...4793265165954/

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

Originally Posted by moacco07*:

 

Hi there. I run a Gunmaster Server. There are 5 Gunmaster presets

 

(vars.gunMasterWeaponsPreset "0" to vars.gunMasterWeaponsPreset "4")

 

I need a script that cycles through this presets from 0 to 4 and back to 0 again. Or, if possible some randomization between 0 to 4. I know how to set it on round start but I don't know how to create the counter that will stay over the end of the round. Any1 can help or, since I'm not a big scripter, create a script for this?

 

Thanks a lot for giving it some thought :smile:

 

BTW. you will find the presets here --> http://battlelog.battlefield.com/bf4...4793265165954/

Hi Gunslinger1973,

 

This link is your answer.

 

myrcon.net/.../insane-limits-bf4-gunmaster-random-presets

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

Originally Posted by Alexis-Alexander*:

 

Hi there. I run a Gunmaster Server. There are 5 Gunmaster presets

 

(vars.gunMasterWeaponsPreset "0" to vars.gunMasterWeaponsPreset "4")

 

I need a script that cycles through this presets from 0 to 4 and back to 0 again. Or, if possible some randomization between 0 to 4. I know how to set it on round start but I don't know how to create the counter that will stay over the end of the round. Any1 can help or, since I'm not a big scripter, create a script for this?

 

Thanks a lot for giving it some thought :smile:

 

BTW. you will find the presets here --> http://battlelog.battlefield.com/bf4...4793265165954/

You can save the variable to a file with ini prefix on variable to save across rounds.

On Round;vars.gunMasterWeaponsPreset %ini_gunmode%;Incr %ini_gunmode%;If %ini_gunmode% > 4;Set %ini_gunmode% 0

 

I haven't tried it, so if the variable needs to be a string vs a number then can do 5 separate lines to set to "0", " 1", etc

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

Originally Posted by Gunslinger1973*:

 

You can save the variable to a file with ini prefix on variable to save across rounds.

On Round;vars.gunMasterWeaponsPreset %ini_gunmode%;Incr %ini_gunmode%;If %ini_gunmode% > 4;Set %ini_gunmode% 0

 

I haven't tried it, so if the variable needs to be a string vs a number then can do 5 separate lines to set to "0", " 1", etc

I am trying right now but you need to have and Exec in there as well :smile:

 

On Round;Exec vars.gunMasterWeaponsPreset %ini_gunmode%;Incr %ini_gunmode%;If %ini_gunmode% > 3;Set %ini_gunmode% 0

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

Originally Posted by Alexis-Alexander*:

 

I am trying right now but you need to have and Exec in there as well :smile:

 

On Round;Exec vars.gunMasterWeaponsPreset %ini_gunmode%;Incr %ini_gunmode%;If %ini_gunmode% > 3;Set %ini_gunmode% 0

Ah right, trying this from phone, exec needed.

The reason to go > 4 is that >3 will skip mode 4

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

Originally Posted by Gunslinger1973*:

 

Ah right, trying this from phone, exec needed.

The reason to go > 4 is that >3 will skip mode 4

Unfortunately it does not work. I put in >3 to skip mode 4 (have you played that one *smile*).

It is possible that 4netplayers does not allow to create an ini - i don't see one in the files.

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

Originally Posted by moacco07*:

 

unfortunately not since this is a script for insane limits and not procon rulz... I don't want to deal with both scripting tools :smile:

Ok then, just wanna help. Good luck!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Alexis-Alexander*:

 

Unfortunately it does not work. I put in >3 to skip mode 4 (have you played that one *smile*).

It is possible that 4netplayers does not allow to create an ini - i don't see one in the files.

See if it is storing with

On Say;Text GetMode;Say The mode is %ini_gunmode%

 

That returns 0 I think if it wasn't ever set so if 0 then try this and see if not 0

On Say;Text SetMode;Incr %ini_gunmode%

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