Giter VIP home page Giter VIP logo

twf-dash's People

Contributors

hakanuzunoglu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

twf-dash's Issues

Change action triggers C and D

How do I change triggers C and D in the TWF-LAPTIMER dashboard?
I need compatibility to change fuel information with other dashes that use C trigger and in your dashboard uses D trigger.
I changed in the TWD-PURE RACE dashboard, but I can't see how to do with LAPTIMER dashboard.

Many thanks mate!

Lap review pop in race

I think choosing lap review should only appear when practice and qualify.

The reason i think this is it give so much informations and can't use this in race

I have modified your widget Fx by using the "Lovely dashboard script" as :

const json_settings = readtextfile('./JavascriptExtensions/Lovely-Dashboard_settings.json')
const settings = JSON.parse(json_settings);

if ( !settings ) {
lapReview = 1
lapReviewDelay = 5000
} else {
lapReview = settings.lapReview
lapReviewDelay = settings.lapReviewDelay
}

if ( $prop('DataCorePlugin.GameData.CompletedLaps') > 1 && $prop('DataCorePlugin.GameRawData.Graphics.iCurrentTime') < lapReviewDelay && $prop('DataCorePlugin.GameRawData.Graphics.iCurrentTime') != 0 ) {

if ( lapReview == 2) {
	// Always On
	return 1
} else if (lapReview == 1) {
	// Quali Only
	if ( 
		$prop('DataCorePlugin.GameData.SessionTypeName')=='QUALIFY' || 
		$prop('DataCorePlugin.GameData.SessionTypeName')=='PRACTICE' 
	) {
		return 1
	} else {
		return 0
	}
} else {
	// Always Off
	return 0
}

} else {

return 0

}

Not sure all the script is needed but it works fine !

Thanks

'skipRendering' has already been declared

First of all: Thanks a lot for this brilliant Dash! Thumbs up! :)

In the latest version 2.2.6 I see this error message:
TWF 2.2.6 throws this error message:
[2023-05-13 07:41:51,309] ERROR - Dashtemplates\TWF DASH\TWF DASH.djson, HELP, OverlayTriggerExpression : Expression (JS) const helpers = readtextfile('./JavascriptExtensions/TWF_DASH_HELPER.js')

if (helpers) {
return 0
} else {
return 1
} has generated an error (Jint.Runtime.JavaScriptException: Identifier 'skipRendering' has already been declared ---> Jint.Runtime.JavaScriptException+JavaScriptErrorWrapperException: Identifier 'skipRendering' has already been declared
--- End of inner exception stack trace ---
at Jint.Runtime.ExceptionHelper.ThrowSyntaxError(Realm realm, String message)
at Jint.Engine.GlobalDeclarationInstantiation(Script script, GlobalEnvironmentRecord env)
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord)
at Jint.Engine.<>cDisplayClass78_0.b0()
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback)
at Jint.Engine.Execute(Script script)
at Jint.Engine.Execute(String code, String source, ParserOptions parserOptions)
at Jint.Engine.Execute(String code, String source)
at SimHubWPF.JintEngine.Execute(String v)
at SimHub.Plugins.OutputPlugins.Dash.TemplatingCommon.NCalcEngineBase.LoadJavascriptExpression(ExpressionValue value)

Simhub Version is up to date: 8.3.10 and TWF_DASH_HELPER.js and TWF_DASH_CONFIG.json are available in SimHub\JavascriptExtensions folder.

Any clue what is wrong?

Issue with car damages on ACC

When enabling :

"contextual_damage":1,
"contextual_damage_tip": "Auto display a damage overlay in main MFD if your car receives damage. 1: Yes, 0: No",

The car always appear at left side without accident or damages on the car, maybe ACC is the script is not optimised for ACC.

I disable this option to navigate manually to this tab when needed.

Simhub v9 compatibility

Hi!
I am not sure what could be the root cause but after I upgraded to Simhub v9 beta the RPM gauge seems to be broken. It shows up as a white square instead of this blueish half circle. Any idea what could be the issue?
2023-08-20 07_17_45-TWF DASH LITE (WPF Renderer)

Dashboard improvements

First of all congratulations for the great job you have done with the dashboard. Tell you a couple of things that I see that can improve the dashboard.

  • The PC's local time clock sometimes freezes and does not tell the time correctly.
  • The flash light in iRacing would be nice if it blinks for a couple of seconds.
  • If you could put an indicator of the SoF in iRacing of the session that would be great.

wide dash issues

I would like to use your TWF DASH WIDE, but I can't get it to change the right and left mfd's. I have tried touching them, I have set both a global and device specific button to switch them, but nothing works. However, I can change the fuel widget in the bottom right. I have tried the light dash and that works fine.
thanks,
Rick

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.