Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ChironeX-BF3*:

 

Baserape is not tolerated here %p%

Already tried that way, %p% display the admin name who did the command, not the target player name :ohmy:

 

Edit: i always ban player on their ea guid but include their name on the reason so i can see who he is, i like to get a clear view.

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

Originally Posted by ChironeX-BF3*:

 

try %t% instead of %p%

you are using TargetPlayer so %t% is populated with the name of the target

It work, the target playername is displayed but instead the player is banned on his name and not guid anymore :sad:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

use PBBan instead.. it uses the PB_Guid

 

either that or use the Exec command and do it the same way you would via rcon

 

Code:

Request: banList.add <id-type: id-type> <id: string> <timeout: timeout> <reason: string> Response: OK Response: InvalidArguments Response: BanListFull Effect: Add player to ban list for a certain amount of time Comments: Adding a new name/IP/GUID ban will replace any previous ban for that name/IP/GUID timeout can take three forms: perm - permanent <default> rounds <integer> - until the given number of rounds has passed seconds <integer> - number of seconds until ban expires Id-type can be any of these name – A soldier name ip – An IP address guid – A player guid Id could be either a soldier name, ip address or guid depending on id-type. Reason is optional and defaults to “Banned by admin”; max length 80 chars.
exec banList.add GUID %ea_guid%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by QuadPrime*:

 

Hey guys

 

I tried implementing an adaptive punish for Explosive use if the server is populating

 

Please take a look at this snippet and tell me what you think.

 

Code:

#Set High Population for ONE TEAM (all slots / 2)
Set %highpop% 15 

# Checking Explosives LOW POP (<%highpop%)
On Kill;Damage Explosive;if %n% < %highpop%;Say %p% was PUNISHED for using a %w% in Low Pop mode; say /punish %p% Use of Explosives! (%w%) Check the !rules
On Kill;Damage ProjectileExplosive;if %n% < %highpop%;Say %p% was Punished for using a %w% in Low Pop mode; say /punish %p% Use of Explosives! (%w%) Check the !rules

# Checking Explosives HIGH POP
On Kill;Damage Explosive;if %n% > %highpop%;Say %p% was KICKED for using a %w%; say /punish %p% Use of Explosives! (%w%) Check the !rules; Kick %p% Melee, Pistols and Bow only! You used a %w%.
On Kill;Damage ProjectileExplosive;if %n% > %highpop%;Say %p% was KICKED for using a %w%; say /punish %p% Use of Explosives! (%w%) Check the !rules; Kick %p% Melee, Pistols and Bow only! You used a %w%.
On Kill;Damage Explosive;if %n% = %highpop%;Say %p% was KICKED for using a %w%; say /punish %p% Use of Explosives! (%w%) Check the !rules; Kick %p% Melee, Pistols and Bow only! You used a %w%.
On Kill;Damage ProjectileExplosive;if %n% = %highpop%;Say %p% was KICKED for using a %w%; say /punish %p% Use of Explosives! (%w%) Check the !rules; Kick %p% Melee, Pistols and Bow only! You used a %w%.
ty guys.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by NastyPedro*:

 

just use "PlayerCount" 2 or 3 (its always N + 1) so 2 kicks at 3 and 3 kicks at 4

Im not very smart with procon, would you PM me an example script please ?

 

How would i make the knifemessage to yell to the victim when the victim spawns? i tried something but it just came up as 0 in the yell.

# Melee Kills Announcer

On Kill;Weapon Weapons/Knife/Knife;Say %p% SCALPED %v% !!!

On Kill;Weapon Melee;Yell %p% took %v% 's virginity with the knife !!!

On Kill;If %wk% contains Defib;Yell %p% zapped %v% with the Defib !!!

On Kill;If %wk% contains Repair;Yell %p% made a bbq of %v% with the Repair Tool !!!

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

Originally Posted by ty_ger07*:

 

 

 

# Melee Kills Announcer

On Kill;Weapon Weapons/Knife/Knife;Say %p% SCALPED %v% !!!

On Kill;Weapon Melee;Yell %p% took %v% 's virginity with the knife !!!

On Kill;If %wk% contains Defib;Yell %p% zapped %v% with the Defib !!!

On Kill;If %wk% contains Repair;Yell %p% made a bbq of %v% with the Repair Tool !!!

Your answer doesn't address "yell to the victim when the victim spawns".

 

Maybe something along these lines would help him:

 

On Kill;Weapon Melee,Weapons/Knife/Knife;Set %server_lastk[%v%]% %p%

On Spawn;If %server_lastk[%p%]% != 0;PlayerYell %p%, you were knifed by %server_lastk[%p%]%;Set %server_lastk[%p%]% 0

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

Originally Posted by Chilace*:

 

any idea why it does not work for me?

Because a space at the end of the first row.

Try this:

Code:

https://docs.google.com/spreadsheet/ccc_key=0ArYdI01EMb0CdGttYzdpdkdqdS1sSFJTeFNEYkJjNWc&usp=drive_web#gid=0
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mimimimi*:

 

Because a space at the end of the first row.

Try this:

Code:

https://docs.google.com/spreadsheet/ccc_key=0ArYdI01EMb0CdGttYzdpdkdqdS1sSFJTeFNEYkJjNWc&usp=drive_web#gid=0
fantastic! thank you so much!!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by FunkyFreddy*:

 

I have a BF4 jet only server with a "No rockets" rule. I tried adding this, but doesnt work.

On Kill; Damage ProjectileExplosive; Kill; PlayerSay %p% no rockets!

Arent heatseekers considered a "ProjectileExplosive" or what do I put instead?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

I have a BF4 jet only server with a "No rockets" rule. I tried adding this, but doesnt work.

 

 

Arent heatseekers considered a "ProjectileExplosive" or what do I put instead?

You cannot control loadouts of vehicles with ProconRulz, there is no weapon code for it. To do that you need the loadout enforcer plugin.

 

Here is the link: showthread....hicles-2-0-1-7*

 

EDIT: Oh...just realized you were the same person that asked this question in the Insane Limits thread. There isn't another way of doing weapon control on vehicles in battlefield servers other than the loadout enforcer.

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

Originally Posted by FunkyFreddy*:

 

EDIT: Oh...just realized you were the same person that asked this question in the Insane Limits thread. There isn't another way of doing weapon control on vehicles in battlefield servers other than the loadout enforcer.

Yes. At first I wanted to stop people from spawning with rockets so I downloaded the free test version of AdKats. But since I'm a complete newb I cant even get passed the first step in the setup. It asks for a MySQL database - which I don't have...

I can tell I'm a little in over my head here, so I guess ill just drop it all and let the server run without it.

Didn't think installing a plugin would be such a hassle.

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

Originally Posted by ColColonCleaner*:

 

Yes. At first I wanted to stop people from spawning with rockets so I downloaded the free test version of AdKats. But since I'm a complete newb I cant even get passed the first step in the setup. It asks for a MySQL database - which I don't have...

I can tell I'm a little in over my head here, so I guess ill just drop it all and let the server run without it.

Didn't think installing a plugin would be such a hassle.

They are different plugins from the same group, they are not a free vs paid version of the same plugin.

 

You don't need AdKats to run the loadout enforcer, you don't need anything other than procon to run it. I linked the loadout enforcer thread, and it says "no requirements".

 

The two plugins are meant to work together, but are not required to, each can run without the other.

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

Originally Posted by lukas13x*:

 

# Melee Kills Announcer

On Kill;Weapon Weapons/Knife/Knife;Say %p% SCALPED %v% !!!

On Kill;Weapon Melee;Yell %p% took %v% 's virginity with the knife !!!

On Kill;If %wk% contains Defib;Yell %p% zapped %v% with the Defib !!!

On Kill;If %wk% contains Repair;Yell %p% made a bbq of %v% with the Repair Tool !!!

################################################## ################################

# Knife message !knife in-game command

# Set your knife message with "!knife "

# Victim will be given that message when you knife them

# View your message with "!knife_" or anyone's with "!knife? "

# You can check Configs/_proconrulz.ini to see all saved messages

################################################## ################################

 

On Say;Text !knife?

TargetPlayer;Say %t% knife message = %ini_knife_message[%t%]%;End

Say Your knife message = %ini_knife_message[%p%]%;End

 

On Say;Text !knife;log !knife;Set %ini_knife_message[%p%]% %targettext%;PlayerSay %p% your knife message is set

 

On Kill;Weapon Melee;If %ini_knife_message[%p%]% != 0

VictimSay Message from %p%: %ini_knife_message[%p%]%

PlayerSay You told %v%: %ini_knife_message[%p%]%

 

Thanks but its not exactly what I'm looking for

I have this, the original knifemessage from proconrulz, I want the knife message to appear on the victims screen as a yell when they spawn, while for the play who killed, just stays in the chat like it is right now. Any idea how to do this?

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

Originally Posted by ty_ger07*:

 

I don't know why you are using ini variables for something as simple as a knife message. Additionally, the use of "end" in a rule usually causes many negative effects and should be avoided at all costs.

 

Did you see my response to your question on the previous page? I gave you a very simple set of rules to yell the knife message to the victim when the victim spawns after being knifed. If it were me, I would throw your current rules out and use a better set of rules in their place.

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

Originally Posted by LjMjollnir*:

 

I don't know why you are using ini variables for something as simple as a knife message. Additionally, the use of "end" in a rule usually causes many negative effects and should be avoided at all costs.

The reason he is doing that is so you can set Custom knife Messages in game... my plugin handles this much better as it allows you to add the victim name as part of your message... that is IMPOSSIBLE in proconrulz.. it just cannot be done

 

you can do it if you manually edit the file for each persons knife message but then there is no point storing it in an INI file :ohmy: (in fact when PR reads the line from the ini file it fails to replace the Variables.. and this is what makes it Impossible to do)

 

been awhile since ive played with PR.. and i no longer have a server to test with.. but you are looking for something like this

 

Code:

On Kill;Weapon Melee;Set %knifed[%v%]% "Some message"
On Spawn;if %knifed% != 0;PlayerYell %knifed%;set %knifed% 0
you might need to change those Variables to %server? type .. but if i remember right that should work...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

Hello all , i have download proconrulz , but i can't limit weapon it not work ,

 

Its for MoH game !

 

when i write rules in " rulesfiles.txt , it not work !!

 

can you help me ?

rulesfiles.txt isnt for Rules :ohmy:.. its where you write the name of a file that contains rules :ohmy:.. there is a separate section for just plain rules.. tho personally when i used PR i used loads of .txt files :ohmy:
* 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.