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

Where can I find & read bitfield values (like PitSvFlags) #7

Open
sushi86 opened this issue Jan 25, 2020 · 3 comments
Open

Where can I find & read bitfield values (like PitSvFlags) #7

sushi86 opened this issue Jan 25, 2020 · 3 comments

Comments

@sushi86
Copy link

sushi86 commented Jan 25, 2020

Sorry for bothering you again! @NickThissen

I dont find any way to read how much fuel the user wants to refuel. I know the value is inside the bitfield PitSvFlags, but I dont know how to read it, its not in the telemetry model and I didnt find it anywhere else.

Or is there maybe a event which is fired when the user changes the value of refuel in iracing?

Any help is appreciated!

@sushi86
Copy link
Author

sushi86 commented Mar 2, 2020

@NickThissen sorry for this ping, but I dont find any solution

@NickThissen
Copy link
Owner

Sorry, I don't know how to read amount to be refueled. I am not up to date on this part of the SDK so perhaps it was added later, but from my knowledge (and in the current PitServiceFlags) it seems you can only detect if the driver is requesting a refuel, but not how much fuel. Are you sure this feature is in the SDK?

@sushi86
Copy link
Author

sushi86 commented Mar 2, 2020

At least with the node library (node-irsdk) I'm able to do this.

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

2 participants