[PROGRAM] OpenYS - Open Source YSFlight Server!

Note that alterations to the YSFlight .EXE is forbidden
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1283
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 770 times
Been thanked: 282 times
Contact:

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

Post by u2fly » Mon Dec 21, 2015 6:31 am

Patrick31337 wrote:
C P wrote:Patrick: I can't tell if you're being sarcastic. Do you want me to turn off [IRC]?
I wasn't being sarcastic at all. What ever could have made you think such a thing?

^Also not being sarcastic. Absolutely serious.

No, really. I think all servers should connect to the OpenYS channel on IRC. It's great fun.
Is it a way enjoy this IRC channel using only IRC client, without OYS?
/!\ 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
Neocon
First Class Membership
First Class Membership
Posts: 3846
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1616 times
Been thanked: 1729 times
Contact:

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

Post by Neocon » Mon Dec 21, 2015 6:43 am

Yes. Absolutely. Use an IRC client to join the server irc.xertion.org, then join the channel #openys. You can talk to whoever is using the IRC client, or who is logged into the Civ Av Server or CP's Funhouse server.

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:

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

Post by Vic Viper » Mon Dec 21, 2015 1:25 pm

Hmm...okay. I'll do this
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: 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 » Tue Dec 22, 2015 1:16 am

u2 that does interest me but that will probably be when OYS SERVER is done and I start working on a client for all users to use.
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 Dec 22, 2015 2:41 am

Patrick31337 wrote:
C P wrote:Patrick: I can't tell if you're being sarcastic. Do you want me to turn off [IRC]?
I wasn't being sarcastic at all. What ever could have made you think such a thing?

*** Sri bud , must have been having a late night "Senior Moment" ***

^Also not being sarcastic. Absolutely serious.
No, really. I think all servers should connect to the OpenYS channel on IRC. It's great fun.

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1283
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 770 times
Been thanked: 282 times
Contact:

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

Post by u2fly » Tue Dec 22, 2015 2:58 am

OfficerFlake wrote:u2 that does interest me but that will probably be when OYS SERVER is done and I start working on a client for all users to use.
I only belive that You dont forget this, and add this in your TODO list.
/!\ 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
u2fly
Senior Veteran
Senior Veteran
Posts: 1283
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 770 times
Been thanked: 282 times
Contact:

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

Post by u2fly » Wed Dec 23, 2015 2:09 am

Alternative sound engine for YSFlight
After long discussion on #modarchive IRC about MilkyTracker, some user give me good help about how relise my idea.
YSFlight_sounds_BASS.png
Target: get many sound effects in YSFlight, that will play in same time. Like a wind sound, wingman aircraft engine sound, volume depend from distance etc.
This based on applications called "network protocol analyzer", that will detect special packets in active TCP connection, and then do something.
Video: https://youtube.com/watch?v=ghokDuCDcMY
For example when it detect packet that define wind, it will run audiotrack with wind sound.
Example of protocol analyzer in Python: http://www.binarytides.com/python-packe ... ode-linux/
Think that protocol analyzer can be a part of "Poseidon2" by @mrmofumofu
https://github.com/pasutisu/poseidon2/
Last edited by u2fly on Wed Dec 23, 2015 2:53 am, edited 3 times in total.
/!\ 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
Neocon
First Class Membership
First Class Membership
Posts: 3846
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1616 times
Been thanked: 1729 times
Contact:

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

Post by Neocon » Wed Dec 23, 2015 2:13 am

Are you talking about voice chat through OpenYS, u2? My concern with that would be the bandwidth use. Not to mention that it will require other users to use the OYS client.

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1283
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 770 times
Been thanked: 282 times
Contact:

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

Post by u2fly » Wed Dec 23, 2015 2:26 am

Patrick31337 wrote:Are you talking about voice chat through OpenYS, u2? My concern with that would be the bandwidth use. Not to mention that it will require other users to use the OYS client.
No, I'm talking about more sound effects, that will play in same time.
For example, if your wingman will come near your airplane you will hear his engine sound too.

This applications or scripts will run on user PC only.
It will scan your TCP connection to server, and if detect specific packet in it then will play defined sounds, that can play in same time (like rain and wind sound in storm)
/!\ 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
Fishie
VFA-49
VFA-49
Posts: 14
Joined: Tue Dec 22, 2015 6:15 am
Favorite Aircraft: Eurofighter Typhoon
OS: Windows
Has thanked: 41 times
Been thanked: 9 times

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

Post by Fishie » Wed Dec 23, 2015 4:43 am

Screenshot_1.png

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 » Thu Dec 24, 2015 3:23 am

Hey Fishie - right click all dll's and go properties -> unblock.

Weird glitch with .Net 4.0 *shrug*

---

Been re-writing Racing... My previous solution was terrible, honestly. In fact that "no lag" time solution wasn't even implemented! :lol:

New solution working for timetrial mode - race around the circuit and it registers your split times. At the end of the lap it tells you how many laps you've done, and what your lap time is, and how far above or below the circuit best time this session you are, and you position on the time sheet of all racers involved.

I'll be adding best sector times as well as overall circuit record fields so you can track which sectors you are strong/weak on, and if you break the circuit record, everyone will get an announcement.

Finally, I will log racing to a special excel log file for end-user analysis.

Because of this racing is no longer "automatic" though, you must create a race, and then join it using commands. I've made it pretty intuitive though and all of the racing commands are under a "Racing" category to make it simple to use.

---

Also been working on RACE mode, where instead of just a time trial, there is a set number of laps with a count down timer and jump start detection. Not done yet but it's almost done. Fun fact: I can use a time-trial mode to set the fastest times, then create a new race from the results of the time trial - so the time trial can act as a qualifying session! :)

Now... picture stringing all this together with a scheduler agent to open the qualifying session automatically, post announcements, and then close the session automatically over one days time, and there is a fully automated 24h qualifying session on one day. Then use the results to start a race the next day at a specified time - fully automated racing series?
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
Fishie
VFA-49
VFA-49
Posts: 14
Joined: Tue Dec 22, 2015 6:15 am
Favorite Aircraft: Eurofighter Typhoon
OS: Windows
Has thanked: 41 times
Been thanked: 9 times

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

Post by Fishie » Thu Dec 24, 2015 4:18 am

OfficerFlake wrote:fully automated racing series
That would be epic! - and cheers for the fix

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 » Thu Dec 24, 2015 7:53 am

Incredible flow of ideas Flake! We need to bottle whatever kind of "juice" you're on and pass it around ...lol...

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

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

Post by Neocon » Thu Dec 24, 2015 8:17 am

I've never liked the scheduler. I don't know why. :?

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 » Thu Dec 24, 2015 8:23 am

C P wrote:Incredible flow of ideas Flake! We need to bottle whatever kind of "juice" you're on and pass it around ...lol...
Don't know what you're talking about.

It's a special blend of THC, CBD, and 11 secret herbs and spices.
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

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

Post by Dragon_Mech » Thu Dec 24, 2015 8:44 am

That's very impressive OfficerFlake. but i'll just keep my butt in the air. :D
Owner, Dragonic Machine Industries
Image

User avatar
David
Modding Team
Modding Team
Posts: 427
Joined: Mon May 30, 2011 12:03 pm
Favorite Aircraft: Grob G109B Vigilant
Location: United Kingdom
Has thanked: 184 times
Been thanked: 130 times

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

Post by David » Thu Dec 24, 2015 10:14 am

Flake, as promised, I've been flying on Patrick's server with open YS and I've really got no major problems to report. No disconnection issues for me at all. The day/night cycle is amazing and the IRC connectivity is great!

The only thing I can't get working Flake, is the aerial refueling. I looked at the /Help commands then the sub menu for /Commands Flight then I attempted to set my aircraft as the refueller with /refueling but it won't recognize my tanker. Any ideas how to get it to work? Am I doing right? ;)

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 » Thu Dec 24, 2015 1:01 pm

Tbh aerial refuelling was done a long time ago just like racing - I'll have a look at it next. Glad to hear of an otherwise smooth experience.
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 » Thu Dec 24, 2015 1:02 pm

Also "/refuelling on" to turn it on. ;)
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 » Sat Dec 26, 2015 1:57 am

I just re-wrote how external libraries are loaded so hopefully now there will be no more errors in loading requiring you to "unblock" your dll's. ;)

I hope it works, but it may not.

<Tech data below>

---

Old method used Assemblies.LoadFrom(string Path) and the new method uses two lines: byte[] Data = File.ReadAllBytes(string Path) and then Assemblies.Load(byte[] Data). since the data is actually being read from the file and then the assembly "created" in the program itself on the fly it should not refuse to load anymore.
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!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest