sotaInfo

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

  1. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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]
    - 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]
    - xp to next level: when you type in game chat "/xp" you get infos about total xp amount and pooled experience (yellow). SotaInfo adds xp needed to reach next level and current progression to the next level (green) in lua chat (you have to enable "Lua" in Chat) [image]
    - real Adv xp counter: [​IMG]
    1 type /xp to initialize counter [image]
    2 when you type /xp again you get in lua chat xp gained from last check and from first check [image]
    - Loot Tracker: it tracks items you looted (party wons not included) with reset option.
    You can open and close it through the new "loot" button in inventory section [image]
    - Harvest Tracker: it tracks items you harvest gathering with reset option.
    You can open and close it through the new "harvest" button in inventory section [image]
    - fishing session log [image]
    -mobs killed tracker: it tracks mobs killed by you (main color) and your pet (blue), order by last kill descendant. You can open and close it through the new "mob" button in stats section [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]
    -player 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) Added new "loot" and "harvest" buttons [image]
    - main stats and main attunement. Added #kills for you and your pet. Added Mobs button to open Mobs tracker section [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. When a stat you are monitoring in "custom" section (!addstat) decreases, it turns red. It means a buff has expired [image]
    - 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]
    - damage received tracker: [​IMG]
    it tracks last 60 seconds damaged received by mob/skill order by last date [image]
    to access, open skill section (first icon on the left)
    - 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
    -type "!resetpos" to reset sections positions to default
    -type "!showalert" or "!hidealert" in local chat to show / hide alert message when in party mode

    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
    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
    Aidenolm Rosemourne for Adv level raw data

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

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

    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
    -completely new UI (thanks to Egor)
    -added local chat command "!resetpos" to reset sections positions to default
    -bug fixes

    v0.3.9
    -polish to graphics for font size 15 or less
    -added %Crit in skill details section
    -added console command in local chat "!showalert" and "!hidealert" to show/hide alert message when in party
    -added self health and focus % movable section (to show / hide click on new button in stat section)
    -added Fishing Session log: fish list order by last caught descendant, %fish type caught / total, session length
    more about fishing session log coming soon (statistics on baits consumption, daily stats, first/last date of caught by type and more)

    v0.3.9b
    -fixed errors in lua chat since R79 (devs changed something)
    -some code optimizations
    -"show all" function removed clicking on sotainfo logo

    v0.3.c
    - self health & focus movable section (sota style)

    v0.4.0
    - custom section (!addstat #): when a stat you are monitoring decreases, it turns red. It means a buff has expired
    - added Mobs tracker section: it tracks mobs killed by you (main color) and your pet (blue), order by last kill descendant You can open and close it through the new "mob" button in stats section
    - some fixes

    v0.4.1
    - xp to next level: when you type in game chat "/xp" you get infos about total xp amount and pooled experience (yellow).
    SotaInfo adds xp needed to reach next level and current progression to the next level (green) in lua chat (you have to enable "Lua" in Chat)
    - Loot Tracker: it tracks items you looted (party wons not included) with reset option.
    You can open and close it through the new "loot" button in inventory section
    - Harvest Tracker: it tracks items you harvest gathering with reset option.
    You can open and close it through the new "harvest" button in inventory section
    - some fixes

    v0.4.2 [​IMG]
    - damage received tracker
    it tracks last 60 seconds damaged received by mob/skill order by last date
    To access open skill section (first icon on the left)
    - real Adv xp counter
    it tracks real Adv xp gained:
    1 type /xp to initialize counter
    2 when you type /xp again you get in lua chat xp gained from last check and from first check
    - 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.


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

    Thanks
    Tristano Sforza
     
    Last edited: Nov 22, 2020 at 9:02 AM
    StarLord, Echondas, syee1324 and 16 others like this.
  2. Feldon Grimshaw

    Feldon Grimshaw Avatar

    Messages:
    202
    Likes Received:
    329
    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:
    58
    Likes Received:
    27
    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:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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:
    58
    Likes Received:
    27
    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:
    542
    Likes Received:
    891
    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:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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:
    31
    Likes Received:
    28
    Trophy Points:
    8
    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:
    136
    Likes Received:
    260
    Trophy Points:
    18
    Location:
    Mediolanum, Hidden Vale
    v0.3.7 just released, check main post for details
     
  11. Glepo

    Glepo Avatar

    Messages:
    58
    Likes Received:
    27
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Finland
  12. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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:
    969
    Likes Received:
    1,865
    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,660
    Likes Received:
    3,035
    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:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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:
    136
    Likes Received:
    260
    Trophy Points:
    18
    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 Bug Hunter

    Messages:
    141
    Likes Received:
    118
    Trophy Points:
    30
    Gender:
    Male
    Location:
    Iowa, USA
    Awesome update!
     
    Tristano Sforza likes this.
  19. Smegatron

    Smegatron Bug Hunter

    Messages:
    141
    Likes Received:
    118
    Trophy Points:
    30
    Gender:
    Male
    Location:
    Iowa, USA
    How do I control the visibility, placement, and size of these alerts? They are a little distracting at times, and off-center for me.

    Thanks.
    -Smeg
     
    Tristano Sforza likes this.
  20. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    136
    Likes Received:
    260
    Trophy Points:
    18
    Location:
    Mediolanum, Hidden Vale
    Hello @Smegatron, thanks for feedback!

    Currently alert message is always visible and its font is 40. It appears at center in 4K resolution.
    Next release (coming soon) I will resize it proportional to fontsize in use and will add a console command "!showalert" and "!hidealert" to show/hide alert message.

    Have a nice day.
    Tristano
     
    Smegatron, Anpu and Violet Ronso like this.