[PROGRAM] OpenYS - Open Source YSFlight Server!

Note that alterations to the YSFlight .EXE is forbidden
Deleted User 2433

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

Post by Deleted User 2433 »

BreekiBoots wrote: Thu Mar 16, 2017 2:52 am Any ideas on getting clouds to work in OpenYS?
YSFlight already has clouds, GL1 and D3D have a mesh style cloud while GL2 has textured clouds.
NightRaven
Senior Veteran
Senior Veteran
Posts: 1851
Joined: Tue Feb 07, 2012 10:00 am
Favorite Aircraft: .
OS: windoze 10 64-bit
Has thanked: 617 times
Been thanked: 619 times

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

Post by NightRaven »

There are no clouds in multiplayer.
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

it could be done using ground objects and moving them along a motion path. Creating my own on the server can't be done though unfortunately.
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
Zack
Contributor
Contributor
Posts: 401
Joined: Wed Mar 21, 2012 10:34 pm
Favorite Aircraft: F-16C Fighting Falcon
Location: Northern California/Bay Area
OS: Windows 10
Has thanked: 47 times
Been thanked: 158 times

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

Post by Zack »

But with so many clouds wouldnt the game start to lag for some people? also what about collisons for the cloud?
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

you can have a null.srf for the collision file noob. :P
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: 3955
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1769 times
Been thanked: 1810 times
Contact:

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

Post by Neocon »

Would it be possible to set viability/fog by altitude?
Zack wrote: Thu Mar 16, 2017 5:39 amBut with so many clouds wouldnt the game start to lag for some people?
Probably.
xX_SuperSic58_Xx wrote: Thu Mar 16, 2017 7:19 amyou can have a null.srf for the collision file noob. :P
But that wouldn't be nearly as entertaining.
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

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

Post by u2fly »

Patrick31337 wrote: Thu Mar 16, 2017 12:11 pm
Zack wrote: Thu Mar 16, 2017 5:39 amBut with so many clouds wouldnt the game start to lag for some people?
Probably.
xX_SuperSic58_Xx wrote: Thu Mar 16, 2017 7:19 amyou can have a null.srf for the collision file noob. :P
But that wouldn't be nearly as entertaining.
Here is my dirty hack for disable clouds on Client-side of YSFlight.

Code: Select all

CAUTION! This add-on may cause YSFlight & OpenYS, so keep backup of your work!
Cloudless YSFS
Cloudless YSFS -- scenery list for YSFligh, that remove (temporary) clouds from stock sceneries.

You could apply it to any scenery, but firstly read README.txt inside this ZIP-archive. This is not final release, so can include some mistakes.
Enjoy cloudless sky in YSFlight! ))
Attachments
Cloudless_YSFS_alpha.zip
(only for testing)
(2.76 KiB) Downloaded 523 times

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”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

Patrick31337 wrote: Thu Mar 16, 2017 12:11 pmWould it be possible to set viability/fog by altitude?
Absolutely.

EDIT: Heads up about the "replacement" cloudless option above - it will remove all the ground object references as well if they are contained in a YSF file. This will affect maps like ISLAND_GOURD for example. Be mindful, and be ready to restore your default YSF after.

EDIT2: You should probably release that in your own thread, U2, not mine...
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
fallen
Newbie
Newbie
Posts: 2
Joined: Sun Sep 15, 2019 12:15 pm
Favorite Aircraft: RWD 5bis
OS: Windows

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

Post by fallen »

Hi Flake, hi all

Something here is wrong with turning off missles ect on my server. Unguide weapons like MG is possible to turn off. I dont know where is problem. All other work perfect.

Waypons. Missiles = False ( but still work ;( )
Weapons. Unguided = False ( disabled - all fine)

Any ideas?

Greetings
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

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

Post by decaff_42 »

Hi Fallen. Not sure when Flake will see this, but a few more details about your sever may be helpful!
  • What version of OYS?
  • What version of YSFlight?
  • What Operating System?
  • Is there a particular missile? Does this work when just launching a missile without a lock? How about launching with a lock?
Check out my website YSDecaff for all my tutorials and addon releases.
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
User avatar
fallen
Newbie
Newbie
Posts: 2
Joined: Sun Sep 15, 2019 12:15 pm
Favorite Aircraft: RWD 5bis
OS: Windows

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

Post by fallen »

Hi decaff_42. Thanks.

Inside OpenYS console:

Server info: You are using version 20161023(2339)

When im connect from the game - infos:

SERVER NET-VERSION 20180930
CLIENT NET-VERSION 20180930

The server allow AAM/AGM (sic! ignore my False)
The server doesent allow unguided weapons (here is all ok and fine)

-----
Operating system is Windows 7 Proffesional 64bit
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

Intradasting.

What's your localisation setting? en-us?

And could you provide me a copy of your settings file?
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: 3955
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1769 times
Been thanked: 1810 times
Contact:

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

Post by Neocon »

I've had the same issue all along. You can turn off one type of weapon, but the other type will always work even if set to false.
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

Patrick, you'll know better than I.

Is 20161023(2339) the latest version that you are using also? I might see if I can push a quick update for this.
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: 3955
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1769 times
Been thanked: 1810 times
Contact:

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

Post by Neocon »

I am using version 20161123(2054)_ALT.

Earlier and later versions both had issues of aircraft that take off not being visible to players already flying.
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

Cheers mate, that makes life a little easier for me.
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!
jsu2
Business Class Membership
Business Class Membership
Posts: 61
Joined: Sun Aug 26, 2018 2:02 am
Favorite Aircraft: F-16
Has thanked: 17 times
Been thanked: 31 times

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

Post by jsu2 »

Hello. I am wondering if anyone can help me with this:

Code: Select all

20200225(181735): --- Log Created ---
20200225(181735): &LWelcome to OpenYS Client!
20200225(181735):
20200225(181735): You are using version: 20161023(2339)
20200225(181735):
20200225(181735): YSFlight Directory is: C:/Program Files/YSFLIGHT.COM/YSFLIGHT/
20200225(181735):
20200225(181735): Loading YSFlight MetaData:
20200225(181736): OpenYS Has been terminated with error:
20200225(181736):
20200225(181736): MESSAGE: Index was outside the bounds of the array. METHOD: Boolean LoadAll() LINENUMBER: 0 COLUMNNUMBER: 0 STACKTRACE: OpenYS.MetaData._Aircraft.LoadAll() OpenYS.OpenYS_Server.Program.LoadAllMetaData() in E:\Google Drive\Dwayne Brumby\Code Projects\OpenYS\Source\__Executables\_1_OpenYS-ServerMode\OpenYS_Server.cs:line 494 OpenYS.OpenYS_Server.Program.Run(String[] args) in E:\Google Drive\Dwayne Brumby\Code Projects\OpenYS\Source\__Executables\_1_OpenYS-ServerMode\OpenYS_Server.cs:line 284
This is after installing addons and running openys. I'm hoping this is because of something on my end.
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

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

Post by decaff_42 »

DId it happen before installing addons?
Check out my website YSDecaff for all my tutorials and addon releases.
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
jsu2
Business Class Membership
Business Class Membership
Posts: 61
Joined: Sun Aug 26, 2018 2:02 am
Favorite Aircraft: F-16
Has thanked: 17 times
Been thanked: 31 times

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

Post by jsu2 »

On a stock build, openys runs with no issue.
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

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

Post by Flake »

Bug Fix Version 20210623(2027)

NOTE: DOES NOT EXTEND CURRENT PROJECT THREAD, EXTENDS 20161123(2054)_ALT.
(So don't download if you are using the current OYS Versions!)

Changes:
+Alternate version of above - this fixes the symbol loading for DLL files, means debug information for me should no longer show "line 0 column 0" for most errors; I might be able to actually fix problems on this stub.

Notes:
Still heaps a bugs, but it should be an improvement.

Download: https://drive.google.com/uc?export=down ... siy4xQeEN7


Last edited by Flake on Wed Jun 23, 2021 9:35 am, edited 1 time in total.
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: No registered users and 4 guests