YS Net Tools

Note that alterations to the YSFlight .EXE is forbidden
Post Reply
User avatar
vincent
Contributor
Contributor
Posts: 202
Joined: Wed Feb 02, 2011 7:31 pm
Favorite Aircraft: virtual ones
Location: Toulouse, France
Has thanked: 1 time
Been thanked: 26 times
Contact:

YS Net Tools

Post by vincent »

YS NET TOOLS
a set of tools for server owners.


History
ys-net-tools is the fruits of several years of work on the YSFlight network protocol.
After YSChat followed by the ysRadarServer both in Python I understood that network tools couldn't be made with interpreted language. Then came YSPS which was coded in C#. But YSPS suffered lag problems from time to time. That's why I took the decision in 2009 to create a new library to use the YSF protocol from scratch again with a low level language: C++. Unfortunately, what you can do in a few minutes in C#, requires sometimes hours of searches, tries and failures with low level languages. I had to tackle problems of cross-compilation, discover at my expense the consequences of the rule of the 4 bits in structs, ...
After several periods of stall, after several redesign, the library took shape, but the project is still unfinished.


ys-sndmsg
a program to just send a message to your YSFlight server.

What for?
Wasn't there a day you thought: "I'd like to be warned on my YSFlight server when xx happens and is trigerred by yy"?
Let's say you have a script which changes the map automatically every 3 hours, you would like it to send a message on your YSF server to warn the users.
You may want that when you shutdown your computer, your logout-script sends a message on your server.
You may want to send automatically every xx minutes the same message.
In all the cases you need a program able of doing the simple function of "sending a message on your YSFlight server"

How to use it?
ys-sndmsg YS-NET-VERSION MESSAGE
will send "MESSAGE" on localhost:7915
See the README.txt for more information.


Download
Windows user
Linux 32 bits user
Linux 64 bits user


ys-netlog
a program to log everything happens on your YSFlight server.

What for?
You may want to know everything had been said on your server, such has YSChat but with a command line program.
You would like to log who killed who/what and with what weapon.


How to use it?
Just launch ys-netlog, it will log everything happens in log.xml
See the README.txt for more information.

Download
Windows user
Linux 32 bits user
Linux 64 bits user


ysrace
a program to organize race events.

What for?
You would like to organize a race event but don't have enough time to check the racers don't cheat, neither to time them, ysrace is for you!


How to use it?
ysrace CHECKPOINT_FILE.race
to monitor localhost:7915
See the README.txt for more information.


Download
Linux 64 bits user

More to come ...
User avatar
Martin-Dutchie
Contributor
Contributor
Posts: 486
Joined: Sun Feb 06, 2011 5:13 pm
Favorite Aircraft: F-20A Tigershark
Location: Somewhere between the dykes
Has thanked: 56 times
Been thanked: 47 times

Re: YS Net Tools

Post by Martin-Dutchie »

This is AWESOME! Thank you very very much for this!
Image
User avatar
vincent
Contributor
Contributor
Posts: 202
Joined: Wed Feb 02, 2011 7:31 pm
Favorite Aircraft: virtual ones
Location: Toulouse, France
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: YS Net Tools

Post by vincent »

I've added pthreadGC2.dll I had forgotten in ys-netlog and a new program: ysrace which had been use here.
I am fighting with the Windows version which doesn't gave me the same results.
User avatar
Eric
Senior Veteran
Senior Veteran
Posts: 1547
Joined: Thu Feb 10, 2011 5:30 am
Favorite Aircraft: Super Hornet
Location: Chicago, Illinois
Has thanked: 61 times
Been thanked: 166 times
Contact:

Re: YS Net Tools

Post by Eric »

[mod=YS Net Tools]
Image
APPROVED SOFTWARE
[/mod]
Stickied for awesomeness.
I make this website.
Shutter

Re: YS Net Tools

Post by Shutter »

Wow man. Amazing contribution. :D
Crazypilot
Honorary Contributor
Honorary Contributor
Posts: 2668
Joined: Wed Jun 22, 2011 4:22 pm
Favorite Aircraft: Cheese
Location: Cheese
OS: Cheese
Has thanked: 372 times
Been thanked: 185 times
Contact:

Re: YS Net Tools

Post by Crazypilot »

Now all we need is a software connected to YSFHQ and can identify users by their names and their ages and remove any mature chat posts.
User avatar
Eric
Senior Veteran
Senior Veteran
Posts: 1547
Joined: Thu Feb 10, 2011 5:30 am
Favorite Aircraft: Super Hornet
Location: Chicago, Illinois
Has thanked: 61 times
Been thanked: 166 times
Contact:

Re: YS Net Tools

Post by Eric »

Crazypilot wrote:Now all we need is a software connected to YSFHQ and can identify users by their names and their ages and remove any mature chat posts.
YSFHQ does not have jurisdiction over the servers. Therefore, it is up to server owners to moderate their server as they see fit.
Though YS is rated Image,
esrb.org wrote:Online-enabled games carry the notice "Online Interactions Not Rated by the ESRB." This notice warns those who intend to play the game online about possible exposure to chat (text, audio, video) or other types of user-generated content (e.g., maps, skins) that have not been considered in the ESRB rating assignment.
TL;DR: Don't bother going on servers if you are worried about this stuff, because you have to assume there will be mature content.
Now back on topic...
I make this website.
User avatar
Welshy
Staff
Staff
Posts: 2042
Joined: Thu Feb 24, 2011 4:53 pm
Favorite Aircraft: Sea Jet
Location: Wales
OS: Windows NT
Has thanked: 249 times
Been thanked: 254 times
Contact:

Re: YS Net Tools

Post by Welshy »

or for us Brits its rated Image :P
YSFHQ Elected Overlord
Overlord of VMFA-125 (CVW-171)
Previously Supreme Overlord of 323rd CAW
Friendly Neighbourhood Miscreant
Head Honcho at Talking Aero and British Defence
If you see me post like this in a thread pay attention!
Crazypilot
Honorary Contributor
Honorary Contributor
Posts: 2668
Joined: Wed Jun 22, 2011 4:22 pm
Favorite Aircraft: Cheese
Location: Cheese
OS: Cheese
Has thanked: 372 times
Been thanked: 185 times
Contact:

Re: YS Net Tools

Post by Crazypilot »

Every game in pakistan is rated E-FOR EVERYONE.
Which is why we have three year olds shooting up ballas in GTA.
User avatar
vincent
Contributor
Contributor
Posts: 202
Joined: Wed Feb 02, 2011 7:31 pm
Favorite Aircraft: virtual ones
Location: Toulouse, France
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: YS Net Tools

Post by vincent »

Ysrace updated with the checkpoint-list of the YSAS race!

Warning, lib_checkpoint_check.so was changed and is not the same version of the one included in netlog and sndmsg!!
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: YS Net Tools

Post by Flake »

YSNetLog archive contains YSSndMsg instead or YSNetLog... please fix! :oops:
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
Midnight Rambler
Staff
Staff
Posts: 2136
Joined: Thu Feb 10, 2011 11:08 pm
Favorite Aircraft: F-16
Location: Australia
OS: Windows 11
Has thanked: 267 times
Been thanked: 374 times

Re: YS Net Tools

Post by Midnight Rambler »

Oh wow, I've never seen these.

That net log would be perfect for a combat event.
Image
Crazypilot
Honorary Contributor
Honorary Contributor
Posts: 2668
Joined: Wed Jun 22, 2011 4:22 pm
Favorite Aircraft: Cheese
Location: Cheese
OS: Cheese
Has thanked: 372 times
Been thanked: 185 times
Contact:

Re: YS Net Tools

Post by Crazypilot »

Yeah awesome.
User avatar
vincent
Contributor
Contributor
Posts: 202
Joined: Wed Feb 02, 2011 7:31 pm
Favorite Aircraft: virtual ones
Location: Toulouse, France
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: YS Net Tools

Post by vincent »

Error fixed.
Don't forget to clean your cache before downloading, while I was doing my tests, chromium was so lazy downloading again that it kept showing me the old file.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests