[OBSOLETE] Autoselect Commander 3.1.0 [67523]

Discussion in 'Released Mods' started by wondible, March 6, 2014.

  1. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Version 2.0: Rewrite to work in shared-army games; remove checkbox.

    Technical note: the mod is using an initial empty selection event as "the commander have been created and can be selected". This event is often delayed until the first mouse or keyboard event, especially if you had another window selected. In shared army games, you will see commanders highlight briefly before the mod realizes there are multiple commanders and backs off.
  2. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Can it be disabled in GW ? (this additional check)
    Currently, it considers there are multiple commanders (because of sub-commanders) and doesn't allow automatic selection :(
    wondible likes this.
  3. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Really? Can you control subcoms now?

    I don't have any games with subcoms right now... could probably hack the probabilities.
  4. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    No, you can't, but you're not given the option to auto-select your comm, which is induced by the fix you did for V2.0 and shared games (it worked fine with 1.0)
    [​IMG]
  5. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Version 2.0.1 released; 2.0 broken; very important line disappeared before commiting.

    Towards the end I was always testing the negative case and some stray keystrokes went unnoticed. ;^)
    Fr33Lancer likes this.
  6. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Unfortunately, it still shows not available with 2.0.1 :(
    I tried even a second time and reinstall the mod from PAMM

    EDIT : Well, it doesn't even show on a standard multiplayer game with an AI, so either my setup is completely broken, or the mod has serious issue.

    EDIT 2 : Sticking with 1.0 for now ;)
  7. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I've still got a fair bit of debug logging in. Do you know how to use the client debugger?

    I'll see about renaming mine and downloading from PAMM.
    Fr33Lancer likes this.
  8. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Well, I know how to launch it, select the live_game scene, and go to console tab, but that's about everything :p
    wondible likes this.
  9. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Nevermind, if I had bother to click on start, I would have noticed it is selected automatically with 2.0.1 ... feeling dumb now :oops:
    It's just that since the option wasn't displayed anymore with the checkbox (since V2.0.0), I got confused, since I used this mod since it was created.
    Now it's done in the background, which is how it should have been implemented by Uber ;)
    Thanks for the quick fix by the way, good work :cool:
    wondible likes this.
  10. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Clearly a poorly written changelog message. What should I have said besides "remove checkbox" ? Perhaps "Checkbox no longer used, mod disables automatically if it sees multiple commanders" ?
  11. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    broken in PTE; it's no longer sending an empty selection on start.
  12. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Github has a rewrite based on armysize instead of select-zero. I've tested it on pte-single, stable-single, and stable-team (although I forgot I was testing by the time I found a game, but the expected army-size 2 was reported)
    Fr33Lancer likes this.
  13. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Autoselect Commander 3.0.0, new technique for 67342.
  14. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    uhm? broken in 67523? I couldn't slect my com with it on.
  15. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I use it every game, and the --nomods tests really throw me off.

    What other mods are you using. How are you playing? GW / multiplayer? 1v1 / team?
  16. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    let me try again. multi ffa. maybe was another mod or maybe it was because the earth and jupiter alligned
  17. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I tried a team game in multplayer, but other than AI's I'm not sure I've tried FFA. Shouldn't affect it, but I've been programming too long to say it can't.
  18. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    This mod has received the high honor of being indirectly incorporated into the game circa 67998. Now I just need to make time to add a version canery.
  19. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    It seems you can't add a depreciation dialog to live_game anymore. It's like they stopped rendering it to discourage people from putting things there.
  20. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Autoselect Commander 3.1.0

    - Update modinfo
    - Built into PTE after 67523, add depreciation message

Share This Page