Jump to content
Sign in to follow this  
DBR_ONIX

FlashStat

Recommended Posts

In Short :

A online (multiplayer) ranking site. Also serves as a dynamic sig site

The idea :

To use a server running FWATCH, and the CoC_NetworkServices scripts, and a site/database.

When a unit kills another unit/vehicle, the information is passed to the server, and then the server passes this, along with an ID and password to the site.

So it would pass who was killed, who was the killer, whether any of them were AI, or civillians/non-enemys (Unjustified kill, basicly)

Then, from this information, we can :

Have listings for a certain player on how many kills/deaths on a certain server, or on all servers (This will not be used for a global ranking system, as a player on a DM server will get more kills than someone on a coop server).

This could be put in the players signature (The ammount of kills /deaths on their favourite server, for example)

Have listings for a server, which shows total kills/deaths, also current players on server etc (We would use the server query code, which was written by someone who's name I can't remeber at this time : Daddsq?)

How it works :

The way I can see it working, is if a server signs up at the service, gives a UserID (Username), password, server details (name, IP, addons used etc).

Then, when info is passed, the server's ID is stored, thus allowing you to find all kills by Player0123 on serverID Server3210.

The OFP side of things : use Fwatch to transfer the data by accessing a script (WGET) on a the website, like :

?killerName=DBR_ONIX&id=123123

?killedName=Someone&id=123123

etc

(This is to get around the 128 charater limit in the Load command. The ID is so the site knows that the killerName, killedName etc are from the same unit. This is generated randomly on the server, and can be accessed in the script. But that's not important, and has been worked out)

What else :

Theres a few "Now playing" winamp plugins (Not sure about WMP, but I'm sure there will be). We could include a "Last Song Listened to : " line on the signature easily using this (To configure you would point the plugin towards the flashstat site, in the additional arugments box, put something like username=blah&password=blah2).

What's involved for mission designers/server admins : Include the COC_NS folder in each mission which stats are used on (This could be automated by a simple program), the FlashStat script folder, and a line in the init. Finaly/most importantly : The username and password stored in a file in the OFP root.

(The script would then be run, thus allowing it to be passed to the website, without the file being included in the mission)

In short again :

It would allow ranking of any online multiplayer server, and allow the server's website to include statisics from their server, and have a dynamic signature, which could hold information from a favourite server, Now Playing winamp server, and if someone thinks of a good idea that is possible to do, that too.. Think of it like a customised Xfire service, but with far more information

------------------------------------------------

Basicly, would such a service be used? Would servers be intersted in using this?

If it were to go ahead, I would need a hand to finish the OFP scripting, justnow it only works when a player shoots another playing, it doesn't record vehicles being blowen up, and if a player explodes a vehicle full of 20 enemys, there would be 20 requests to the server at one time, which would is bad for lag.. So it needs optimised a lot (Maybe store the kills, and every minute go though them and send them, with a delay between each)

Lastly, here's what my current signature looks like (In the final version, there will be more information on it, and it will be hosted by FlashStat. I'm putting it on Photobucket/removing the URL as the site is currently being worked on)

FlashStatCurrentSig.jpg

Any feedback, suggestions, or anyone wanting to help (OFP Multiplayer coders, or good PHP/MySQL coders are both needed)

Feedback would be espically welcome from people who run MP servers, wether or not they would include the service on their server (As stated, a simple program could go though each PBO, decompress it, put in the nessisary files/line in INIT, and recompress it. And the server would need to be running with FWATCH..)

Thanks smile_o.gif

- Ben

{Edit : Added bold titles, makes it a bit easier to read}

Share this post


Link to post
Share on other sites

all i can say is finaly!!

Make sure to add

Armour killls, Soft kills, Light kills and total minutes played.

If you can get it to work with the eventhandlers where its not to laggy, Get a total shots fired to a total shots hit and give us a % of how of many bullets hitted out of 100 ect.

:P

Share this post


Link to post
Share on other sites

The multiplayer forum is the place to discuss things relating to multiplayer. Moving.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×