skiselkov / BetterPushbackC

This is the BetterPushback plugin for X-Plane 11 and X-Plane 12
Other
494 stars 144 forks source link

Better pushback crashing sim in xp 12, version 0.50 #419

Open jmihalich opened 2 years ago

jmihalich commented 2 years ago

Seeing this error in the XP 12 log:

0:02:39.718 E/PLG: The plugin BetterPushback-v0.50 called the SDK function XPDisplayDismissableAlert from outside of a drawing callback. This is illegal! This plugin needs to be fixed. --=={This application has crashed!}==--

The last time i launched the sim, a message popped up that said the plugin was using a deprecated sim var. I clicked on the do not show this again check box, and then clicked understood.

The next time i launched the sim, it crashed with the error above

Joe

FatihKoz commented 2 years ago

Same error here too with 0.51

0:19:57.156 E/PLG: The plugin BetterPushback-v0.51 called the SDK function XPDisplayDismissableAlert from outside of a drawing callback. This is illegal! This plugin needs to be fixed.

FatihKoz commented 2 years ago

Just a quick walkaround, using below configuration for skipping disconnection dialog solves the issue :)

# libacfutils configuration file - DO NOT EDIT!
disco_when_done = true
lang = en
lang_pref = 2
show_dev_menu = false

This is my config from XP11, so I copied it over to XP12 and now able to complete pushbacks.

Also the second error is below, even though it is not related with the CTD, this might come in handy.

dataref_error

Shadehawke commented 2 years ago

Just a quick walkaround, using below configuration for skipping disconnection dialog solves the issue :)

# libacfutils configuration file - DO NOT EDIT!
disco_when_done = true
lang = en
lang_pref = 2
show_dev_menu = false

This is my config from XP11, so I copied it over to XP12 and now able to complete pushbacks.

Also the second error is below, even though it is not related with the CTD, this might come in handy.

dataref_error

Which file did you edit for this workaround? I am also getting this crash, with the latest release, so I figured I could make the mod and recompile from source myself.

peterDijk commented 2 years ago

i also have ctd's on pre-planning.. Pre-planning opens, i can move the cursor-plane, then after couple seconds freeze and seconds later CTD.

FatihKoz commented 2 years ago

Which file did you edit for this workaround? I am also getting this crash, with the latest release, so I figured I could make the mod and recompile from source myself.

It is the config file, if you do not have XP11 + BetterPushback to copy over like me, then you can edit your XP12 BetterPushback config file (I know it says do not edit in the first line, but this is an edge case where that edit saves the day)

Check XP12 Root / Output / Preferences folder, you should see BetterPushback.cfg there

I hope dev will soon find a more stable solution and publish a new release.