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: 25 times
Contact:

YS Net Tools

Post by vincent » Sun Jul 31, 2011 3:58 pm

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: 482
Joined: Sun Feb 06, 2011 5:13 pm
Favorite Aircraft: F-20A Tigershark
Location: Somewhere between the dykes
Has thanked: 55 times
Been thanked: 38 times

Re: YS Net Tools

Post by Martin-Dutchie » Sun Jul 31, 2011 6:18 pm

This is AWESOME! Thank you very very much for this!

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: 25 times
Contact:

Re: YS Net Tools

Post by vincent » Sun Jul 31, 2011 9:19 pm

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: 1516
Joined: Thu Feb 10, 2011 5:30 am
Favorite Aircraft: Super Hornet
Location: Chicago, Illinois
Has thanked: 59 times
Been thanked: 155 times
Contact:

Re: YS Net Tools

Post by Eric » Mon Aug 01, 2011 7:24 am

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

Shutter

Re: YS Net Tools

Post by Shutter » Mon Aug 01, 2011 3:28 pm

Wow man. Amazing contribution. :D

User avatar
Crazypilot
Honorary Contributor
Honorary Contributor
Posts: 2578
Joined: Wed Jun 22, 2011 4:22 pm
Favorite Aircraft: F-16C
Location: Pakistan
Has thanked: 191 times
Been thanked: 92 times
Contact:

Re: YS Net Tools

Post by Crazypilot » Tue Aug 09, 2011 2:18 am

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.
Boneless Pizza

User avatar
Eric
Senior Veteran
Senior Veteran
Posts: 1516
Joined: Thu Feb 10, 2011 5:30 am
Favorite Aircraft: Super Hornet
Location: Chicago, Illinois
Has thanked: 59 times
Been thanked: 155 times
Contact:

Re: YS Net Tools

Post by Eric » Thu Aug 11, 2011 5:30 pm

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: 1864
Joined: Thu Feb 24, 2011 4:53 pm
Favorite Aircraft: AgustaWestland AW189
Location: Chepstow, Old South Wales
OS: Windows 10
Has thanked: 183 times
Been thanked: 158 times
Contact:

Re: YS Net Tools

Post by Welshy » Thu Aug 11, 2011 5:34 pm

or for us Brits its rated Image :P

YSFHQ Elected Admin
Officer Commanding VMFA-125 (CVW-171)

If you see me post like this in a thread pay attention!
Image

User avatar
Crazypilot
Honorary Contributor
Honorary Contributor
Posts: 2578
Joined: Wed Jun 22, 2011 4:22 pm
Favorite Aircraft: F-16C
Location: Pakistan
Has thanked: 191 times
Been thanked: 92 times
Contact:

Re: YS Net Tools

Post by Crazypilot » Thu Aug 11, 2011 6:59 pm

Every game in pakistan is rated E-FOR EVERYONE.
Which is why we have three year olds shooting up ballas in GTA.
Boneless Pizza

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: 25 times
Contact:

Re: YS Net Tools

Post by vincent » Sat Aug 13, 2011 8:51 pm

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
Staff
Staff
Posts: 4213
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR1000RR (2004).
Location: Australia
OS: Windows 10 (x64)
Has thanked: 790 times
Been thanked: 1101 times
Contact:

Re: YS Net Tools

Post by Flake » Fri Dec 23, 2011 3:11 am

YSNetLog archive contains YSSndMsg instead or YSNetLog... please fix! :oops:

User avatar
Midnight Rambler
Senior Veteran
Senior Veteran
Posts: 2109
Joined: Thu Feb 10, 2011 11:08 pm
Favorite Aircraft: F-16
Location: Australia
OS: Windows 10
Has thanked: 258 times
Been thanked: 355 times

Re: YS Net Tools

Post by Midnight Rambler » Fri Dec 23, 2011 7:03 am

Oh wow, I've never seen these.

That net log would be perfect for a combat event.
Image

User avatar
Crazypilot
Honorary Contributor
Honorary Contributor
Posts: 2578
Joined: Wed Jun 22, 2011 4:22 pm
Favorite Aircraft: F-16C
Location: Pakistan
Has thanked: 191 times
Been thanked: 92 times
Contact:

Re: YS Net Tools

Post by Crazypilot » Fri Dec 23, 2011 7:16 am

Yeah awesome.
Boneless Pizza

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: 25 times
Contact:

Re: YS Net Tools

Post by vincent » Sat Dec 24, 2011 3:01 pm

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 1 guest