[PROGRAM] OpenYS - Open Source YSFlight Server!

Note that alterations to the YSFlight .EXE is forbidden
User avatar
Flake
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Tue Oct 27, 2015 6:30 am

Here's the problem:

"C:/Program Files (x86)/YSFLIGHT.COM/YSFLIGHT - 2013 YSCAS FULLuser/neocon/NCA/757/757.dat"

should be "C:/Program Files (x86)/YSFLIGHT.COM/YSFLIGHT - 2013 YSCAS FULL/user/neocon/NCA/757/757.dat"

Okay change your path to have the forwardslash on the end, I'll edit the next version to auto-include a terminating forwardslash!
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: 3868
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1646 times
Been thanked: 1745 times
Contact:

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

Post by Neocon » Tue Oct 27, 2015 6:36 am

That's interesting. I've been copy/pasting the same line from the beginning. Did your recent work change the need for that last slash?

Well, anyway, problem solved, next problem. :lol:

^completely ignoring the fact that I just caused you a lot of trouble trying to figure out a problem that was completely of my own doing.

User avatar
Flake
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Tue Oct 27, 2015 6:37 am

Patrick31337 wrote:I increased the throttle and the amount of fuel in the external tanks began to decrease as if I was using fuel, but there was no thrust from the plane.
INTERESTING! You've found a YSF Bug!
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
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Tue Oct 27, 2015 6:38 am

Oh no no it's okay, I should never have made such an assumption in my code! Fixed now, since it's a minor issue I'll leave that until the next update!
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: 3868
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1646 times
Been thanked: 1745 times
Contact:

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

Post by Neocon » Tue Oct 27, 2015 7:13 am

I have a request. Sometimes there are ghost planes that get left behind when someone leaves the plane. It is impossible to get the ID of the ghost plane to kill it. Could you have the console include the ID of each plane that spawns.
Ex.:
"Patrick took off (B737) ID4035"

User avatar
Flake
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Tue Oct 27, 2015 8:16 am

Now Updated to Version 20151027(1908)

Changes:
+YSF Directory now automatically formatted for use with OYS.
+Added "ResumeFlight" command. You can auto-resume your last flight or any other flight id (even flights that weren't yours if you know the ID.) This feature works automatically for YSF 2015+, otherwise you will need to submit your own join request.
-Removed Nukes

Notes:
Should be no .DAT conversion errors - if there is, please let me know! (See logs folder and describe aircraft name, and error)

Download: https://www.mediafire.com/?8ig8wx6kceg4f81


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
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Tue Oct 27, 2015 8:48 am

Working on using aircraft as ground objects - ie: player controlled carriers.

Looking good so far - I need soji to get back to me on data specifics though, but yes, entirely possible.

In the below the carrier is set to be at the aircraft's position and angle, less 500 meters on the y axis.

Image
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: 3868
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1646 times
Been thanked: 1745 times
Contact:

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

Post by Neocon » Fri Oct 30, 2015 9:59 pm

While Dan was flying on my server he got kicked. I checked the console log for the exact time he was reported to have left the server. At that exact time I found this in the error log:

Code: Select all

20151030(163013): MESSAGE:      A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
20151030(163013): START TRACE:  
20151030(163013):     METHOD:       Void Shutdown(System.Net.Sockets.SocketShutdown)
20151030(163013):         LINENUMBER:   0
20151030(163013):         COLUMNNUMBER: 0
20151030(163013):     METHOD:       Void Shutdown(System.Net.Sockets.SocketShutdown)
20151030(163013):         LINENUMBER:   0
20151030(163013):         COLUMNNUMBER: 0
20151030(163013): END TRACE.
20151030(163013): 
20151030(163013): 
20151030(163013): MESSAGE:      Cannot access a disposed object.

20151030(163013): Object name: 'System.Net.Sockets.Socket'.
20151030(163013): START TRACE:  
20151030(163013):     METHOD:       Int32 Receive(Byte[], Int32, Int32, System.Net.Sockets.SocketFlags, System.Net.Sockets.SocketError ByRef)
20151030(163013):         LINENUMBER:   0
20151030(163013):         COLUMNNUMBER: 0
20151030(163013):     METHOD:       Int32 Receive(Byte[], Int32, Int32, System.Net.Sockets.SocketFlags, System.Net.Sockets.SocketError ByRef)
20151030(163013):         LINENUMBER:   0
20151030(163013):         COLUMNNUMBER: 0
20151030(163013): END TRACE.
20151030(163013): 
20151030(163013): 

User avatar
Flake
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Sat Oct 31, 2015 12:59 am

I think there is a circumstance with sockets where it can give a false disconnection. So upon disconnection you are meant to poll the socket to confirm it. Something I am not doing but I have seen done in the fcraft source I learnt c# socket coding in. Maybe soon a 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
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Sun Nov 01, 2015 8:40 am

Now Updated to Version 20151101(1926)

Changes:
+Player Controlable Carriers (BETA, Participants need OYS Pack!)
+Fixed the "Lost Vehicle" message when a client does NOT gracefully disconnect from the server (ie: doesn't leave flight before hand)
-Removed Nukes

Notes:
Still need to fix the random disconnection error - hopefully soon!
Carrier is very much BETA - it shakes a little when moving too I have found. ¯\_(ツ)_/¯

Download: http://www.mediafire.com/?7tbapcvidd9xirq


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!

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

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

Post by NightRaven » Sun Nov 01, 2015 9:29 am

Can confirm things are working well so far.
Image
Image
Image
The arrestors, refuelling and catapult work as well as though they were part of a normal ground object carrier. Spawning can be a bit glitchy however (I spawned 20 deg nosefirst on some starting positions). Nevertheless, I am very excited about this new development.

Maybe add support for multiple arrestor wires and anti-aircraft defences (ww3 much)?

User avatar
Flake
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Sun Nov 01, 2015 10:15 am

I don't want to make the carriers OP though haha.
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!

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

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

Post by NightRaven » Wed Nov 04, 2015 1:38 pm

Tested out the Aigaion as a flyable carrier. viewtopic.php?f=146&t=27&p=92034#p92034

2 issues however.
1) The decks cannot be set lower than the origin of the carriers. This would cause the carrier to glitch and begin teleporting upwards as if it were spawning with half its hull in the ground once it starts moving, in turn causing it to become unflyable and explode. I don't know if this is a YS issue though.
2) The aircraft tend to shake a lot when the carrier is moving very quickly (not sure if you mean this by "it shakes a little when moving too I have found"). This impacts the overall experience, and taking off is affected too. The aircraft's airspeed constantly switches between 0 and the carrier's speed, as if the program is confused between conflicting information, and when taking off this might cause the aircraft to stall.

Apart from these issues, which I believe are difficult to resolve, everything else works well: the flying carrier works equally well both as an aircraft and a carrier.

User avatar
Flake
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Thu Nov 05, 2015 12:52 am

I think the issue is that the velocity component of the carrier is being ignored, hence the flash of 0 indicated airspeed all the time, then the random short burst of 100 or so knots. hopefully I can work this out.
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
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Sat Nov 07, 2015 10:09 am

Updated the Key Contributers list.

NightRaven promoted to Gold for his efforts in testing all the latest upgrades where he can - thank you! you are promoting OYS and showing the true colors of what it can do, it's quite inspiring!

C P added straight to Silver for his server! Thanks for your work.

I am told Bombcat has been testing on your server as well where he can so Bombcat added to Bronze.

Cheers guys - let me know if I've missed you.
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
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Sat Nov 07, 2015 10:15 am

NightRaven wrote: 1) The decks cannot be set lower than the origin of the carriers. This would cause the carrier to glitch and begin teleporting upwards as if it were spawning with half its hull in the ground once it starts moving, in turn causing it to become unflyable and explode. I don't know if this is a YS issue though.
A work around for this might be to just move the visual model up instead of trying to move the carrier deck down? Of course the center of rotation will be offset but what else can ya do? :lol:
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!

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

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

Post by NightRaven » Sat Nov 07, 2015 10:25 am

OfficerFlake wrote:
NightRaven wrote: 1) The decks cannot be set lower than the origin of the carriers. This would cause the carrier to glitch and begin teleporting upwards as if it were spawning with half its hull in the ground once it starts moving, in turn causing it to become unflyable and explode. I don't know if this is a YS issue though.
A work around for this might be to just move the visual model up instead of trying to move the carrier deck down? Of course the center of rotation will be offset but what else can ya do? :lol:
Yeah that was what I did for the Aigaion shot :lol: . It can be a pain in the neck to do however.

User avatar
jetskit
Penguin Airways VA
Penguin Airways VA
Posts: 449
Joined: Sun Jun 05, 2011 8:57 pm
Favorite Aircraft: 757 - 200,787,a319,a320
Location: scotland
OS: Windows 7
Has thanked: 146 times
Been thanked: 109 times
Contact:

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

Post by jetskit » Sat Nov 07, 2015 1:24 pm

Flake this is just incredible, I wonder if we could recreate the ww3 server using open ys, this brings back memories back when we would launch from a players carrier and bomb the subs!
Image
"Aviation was not an industry nor a science. It was a love."|YS ATCO|PAVA CEO|

User avatar
Flake
VFA-49
VFA-49
Posts: 4357
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 838 times
Been thanked: 1247 times
Contact:

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

Post by Flake » Sun Nov 08, 2015 2:32 pm

Taking requests for dev ideas at the moment - I have a few in mind but I'm looking to work on more major projects over the holidays (Dec-Feb)

Things I want to add:

Ground AI (Next on my list)
VehicleList Command to get the info of all vehicles on the server, and other such commands.
IRC Support
"Zones" or "Areas", where eventually, certain rules can apply - eg no firing in this zone, no smoke in this one... etc. ATC like zones.
ATC Features: Squawk codes for aircraft, chat frequencies, flight tracking.
UserDB tracking on openys.ysfhq.com
Maybe a tray tool for OpenYS Client?
Full racing support - with grid positions, lap limits, auto score and position reporting... etc. etc.

Unrelated, but I also want to make a basic FLD renderer so that server management can be improved - ground objects, aircraft (ATC), zoning etc.
jetskit wrote:Flake this is just incredible, I wonder if we could recreate the ww3 server using open ys, this brings back memories back when we would launch from a players carrier and bomb the subs!
No. I flat out refuse to make something as good as the ww3 server.

I plan to make something much, much better.
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
C P
Contributor
Contributor
Posts: 102
Joined: Fri May 24, 2013 12:17 pm
Favorite Aircraft: F-18E SuperHornet
Location: Syracuse, NY
OS: WIN10 8CORE/4GHZ/16G
Has thanked: 22 times
Been thanked: 25 times
Contact:

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

Post by C P » Tue Nov 10, 2015 4:39 am

OfficerFlake wrote: ideas at the moment - I have a few in mind
I guess so...lol. YSF dead? Not a chance with Officer Flake around! :) These ideas alone ought to keep us going for a decade or so! ... lol ... keep up the good work Dr. Codemeister!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests