Page 606 of 606 FirstFirst ... 106506556596604605606
Results 6,051 to 6,053 of 6053
  1. #6051
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    247
    Grr,, doesnt work, this is confusing,, al other weps are working with it.

  2. #6052
    Senior Member
    Join Date
    Mar 2014
    Location
    Russia, Moscow
    Posts
    455
    Maybe try %ini_prohibitionshotgun_kills[%p%]%
    Better %ini_prohibitionshotgun_kills[%ea_guid%]%

    Code:
    On kill;damage shotgun;Incr %ini_prohibitionshotgun_kills[%ea_guid%]%
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% >= 6;Set %ini_prohibitionshotgun_kills[%ea_guid%]% 1
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 1;playersay %p% killed for using shotguns 1/4;kill 1500;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 2;playersay %p% killed for using shotguns 2/4;kill 1500;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 3;playersay %p% killed for using shotguns 3/4 next is kick;kill 1500;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 4;playersay %p% kicked for using shotguns;kick cant u read? NO shotguns;say %p% got kicked for shotgun abuse;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 5;playersay %p% timebanned for using shotguns;tban 3600 cant u read? NO shotguns;say %p% got timebanned for shotgun abuse;say NO SHOTGUNS HERE!
    Last edited by Hodor; 10-08-2017 at 01:17.

  3. #6053
    Senior Member
    Join Date
    Mar 2014
    Location
    Russia, Moscow
    Posts
    455
    Why this shit happens? When i try to restart proconrulz i got errors sometimes (not not always
    ) and my _proconrulz.ini goes to 0 KB from 2400 KB... How to fix this shit?

    Code:
    [23:56:43 85] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:43 85] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp5% "Без Взрывов/Дробовиков | Гранаты разрешены, но есть лимит!"]
    [23:56:43 85] ProconRulz: process_part player_name = (null)
    [23:56:43 85] ProconRulz: process_part p.part_type = Set
    [23:56:43 85] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:43 85] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x0009f] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:44 20] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:44 20] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp6% "НЕ НАРУШАЙ, А ТО ЗАБАНИТ"]
    [23:56:44 20] ProconRulz: process_part player_name = (null)
    [23:56:44 20] ProconRulz: process_part p.part_type = Set
    [23:56:44 20] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:44 20] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 20] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 20] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp9% "-----------------------------------------------------------------------"]
    [23:56:45 20] ProconRulz: process_part player_name = (null)
    [23:56:45 20] ProconRulz: process_part p.part_type = Set
    [23:56:45 20] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:45 20] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 31] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 31] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_srank_%ea_guid%% %ini_srank_%ea_guid%%+3]
    [23:56:45 32] ProconRulz: process_part player_name = [_SSXXXXXXXX]
    [23:56:45 32] ProconRulz: process_part p.part_type = Set
    [23:56:45 32] ProconRulz: process_part k.Killer.SoldierName = [_SSXXXXXXXX]
    [23:56:45 32] ProconRulz: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
      at System.ThrowHelper.ThrowKeyNotFoundException () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00021] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00074] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 54] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 54] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp10% "No Explosives/Shotguns"]
    [23:56:45 54] ProconRulz: process_part player_name = (null)
    [23:56:45 54] ProconRulz: process_part p.part_type = Set
    [23:56:45 54] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:45 54] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 61] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 62] 
    ProconRulz: process_part rule.unparsed_rule = [	Headshot;Set %ini_srank_%ea_guid%% %ini_srank_%ea_guid%%+20;PlayerSay :::Got 20XP [%ini_srank_%ea_guid%% of %server_srankxpneed_%ea_guid%%]]
    [23:56:45 62] ProconRulz: process_part player_name = [_SSXXXXXXXX]
    [23:56:45 62] ProconRulz: process_part p.part_type = Set
    [23:56:45 62] ProconRulz: process_part k.Killer.SoldierName = [_SSXXXXXXXX]
    [23:56:45 62] ProconRulz: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
      at System.ThrowHelper.ThrowKeyNotFoundException () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00021] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00061] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:46 77] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:46 77] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgv2% "We gave him a warning! | Learn more about the system !asp"]
    [23:56:46 77] ProconRulz: process_part player_name = (null)
    [23:56:46 77] ProconRulz: process_part p.part_type = Set
    [23:56:46 77] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:46 77] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0
    Part of code:
    Code:
    On Init;
    	Set %ini_weaponrestrictmsg_msgp1% "[WARNING: VIOLATION OF THE RULES]"
    	Set %ini_weaponrestrictmsg_msgp2% "No Explosives/Shotguns | Grenades allowed but limited!"
    	Set %ini_weaponrestrictmsg_msgp3% "YOU MAY BE BANNED FOR VIOLATIONS"
    	Set %ini_weaponrestrictmsg_msgp4% "[ВНИМАНИЕ: НАРУШЕНИЕ ПРАВИЛ!]"
    	Set %ini_weaponrestrictmsg_msgp5% "Без Взрывов/Дробовиков | Гранаты разрешены, но есть лимит!"
    	Set %ini_weaponrestrictmsg_msgp6% "НЕ НАРУШАЙ, А ТО ЗАБАНИТ"
    	Set %ini_weaponrestrictmsg_msgp7% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp8% "--- WARNING: VIOLATION OF THE RULES --"
    	Set %ini_weaponrestrictmsg_msgp9% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp10% "No Explosives/Shotguns"
    	Set %ini_weaponrestrictmsg_msgp11% "Grenades allowed but limited!"
    	Set %ini_weaponrestrictmsg_msgp12% "Follow the !rules"
    	Set %ini_weaponrestrictmsg_msgp13% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp14% "---- ВНИМАНИЕ: НАРУШЕНИЕ ПРАВИЛ ----"
    	Set %ini_weaponrestrictmsg_msgp15% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp16% "Без Взрывов/Дробовиков"
    	Set %ini_weaponrestrictmsg_msgp17% "Гранаты разрешены, но есть лимит!"
    	Set %ini_weaponrestrictmsg_msgp18% "Соблюдайте правила !rules"
    	Set %ini_weaponrestrictmsg_msgv2% "We gave him a warning! | Learn more about the system !asp"
    	Set %ini_weaponrestrictmsg_msgv3% "We punished him for it! | Learn more about the system !asp"
    	Set %ini_weaponrestrictmsg_msgv5% "Мы дали ему предупреждение! | Узнайте больше о системе !asp"
    	Set %ini_weaponrestrictmsg_msgv6% "Мы наказали его за это! | Узнайте больше о системе !asp"
    	Set %ini_weaponrestrictmsg_msgv8% "You were killed by prohibited weapon"
    	Set %ini_weaponrestrictmsg_msgv9% "We gave him a warning"
    	Set %ini_weaponrestrictmsg_msgv10% "We punished him for it"
    	Set %ini_weaponrestrictmsg_msgv11% "Learn more about the system !asp"
    	Set %ini_weaponrestrictmsg_msgv13% "Вас убили запрещенным оружием"
    	Set %ini_weaponrestrictmsg_msgv14% "Мы дали ему предупреждение"
    	Set %ini_weaponrestrictmsg_msgv15% "Мы наказали его за это"
    	Set %ini_weaponrestrictmsg_msgv16% "Узнайте больше о системе !asp"

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •