Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuel Range #9

Open
Edelhart88 opened this issue Feb 5, 2024 · 4 comments
Open

Fuel Range #9

Edelhart88 opened this issue Feb 5, 2024 · 4 comments

Comments

@Edelhart88
Copy link

Hello,

is it possible that the [TruckSimulatorPlugin.Drivetrain.Fuelrangestable] isn't working anymore?

I've been searching for days now, because that's the only one missing so far.

ps: is there a place where I can find everything that is possible to use in the code to create my own dash?

@sjdawson
Copy link
Owner

sjdawson commented Feb 6, 2024

Hi @Edelhart88,

It should still be working, as I use it in my own dashboard. Can you describe the issue you're having with the property so that I can investigate along with the following details:

  • ETS2 or ATS?
  • What version of the game?
  • What SimHub version are you running?

In answer to your "PS" question, in SimHub, open "Available Properties", check the box for "Show game specific properties ('rawdata')", and then search for "GameRaw":
image

This will show you all of the data you can use from the current game.

@NigeUK
Copy link

NigeUK commented Feb 6, 2024

I can confirm that the plugin is working as expected here too in ATS and ETS2. I use it in my own dashboard too.

@Edelhart88
Copy link
Author

Hello @sjdawson,

First of all, Big thank you for the PS reply :-) I went in there to search for the fuelrange and found the property [DataCorePlugin.GameRawData.TruckValues.CurrentValues.DashboardValues.FuelValue.Range] and this is working. So .. again: BIG THANK YOU 😄

next, I hope if you have a solution for this: is it possible to show the events on the dashboard (like getting a fine, driver that is going lvl up, a job finished by one of your drivers ...

It is mainly for in ETS2 (But I suppose you can use it to for ATS?
Simhub AND ETS have the latest updates.

@sjdawson
Copy link
Owner

DataCorePlugin.GameRawData.TruckValues.CurrentValues.DashboardValues.FuelValue.Range

Fair warning - I'm not sure if they've fixed it or not - but this data point will drop to 0 at random intervals. It's the reason my plugin has the FuelRangeStable value you were attempting to use. 👍🏻

is it possible to show the events on the dashboard (like getting a fine, driver that is going lvl up, a job finished by one of your drivers

Yes and no. It is possible - but only for some events. It's quite difficult to explain, instead, here's a simple dashboard with some notification like elements extracted from my own dashboard, you should be able to work through how these are shown and the values updated:
ETS Payments.zip

Sadly, drivers levelling up, jobs finished by other drivers etc don't seem to be available by the telemetry data, so there's no chance in pulling that info. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants