Use the In-Game Community Mods - Cross Platform PA Mod Manager (PAMM) is Obsolete

Discussion in 'Released Mods' started by Mereth, May 24, 2014.

  1. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    He found a bug, somebody give him a cookie.
  2. Mereth

    Mereth Active Member

    Messages:
    330
    Likes Received:
    164
    cola_colin likes this.
  3. Mereth

    Mereth Active Member

    Messages:
    330
    Likes Received:
    164
    Btw, it was just the mongodb database which was down for a while, openshift have some up ... and down :> But I can't complain about a free service.
  4. nlgenesis

    nlgenesis Member

    Messages:
    45
    Likes Received:
    20
    @Mereth: do you have an idea for my PAMM problem on the previous page?
  5. svorngrir

    svorngrir New Member

    Messages:
    2
    Likes Received:
    0
    Is there any option to change the setup folder (make it not "%LOCALAPPDATA%\Uber Entertainment\Planetary Annihilation\pamm" but "C:\Uber Entertainment\Planetary Annihilation\pamm" for example) ?
    Because if people have windows or MacOS with language which differs from English there appears problem if "username" consists of non ASCII letters: "Non- ASCII characters found in 'c\Users\Änglagården\AppData\Local\Uber Entertainment\Planetary Annihilation'. Sorry, but Planetary Annihilation is known to not work properly with unicode characters"
  6. Mereth

    Mereth Active Member

    Messages:
    330
    Likes Received:
    164
    Sorry but no, it seems you have one of the atom shell / chromium sub process crashing hard. I you have some technical skills, you can try to edit the main.js and modify the parameters used to start the BrowserWindow or add some parameters to the chromium process to disable any hardware acceleration and stuff and see if it helps.
    https://github.com/atom/atom-shell/blob/master/docs/api/browser-window.md
    https://github.com/atom/atom-shell/blob/master/docs/api/app.md (app.commandLine.appendSwitch)
    http://peter.sh/experiments/chromium-command-line-switches/
    nlgenesis likes this.
  7. Mereth

    Mereth Active Member

    Messages:
    330
    Likes Received:
    164
    PAMM isn't the issue, PA is. You could have PAMM wherever you want, PA will always look for mods in your AppData (and Linux/OSX similar) folder.
  8. nlgenesis

    nlgenesis Member

    Messages:
    45
    Likes Received:
    20
    Thank you for replying Mereth! Your post inspired my to try Compatibility Mode: Windows XP. Now it works. :D

    EDIT: I spoke too soon... :'(

    Some tests:
    mainWindow.loadUrl('http://www.google.com'); - Works
    mainWindow.loadUrl('file://' + __dirname + '/index.html'); - Works if I replace the content of <body> with "hello world!".

    So there is something in index.html that is giving problems. I'll keep looking...

    EDIT2: @Mereth: The problem is caused by resize.js. I took out the line "<script src="assets/js/resize.js"></script>" from index.html, and now it seems to work fine. I tried having a look inside resize.js, there is nothing in there that stands out to me as a possible cause of the problem. But then, I have never programmed in JavaScript before, so... ;)
    Last edited: November 1, 2014
  9. popededi

    popededi Well-Known Member

    Messages:
    784
    Likes Received:
    553
    Oops, OP was posted in the wrong thread.

    So I will just use this post to say thank you very much, PAMM is awesome. Uber shoulda done this themselves though as part of vanilla PA.
  10. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Configured it to show detailed view on the installed mods lists


    Now PAMM won't show any mod in the installed mods lists nor will it show data from the available mods list. PAHub isn't displaying any data from the available mods list.
  11. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    It's unrelated to what you did. There's a certificate error from https://pamm-mereth.rhcloud.com/api/mod (the list of available mods).
    The non-https version works (http://pamm-mereth.rhcloud.com/api/mod).

    Quick workaround:
    Open <pamm dir>\resources\app\assets\js\pamm-api.js, edit line 7 to change https to http.

    Bug found: If you have a folder in the <pa data dir>\log (and it's the most recently updated item in that folder), PAMM errors out with "Illegal operation on directory". Need to add a check in findLastRunPath() to ensure that you only consider files when finding the latest log.
    Last edited: November 4, 2014
  12. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Why would it break my installed mods lists on PAMM though?
  13. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Because it breaks the available mods list, which breaks (pauses) the whole app before the installed lists can render.
  14. Mereth

    Mereth Active Member

    Messages:
    330
    Likes Received:
    164
    Are we talking about PAMM or PAHUB (or both) here ? PAMM still works locally when the mod api is down. It's only if the mod api take a long time to respond, that you have the page staying in a loading state for the duration (you can see the animated image in the bottom right). As far as I can see, the https is OK atm.

    I can add a check, safety first, but it hardly a bug when there should not have any directories here anyway.
    proeleert likes this.
  15. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    This was PAMM (PA Hub couldn't load the mods either though). It's ok now, but the certificate was erroring earlier. I left PAMM for a little while, though granted probably not long enough for it to time out. Can't remember if the download icon was still going.

    True, very niche case :p
  16. Mereth

    Mereth Active Member

    Messages:
    330
    Likes Received:
    164
    Just made a test with a website using a self signed certificate. Ajax request just hang, like it's waiting for the user confirmation without showing it and PAMM stay in "Loading" state indefinitely. Good to know :\
  17. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    One thing that would be help is if programs like PAMM and sites like pa-mods (@trialq) made it far more obvious how to add a mod. There needs to be big fat buttons saying ADD MOD TO PAMM which at the very least take you to the guide.
    Raevn and proeleert like this.
  18. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    I'm hoping to have content uploading directly integrated into PA Hub (even if it's just a wrapper for the current upload site).
  19. antmanx2

    antmanx2 New Member

    Messages:
    2
    Likes Received:
    0
    Windows 8.1

    Cannot get this to install / run on any of my computers running 8.1. Either doesn't install with permission issues to appdata folder or installs but will not run. I could give more details but I just want to see if anyone has this working on 8.1?
  20. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    It works on 8.1.

Share This Page