MMO - new Leaderboard, Relative overlay

Discussion in 'User Interface and HUD Modding' started by Kevin Karas, Oct 14, 2021.

  1. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    Hey guys,

    I hated the rF2 original ingame HUD, because it was ugly, not functioning well and in general not a good use. As I didnt found anything for Simhub that suits my needs for eyecandy I started to make my own aiming to be nice to look at and useful in multiclass racing. Here is the result of the first version. Obviously not finished and with some bugs, some related to rF2´s bad data, some due to my lack of understanding Simhub. But we will get there :)

    If you like what you see, please have a try and please feel free to give feedback, negative or positive. I want to improve alot. Alot of things are in my head that need to be in there :)
    https://www.racedepartment.com/down...-leaderboard-standings-relative-simhub.45898/

    Make sure to read the description:

    Requirements:
    - GarySwallowPlugin (.dll plugin and Options folder) Version 6.5.1+ highly recommended due to bugs in previous releases

    Features:
    - Leaderboard is build to put into top left corner
    - Multiclass display (class colors, names and inclass position)
    - Pit Status indicator
    - Auto Collapse when within Top 7
    - Flag Display
    - Start Lights
    - Fully featured Relative (Close to iRacing´s one) with different colors for drivers on different lap (red is a lapping car, blue is a backmarker, grey is in pits)
    - Tire Widget with camber temps, tire temps, brake temps, tire pressure, tire wear and tire compound (horizontal widget only)

    ToDo:
    - Last Pit Lap display (Hopefully by GS)
    - Last Pit Time display
    - Outlap badge
    - Position in Class on leaderboard (probably not possible)
    - Interval gaps for Race Leaderboard (probably not possible)

    Known Issues:
    - Simhub is sometimes slow with fetching data on a complex overlay, this could potentially lead e.g. to temporary empty or weird driver names
    - If you experience any problems, there are occations, in which a fresh install of the overlay solved the problem. To do so, delete the overlays (Header, Relative, Leaderboard) in the simhub Overlays Page, delete the MMO folders in you simhub Dash folder, restart Simhub and install the latest version from this post
    - Also I heard from users that there are plugins for other sim that interfere with the overlay, please deactivate every plugin you dont need for rF2 and try again
    - There is a bug with GS plugin where class names are persitent over 1 session change. This could lead to wrong class display and can be fixed by changing session again (restart, skip session, rejoin etc)
    - If, after an update, your overlay is slightly misaligned, please resize it a little bit and it should reset

    Installation:
    - Please Update to latest Simhub Version (Today 7.4.19+)
    - When updating, delete the old MMO overlays from SimHub
    - If not on latest version, download Gary Swallow plugin from HERE
    - you need the GarySwallow.PluginSdk.dll (into Simhub root folder) and the GS - options folder (conatins class colors) into DashTemplates. Both are provided in the download linked above
    - Activate the GS plugin in the Simhub settings
    - download, extract and execute the MMO simhub files within the zip

    If you have problems, you can contact me on discord St54Kevin#3583.

    To see the overlay in action you might take a look at my last twitch rF2 streams https://www.twitch.tv/st54kevin/videos
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    Cheers

    ALL.png

    PIT.png
     
    Last edited: May 9, 2022
    Matt21, Bostrom, Gleidson and 3 others like this.
  2. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    2.0.1
    Finally we found the issue why the overlay is sometimes completely broken. The cause of this is a car/team name with a # in it. That way the GS plugin cannot determine the car number (which rF2 doesnt provide natively BTW) and causes the plugin to crash. Its currently being looked at by Gary and needs an update of the plugin for it to be fixed. Please be patient for the release. I will notify in here with an updte when it happens! Cheers

    Changes:
    - A lot of work done overall
    - Changed alot of JS equations to NCalc to speed up calculations
    - Fixed some Simhub errors
    - Tyre Hor: optimized tyre type name
    - Header: Added small day counter to session timer in practice
    - Header: Added Finish flag for Lap Races
    - Relatives: Some optimizations for data visibility
    - Relatives: Added BOX indication for cars in garage (shows red DNF in a race)
    - Relative Teams: Removed Surname infront of teamnames due to a bug with GS plugin, will be added back later
    - Leaderboards: Added car numbers
    - Leaderboard Teams: Change Team Name to car name from simhub (to avoid bugs)
    - Leaderboards: Added BOX indication for cars in garage (shows red DNF in a race)
    - Header: Added F1 style time left notification for (12,6,3,2 hrs / 60,30,15,5 min)
    1.13.3
    - Header: Display up to 6 classes
    - Header: Displays current lap count when total 5 classes or lower
    - Header: Single Class display, when the only second class is the "Safety Car"
    - Leaderboard: Fixed Int and Gap display bug showing eg. +1:010
    - Leaderboard: Corrected PIT position
    - Relative: Small alignment and name length adjustemenst
    - Relative: Exchanged track temp for "on Lap" display, as track temp is not important in rF2
    - Relative: Header data font color to grey for better readability and distinguishment
    - Tire widgets: grey pressure font

    1.13.2
    Fixed little bugs found during the RGPL 24h Spa:
    - Header: Fixed "On LAP" text overlap lap number
    - Leaderboard: Fixed Gap & Int minute display
    - Relative Teams: Added player name font size formula
    1.13.1
    - Added Relative with Teamnames behind drivernames
    - Leaderboard: Fixed Wrong teamnames in Top 10

    [​IMG]

    1.13.0
    - Added additional Leaderboard that contains Car Names (Team Names) instead of driver name
    - Leaderboard: Fixed line display when drivers leaving server
    - Relative: Fuel laps left blinks red now when under 1Lap left

    [​IMG]

    1.12.0
    Tyre compounds are here (currently only for Soft, Medium, Hard, Inter and Wet compounds)
    - Leaderboard: Added Tyre info for cars in same class and on OTHER compound than player
    - Relative: Added Tyre info for cars in same class and on OTHER compound than player
    - Leaderboard: Fixed PIT badge not shown for P11-P12
    - Leaderboard: Optimized and fixed some LastLap displays
    - Leaderboard: red "invalid" now displayed for invalid laps
    1.11.0
    - Leaderboard: Race overlay now features Int AND Gap (both update at specific locations on the track), I will have a look into Int not working when +1L behind
    - Leaderboard: Gap and Int auto-format to minute and Laps behind (eg. +1:04, +2L) display
    - Leaderboard: Corrected Last lap background color
    - Removed rounded corners for a more modern look


    [​IMG]

    1.10.1
    Please delete the old overlay folders in C:\Program Files (x86)\SimHub\DashTemplates before updating
    - Cleaned up file structure
    - some name font formatting optimizations
    1.10.0
    - Leaderboard: Auto collapse Top 10 display when less than 10 drivers
    - Leaderboard: Adjusted Last lap background to new color
    - Leaderboard: Grey out feature added for drivers in pit (like relative)
    - Names now scale in font size depending on length (just 2 steps down for now)

    1.9.0
    - TireInfoHor: Added Oil and Water Temp (only available on some cars!)
    - Adjusted class info and colours
    - Darkened background to be less distracting at night
    - Leaderboard: Fixed some minor visual things
    1.8.1
    - Corrected widget/file names
    - Leaderboard: Hopefully fixed PIT badge shown for cars not on server
    - Header: Fixed flag display (only yellow was shown before)
    - Leaderboard: Space adjustments in preparation for a teamname version

    1.8.0
    - More car class name shortening in relative and header in multiclass
    - Added new Tire Info Widget:
    - 2 Versions: horizontal and vertical
    - Vertical version perfectly fits near the relative (same height)
    - Tire compound info on hporizontal widget
    - pressure
    - camber temps visualization
    - average temps
    - brake temps (red above 700C front, 600C rear)
    - wear (red under 75%)

    [​IMG]
    [​IMG]


    1.7.8
    - Upped opacity for all overlays by 10%
    - LMGTE class names now shortens to GTE Pro/GTE Am
    1.7.7
    - Relative: Class Name badge now is also colour coded for better multiclass awareness
    - Relative: Car number width adjusted to account for triple digit numbers
    - Relative: Positions now show CLASS POSITION!
    - Relative: Height adjusted to compress line gaps a bit
    - Cropped widget sizes to actual size, you might slighty adjust position

    1.7.6
    Stability/Reliability fix release
    - Please Update to latest Simhub Version (Today 7.4.19+)
    - Couple of fixes for simhub errors to prevent no data/empty fields, which prevents calculations to be paused for 30s, which can cause weird behavior. Overlay should be way more consistent now. If you get any errors in the simhub log, please contact me.
    - Header: Small green flag fix

    1.7.5
    - Leaderboard: Fixed slight car class color badge misalignment
    - Leaderboard: Fixed wrong display when >P7
    - Leaderboard: Removed last pit lap display as its buggy and not reliable. Lets wait for better data directly from GS
    1.7.4
    - Header: Disabled text wrap for longg class names
    - Relative: Hopefully fixed bug where no data is displayed for other drivers
    1.7.1
    - Leaderboard: Fixed serious Bug where no and wrong data was shown for people in single digit positions when leaderboard is separated

    1.7.0
    - Added Version number to overlay title
    - Leaderboard: Added Last Pit Lap display in race session
    Please test this feature in races, as it is hard to test offline due to the AI not pitting
    - Leaderboard: Fixed player position not shown on occasion
    - Leaderboard: Fixed data being shown behind when on last place
    - Leaderboard: Fixed widget height
    - Header: Fixed Time/Lap display when Race by Laps
    1.6.1
    - Header: Prioritise "time left" display when both time and laps are set for the session
    - Leaderboard: Fixed last lap time popup after invalid lap (eg. after outlap)
    1.6.0
    - Leaderboard: Total revamp of display when > P7, Now shows 6 drivers around you plus top 3 overall
    - Leaderboard: minor color fix for lap time popup
    - Header: Added "YELLOW IN" text for Sector display
    - Header: Aligned Laps to the right
    1.5.0
    - Header: Added Leader Race Laps display for laps depending races
    - Header: Optimized Yellow Flag display for sectors

    1.4.0
    - Relative: Revised header with titles to eliminate unit dependencies and confusion about what is what
    - Relative: Added Average Track Wetness % to header to better judge tire choice
    - minor cosmetic adjustments
    1.3.1
    - Hotfix for Single Class Header Lap Counter displaying position instead of Current Lap

    1.3.0
    - Header: Revamped yellow flag display (big yellow flag now only shows when relevant in current sector)
    - Header: Unique slimmer Header for Single class sessions
    - Leaderboard: Fixed Last Lap Time wrong when position change happens (now displays when within first 20% of the track)
    1.2.0
    IMPORTANT! New GS plugin update
    Please do a fresh install of the new GarySwallowPlugin Update 6.5.1+. This update fixes alot of issues I experienced in the last weeks, such as player leaving data behind, when leaving the server, corrected class colors and some more bug fixes related to our overlay and rF2 data.
    - Relative: Fuel level turns yellow when under 2 Laps left
    - Relative: Added Fuel Laps left in brackets behind fuel level, it starts blinking when under 1 lap left
    - Relative: Slight color adjustment to blue drivers
    - Relative: Fixed minute gap display for drivers infront
    - Leaderboard: Added Last laptime popup staying for 20s

    1.1.0
    - Relative: Gaps now switch to minute format when over 59.9 seconds
    1.0.2
    - Relative: Hide class label when in single class session
    - Relative: Changed player font to orange for better readability
    - Relative: small alignment fixes
    - Relative: Fuel usage now shows .00
    - Leaderboard: Fixed PIT badge shown for empty lines in Mini Leaderboard P11-P12
    1.0.1
    - Leaderboard: Fixed display bug when position 11-13

    1.0.0
    - Make sure to delete the old MMO overlays before updating
    - Please be aware that some bugs will be fixed when the next GarySwallowPlugin Update comes out!

    - Leaderboards for specific sessions are now merged into one "MMO - Leaderboard" overlay
    - Relative: Pit badges are back
    - Relative: Drivers in pit are now shown and displayed in grey
    - Relative: Fixed class colours when in top 10
    - Relative: No driver lines are now completely empty
    - Leaderboard: Fixed class colors left behind on player disconnect
    - Header: Fixed Class colors shown from last session
    0.7.0
    - Relative: Fixed Car number showing in empty lines
    - Relative: Fuel level blinking when Laps Remaining < 1.5

    0.6.0
    - Relative: Clock now in 24h format
    - Relative: fixed player class colour
    - Relative: Adjusted Fuel usage width to show over 10.0L/Lap
    - Relative: added car numbers
    - Leaderboard: minor alignment fixes
    0.5.2
    - Fixed players class color on Realtive
    - Fixed players Best Lap on Leaderboard (hopefully)
    0.5.1
    - disable PIT badge in Relative for now as it seems buggy
    0.5.0
    - New Relative:
    - class colors working
    - Infoheader
    - backmarkers are blue
    - lapping cars red

    0.4.1
    - Sry header was not transparent
    0.4.0
    - Reorganized the overlay, so that the Leaderboard Header is now one extra overlay to avoid the red warning message within SimHub (too complex overlay)
    - New naming scheme "MMO" = Modern Multiclass Overlay
    0.3.0
    - Moved PIT badge outside the leaderboard box (right) to save space within it (see screenshot)
    - Fixed flag border constantly shown on practice leaderboard
    0.2.1
    - fixed bug: Flags not visible on Practice Leaderboard
    - added version number to file name
    0.2
    - Correct some layout bugs
    - Names now show First letter of FirstName
    - First version of Relative
     
    Last edited: May 9, 2022
    Bostrom likes this.
  3. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    New relative
    [​IMG]

    [​IMG]
     
    Last edited: Oct 28, 2021
    mesfigas likes this.
  4. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    We've found a bug that might fuck up leader board driver names, which I experienced yesterday in the LMVC race. It's related to corrupt data by rF2 on online servers that might happen and how Garyswallow Plugin handles it. It will be fixed in the next plugin update
     
  5. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    Small Relative Update (see changelog)
     
  6. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    948
    Likes Received:
    2,171
    I can see in your racedepartment link that there are two overlays, one for practice and one for race.

    In simhub you can combine these and make them switchable by a button.
    then you dont have to place them on top each other.
     
    Kevin Karas likes this.
  7. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    Oh that's a great advice. I will have a look at that thanks!
     
  8. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    BIIIG Update, especially for Relative. @ThomasJohansen I merged the two leaderboards into one overlay. Should be way more compfortable to use now :) And check out the new relative. Nothing to miss now compared to iRacing.

    Please be aware that some bugs will be fixed when the next GarySwallowPlugin Update comes out!
     
  9. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    New Update has a last lap time popup for the Leaderboard :)
    upload_2021-11-12_13-8-37.png
     
    atomed and Adam Helyes like this.
  10. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    IMPORTANT! New GS plugin update
    Please do a fresh install of the new GarySwallowPlugin Update 6.5.1+. This update fixes alot of issues I experienced in the last weeks, such as player leaving data behind, when leaving the server, corrected class colors and some more bug fixes related to our overlay and rF2 data.
     
  11. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,332
    Likes Received:
    1,341
    Fantastic, I hope one day it becomes really simple and easy to use these in VR.
     
    Kevin Karas likes this.
  12. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    Thanks you are enjoying it.
    Depending on what headset you are using it is possible, but its a pain to do. OVR toolkit for example can pin windows in your VR headset I think. But nothing Simhub can do natively.
     
    atomed likes this.
  13. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    New Update fixes the last lap time bug, when positions change
     
  14. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    To save some space the Leaderboard Header is now differently formatted for single class and multiclass races :)
     
  15. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    New Relative Header

    upload_2021-12-15_14-51-24.png
     
    BlkJello likes this.
  16. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    Overlay supports races run by laps
     
  17. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    The Leaderboard can now display the last pit lap in races. As this feature is very hard to test on my own in offline races, please report back with issues. I might update this feature with bugfixes if I can find some
     
    Reiche likes this.
  18. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    Important fix for version 1.7.0 pushed. Please update
     
  19. Capeta

    Capeta Registered

    Joined:
    May 31, 2012
    Messages:
    268
    Likes Received:
    48
    Hello and thank you for your work.

    What could make relative to not show any other name than mine ?
    Either offline or onlinee ?
     
  20. Kevin Karas

    Kevin Karas Registered

    Joined:
    Jun 5, 2012
    Messages:
    283
    Likes Received:
    122
    Hi, I got some users with the same problem. They got it solved by running a fresh and latest version of my overlay and GS plugin. Please try my latest version from today. It has some fixes. Please report back if it got solved. Also please delete old versions of my overlay before the update (delete in simhub AND the folders).

    Also please update simhub to the latest version 7.4.19+
     

Share This Page