[PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
Also fixed a vulnarability in the String.ReplaceAll extension method - if the newstring contained the old string( eg: "ABC" contains "AB") it would infinitely loop... (AB->[ABC]->[ABC]C->[ABC]CC->[ABC]CCC...)
No other issues?
- Neocon
- First Class Membership
- Posts: 3896
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1686 times
- Been thanked: 1772 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
Code: Select all
--- Log Created 2015/04/15 00:44:15 ---
2015/04/15 00:44:15: Welcome to OpenYS Client!
2015/04/15 00:44:15:
2015/04/15 00:44:15: You are using version: 20150413(1356)[TEST]
2015/04/15 00:44:15:
2015/04/15 00:44:15: YSFlight Directory is: C:/Program Files (x86)/YSFLIGHT.COM/YSFLIGHT - FIGHT CLUB/
2015/04/15 00:44:15:
2015/04/15 00:44:15: Loading YSFlight MetaData:
2015/04/15 00:44:23: Loaded 2283 Aircraft
2015/04/15 00:44:23: Loaded 34 Scenery
2015/04/15 00:44:23:
2015/04/15 00:44:23: Loading Scenery: HAWAII
2015/04/15 00:44:23: Loaded 121 Ground Objects from FLD.
2015/04/15 00:44:23: Loaded 25 Start Positions from STP.
2015/04/15 00:44:23: Loaded 0 Ground Objects from YFS.
2015/04/15 00:44:23:
2015/04/15 00:44:23: Loading Complete!
2015/04/15 00:44:23:
2015/04/15 00:44:23: Listening for Clients on Port: 7915...
2015/04/15 00:44:23: ======================================
2015/04/15 00:44:23:
2015/04/15 00:44:23:
2015/04/15 00:44:36: OpenYS Scheduler set the server name to: YSCAS-Actual.
2015/04/15 00:44:36: *** Current Server Restart Timer Stopped! ***
2015/04/15 00:44:36: OpenYS Scheduler DISABLED the Server Restart Timer.
2015/04/15 00:44:36: OpenYS Scheduler set "Weapons" to ON.
2015/04/15 00:44:36: OpenYS Scheduler set "Missiles" to ON.
2015/04/15 00:44:36: OpenYS Scheduler set Force "Black Out" Setting to OFF.
2015/04/15 00:44:36: OpenYS Scheduler set "Land Everywhere" to ON.
2015/04/15 00:44:36: OpenYS Scheduler set "Collisions" to OFF.
2015/04/15 00:44:36: OpenYS Scheduler set the time to DAY.
2015/04/15 00:44:36: OpenYS Scheduler set the Wind to 12004KTS.
2015/04/15 00:44:36: OpenYS Scheduler set the Visibility to 7500m.
2015/04/15 00:44:36: OpenYS Scheduler revived the ground objects.
2015/04/15 00:44:36: OpenYS Scheduler set automatic weather updates to ON.
2015/04/15 00:48:44: Connecting Client is from a local ip address (127.0.0.1).
Made them a superuser.
2015/04/15 00:48:44: [NCA]Patrick Logging in... 127.0.0.1
2015/04/15 00:48:44: [NCA]Patrick Joined the server.
2015/04/15 00:49:06: [NCA]Patrick Login Complete!
2015/04/15 00:49:14: Server was pinged by a serverlist.
2015/04/15 00:49:15: PHP bot left the server.
2015/04/15 00:49:27: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:27: -Type: 40
2015/04/15 00:49:27: -Data: «
2015/04/15 00:49:27: [NCA]Patrick took off (NCA_B737-500)
2015/04/15 00:49:27: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:27: -Type: 40
2015/04/15 00:49:27: -Data: « @õ À
2015/04/15 00:49:27: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:27: -Type: 40
2015/04/15 00:49:27: -Data: « äØ '
2015/04/15 00:49:28: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:28: -Type: 40
2015/04/15 00:49:28: -Data: « äØ ä$
2015/04/15 00:49:28: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:28: -Type: 40
2015/04/15 00:49:28: -Data: « äØ |"
2015/04/15 00:49:28: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:28: -Type: 40
2015/04/15 00:49:28: -Data: « äØ ú
2015/04/15 00:49:28: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:28: -Type: 40
2015/04/15 00:49:28: -Data: « äØ ì
2015/04/15 00:49:28: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:28: -Type: 40
2015/04/15 00:49:28: -Data: « äØ R
2015/04/15 00:49:28: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:28: -Type: 40
2015/04/15 00:49:28: -Data: « äØ
2015/04/15 00:49:29: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:29: -Type: 40
2015/04/15 00:49:29: -Data: « äØ Þ
2015/04/15 00:49:29: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:29: -Type: 40
2015/04/15 00:49:29: -Data: « äØ ¸
2015/04/15 00:49:29: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:29: -Type: 40
2015/04/15 00:49:29: -Data: « äØ k
2015/04/15 00:49:29: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:29: -Type: 40
2015/04/15 00:49:29: -Data: « äØ
2015/04/15 00:49:29: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:29: -Type: 40
2015/04/15 00:49:29: -Data: « äØ D
2015/04/15 00:49:29: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:29: -Type: 40
2015/04/15 00:49:29: -Data: « äØ ÷
2015/04/15 00:49:30: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:30: -Type: 40
2015/04/15 00:49:30: -Data: « äØ Ñ
2015/04/15 00:49:30: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:30: -Type: 40
2015/04/15 00:49:30: -Data: « äØ
2015/04/15 00:49:32: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:32: -Type: 40
2015/04/15 00:49:32: -Data: « äØ ]
2015/04/15 00:49:32: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:32: -Type: 40
2015/04/15 00:49:32: -Data: « äØ é
2015/04/15 00:49:33: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:33: -Type: 40
2015/04/15 00:49:33: -Data: « äØ Ã
2015/04/15 00:49:33: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:33: -Type: 40
2015/04/15 00:49:33: -Data: « äØ v
2015/04/15 00:49:33: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:33: -Type: 40
2015/04/15 00:49:33: -Data: « äØ
2015/04/15 00:49:36: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:36: -Type: 40
2015/04/15 00:49:36: -Data: « äØ Û
2015/04/15 00:49:39: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:39: -Type: 40
2015/04/15 00:49:39: -Data: « äØ µ
2015/04/15 00:49:48: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:48: -Type: 40
2015/04/15 00:49:48: -Data: « µÛ ä
2015/04/15 00:49:48: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:48: -Type: 40
2015/04/15 00:49:48: -Data: « ç ü
2015/04/15 00:49:48: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:48: -Type: 40
2015/04/15 00:49:48: -Data: « ©ù ñú
2015/04/15 00:49:48: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:48: -Type: 40
2015/04/15 00:49:48: -Data: «
ï
2015/04/15 00:49:48: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:48: -Type: 40
2015/04/15 00:49:48: -Data: « ýÜ
2015/04/15 00:49:48: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:48: -Type: 40
2015/04/15 00:49:48: -Data: « # äØ
2015/04/15 00:49:48: Unknown Packet From [NCA]Patrick
2015/04/15 00:49:48: -Type: 40
2015/04/15 00:49:48: -Data: « ' äØ
2015/04/15 00:50:06: [NCA]Patrick left the server.
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
You're console log looks normal - Packet 40 not recognised yet...It's the turret position on an aircraft! Those messages won't be in the release version of the program.

Alright. I'll get to work on the map packet tonight.
EDIT - map packet updated to Soji's specifications:
EDIT - fixed Bot left the server message.Soji Yamakawa wrote:Actually, xyz and hpb are for older versions, but it should be all zero (or I don't know what's going to happen). So, the last 24 bytes need to be zero.Code: Select all
+0 4 bytes FSNETCMD_LOADFIELD(0x04) +4 32 bytes Field Name +36 4 bytes x +40 4 bytes y +44 4 bytes z +48 4 bytes h +52 4 bytes p +56 4 bytes b
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
- Neocon
- First Class Membership
- Posts: 3896
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1686 times
- Been thanked: 1772 times
- Contact:
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
EDIT - Long strings output into the console will now wrap over lines neatly and will not look messy.
EDIT - All references to "Map" or "MapName" have been changed to "Field" and "FieldName" respectively to better align with the YSFlight Standard.
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
Lots of changes - see @OpenYSProject for specifics.
Not sure what I did right in this version but the build size has dramatically shrunk to 950kb, executables and source included.
https://www.mediafire.com/?dpw1s1hkjjw69ug
- Neocon
- First Class Membership
- Posts: 3896
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1686 times
- Been thanked: 1772 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
New problem, possibly because of the length of the name: Hawaii[PMNV]-EXTENDED and Hawaii[PMNV]-2014 will load in OYS, but I cannot connect to the server. PACIFIC_RIM and TOHOKU_EXT both work.
Also, when you check the command list, you get this:
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
I will wind back the map change to make this the case.
Good to see the map problem solved.
Just need to reformat the message outputs is all - I made a bit of a mess...
- Neocon
- First Class Membership
- Posts: 3896
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1686 times
- Been thanked: 1772 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
Also, changing the time of day doesn't work. Fog seems to work.
- Neocon
- First Class Membership
- Posts: 3896
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1686 times
- Been thanked: 1772 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
EDIT: Sequencers don't seem to work.
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
God damnit all to hell.
- iqmal_97
- Senior Veteran
- Posts: 1773
- Joined: Fri Mar 11, 2011 8:47 am
- Favorite Aircraft: Sukhoi Su-30MKM
- Location: Somewhere in Asia
- OS: Windows 10
- Has thanked: 839 times
- Been thanked: 192 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
Seems he's currently not here, for the time being.
Oh well
*leaves a plate of choc chip cookies and a glass of milk*
Hope you're doing well!

Mein Imgur gallery. Feel free to use any of my screenshots (Crediting me is optional, but greatly appreciated)
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
Should be problems solved now - care to confirm?
- Neocon
- First Class Membership
- Posts: 3896
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1686 times
- Been thanked: 1772 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
I think It is a YSF bug tbh. I must have a closer look at the exact order YSF server sends information to clients - that will allow me to emulate it.
I also have fixed another few rare problems this morning - dump will crash should any thread change. Console multiline output fixed now (I wasn't catching newlines to reset the line counter - it supports colors too now so all should be correct length.
I had a rare bug with the day/night cycler but it appears that it's back to normal now too. Day/Night and Time were not setting the /weather time correctly either so I fixed that too.
I also had a memory leak testing this morning and I'll have to find where that is.
- Flake
- VFA-49
- Posts: 4358
- 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: 1248 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!

- Neocon
- First Class Membership
- Posts: 3896
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1686 times
- Been thanked: 1772 times
- Contact:
[PROGRAM] OpenYS - Open Source YSFlight Server!
Who is online
Users browsing this forum: No registered users and 1 guest