[PROGRAM] OpenYS - Open Source YSFlight Server!
Moderator: Forum moderators
- Nodoka Hanamura
- Veteran
- Posts: 948
- Joined: Thu Apr 07, 2011 8:01 pm
- Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
- OS: Windows 10 / Linux
- Has thanked: 539 times
- Been thanked: 277 times
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- Nodoka Hanamura
- Veteran
- Posts: 948
- Joined: Thu Apr 07, 2011 8:01 pm
- Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
- OS: Windows 10 / Linux
- Has thanked: 539 times
- Been thanked: 277 times
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
JAPANESE SCHOOLGIRL GIDDY SCREAMING INTENSIFIESxX_SuperSic58_Xx wrote:Coming to an OpenYS install near you this December(?)
- Neocon
- First Class Membership
- Posts: 3962
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1775 times
- Been thanked: 1813 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

- Dragon_Mech
- 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
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!


- decaff_42
- Staff
- Posts: 3859
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 864 times
- Been thanked: 1737 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

The menu bar is 70% working now, just need to link up a few methods to change colors. wind etc. It goes without saying it makes the server MUCH easier to use for non-power-user server owners!
I should have another update out in a week which will just be changes to interface. Once that's okay, there will be a code cleanup and conversion to using Events to drive the server. Events will be raised for all sorts of occurances, from "user connects to server" to "vehicle received updated flight data packet from client". The idea is rather than having to make lots of links and connections in code, I just add one line to subscribe to an event handler and the event handler will signal all the events automatically, saving time, resources and overheads.
Once events are done I can start on the vehicle AI structure that will be used to develop those SAMs and AAA's people are interested in. I'm also wanting to add damage effects, g effects to vehicles using the currently successful REM dat line addition structure as used by the OYS carriers. Expect dat variables such as "REM OPENYS GLIMIT_POS XXXX" or "REM OPENYS GLIMIT_NEG YYYY" in the future. Soon, OYS will be able to perform all the major functions of the ww3 server software.
Keep an eye out for updates regarding OYS!

- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
Just so you know I have seen this. In fact I never coded the IRC interface in the first place, I only adapted it, and poorly so. I'll go over it again and try and make it more stable.NightRaven wrote:Hey Flake I'm not exactly sure but I think the IRC is broke.
- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
Changes:
+Whole new console interface using windows forms.
+External-Libraries folder now being included in source, which is kinda important to be able to build your own copies lol.

~Fixed the /Wind command and wind display to use real world wind-coming-from direction as per TAF. Sorry about that screw up!
-Removed Nukes
Notes:
Let me know all about the errors and bugs you are getting with the new interface!

Download: https://drive.google.com/uc?export=down ... F9CYlVueVU
- Neocon
- First Class Membership
- Posts: 3962
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1775 times
- Been thanked: 1813 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- Nodoka Hanamura
- Veteran
- Posts: 948
- Joined: Thu Apr 07, 2011 8:01 pm
- Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
- OS: Windows 10 / Linux
- Has thanked: 539 times
- Been thanked: 277 times
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
Here's what was wrong and what I've fixed:
1) Main Interface Window was building as EXE instead of DLL.
2) Release builder copying DLL's from the wrong location (_2_Release instead of _1_OpenYS-ServerMode) This means new DLL's were not included in subsequent builds.
3) A strange glitch that occurs in VS from time to time where builds don't compile properly, requires to restart VS.
I just rebuilt and ran standalone as if I had just downloaded myself and the build is now fixed.
Just waiting on Google Drive to push the update, then re-release with same version number as program functionality remains unchanged.
EDIT: Update complete. Same download link, should work now!


- Neocon
- First Class Membership
- Posts: 3962
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1775 times
- Been thanked: 1813 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!

- Neocon
- First Class Membership
- Posts: 3962
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1775 times
- Been thanked: 1813 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
I suspected that about reusing settings files, so I've been copy-pasting for several versions. I was mostly just testing things out. I might have typed something wrong in the first try, because the second time I tried the Settings GUI it worked without a problem. So I've now tested it that way, through the main interface, and copy-paste with no problems other than apparently field names are case-sensative? I've always found it best to just type the as few characters as possible and let OYS figure the rest of the map name, anyway.
- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
The text console shouldn't be visible. I'm surprised. I did have to use some Windows native DLL hooking-into trickery to hide the console though after launch, perhaps that's not as good as Microsoft made out. Damn. I'll have to redesign the console side of the app to not use the system console at all. That's going to be quite difficult.
- Neocon
- First Class Membership
- Posts: 3962
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1775 times
- Been thanked: 1813 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
Both of these took place at the same time: Application: OpenYS-ServerMode.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Reflection.TargetInvocationException
Stack:
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.RichTextBox.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at OpenYS.OpenYS_Server+Program+<>c__DisplayClass9_0.<Run>b__0()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart() Fault bucket 401471512, type 30
Event Name: CLR20r3
Response: None
Cab Id: 0
Problem signature:
P1: OpenYS-ServerMode.exe
P2: 1.0.0.0
P3: 580d9b69
P4: mscorlib
P5: 4.0.30319.34209
P6: 53489fcf
P7: 2bd4
P8: 25
P9: N3CTRYE2KN3C34SGL4ZQYRBFTE4M13NB
P10:
Attached files:
C:\Users\Patrick\AppData\Local\Temp\WER374D.tmp.version.txt
These files may be available here:
C:\Users\Patrick\AppData\Local\Microsoft\Windows\WER\ReportArchive\Report01506159
- Flake
- VFA-49
- Posts: 4378
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 862 times
- Been thanked: 1281 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
- Neocon
- First Class Membership
- Posts: 3962
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1775 times
- Been thanked: 1813 times
- Contact:
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
Since it's been back up, Tfan and Greenhorn have been flying with no problems.
An unrelated issue: Flares are set at 20 regardless of the .dat file saying 60 on the NCA planes.
- Nodoka Hanamura
- Veteran
- Posts: 948
- Joined: Thu Apr 07, 2011 8:01 pm
- Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
- OS: Windows 10 / Linux
- Has thanked: 539 times
- Been thanked: 277 times
Re: [PROGRAM] OpenYS - Open Source YSFlight Server!
It begs the question, how does that same bug keep cropping up?Patrick31337 wrote: An unrelated issue: Flares are set at 20 regardless of the .dat file saying 60 on the NCA planes.
Who is online
Users browsing this forum: No registered users and 0 guests