Page 43 of 49

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

Posted: Tue Jun 28, 2016 3:01 am
by AdityaB
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 :)

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

Posted: Tue Jun 28, 2016 8:53 am
by Thomascook221
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

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

Posted: Wed Jun 29, 2016 2:12 am
by Flake
Also aware. Not sure why yet... Re-writing the sockets to work async at the moment, stay tuned!

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

Posted: Wed Jun 29, 2016 6:24 am
by Flake
Good work done today - Async receive structure working okay, gutta sort out sending of data and then clean up. Hope to test performance soon!

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

Posted: Wed Jun 29, 2016 8:01 am
by Flake
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!

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

Posted: Wed Jun 29, 2016 9:04 am
by AdityaB
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!! :)

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

Posted: Wed Jun 29, 2016 1:34 pm
by AdityaB
this was the problem.... :
whatrefuel.png
dont know why....but it kept crashing us, the players, as and when we tried to refuel... :?

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

Posted: Fri Jul 08, 2016 1:38 am
by Flake
  • 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.

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

Posted: Fri Jul 08, 2016 2:07 am
by Doomsday
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

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

Posted: Fri Jul 08, 2016 3:36 am
by Flake
  • 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. :)

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

Posted: Sat Jul 23, 2016 2:51 pm
by Neocon
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?

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

Posted: Sat Jul 23, 2016 2:57 pm
by NightRaven
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.

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

Posted: Sat Jul 23, 2016 10:05 pm
by Flake
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.

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

Posted: Mon Aug 22, 2016 9:48 am
by u2fly
Is OpenYS 20151209(1709) is latest version?
http://www.mediafire.com/download/reyia ... 709%29.zip

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

Posted: Sun Aug 28, 2016 5:00 pm
by Skipper
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.

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

Posted: Sun Aug 28, 2016 8:42 pm
by Flake
I can investigate this quickly - I have the exact code address I need to go look at.

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

Posted: Mon Aug 29, 2016 4:52 am
by KM6BZH
I want to run a server... do you have to do port forwarding (or whatever it's called) even with OpenYS?

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

Posted: Mon Aug 29, 2016 5:00 am
by Midnight Rambler
Yes

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

Posted: Mon Aug 29, 2016 5:10 am
by KM6BZH
oh...

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

Posted: Mon Aug 29, 2016 7:12 am
by Skipper
If you want to play with friends over the internet, I recommend Hamachi.