Page 35 of 49

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

Posted: Mon Dec 21, 2015 6:31 am
by u2fly
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?

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

Posted: Mon Dec 21, 2015 6:43 am
by Neocon
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.

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

Posted: Mon Dec 21, 2015 1:25 pm
by Vic Viper
Hmm...okay. I'll do this

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

Posted: Tue Dec 22, 2015 1:16 am
by Flake
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.

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

Posted: Tue Dec 22, 2015 2:41 am
by C P
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.

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

Posted: Tue Dec 22, 2015 2:58 am
by u2fly
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.

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

Posted: Wed Dec 23, 2015 2:09 am
by u2fly
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/

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

Posted: Wed Dec 23, 2015 2:13 am
by Neocon
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.

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

Posted: Wed Dec 23, 2015 2:26 am
by u2fly
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)

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

Posted: Wed Dec 23, 2015 4:43 am
by Fishie
Screenshot_1.png

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

Posted: Thu Dec 24, 2015 3:23 am
by Flake
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?

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

Posted: Thu Dec 24, 2015 4:18 am
by Fishie
OfficerFlake wrote:fully automated racing series
That would be epic! - and cheers for the fix

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

Posted: Thu Dec 24, 2015 7:53 am
by C P
Incredible flow of ideas Flake! We need to bottle whatever kind of "juice" you're on and pass it around ...lol...

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

Posted: Thu Dec 24, 2015 8:17 am
by Neocon
I've never liked the scheduler. I don't know why. :?

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

Posted: Thu Dec 24, 2015 8:23 am
by Flake
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.

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

Posted: Thu Dec 24, 2015 8:44 am
by Dragon_Mech
That's very impressive OfficerFlake. but i'll just keep my butt in the air. :D

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

Posted: Thu Dec 24, 2015 10:14 am
by David
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? ;)

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

Posted: Thu Dec 24, 2015 1:01 pm
by Flake
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.

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

Posted: Thu Dec 24, 2015 1:02 pm
by Flake
Also "/refuelling on" to turn it on. ;)

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

Posted: Sat Dec 26, 2015 1:57 am
by Flake
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.