Companion of the Avatar

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

  1. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    Added multithreaded processing of /stat timestamps. Should speed things up if you have a lot of log files.
     
  2. fooBrew

    fooBrew Avatar

    Messages:
    34
    Likes Received:
    31
    Trophy Points:
    8
    Gender:
    Male
    Location:
    San Diego, CA
    Been using this on Xubuntu. Looks and works great!
     
    Barugon likes this.
  3. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    After much profiling, I have determined that using multiple threads to process the log files is actually slightly slower than a single thread (probably due to resource contention), so I have removed threaded processing.
     
    fooBrew likes this.
  4. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    I wasn't happy with using combo-boxes for skill selection in the experience needed calculator, so I change it to use list-boxes:

    [​IMG]
     
    Last edited: Oct 19, 2019
    Jaesun likes this.
  5. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    It turns out that the date/time stamps in the log files can be localized. It really perplexes me why they're not in a universal format. Anyway, the latest version deals with it.

    Thanks to @Ravenscar for pointing this out.
     
    Jaesun and Ravenscar like this.
  6. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    I figured out the issue with multithreaded processing of log files, reimplemented it and now it's truly faster!
     
    Ravenscar and Jaesun like this.
  7. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    Added Bard skills.
     
  8. Elgarion

    Elgarion Community Manager Moderator SOTA Developer

    Messages:
    1,716
    Likes Received:
    4,739
    Trophy Points:
    113
    Gender:
    Male
    Not sure how I missed this one. I'll add this to the community resource listing in the forums, the webpage and on sotahelp.org in my the next pass. :)
     
    Barugon likes this.
  9. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    I added effective resists, which are calculated from resists and attunement. Select "Effective resists" from the View menu or press Ctrl+R.

    [​IMG]
    [edit] Made a minor change so that magic resistance from the tactics tree doesn't affect chaos magic.
     
    Last edited: May 9, 2020
    Duffrey Blake, Anpu and Violet Ronso like this.
  10. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    Made some changes to deal with Lua scripts inserting newlines in the stats (probably for readability) and fixed some localization issues.
     
  11. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    Fixed more issues with localization.

    Dates in the log files can be formatted MM/DD/YYYY, DD/MM/YYYY or DD.MM.YYYY (maybe even more). The time can be HH:MM:SS AM/PM or HH:MM:SS (24 hour format). On top of that, the decimal in numbers can be a dot or a comma. The biggest issue was with the date formats. Fortunately, the log filenames seem to always use YYYY-MM-DD.
     
  12. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    I'm seriously considering using Godot for the GUI. This has several advantages:
    • The app would look exactly the same on all operating systems.
    • The executable would be completely self contained and require no external dependencies (e.g. GTK+). This means you just download and run it; no hassles.
    • I can build clients for Linux, Windows and Mac (I currently only build for Linux and Windows because I don't have a Mac).
    Here's a screenshot of the preliminary layout in Godot.

    [​IMG]

    It will be a lot of work but I think it'll be worth it (and fun to do).
     
    Last edited: May 9, 2020
  13. Duffrey Blake

    Duffrey Blake Avatar

    Messages:
    728
    Likes Received:
    1,575
    Trophy Points:
    105
    Gender:
    Male
    Location:
    Bravehaven
    Would it be possible to add some kind of scene guide with tier, group/solo, mobs, resources etc. for figuring out where to adventure or collect resouces? Also a list with trainerlocations on the map would be very helpful. I like CotA and its a good tool already. Thanks Barugon.
     
    Barugon likes this.
  14. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    That would be awesome but where would I get the information?
     
  15. Duffrey Blake

    Duffrey Blake Avatar

    Messages:
    728
    Likes Received:
    1,575
    Trophy Points:
    105
    Gender:
    Male
    Location:
    Bravehaven
    That is a good question. TBH I don’t know. Thought back then Jakob White’s maps had poi’s for it but I could be wrong.
     
  16. Barugon

    Barugon Avatar

    Messages:
    12,516
    Likes Received:
    19,696
    Trophy Points:
    153
    Gender:
    Male
    It's getting there. I have it setup to build Linux, Windows and Mac, all from Linux. Still a lot of work to do though.

    [​IMG]
     
    Last edited: May 19, 2020