-
Notifications
You must be signed in to change notification settings - Fork 44
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
Setting byte[] datarefs crash XPlane #38
Comments
Sounds like a bug indeed. Can you or someone get a stack trace on what happens? |
I did more investigation:
And in logs there is nothing about it.. |
Ok I have found in code of ExtPlane plugin: (dataref.cpp)
} |
Setting value seems unimplemented feature, but should never cause a crash. There should be "Writing of Data DataRefs is not yet supported" in log or console output. |
okay.. but you can simply reproduce it by using telnet commands I pasted above.. and it crash.. |
There probably won't be any logging, since stdout and stderr do not go anywhere on Windows within X-Plane. See issue #23 |
Is there any progress on this? I'm looking for a way to write data datarefs to X-Plane. |
you can encode characters and save as int array.. |
Thanks, I'll give a try |
Have you been able to do this? I tried: |
Pushed a potential implementation of setting byte array (data) datarefs to a feature branch. See README for instructions. This has not been tested properly (coding in train on laptop without X-Plane) but at least it compiles :) . Feel free to test. If it still crashes, a stack trace would be appreciated. |
Like in title, while I am trying to set any data ref with byte[] type , XPlane is crashing.
For example:
set sim/aircraft/view/acf_tailnum sometexthere
cause XPlane crash.
The text was updated successfully, but these errors were encountered: