[PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
NOTE: DOES NOT EXTEND CURRENT PROJECT THREAD, EXTENDS 20161123(2054)_ALT.
(So don't download if you are using the current OYS Versions!)
Changes:
+Exception catch for MetaData loading, should help sort out why some addon packs crash the server on launch.
Notes:
Still heaps a bugs, but it should be an improvement.
Download: https://drive.google.com/uc?export=down ... 0dtKAMWD1z
- Thomascook221
- Contributor
- Posts: 151
- Joined: Sun Feb 28, 2016 7:28 am
- Favorite Aircraft: Boeing 737 Max - Airbus A320Neo
- Location: Indonesia, Bekasi
- OS: Windows 10 Home
- Has thanked: 224 times
- Been thanked: 126 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
The link provided gave me 'Error 403 (Forbidden)'.Flake wrote: ↑Wed Jun 23, 2021 9:33 am Bug Fix Version 20210623(2148)
NOTE: DOES NOT EXTEND CURRENT PROJECT THREAD, EXTENDS 20161123(2054)_ALT.
(So don't download if you are using the current OYS Versions!)
Changes:
+Exception catch for MetaData loading, should help sort out why some addon packs crash the server on launch.
Notes:
Still heaps a bugs, but it should be an improvement.
Download: https://drive.google.com/uc?export=down ... 0dtKAMWD1z
I think there's an issue with the file sharing permission.
YSFlight Creation & Repaint https://sites.google.com/view/thomas-hangar/home
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1726 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
Download link returns "OpenYS_20210623(1848).zip" — it seems like available build version is older than mentioned 20210623(2148) in announcement.Flake wrote: ↑Wed Jun 23, 2021 9:33 am Bug Fix Version 20210623(2148)
Download: https://drive.google.com/uc?export=down ... 0dtKAMWD1z
U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- Neocon
- First Class Membership
- Posts: 3955
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1769 times
- Been thanked: 1810 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
It has do with how I handle data conversion from string to byte arrays.
I'm assuming all strings are characters 0-255 (so no unicode) - this causes problems if I find a UTF8 encoded file instead of ASCII. Characters such as "Right Double Quote" \U+201D will break when trying to convert from char to byte with my current methods. I can only assume this is the same for Japanese characters for example.
I need to determine how each string object is encoded, and use the appropriate decoding function, to convert to/from byte[].
To fix this I'll need:
1) To identify the encoding type of every file I read from disk. (Could be ASCII, could be ANSI, could be UTF8, could be other...)
2) Identify the encoding of IRC messages (UTF8 << Correct, or 1252 in most cases.)
3) Identify how YSFlight handles these encodings - conversion to ASCII? native UTF8 support? Test this by loading vanilla YSF, use any aircraft with non-ASCII characters, see what is sent by the vanilla server. Decode bytes to identify encoding used.
4) I'll need to match the format of all netcode sends to the same encoding YSFlight uses.
EDIT: Hopefully that's fixed. I had to change two methods to use "Encoding.Default.GetString/Byte(). This means the encoding for the user isn't assumed, so hopefully this works!
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
NOTE: DOES NOT EXTEND CURRENT PROJECT THREAD, EXTENDS 20161123(2054)_ALT.
(So don't download if you are using the current OYS Versions!)
Changes:
+Error Log now correctly pulls the full stack trace, and not just the first frame. (Typo with two variables frame and Frame...)
+/wind now sets the wind direction correctly (90 - .... -> 90 + .....)
+string ToDataString() and byte[] ToByteArray() now use Encoding.Default.GetString/Bytes() methods for conversion. This gracefully handles all text encodings AFAIK. Should see much less loading crashes now.
Notes:
HEY MACARINA!
Download: https://drive.google.com/uc?export=down ... zpgK8n6LUP
Who is online
Users browsing this forum: No registered users and 3 guests