[PROGRAM] OpenYS - Open Source YSFlight Server!

Note that alterations to the YSFlight .EXE is forbidden
User avatar
u2fly
Veteran
Veteran
Posts: 1191
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 669 times
Been thanked: 267 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by u2fly » Mon Dec 07, 2015 7:00 pm

Patrick31337 wrote:
u2fly wrote:COOL!
PLEASE, make binary for Linux!
How about a version I can run from my Android phone. Haha. Sorry.
I'll download and install the update when I get home.
Read this! http://stackoverflow.com/questions/1096 ... ng-c-sharp
When OpenYS will built with Mono-runtime then it will work on Android, Linux and Mac !!!
Thats why I always ask and hope it will be very soon!
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3748
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1534 times
Been thanked: 1661 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Mon Dec 07, 2015 9:32 pm

I have yet to find a program installed on my computer that will both open and save the new settings file. I will be forced to continue using the November 30 version until that changes.

Seriously, what was wrong with the standard text file? Every text editor will open and save those. Nothing I have seems to like the new format. Excel 2003 (the only version I have on any of my computers) won't do it, and I just updated Open Office a few weeks ago, but it won't save in .xlsx format.

User avatar
u2fly
Veteran
Veteran
Posts: 1191
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 669 times
Been thanked: 267 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by u2fly » Mon Dec 07, 2015 10:06 pm

Agree, I also think that xls/xlsx are bad idea.

@Patrick31337, try get Gnumeric at least.

@OfficerFlake, think one more before make xlsx as main config file for OYS. Try drop dependency from huge and not free officesuite. If you really want use spreadsheets, please, use .odf files with Gnumeric or LibreOffice.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3748
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1534 times
Been thanked: 1661 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Mon Dec 07, 2015 10:12 pm

It looks like Gnumeric is not available for Windows. I found a compatibility pack for MS Office. I'll see how that works.
EDIT: No luck.

User avatar
u2fly
Veteran
Veteran
Posts: 1191
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 669 times
Been thanked: 267 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by u2fly » Mon Dec 07, 2015 10:47 pm

Patrick31337 wrote:It looks like Gnumeric is not available for Windows.
You can get it here! http://portableapps.com/apps/office/gnumeric_portable
Size ~25mb.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3748
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1534 times
Been thanked: 1661 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Mon Dec 07, 2015 11:10 pm

The settings file seems to have been corrupted when I saved it, so Gnumeric doesn't work for me, either. :(

EDIT: I got OYS to open, but then I realized that the file size of the new settings file is now over 50 MB! Once again, Gnumeric doesn't work for me.

EDIT2: Google Docs Sheets does the job. I got it up and running. :)

User avatar
Flake
Core Staff
Core Staff
Posts: 4264
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 814 times
Been thanked: 1159 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Mon Dec 07, 2015 11:51 pm

Perhaps I will try and make it backwards compatible?

I might also make a simple GUI tool for editing the settings file so that a copy of office isn't needed. ;)

Also please stop asking about a linux version - nah.

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3748
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1534 times
Been thanked: 1661 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Tue Dec 08, 2015 12:45 am

Like I said, all you have to do is import it into Google Sheets and it's easy to modify and re-download to your computer in the appropriate format. And it is free and web-based.

One request: Can you make a version that works on Raspberry Pi and has the nukes left intact?

User avatar
Barr
Veteran
Veteran
Posts: 1004
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 271 times
Been thanked: 199 times

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Barr » Tue Dec 08, 2015 1:05 am

OfficerFlake wrote:Perhaps I will try and make it backwards compatible?

I might also make a simple GUI tool for editing the settings file so that a copy of office isn't needed. ;)

Also please stop asking about a linux version - nah.

But muh mastar rice operootin saistema.
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

User avatar
Flake
Core Staff
Core Staff
Posts: 4264
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 814 times
Been thanked: 1159 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Tue Dec 08, 2015 4:14 am

Now Updated to Version 20151208(1445)

Changes:
+SettingsGUI Executable for those who don't have Excel.
-Removed Nukes

Notes:
Settings.DAT is now no longer supported - please transcribe your .dat file into the GUI tool!

Download: https://www.mediafire.com/?dlebpdgfakdlpag




User avatar
Flake
Core Staff
Core Staff
Posts: 4264
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 814 times
Been thanked: 1159 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Wed Dec 09, 2015 2:41 am

Hi guys - a few bugs in the latest version as Pat has pointed out to me.

Specifically, thread collision issues with the deferred packet class I have written.

Will look to resolve soon!

User avatar
Dragon_Mech
Veteran
Veteran
Posts: 571
Joined: Wed Jul 15, 2015 12:18 pm
Favorite Aircraft: F-14, F-15D&E, SR-71, King Air 200, B737
Location: Mansfield, Mo. USA
OS: Windows 7 Ultimate
Has thanked: 93 times
Been thanked: 127 times

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Dragon_Mech » Wed Dec 09, 2015 4:03 am

TallyHo!!! :D :D :D
Owner, Dragonic Machine Industries
Image

User avatar
Flake
Core Staff
Core Staff
Posts: 4264
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 814 times
Been thanked: 1159 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Wed Dec 09, 2015 4:18 am

Okay so I just moved from my current system of "Thread Safe" lists to ConcurrentQueue, which appears to be working well.

I never used ConcurrentQueue for two reasons: 1) didn't really know about it. 2) It for some reason was new and scary to me.

Concurrent queue works like so: You Enqueue and object to the queue, adding it to the end.

And you can TryDequeue to pop an item off the front of the list. The idea is that multiple threads can add to the queue and multiple threads can remove from the queue. The downside is that there is no accessable list available but considering I am just popping packets in an out of the queue and not concerned with the contents so much this shouldn't cause me any issues.

The up side: ConcurrentQueue is FAST, very fast. And it's clean, not much chance for any bugs either. I gave it a test on my PC and it appears to be working okay.
Last edited by Flake on Wed Dec 09, 2015 6:07 am, edited 1 time in total.

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3748
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1534 times
Been thanked: 1661 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Wed Dec 09, 2015 5:27 am

Are you using openys.servegame.com? I keep getting "Cannot connect to the host" messages.
EDIT: I just realized you posted over an hour ago while I was updating Windows.

User avatar
Flake
Core Staff
Core Staff
Posts: 4264
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 814 times
Been thanked: 1159 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Wed Dec 09, 2015 6:18 am

Now Updated to Version 20151209(1709)

Changes:
+Moved from ReaderWriteLockSlim class to ConcurrentQueue class for packet output queueing - this should be a cleaner and more viable solution.
+Fixed a minor bug in SettingsGUI where if the Value was null, the Remark would not be added to the table.
-Removed Nukes

Download: https://www.mediafire.com/?reyia298iq5qtnq


Last edited by Flake on Wed Dec 09, 2015 11:34 am, edited 1 time in total.

User avatar
AdityaB
Veteran
Veteran
Posts: 547
Joined: Sat Oct 17, 2015 12:40 pm
Favorite Aircraft: All
Location: India
OS: Windows 10
Has thanked: 163 times
Been thanked: 144 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by AdityaB » Wed Dec 09, 2015 8:23 am

OfficerFlake wrote:..... 20151208(1445) .....
I guess you meant 20151209(1709) ...????
:?: :?: :?: :?: :? :? :roll: :roll:

Thanks
:) :)
Please note that I do not mean any kind of offence in any of my posts
Get full list of
my releases at:
AdityaB's Facility
:) :) :)
*temporarily unavailable further details

User avatar
Flake
Core Staff
Core Staff
Posts: 4264
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 814 times
Been thanked: 1159 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Wed Dec 09, 2015 11:34 am

Possibly. I often forget to update all of the post.

NightRaven
Senior Veteran
Senior Veteran
Posts: 1843
Joined: Tue Feb 07, 2012 10:00 am
Favorite Aircraft: .
OS: windoze 10 64-bit
Has thanked: 528 times
Been thanked: 606 times

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by NightRaven » Wed Dec 09, 2015 11:45 am

Flake, if it is at all possible, can you fix the serverlist compatibility with OYS?

I know I've mentioned it many many times, but I think it seriously needs to be fixed. IMO, it is one of the reasons why online activity in recent months is fairly muted. The server list always displays OYS servers as empty, even when it isn't, and due to OYS' widespread usage, everybody has the impression that absolutely nobody is flying online. This deters people who would want to fly from flying online, even if there are people actually flying, exaceberating the lack of activity here.
fk dis place kthxbai

User avatar
u2fly
Veteran
Veteran
Posts: 1191
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 669 times
Been thanked: 267 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by u2fly » Wed Dec 09, 2015 1:02 pm

@OfficerFlake,
can you make github repo for OpenYS?
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

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”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
NajmiCreative
Modding Team
Modding Team
Posts: 771
Joined: Thu Sep 04, 2014 9:14 am
Favorite Aircraft: MiG-29N,SU-30 MKM
Location: Shah Alam,Selangor,Malaysia
OS: Windows 10 Home
Has thanked: 489 times
Been thanked: 473 times
Contact:

Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Post by NajmiCreative » Thu Dec 10, 2015 1:16 am

Image
having problem on one of the .dll's......
but it really exists in the libraries file....
any idea to solve it?
My official website
My Twitter NOTE:All my rework model are allowed for repaint and need to credit on publish..no need to PM me anymore
[align=center]for modifications on my mods,please PM me first,and credit me and original creator(if my work were rework)[/align]

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests