Results 1 to 9 of 9
  1. #1

    SevLeague : Auto-balance by ClanTAG

    Hello,

    Here is my first plugin, designed for BFBC2 but hopefully working on BF3 (not tested ingame yet), It is a balancer for official match.

    Parameters :
    Leader's name :
    Leader's clanTag :
    Challenger's clanTag

    How does it work :
    When the leader is detected, every other player are balanced with the Leader if they have the Leader's clan TAG and in the opposite team if they have the Challenger's clanTag.

    InGame command :
    The Leader can enable/disable the balancing
    The Leader can enable/disable the kicking option

    What it will do :
    If the balancing option is enabled and leader in the game :
    - every joining soldier will be balanced in the right team with his teammates.
    - if the leader change team, everybody will automatically swap.
    - If a soldier try to swap team, he will be re-swap back to the right team
    If the kicking option is enabled :
    - every sodlier with a clanTag that is not Leader neither Challenger will be kicked.

    UniseV
    Attached Files Attached Files
    Last edited by ColColonCleaner; 01-06-2017 at 17:24. Reason: Adding proper tags

  2. #2
    Cool! Seen requests for something like this floating around so it's good to see a plugin handling it.

    The name 'auto-balance by clan tag', while accurate, could confuse some users new to procon. They might mistake this as a balancing plugin for normal matches, which it is not. Perhaps something along the lines of 'Clan vs Clan Scrim Balancer". Just a suggestion, not going to enforce this change.

    One that is definitely needed though. Some clans have people with different clan tags, for example some have different tags for their admins vs their members. It would be much better if the leader/challenger's tag settings were a list of tags they could set. You can see other plugins that use lists of strings for examples on this setting type, string[].

    I'll be able to look over the code shortly.
    ____

  3. #3
    Quote Originally Posted by ColColonCleaner View Post
    I'll be able to look over the code shortly.
    Really ?

  4. #4
    Quote Originally Posted by unisev View Post
    Really ?
    Your plugin was published a while back, it's available to the public.
    ____

  5. #5
    Ho, sorry, but where is it available ?
    ...Now I am a celebrity in the little world of "useless plugin for old games" ??

    I've released an update to allow each "captain" to ask the other for a restart... the restart is launched only after the second captain "agree" the restart. should I pass it thru a new validation ?

  6. #6
    Quote Originally Posted by unisev View Post
    Ho, sorry, but where is it available ?
    ...Now I am a celebrity in the little world of "useless plugin for old games" ??

    I've released an update to allow each "captain" to ask the other for a restart... the restart is launched only after the second captain "agree" the restart. should I pass it thru a new validation ?
    It's in the main section with all the other plugins.

    Just edit your main post with the updated plugin file if you have an update.
    ____

  7. #7
    Hello,

    I'm testing my plug-in on BF3 and I'm discovering that BF3 server do not deliver clanTag to ProCon...
    ...so my plugin is useless with BF3 ??

  8. #8
    Quote Originally Posted by unisev View Post
    Hello,

    I'm testing my plug-in on BF3 and I'm discovering that BF3 server do not deliver clanTag to ProCon...
    ...so my plugin is useless with BF3 ??
    You could obtain it from battlelog due to web requests.
    For example:

    Web request to => http://battlelog.battlefield.com/bf3...R_PLAYER_NAME/
    Then follow to "context -> profilePersonas (first entry) -> personaId", save the personaId. It's important, you need it for the next request

    Web request to => http://battlelog.battlefield.com/bf3..._PERSONAID/pc/
    Then follow to "context -> statsPersona -> clanTag"

    There you go
    I hope it helped you

  9. #9

 

 

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
  •