Companion of the Avatar

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

  1. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    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:
    15,678
    Likes Received:
    24,293
    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:
    15,678
    Likes Received:
    24,293
    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:
    15,678
    Likes Received:
    24,293
    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:
    15,678
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    I figured out the issue with multithreaded processing of log files, reimplemented it and now it's truly faster!
     
    FrostII, Ravenscar and Anpu like this.
  7. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    Added Bard skills.
     
  8. Elgarion

    Elgarion Dev Emeritus Dev Emeritus

    Messages:
    3,223
    Likes Received:
    9,292
    Trophy Points:
    153
    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. :)
     
  9. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    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:
    15,678
    Likes Received:
    24,293
    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:
    15,678
    Likes Received:
    24,293
    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:
    15,678
    Likes Received:
    24,293
    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
    FrostII, Feeyo, Fister Magee and 4 others like this.
  13. Duffrey Blake

    Duffrey Blake Avatar

    Messages:
    720
    Likes Received:
    1,558
    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.
     
    FrostII and Barugon like this.
  14. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    That would be awesome but where would I get the information?
     
    FrostII likes this.
  15. Duffrey Blake

    Duffrey Blake Avatar

    Messages:
    720
    Likes Received:
    1,558
    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.
     
    FrostII likes this.
  16. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    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
  17. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    Done porting to Godot. See the OP.
     
    Fister Magee likes this.
  18. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    Added an offline editor tab. See OP.
     
    FrostII and Anpu like this.
  19. Glepo

    Glepo Avatar

    Messages:
    65
    Likes Received:
    34
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
    Tried this program and when I launch it stays up about 5 secs and then crashes.
     
  20. Barugon

    Barugon Avatar

    Messages:
    15,678
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    Which operating system? Also, could you try running it from the command line and let me know what it spits out?
     
    Last edited: Jun 9, 2020