Page 6 of 6 FirstFirst ... 456
Results 51 to 60 of 60
  1. #51
    @maxdralle
    Hello,
    can you tell me how to ammend this line for my needs:
    ; Set %ini_challengeCompleted_%p%-DATE%ymd%-TIME%hms%% CHALLENGE_%tmp_msg_weapon_typ%_%challenge_player_p oints[%p%]%/10_completed__%p%_has_won_a_VIP_SLOT_for_1_month__ __DEBUG_timestamp_%seconds%_/_86400_+31_+_%tmp_rem_vip_days%; Set %ini_challengeVipSlotEnd_%p%% %seconds% / 86400 + 31 + %tmp_rem_vip_days%; Set %server_challenge_winners% %p%; Exec reservedSlotsList.add %p%; Exec reservedSlotsList.save

    i want to add a command line, to add a reserved slot for one week.
    Can you tell me how to do that in proconrulez?
    thats my commandline:
    On Kill; Weapon dlSHTR;PlayerCount 29; Log %p% received a Vip Slot; PlayerOnce; Exec reservedSlotsList.add/reserved 1w %p%; Exec reservedSlotsList.save; say # %p% received a Vip Slot for 1 Week for 30 Kills with Phantom Bow#;;yell %p% received a 1 Week VIP Slot for 30 Kills with Phantom Bow

    with this version its permanent, if you can tell me the command for adding it?

    Sincerely

  2. #52
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    311
    Quote Originally Posted by ColColonCleaner View Post
    Glad you'll be trying it out, I haven't done any testing on BF3, not done with the BF4 testing yet and don't have a BF3 server. Once it's done and you're trying it let me know how it works.
    well, it seems to work on BF after some mod.
    but making 40 kills with each stage is hard, hehe

  3. #53
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    311
    Yes it is messy.
    But this works great for BF3 TDM servers, shall work on BF4 to.
    objective: use !target <part of name> to set a kill bounty on him.
    kill target 5 time without getting killed your self.
    reward: 1 week vip slot.
    failsafe for picking a nother player.
    failsafe for picking next target on objective complete.

    Code:
    # Challenge system for targets
    # VIP manager required !
    # R1
    On Spawn; ServerFirst; if %ts1% + %ts2% >= 4;say Target system active;say !target for more;set %targetsystem% 1
    On Spawn; ServerFirst; if %ts1% + %ts2% < 4;say target system inactive;say need 4 or more players;set %targetsystem% 0
    
    on say;if %targetsystem% = 0;if %text% = !target;playersay Target system disabled, need 4 players
    on say;if %targetsystem% = 0;text !target status;playersay Target system disabled, need 4 players
    On Say;if %targetsystem% = 0;Text !target;TargetPlayer;playersay Target system disabled, need 4 players
    
    on say;if %targetsystem% = 1;if %text% = !target;if %[%p%]challenge% = 0;playerSay use: !target <part of name>;playersay kill target 5 time without getting killed;playersay WEAPONS ONLY!;End
    on say;if %targetsystem% = 1;if %text% = !target;if %[%p%]challenge% = 1;playerSay U have a running target challenge -> !target status
    on say;if %targetsystem% = 1;text !target status ; if %[%p%]target% = 0;playersay No running challenge.
    on say;if %targetsystem% = 1;text !target status ; if %[%p%]target% = 1;playersay STATUS:;playersay U killed target %[%p%]victim% %[%p%]challenge_target% times
    
    On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]challenge_reward% = 0;if %[%p%]challenge% = 0;playersay accepted:Kill %t% 5 times;playersay without getting killed;set %[%p%]challenge% 1;set %[%p%]target% 1;set %[%p%]victim% %t%
    On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]challenge_reward% = 1;playersay Sorry, one challenge each round only
    On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]target% = 1;playersay %[%p%]victim% is already your target
    
    # checking if target challenge is complete, and add reward
    on kill;damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee;if %[%p%]target% = 1 ;incr %[%p%]challenge_target% ;playersay killed %[%p%]victim%:%[%p%]challenge_target%/5
    on kill;damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee;if %[%p%]target% = 1 ;if %[%p%]challenge_target% => 5;if %[%p%]challenge_death% = 0;playersay congratz, target challenge complete;say /vsm-addvip %p% +7;set %[%p%]target% 0;set %[%p%]challenge_death% 0;set %[%p%]challenge_target% 0;set %[%p%]challenge% 0;set %[%p%]challenge_reward% 1
    
    # checking for max death
    on spawn  ;if %[%p%]target% = 1    ;incr %[%p%]challenge_death%;if %[%p%]challenge_death% => 1;playersay Sorry, challenge cancelled, you died, try again;set %[%p%]target% 0;set %[%p%]challenge_death% 0;set %[%p%]challenge_target% 0;set %[%p%]challenge% 0
    Last edited by spatieman; 07-04-2018 at 18:19.

  4. #54
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    276
    Quote Originally Posted by mambochambo View Post
    @maxdralle
    Hello,
    can you tell me how to ammend this line for my needs:
    ; Set %ini_challengeCompleted_%p%-DATE%ymd%-TIME%hms%% CHALLENGE_%tmp_msg_weapon_typ%_%challenge_player_p oints[%p%]%/10_completed__%p%_has_won_a_VIP_SLOT_for_1_month__ __DEBUG_timestamp_%seconds%_/_86400_+31_+_%tmp_rem_vip_days%; Set %ini_challengeVipSlotEnd_%p%% %seconds% / 86400 + 31 + %tmp_rem_vip_days%; Set %server_challenge_winners% %p%; Exec reservedSlotsList.add %p%; Exec reservedSlotsList.save

    i want to add a command line, to add a reserved slot for one week.
    Can you tell me how to do that in proconrulez?
    thats my commandline:
    On Kill; Weapon dlSHTR;PlayerCount 29; Log %p% received a Vip Slot; PlayerOnce; Exec reservedSlotsList.add/reserved 1w %p%; Exec reservedSlotsList.save; say # %p% received a Vip Slot for 1 Week for 30 Kills with Phantom Bow#;;yell %p% received a 1 Week VIP Slot for 30 Kills with Phantom Bow

    with this version its permanent, if you can tell me the command for adding it?

    Sincerely
    use the version 2 from the first post: https://forum.myrcon.com/showthread....l=1#post136437
    and the plugin vip slot manager: https://forum.myrcon.com/showthread....P-Slot-Manager
    then you can use ingame command to add a vip slot.
    also you can create your challenge via proconrulz:
    Code:
    On Kill; Weapon U_dlSHTR,dlSHTR; if %c% == 30; Say /vsm-addvip %p% +7
    Developer of the VIP Slot Manager Plugin

  5. #55
    @Maxdralle: SOLVED!

    Thank you for your Advice,
    after searching in the tutorial of proconrulez and some googling, i tried / amount of duration in minutes, by myself and voila, its working!
    The code now looks like this:
    Exec reservedSlotsList.add %p%/ 604800; Exec reservedSlotsList.save;
    for adding the Challangewinner for 1 week. Its actually a nice Challange, i noticed, when my Server is on low Population, People actually doing the Mission XD

    Thank you Guys for helping

    Sincerely

  6. #56
    The challenge system in AdKats is ready, bar rewards. I'm swamped with stuff at the moment so I won't be able to complete rewards for a little while, but the base system is ready.
    ____

  7. #57
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    311
    We love u ColColon !

  8. #58
    Procon Addict
    Join Date
    Sep 2010
    Location
    Burton On Trent Staffordshire UK
    Posts
    579
    Just a question can i connect a bf3 server to the adkats database which already has a bf4 server connected to it .. and if the answer is yes what should i be aware of

    thanks in advance

  9. #59
    Community Contributor
    Join Date
    Nov 2011
    Posts
    3,019
    Quote Originally Posted by EntraVenuS View Post
    Just a question can i connect a bf3 server to the adkats database which already has a bf4 server connected to it .. and if the answer is yes what should i be aware of

    thanks in advance
    This is a Proconrulz question? Seems that this discussion has progressed in the wrong forum thread.

  10. #60
    Procon Addict
    Join Date
    Sep 2010
    Location
    Burton On Trent Staffordshire UK
    Posts
    579
    dam sorry i will repost in the right section

 

 

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
  •