sotaInfo

Discussion in 'Player Created Lua Script Repository' started by Tristano Sforza, Mar 31, 2020.

  1. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    [​IMG]

    Hello avatars,

    I present to you my lua script: sotaInfo

    Here are the current features:
    - new UI with new logo and sections buttons [image] [​IMG]
    - adventure and producer level [image]
    - adventure and producer pools [image]
    - delta adv and producer pools per session [image]
    - delta adv and producer pools per day [image]
    - last 5 minutes DPS meter for you and your pet (blue color), your party members (green color) and mobs (white color) [image]
    - party section with health and focus percentages [image]
    - big alert label in the center of the screen when someone in party is under 40% health [image]
    - roll for loot winner in a party (value 100+ and some custom like artifacts, crowns, supplies) [image]
    - D100 roll results [image]
    - inventory items counter per char (type !addinv [item name] and !removeinv [item name] in local chat, ex. !addinv garlic) (item must be in the main inventory, not in a bag) [image]
    - main stats and main attunement. Added #kills for you and your pet [image]
    - gold earned per session and weight [image]
    - show any stat available (type !addstat + ## and !removestat + ## in locale chat, ex. !addstat 10) per char
    (check stat.txt in Lua\sotainfo directory for list) To update stat.txt just click on heraldry button
    - damage per skill per session for you and your pet (press D for detail and T for viewing top scores ever)
    (fuchsia color if it's your new record, yellow if critical or white if normal) [image]
    - top damage per skill for you and your pet saved
    - x,y,z coordinates [image]
    - resize font (type !setfont + ## in local chat, ex. !setfont 20). Suggested font size: 20 for 4k screen, 13 for full HD
    - moveble windows (press M to move, X to close, heraldry button to reopen)
    -type "!resetpos" to reset sections positions to default [​IMG]

    For full features it requires english sota version. Never tried on Mac or Linus SO or together with other available lua scripts

    credits
    thanks to:
    Egor for all graphics [​IMG]
    Drake Aedus for your post in Lua Discussion "New to Lua in r72? Try these examples!". I started learning Lua from your examples!
    DevilCult for your posts here and on discord official lua dedicated channel
    Feldon Grimshaw for the background texture

    Download here:
    https://drive.google.com/file/d/1aJLljlmUHFIW1Kk6f5uQ3MVLAPHHNNcf/view?usp=sharing

    v0.3.6
    -bug fixes

    v0.3.7
    - last 5 min DPS meter for you and your pet (blue color), your party members (green color) and mobs (white color)
    - added #mobs killed by you and your pet
    - added delta adv and prod pools from first session of the day

    v0.3.8 [​IMG]
    -completely new UI (thanks to Egor)
    -added local chat command "!resetpos" to reset sections positions to default
    -bug fixes


    Please join official sotaInfo discord server for Sneak Peeks on new releases:
    https://discord.gg/XFqYBUD

    As a bonus, inside discord server an external log parser called "sotaLog" is also available
    Check "sotalog"channel for details.

    To install:
    type "/datafolder" and unzip sotaInfo.zip in Lua directory


    Feel free to try it out and to report to me any bugs or suggestions for new features.

    Thanks
    Tristano Sforza
     
    Last edited: May 17, 2020
    Retlaw, Sentinel2, Athanil and 9 others like this.
  2. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    183
    Likes Received:
    310
    Trophy Points:
    18
    Welcome to the party! Always nice to have another modder join in!
     
    Glepo, Archer, Ostvel and 1 other person like this.
  3. Glepo

    Glepo Avatar

    Messages:
    48
    Likes Received:
    20
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
    Nice mod thanks for doing it. I tried it out and noticed that your damage meter does not register hits over 1000 damage.
     
  4. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    thank you @Glepo
    On my machine it works (i have banish undead over 1000). I think it’s related to regional settings for thousands separator (we use “.” and you use “,”
    Will make a fix.
    Thanks for feedback
    Tristano
     
    Anpu, Glepo and FrostII like this.
  5. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    just uploaded new version with regional setting fix (link in the main post)
    I can't test it by myself, please @Glepo let me know if now it tracks over 1000 damage.
    thanks
    Tristano
     
    FrostII likes this.
  6. Glepo

    Glepo Avatar

    Messages:
    48
    Likes Received:
    20
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
    Yes looks like now the damage is shown in thousands.
     
    FrostII, Anpu and Tristano Sforza like this.
  7. Drake Aedus

    Drake Aedus Avatar

    Messages:
    541
    Likes Received:
    888
    Trophy Points:
    75
    Gender:
    Male
    I'm going to try it out, but screen shots are a great selling point.
     
    FrostII and Tristano Sforza like this.
  8. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    Added links to shots in the main post, thanks :)
     
    FrostII and Glepo like this.
  9. Dollar Bill

    Dollar Bill Avatar

    Messages:
    19
    Likes Received:
    19
    Trophy Points:
    3
    Hippie Chick and I love this mod. We can now enjoy the fight instead of constantly watch health bars in the upper left corner.
    Very well done, keep up the good work. :|)
     
    FrostII and Tristano Sforza like this.
  10. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    v0.3.7 just released, check main post for details
     
  11. Glepo

    Glepo Avatar

    Messages:
    48
    Likes Received:
    20
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
  12. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    by design it resets only session stats, not daily. I added daily stats to not loose them resetting session :)
     
    Last edited: Apr 20, 2020
  13. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    v0.3.8 just released with new UI and logo. Thanks Egor for all graphics. Check main post for details.
    New sections coming soon...
     
    Chemeck and Dollar Bill like this.
  14. Magnus Zarwaddim

    Magnus Zarwaddim Avatar

    Messages:
    952
    Likes Received:
    1,850
    Trophy Points:
    93
    Amazing work. Thanks for this.

    A couple of questions:
    • Is there a way to change the opacity and/or border of the window(s)? I'm not sure if this is even possible. I ask because the # 1 I like about it is the Party window. I can turn off my nameplate and my health bar which annoyingly lags when I turn and is covering the top of my head - sort of blocking the view in front of me when in combat.
    • Can my own line in the Party window be separated into it's own "nameplate" to facilitate the above as well (for when I am in a party - I keep it right under me to see my stats).
    • Is it even possible in LUA to have a frame for your selected target that is moveable like the Party Window? Even though it's duplicative and I wish I could turn off the static frames for my character and my selected target, I like that you can move yours around to wherever you want?
     
    Tristano Sforza and Violet Ronso like this.
  15. Violet Ronso

    Violet Ronso Avatar

    Messages:
    1,354
    Likes Received:
    2,475
    Trophy Points:
    113
    Hey Tristano, just a quick FYI, this has become my favorite Lua tool!

    I had a question, would it be possible to add a buff timer tracker? Something like the stats page that you can decide what goes there, but for buffs? I would love to be able to chose the buffs that go on that screen and see when I should refresh them, and when they have worn off if it is a possibility!
     
    Tristano Sforza likes this.
  16. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    Hello @Magnus Zarwaddim and thanks for the feedback!

    Here are my replies:

    1 you can replace in lua/sotainfo/images back-50.png (for background) and left_right.png and top_bottom.png (for frames) as you like. For text color just edit "mainColor" with hex code color you like in lua/sotainfo/sotainfo.cfg
    Try by yourself!
    2 yes it's possible, will add in "to do" list
    3 unfortunately we don't have access yet to selected target


    Have fun,
    Tristano
     
    Last edited: May 19, 2020
    Magnus Zarwaddim likes this.
  17. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    83
    Likes Received:
    135
    Trophy Points:
    8
    Location:
    Mediolanum, Hidden Vale
    Thanks @Violet Ronso !

    You suggested me a cool feature but unfortunately we don't have access yet through lua to buff system. I hope @Chris will add it soon!!!!

    See you in new Britannia,
    Tristano
     
    Violet Ronso likes this.
  18. Smegatron

    Smegatron Avatar

    Messages:
    95
    Likes Received:
    63
    Trophy Points:
    20
    Gender:
    Male
    Location:
    Iowa, USA
    Awesome update!
     
    Tristano Sforza likes this.