[PROGRAM] OpenYS - Open Source YSFlight Server!

Note that alterations to the YSFlight .EXE is forbidden
User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Tue Aug 25, 2015 1:57 am

Time to test it out, then. I've got it up and running.

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

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Tue Aug 25, 2015 6:26 am

I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

User avatar
Nodoka Hanamura
Veteran
Veteran
Posts: 923
Joined: Thu Apr 07, 2011 8:01 pm
Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
Has thanked: 513 times
Been thanked: 266 times

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Nodoka Hanamura » Tue Aug 25, 2015 8:57 am

It is official- We can now into space, Poland.
█████████████████████████████████████████████████████████████████████
Image

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Wed Aug 26, 2015 1:39 am

A slight problem for two of us on YSCAS. One has more than 100% fuel, the other has 20 flares when the plane has 120 set in the .dat file.

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

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Wed Aug 26, 2015 1:43 am

I don't think I'm loading the flares definition from the file, I'll investigate.

Also which aircraft name from which pack had the funky fuel?
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Wed Aug 26, 2015 1:49 am

Both are from the NCA pack. The fuel was on the 777 and the flares on the MD11.

I confirmed that the initial fuel on the 777 is 75% in the .dat and flares on the MD11 is 120 in its .dat.

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

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Wed Aug 26, 2015 2:40 am

Rog, I'll investigate! :D
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Wed Aug 26, 2015 3:08 am

I just tested taking off with several different planes that I know have 120 flares in the .dat and only 20 were loaded.

User avatar
Turbofan
Senior Veteran
Senior Veteran
Posts: 1891
Joined: Thu Feb 03, 2011 4:22 pm
Favorite Aircraft: Boeing 747, all variants
Location: Central OK
Has thanked: 1004 times
Been thanked: 677 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Turbofan » Wed Aug 26, 2015 3:15 am

The "funky fuel" aircraft was flown by me. Not much of a problem but I decided to burn off as much extra as I could by first flying to Hilo and then turning right on a SEA-HNL run. Even then I landed with 114% fuel (started out at 141%). :D
Check out my YSFS videos on my Youtube channel!
-----------------------
ATRP: When used in my posts refers to "Air Traffic Replay Project"
-----------------------
Avatar: Pratt and Whitney JT8D-219
-----------------------
My general rant: I will call them blended winglets, not Sharklets; There is no CEO, it's just simply put, an Airbus 319/320/321, or the 320NEO, 321NEO etc. I didn't land IN DAL, I landed AT DAL. On the other hand, I did land in Dallas.
-----------------------
Website GRID updated for 2019. New stuff in the works!
Turbofan's Terminal

Hi! I make average, undesirable, boring grey maps for YS Flight!

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Thu Aug 27, 2015 3:59 am

50 hours and still running.

Something interesting just happened. I logged in and started hearing explosions. I went to observer mode and saw a plane flying, an NCA Dash 8. It was pointed nearly straight down. It hit the ground and exploded. I didn't think to save the flight to go back and look at the other explosions.

EDIT: Another note: The memory used is very low, even with a couple or three people online.

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

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Thu Aug 27, 2015 7:08 am

I think the vehicles list is having the same issues as the user list. Would explain all I've seen. Sort that out tonight - same fix.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

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

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

Post by Flake » Thu Aug 27, 2015 10:47 am

Now Updated to Version 20150825(1139)

Changes:
+ReadWriteLockSlim applied to the vehicles list and deffered packets list - this should speed things up a bit and make it more secure.
+Sky now changes colour towards black above ~40,000ft to ~100,000ft. I'm still not 100% happy with this, so if you have a suggestion on what to make the color be, please let me know.
+Fog color change effects with the time of day as well. Sunset/sunrise look a little better now.
+Default fog color changed from 160 160 160 to 120 140 160 - it's a little bluer and looks more like a hazy horizon should. Next version this will fade back towards 160 160 160 depending on fog distance (pure fog is white, not atmosphere blue.)
+Crash fix to loading strings in settings file where the supplied string was of length 0.
+Lost vehicles in the vehicles list are now being caught as part of maintenance and integrity checks in the MicroTick method.
-Removed Nukes

Notes:
Nothing special to mention.

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


Last edited by Flake on Tue Sep 01, 2015 1:11 pm, edited 1 time in total.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

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: 94 times
Been thanked: 127 times

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Dragon_Mech » Thu Aug 27, 2015 2:16 pm

nice work.
OfficerFlake wrote:[post]90289[/post] +Sky now changes colour towards black above ~40,000ft to ~100,000ft. I'm still not 100% happy with this, so if you have a suggestion on what to make the color be, please let me know.
+Fog color change effects with the time of day as well. Sunset/sunrise look a little better now.
+Default fog color changed from 160 160 160 to 120 140 160 - it's a little bluer and looks more like a hazy horizon should. Next version this will fade back towards 160 160 160 depending on fog distance (pure fog is white, not atmosphere blue.)
it would be niffty if Soji could do something like this in YSFlight itself. :)
Owner, Dragonic Machine Industries
Image

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Thu Aug 27, 2015 2:18 pm

The previous version made it 60 hours to the second and was still running. I can't get the stock console to work that well!

I've started testing your new release. I like the new sky and fog colors for the day/night changes. I made it up to 60,000 ft in a stock F15 before it stalled, but it was looking darker.

Of course, all these great features only work with the newest stable release of YSF. ;)

tcas_test
Newbie
Newbie
Posts: 5
Joined: Sun Mar 15, 2015 8:05 am
Favorite Aircraft: Boeing 777-300ER
Location: Australia
OS: Windows
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by tcas_test » Fri Aug 28, 2015 6:21 am

Anyone tried this in WIN10?

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

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Flake » Fri Aug 28, 2015 7:42 am

Not that I know of. It should work fine though.

Folks I've noticed people are having a few issues with some aircraft and packs.

When you try and join in one aircraft, the connection crashes. When you try and login with certain addon packs, the connection crashes.

I need to know the name of the aircraft you tried to spawn with and the name of the pack causing the log issues - only then can I solve. I've got some data to work on for now though so hopefully I can solve 1 of these 2 problems. more info to come.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Neocon » Sat Aug 29, 2015 2:28 pm

I've been seeing a few people getting kicked off the server. I've talked to at least two people who it sounds like were kicked, but I don't know how or why. They say YS just stops. I don't know if it is on their end or on OYS. Usually it shows that they have left the server and then OYS says "Found a lost vehicle... Cleaned it up."

User avatar
Vic Viper
Staff
Staff
Posts: 515
Joined: Thu Feb 24, 2011 7:01 pm
Favorite Aircraft: F-22A Raptor
Location: -9° 59' 6.90", -138° 49' 35.51
OS: Fail10PremiumEdition
Has thanked: 323 times
Been thanked: 185 times
Contact:

[PROGRAM] OpenYS - Open Source YSFlight Server!

Post by Vic Viper » Sat Aug 29, 2015 3:13 pm

In my experience, the server warns me that I'm not doing anything (although I'm actively flying and making inputs) Right before this my ys chat no longer works, and everything I type doesn't show up for me or others, then 60 seconds pass, and I get kicked.
Image
VFA-49 FORUM

"Why are we still here? Just to suffer? Every night, I can feel my leg... and my arm... even my fingers. The body I've lost... the comrades I've lost... won't stop hurting... It's like they're all still there. You feel it, too, don't you? I'm gonna make them give back our past"

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

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

Post by Flake » Sun Aug 30, 2015 1:30 am

sounds like half the connection is getting killed. Well, the clients receive loop may be crashing. That's a good bit of info to start looking for.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3839
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1605 times
Been thanked: 1726 times
Contact:

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

Post by Neocon » Sun Aug 30, 2015 2:02 am

Do you think it will do any good for me to have the "kick bots" option turned off? I turned it off, so we'll see if people continue being kicked.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests