Jump to content
Sign in to follow this  
Nutty_101

Dedicated Server logger

Recommended Posts

I am releasing a small utility that will allow you to log the console messages to a file and or post player connection or disconnects to a webserver. It will post Name, Date/time, Cd ID, Connect/Disconnect to a website via a url.

Contents of the read me.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

Armed Assault Dedicated Server Logger.

This is a command line tool. To use this tool you will need to provide several arguments. Only one is required.

Arguments:

-filename {Server Exe filename}

The filename argument is to provide the software the location of armed assaults dedicated server exe. This argument is required

-logname {path and Filename of logfile}

The logname argument is used to log the console messages to a text file. This file is not locked and can be processed by another program. If you want the logs named by date just add %DATE to the line and it will toss in a date formated 05-28-07. May 28th 2007.

-player {Url {0}=Date/Time,{1}=PlayerName,{2}=CdID,{3}={0=Connect/1=Disconnect}}

This will cause the system to post the player connect & disconnect events to a URL of your choice. You will need to insert the argument markers as noted above. They have to be in the brackets to work. The {3} will return a 0 or a 1. A 0 means the user connected, a 1 means the user has disconnected from the server.

Here is a quick example of running the program with file logging by date in the logs folder (Must be created) and posting the events to a website at arma.someplace.com.

Example: Armaded.exe -filename arma_server.exe -logname Logs\DLOG-%DATE.LOG -player http://arma.someplace.com/user.php?id=123123&joined={0}&name={1}&cdid={2}&action={3}

Requirements:

Dot Net 2.0 - Should have this anyway.

Link: Offline for moment.

Share this post


Link to post
Share on other sites

Nice that you posy it Nutty, but the readme is - or- outdated, or the ADL contains the date and '&' bug.

Could you 'version stamp' your builds please?

Next to that - this tool rox!

Example of stuff it grabs in some text format output : http://arma.valuenet.nl/log.txt

Share this post


Link to post
Share on other sites

Yeah, i have started to include version files with all my releases from now on. So people can see what changes were made. You should see this in the latest pid poster/logger file.

Share this post


Link to post
Share on other sites

so, i assume this tool is being revised, retested, and republished when ready yes?

thnxz

Share this post


Link to post
Share on other sites

Its junk. Laugh! Yeah, i need to re-think some of the setup for it. Ill post it up again once working the correct way.

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  

×