1. Before posting any MODs, please contact us at support@portalarium.com to ensure your MOD is acceptable to the Terms of Service and EULA of the game. Portalarium is not responsible for use of MODs and possible adverse effects on your client or computer, and we may take action on accounts using MODs that are deemed illegal. Whether submitted here or elsewhere in the community, use MODs at your own risk!
    Dismiss Notice

Companion of the Avatar

Discussion in 'Player Created Resources' started by Lord Barugon, Sep 22, 2016.

  1. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    I created a small open source public domain application that will parse and nicely display the log output from "/stats". The instructions are on the GitHub page (link below). Please let me know what you think or if you have any issues with it.

    https://github.com/Barugon/CotA

    Windows exe here:
    https://github.com/Barugon/CotA_Win

    Fedora 28 with Adwaita-dark theme:

    [​IMG]

    [​IMG]

    Windows 10:

    [​IMG]
     
    Last edited: Oct 2, 2018
  2. Ao Soliwilos

    Ao Soliwilos Avatar

    Messages:
    678
    Likes Received:
    981
    Trophy Points:
    93
    Gender:
    Male
    Location:
    Europe
    Nicely done! I will have a look at it once I can. :)
     
    Acred and Lord Barugon like this.
  3. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    I added the log folder path on Linux as default so you won't have to select it on first run. I attempted to set the locations for Windows and Mac as well but they're probably wrong.

    If anyone knows what the log folder paths are for Windows and Mac, can you please help me out and post that information here?
     
    Katrina Bekers likes this.
  4. Balec Fares deCani

    Balec Fares deCani Bug Brigade - Bug Hunter

    Messages:
    1,353
    Likes Received:
    4,040
    Trophy Points:
    125
    Gender:
    Male
  5. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    Katrina Bekers likes this.
  6. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    I added a search function to easily find values. I also removed the GPL3 license and made the code public domain.
     
    Katrina Bekers likes this.
  7. Wintermute of CoF

    Wintermute of CoF Avatar

    Messages:
    1,379
    Likes Received:
    2,434
    Trophy Points:
    113
    Gender:
    Male
    Location:
    London, United Kingdom
    Actually it should probably be:
    Code:
    %APPDATA%\Portalarium\Shroud of the Avatar\ChatLogs
    As that will work for people who don't have their OS or User folder on the C:\ drive or have XP (if the game even supports XP?).

    Similarly on Linux the path should be using the XDG_CONFIG_HOME environment variable, however I've not checked that SotA/Unity is actually using the variable or has just hard coded it.
     
  8. Olthadir

    Olthadir Avatar

    Messages:
    164
    Likes Received:
    454
    Trophy Points:
    18
    Location:
    Canada
    Mac OS X:

    /Users/"User name"/.config/Portalarium/Shroud of the Avatar/ChatLogs
     
    Lord Barugon likes this.
  9. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    It uses QDir::homePath(), so it should be good.
     
    Wintermute of CoF likes this.
  10. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    Thanks. :)
     
    Olthadir likes this.
  11. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    Added a "Notes" button to edit notes for each avatar (handy for shopping lists and such).
     
    Last edited: Nov 4, 2016
  12. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    I updated the app to include a drop-list of dates that /stats was used (see screen-shot in OP).
     
  13. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    I completely rewrote the app in D using gtkD as the widget framework. This is so that I could put a stand-alone Linux binary in the repository. Just download the binary and run it, no installation or build process needed. The easiest way to get it is to click the green "Clone or download" button then click "Download ZIP".

    https://github.com/Barugon/CotA
     
    Grimbone and Sentinel2 like this.
  14. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    Added a Lunar Rifts tab. See the OP for a screenshot.
     
    Cennya likes this.
  15. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    Last edited: Oct 3, 2018
  16. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    Added the Lost Vale to the lunar rifts tab.
     
    Sorthious likes this.
  17. Barugon

    Barugon Avatar

    Messages:
    8,927
    Likes Received:
    15,072
    Trophy Points:
    153
    Gender:
    Male
    Location:
    Mystic Isle
    Updated with the latest Lost Vale timer. Please let me know if anything is amiss.
     
    Jaesun and Innascual Inch like this.