[WIP] PA Community Hub

Discussion in 'Work-In-Progress Mods' started by Raevn, August 25, 2014.

  1. dom314

    dom314 Post Master General

    Messages:
    896
    Likes Received:
    1,196
    I've been playing around with pahub and the minimised ui toggle feature. @raevn , what do you think about minimising the header in some way as well?
    [​IMG]
    Incidentally, this also happens to show that the author field for the Map Store plugin has a typo ',' in your name xD!
  2. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Downloading map plugin seems to disable downloading of plugins.

    After installing all of the other plugins, ability to download plugins is restored.
  3. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Hmmm. Can you let me know the following:
    • What plugins did you have when you tried installing the map store plugin, and were they all enabled?
    • Did you manually install the remainder for it to work?
    • Did you restart PA Hub in between it not working and working again?
  4. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Some post reply catch-up:
    You were correct, the call to get your rank is based on the current session :(

    Uber pls.

    I agree the header needs to be shrunk a bit. I was thinking of making the "Planetary Annihilation" part of the title side-by-side instead of above each other, which should allow it to permanantly be reduced in height. Not sure if further shrinking will be needed/useful, as I don't want the header icons (login, help etc.) to interfere with/be on the same row as the tabs - it's already close to overlapping on the content section (keeping in mind that eventually there will be an "upload" tab), and once I do a localisation pass, some languages are bound to cause issues due to longer words.


    I've been adding some polish before I package up the Windows installer (the installer itself is just about done). I've already pushed an update to the plugin store, and have been working on the following. I'd like to complete at least these items before I release the installer:
    • Uninstall / Uninstall All [implemented locally, just needs a bit more testing]
    • Add "button" as a control type to settings
    • Add "Clear Icon Cache" & "Clear Entire Cache" buttons to settings
    • Bugfix for known issue - Mod Store does not enable mods immediately after installing them
    • Bugfix for known issue - Show Verbose/Show Debug settings not saved.
    Last edited: December 10, 2014
  5. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Update - 10/12/2014
    Finally includes uninstall content functionality! I've also included a change which I'm not 100% sure about - when no content is selected, the detailed view at the bottom is no longer visible. Not sure if this is jarring or not, especially when selecting something that then gets covered up. Let me know what you think.

    Plugin Store (v0.3.0)
    • New icon for Planetary Annnihilation meta content
      pa.png
    • New icon for PA Hub meta content
      pahub.png
    • Now uses stream system
    • Planetary Annihilation Meta content now keeps a fixed name
    Content Hub (v0.6.0)
    • Implemented Uninstall, Uninstall All
    • Content detail view is now hidden when no items are selected.
    • Bugfix: Prevented sort function error when attempting to sort a newly uninstalled item
    Map Store (v0.2.0)
    • Implemented uninstall for map content
  6. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Update - 15/12/2014
    Polish & fixes for a few annoying bugs.
    I have also completed a windows installer; testers needed (only basic testing done).
    http://pahub.raevn.com/PAHub_v0.4.0.exe

    Mod Store (v0.3.1)
    • Removed excess logging
    • Bugfix: Mods are now set to enabled after installation
    Settings Plugin (v0.3.0)
    • Added ‘button’ control
    • Added Clear Cache command
    • Additional logging
    • Additional error checking and reporting
    • Bugfix: No longer shows heading for “hidden” settings group
    Log Plugin (v0.1.2)
    • Bugfix: Fixed show verbose/show debug log items setting not being saved
    Last edited: December 15, 2014
    proeleert, Fr33Lancer and cwarner7264 like this.
  7. cwarner7264

    cwarner7264 Moderator Alumni

    Messages:
    4,460
    Likes Received:
    5,390
    I'll have a go at testing the Windows installer tonight :)
  8. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Just as soon as I change it so it no longer reads "PA Mod Manager" :oops:
    Edit: Back up :p
    Last edited: December 15, 2014
  9. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    The Holy Grail is here :)
    Some nitpick while testing ;)
    • Margin / Padding upon login upload_2014-12-15_23-40-56.png
    • I rely heavily on PAMM stream quick switcher (stable / pte) when testing stuff. PAHub requires to go to Settings and chose stream from a list (why a list by the way ? Seems binary, hence radio button seems more appropriate)
      Would it be possible to have something similar, or something like upload_2014-12-16_0-24-27.png / upload_2014-12-16_0-26-15.png (whichever is easier to implement)
    • Any plans to log on forum once logged in PAHub ?
    • UX : When browsing local content, having to re-scroll to the top to change a criteria is tedious.
      Only content should be scrollable.
      Also, I'm wondering why display criteria are split in 3 tabs (filter / sort / display = group) ? Why not something like (ala PAMM):
      upload_2014-12-16_20-38-56.png
    So I did some testing. I still have PAMM installed, which works flawlessly. But PAHub / PA is acting weirdly. :confused:
    Taking the exact current selection of mods I had (enabled in PAMM) and using PAHub to launch PA, I can see in PA logs that all installed mods are loaded, and only enabled ones are mounted. Until there, everything seems fine.
    However, some mods are not visible in PA ! :eek:
    All those adding buttons in the main menu or with Settings mostly (I checked some in-game and they are indeed effective).
    I have no idea where the issue could come from, any idea ?
    Raevn likes this.
  10. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    This is exactly the kind of things I's like to see :)

    That's odd - I don't get this:
    upload_2014-12-17_7-42-5.png

    I can do this, but it has some side effects. More happens when switching stream than simply changing the path to the app. For example:
    • The version of the PA meta-content changes, which may cause some mods/other content to be disabled (eg., if you have a mod that only works on the latest PTE, and you change to stable)
    • Different set of stock mods loaded.
    • Other potential future interactions from plugins (eg., different ladders or other differing functionality).
    I can change stream in the background when you click the launch button for that stream, but it can cause unexpected side-effects (especially if mods disable themselves as a result).

    I'll look into adding a stream changer maybe just above the play button.

    The forum needs re-doing; currently it wont let you post any comments once logged in, but I think I have a solution for that. I'll look into this as well when I do that.

    This all comes down to screen real estate. I'm not really happy with how it is currently to be honest, I know it feels clunky (especially the scrolling up). I'll give it some thought.

    Are you playing the PTE? Main menu mods that add buttons all broke due to re-designed UI.
    Fr33Lancer likes this.
  11. Fricia

    Fricia New Member

    Messages:
    14
    Likes Received:
    8
    First off, my login screen:

    Padding.JPG

    It seems like the location of the text doesn't adapt to the size of the picture or something.

    This. (You have already outlined the reasoning behind his choice in the post above tho).

    Downloads.JPG

    My downloadlist has been like this since I first started PAHub. Somehow it doesn't like that XPlosion Icon. I'm not sure whether this has an actual effect on anything, but it's irritating to always see this:

    Downloading.JPG

    Plus everything else Fr33Lancer said.
    Fr33Lancer likes this.
  12. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Yeah, I noticed that too with the default size of the window when PAHub is displayed. I tend to go fullscreen, but not everyone is on 1920*1200.

    I switched between both in fact. Its not related to mods adding buttons on the main menu (I didn't check Unit Database one, but anyway wondible's Instant Sandbox & Re-connect mod display the button correctly, and they are working, they just have the wrong style).
    Since I wanted to test more precisely, I disabled all but Hotbuild.
    With PAHub, I have neither the Hotbuild tab in Settings, nor its settings under UI. I checked in-game and it doesn't work too (just to be sure). All works well with PAMM.
    Couldn't find much in the logs :
    PAHub log : http://pastebin.com/4ujRv4p6
    PA log (PAHub) : http://pastebin.com/8ffdJsp4
    PA log (PAMM) : http://pastebin.com/hdgPvS2N
    The only differences I can see are :
    Code:
    [22:21:58.015] INFO Loading mod : rPAMM
    [22:21:58.015] INFO Mounting C:\Users\Fr33\AppData\Local\Uber Entertainment\Planetary Annihilation\mods\rPAMM\ as /
    Could it be somehow linked ?
  13. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Profile Pics
    I mistakenly assumed that the forums stored re-sized pictures (and were thus a consistant size), but it turns out it actually doesn't (which is odd). This is an easy fix.

    Downloading
    It should time out eventually if it can't contact the resource. There's only so much I can do in that situation, although I know there are possibly some bugs which make PA Hub think it's still downloading even though it's finished.

    Mods not displaying
    This has me confused. I can't launch PA right now, but I installed Hotbuild via PA Hub, and everything checks out (mods.json is correct, as is ui_mods_list.js).

    rPAMM will only be there when using PAMM - PA Hub removes it if it finds it, as it conflicts with it's version of the mod (com.pa.pahub.

    When you say you disabled all but hotbuild, just checking you didn't also disable either Blueprint Info Framework or Floating Framework, as Hotbuild uses both of these, and disabling them would have disabled Hotbuild also.
    Fr33Lancer likes this.
  14. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Ok, I'll try to remove rPAMM manually (backup just in case) and see if it helps.
    Of course I had Hotbuild dependencies installed and enabled, as per PA log :
    Code:
    [22:16:32.016] INFO Mounting C:\Users\Fr33\AppData\Local\Uber Entertainment\Planetary Annihilation\mods\com.pa.raevn.rblueprintinfoframework\ as /
    [22:16:32.016] INFO Mounting C:\Users\Fr33\AppData\Local\Uber Entertainment\Planetary Annihilation\mods\com.pa.raevn.rfloatframe\ as /
    [22:16:32.016] INFO Mounting C:\Users\Fr33\AppData\Local\Uber Entertainment\Planetary Annihilation\mods\com.pa.proeleert.hotbuild2\ as /
    Edit : Fiddling with content selection / enable, I managed to end up having :
    upload_2014-12-17_0-0-31.png
    Tried to look at the PA Hub logs, then noticed double scrollbar :
    upload_2014-12-17_0-2-48.png
    upload_2014-12-17_0-3-42.png
    Is it intended that Select All, when content is filtered, select indeed everything, not only filtered content ?
    It's quite confusing in fact.
    upload_2014-12-17_0-7-35.png
    Here I tried to select all client mods to disable them all, however it disabled everything (plugins too).

    Repro :
    1. Open PAHub
    2. Set Content Type to Client Mod
    3. Select All
    4. Disable All
    5. Set Content Type to All
    6. Re-enable Mod Store
    7. Select All
    8. Enable All

    Attached Files:

    Last edited: December 16, 2014
  15. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    IIRC, all mod folders get mounted; this doesn't actually mean they are enabled.
  16. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    You are more a specialist than I do, but according to both logs
    I understand installed mods are indeed all "Loaded", but only enabled one are "Mounted"
    Also, edited previous message with some bugs ;)
  17. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Thanks for clarifying, I was working from memory as I can't launch the game on this comp. I'll look into it more when I get home.

    As for the issues in your edit:
    • Multiple categories & extra space at the bottom: Probably caused by toggling the mod store on/off rapidly (can cause errors due to race conditions between loading & unloading). I have a fix in mind for this & other issues caused by this, but it's not implemented yet - basically, marking them as 'busy' during such actions so they can't be toggled until the previous action is completed.
    • Select all: I thought I only made it select the remaining items after filtering, looks like this is a bug.
    • Double scrollbar in log: Caused by a very long text string with no spaces (usually a URL). Needs a CSS fix, but should be simple.
    Fr33Lancer likes this.
  18. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Upon installing a mod requiring dependencies and having them not installed (cleared up mod folder for testing purpose), I notice the following popup :
    upload_2014-12-17_19-47-5.png
    Is is supposed to be like that ?
    It would definitely be more user-friendly to install those dependencies in the background. Maybe keep the warning popup to notice dependencies are required (list them if possible) and ask the user if he want to proceed or not.

    Also, for yesterday issues I was having, I moved all mods from "Planetary Annihilation\mods" folder into a backup one, left only mods.json in "Planetary Annihilation\mods" folder (because otherwise I had errors in the logs when installing, shouldn't it create itself an empty one / template ?) and tried with Hotbuild + dependencies.
    And now it works ! :)
    So, it seems the transition from PAMM (old time user) to PAHub may be difficult, compared to starting with PAHub from scratch.

    Edit : And now, moving them all back in "Planetary Annihilation\mods" folder and enabling them all seems to work :eek:
    Last edited: December 17, 2014
  19. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Purely a quick-and-easy temp solution.

    Ok, that's weird. The first part doesn't surprise me, the second part does :confused:

    One thing that needs doing is to check all the mods on launch, to see if any of their folder names don't match the mod IDs - these will be the ones installed by PAMM. I can then get PA Hub to re-install these and delete the old folders.
    Fr33Lancer likes this.
  20. Maldor96

    Maldor96 Active Member

    Messages:
    213
    Likes Received:
    196
    I have another Bug/issue for you,
    I installed PAHub from the windows installer and ran for the first time and it run normally and gave me a warning that it couldn't find PA installed anywhere. Ok I thought, so I played a game and came back to PAHub to find this
    upload_2014-12-25_10-36-5.png
    I have tried everything short of reinstalling it and none of the plugins show up, After reinstalling, shows up fine once and falls back to this.
    Is there a log file that I caan upload to further diagnose this issue (BTW coherent_UI.log is not going to help unfortunately)

Share This Page