[PROGRAM] OpenYS - Open Source YSFlight Server!

Note that alterations to the YSFlight .EXE is forbidden
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 » Tue Jun 28, 2016 3:01 am

Me and Thomas can also verify the same.....yesterday as we were flying the same happened....i believe Thomas was able to see me but i was not able to see him...even in the F3 mode... :?

Thomas was right below me, it seems :?

Thanks a lot :)
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

Thomascook221
Contributor
Contributor
Posts: 126
Joined: Sun Feb 28, 2016 7:28 am
Favorite Aircraft: United Nations Airplane Livery,A380,B777,B737.
Location: Indonesia,Bekasi
OS: Windows 7 Pro
Has thanked: 80 times
Been thanked: 68 times
Contact:

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

Post by Thomascook221 » Tue Jun 28, 2016 8:53 am

AdityaB wrote:Me and Thomas can also verify the same.....yesterday as we were flying the same happened....i believe Thomas was able to see me but i was not able to see him...even in the F3 mode... :?

Thomas was right below me, it seems :?

Thanks a lot :)
Verify That...yes Thats True.. I Can see Aditya But Aditya Cant See Me... :?

Regards
YS FLIGHT INDONESIA Member(YSFID)
Abel Jets Group Website AJVA (Abel Jets VA) :)

Moa Website (MOA Airways) :D

Check Out my Website.. YSFlight Thomas

Join and Fly Abel Jets & Moa Airways Now..

Fly Virtual Airline for the World.. ;)
Thank you All......... :)
Regards

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

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

Post by Flake » Wed Jun 29, 2016 2:12 am

Also aware. Not sure why yet... Re-writing the sockets to work async at the moment, stay tuned!
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: 4354
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 836 times
Been thanked: 1238 times
Contact:

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

Post by Flake » Wed Jun 29, 2016 6:24 am

Good work done today - Async receive structure working okay, gutta sort out sending of data and then clean up. Hope to test performance soon!
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: 4354
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 836 times
Been thanked: 1238 times
Contact:

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

Post by Flake » Wed Jun 29, 2016 8:01 am

One more update. Async now working in both directions... GOOD LORD it is fast. Even on my pc loading is 10 times faster.

Cleaning up soon.

Come test my server! <REDACTED> and tell me what you think!
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
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 Jun 29, 2016 9:04 am

well, yes, it is a lot faster :) love it :)

but then, it seems that things later on go slower :? : the chat msgs, the commands: /listusers, /weather

for example, i had first entered the server and was automatically kicked out (i believe it is a problem on my side, it happens even when trying to get into 187server) by saying "connection cant be sustained"

so the next command that naturally come to users is "xyz left the server".......i was kicked out i joined again and picked an aircraft and statrted to fly when:
2.jpg
(hope you understand what i said :) my way of expression is quite poor)

the delayed msgs were the only problem i felt, otherwise it is awesome!!
5.jpg
this kept poping up now and then :) : "no actrivity for 60 sec. pl do something or you will be disconnected" and, later on, i was not able to join afterwards, how much i ever pressed join or J
6.jpg
but otherwise your program is awesome!! :)
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
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 Jun 29, 2016 1:34 pm

this was the problem.... :
whatrefuel.png
dont know why....but it kept crashing us, the players, as and when we tried to refuel... :?
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: 4354
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 836 times
Been thanked: 1238 times
Contact:

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

Post by Flake » Fri Jul 08, 2016 1:38 am

  • Stabilised the async operations by adding disconnection handling.
  • Solved a bug in ToByteArray extension - wasn't handling unicode characters which was crashing the process when trying to load aircraft lists, for example, on some servers.
  • Console now sees messages again.
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
Doomsday
Staff
Staff
Posts: 859
Joined: Mon Feb 07, 2011 2:01 am
Favorite Aircraft: PEW PEW PEW PEW
Location: PEW PEW PEW
OS: PEW PEW PEW PEW PEW
Has thanked: 1 time
Been thanked: 115 times

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

Post by Doomsday » Fri Jul 08, 2016 2:07 am

OfficerFlake wrote:
  • Stabilised the async operations by adding disconnection handling.
  • Solved a bug in ToByteArray extension - wasn't handling unicode characters which was crashing the process when trying to load aircraft lists, for example, on some servers.
  • Console now sees messages again.
  • Remove nukes
Fixed
Image
PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW PEW

Team Awesome# 131

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

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

Post by Flake » Fri Jul 08, 2016 3:36 am

  • Changed the way sending/receiving is done to check connection state first - stops the program from lagging down when users connect/disconnect from the server.
  • Fixed a rare race condition that could happen when a user joins the server - Clients would be theoretically removed from the server before they even start logging in.
  • With the socket cleanups done, no more noticable lag spikes. PLEASE CONNECT TO <REDACTED> to test the latest build of OYS, hopefully no game breaking bugs. :)
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: 3843
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1610 times
Been thanked: 1727 times
Contact:

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

Post by Neocon » Sat Jul 23, 2016 2:51 pm

OfficerFlake, we noticed last night that when one pilot flies his plane very high into the air, the sky gets dark for everybody. I am guessing that there is no way to change the sky color specifically for each pilot?

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

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

Post by NightRaven » Sat Jul 23, 2016 2:57 pm

That has always been the case for the darkening of the sky at higher altitudes. I think in this case YS takes the sky colour determined by the server, which changes the sky colour according to time and/or altitude, so it is a server wide effect.

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

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

Post by Flake » Sat Jul 23, 2016 10:05 pm

Patrick31337 wrote:we noticed last night that when one pilot flies his plane very high into the air, the sky gets dark for everybody
That shouldn't happen haha, I will have another look at the code to ensure the packets are being sent only to one client.

---

Also I'm pretty pleased with the new async socket structure so far so I'm going to go with that and start cleaning up code for the next release.
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
u2fly
Senior Veteran
Senior Veteran
Posts: 1258
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 750 times
Been thanked: 277 times
Contact:

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

Post by u2fly » Mon Aug 22, 2016 9:48 am

Is OpenYS 20151209(1709) is latest version?
http://www.mediafire.com/download/reyia ... 709%29.zip
/!\ READ YSFLIGHT HANDBOOK (online + PDF) | updated 2019/04/25

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
Skipper
Rookie
Rookie
Posts: 52
Joined: Mon Dec 09, 2013 8:28 pm
Favorite Aircraft: Spitfire
Location: South Wales, UK
OS: Windows 7
Has thanked: 9 times
Been thanked: 24 times
Contact:

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

Post by Skipper » Sun Aug 28, 2016 5:00 pm

I believe so.
I'm getting some interesting errors when I try and launch it....

Code: Select all

20160828(175946): MESSAGE: Object reference not set to an instance of an object.
20160828(175946): START TRACE: 
20160828(175946): METHOD: Ground FindByName(System.String)
20160828(175946): LINENUMBER: 273
20160828(175946): COLUMNNUMBER: 21
20160828(175946): METHOD: Ground FindByName(System.String)
20160828(175946): LINENUMBER: 273
20160828(175946): COLUMNNUMBER: 21
20160828(175946): METHOD: Ground FindByName(System.String)
20160828(175946): LINENUMBER: 273
20160828(175946): COLUMNNUMBER: 21
20160828(175946): METHOD: Ground FindByName(System.String)
20160828(175946): LINENUMBER: 273
20160828(175946): COLUMNNUMBER: 21
20160828(175946): METHOD: Ground FindByName(System.String)
20160828(175946): LINENUMBER: 273
20160828(175946): COLUMNNUMBER:
And:

Code: Select all

20160828(175946): MESSAGE: Object reference not set to an instance of an object. METHOD: Ground FindByName(System.String) LINENUMBER: 273 COLUMNNUMBER: 21 STACKTRACE: OpenYS.MetaData._Ground.FindByName(String Name) in c:\Users\OfficerFlake\Dropbox\Code Projects\OpenYS\_OpenYS-Library\_YSFlightLoading\MetaData\MetaData.cs:line 273 OpenYS.World.LoadFLD(Scenery InputScenery) in c:\Users\OfficerFlake\Dropbox\Code Projects\OpenYS\_OpenYS-Library\_YSFlightLoading\World\World.cs:line 132 OpenYS.World.Load(Scenery InputScenery) in c:\Users\OfficerFlake\Dropbox\Code Projects\OpenYS\_OpenYS-Library\_YSFlightLoading\World\World.cs:line 35 OpenYS.World.Load(String Name) in c:\Users\OfficerFlake\Dropbox\Code Projects\OpenYS\_OpenYS-Library\_YSFlightLoading\World\World.cs:line 20 OpenYS.OpenYS_Server.Program.Run(String[] args) 
It seems to be struggling to find a ground object... I'm using the default Hawaii map...

I have repeated the launch with the Aomori map as well, same error.
Image
Skipper's Mod Pack: www.skipper-iwb.co.uk (On YS Mod Site)

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

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

Post by Flake » Sun Aug 28, 2016 8:42 pm

I can investigate this quickly - I have the exact code address I need to go look at.
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!

KM6BZH
Contributor
Contributor
Posts: 314
Joined: Sun Jul 24, 2016 11:59 pm
Favorite Aircraft: Mitsubishi Zero
Location: Cupertino, CA
OS: Windows 10
Has thanked: 45 times
Been thanked: 153 times

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

Post by KM6BZH » Mon Aug 29, 2016 4:52 am

I want to run a server... do you have to do port forwarding (or whatever it's called) even with OpenYS?

User avatar
Midnight Rambler
Staff
Staff
Posts: 2120
Joined: Thu Feb 10, 2011 11:08 pm
Favorite Aircraft: F-16
Location: Australia
OS: Windows 10
Has thanked: 259 times
Been thanked: 360 times

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

Post by Midnight Rambler » Mon Aug 29, 2016 5:00 am

Yes
Image

KM6BZH
Contributor
Contributor
Posts: 314
Joined: Sun Jul 24, 2016 11:59 pm
Favorite Aircraft: Mitsubishi Zero
Location: Cupertino, CA
OS: Windows 10
Has thanked: 45 times
Been thanked: 153 times

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

Post by KM6BZH » Mon Aug 29, 2016 5:10 am

oh...

User avatar
Skipper
Rookie
Rookie
Posts: 52
Joined: Mon Dec 09, 2013 8:28 pm
Favorite Aircraft: Spitfire
Location: South Wales, UK
OS: Windows 7
Has thanked: 9 times
Been thanked: 24 times
Contact:

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

Post by Skipper » Mon Aug 29, 2016 7:12 am

If you want to play with friends over the internet, I recommend Hamachi.
Image
Skipper's Mod Pack: www.skipper-iwb.co.uk (On YS Mod Site)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests