PDA

View Full Version : Dedicated Server logger



Nutty_101
May 5 2007, 06:16
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&#58;

-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 &#40;Must be created&#41; and posting the events to a website at arma.someplace.com.

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


Requirements&#58;
Dot Net 2.0 - Should have this anyway.
[/QUOTE]

Link: Offline for moment.

jerryhopper
May 7 2007, 15:14
Nice that you posy it Nutty, but the readme is - or- outdated, or the ADL contains the date and &#39;&&#39; bug.

Could you &#39;version stamp&#39; your builds please?

Next to that - this tool rox&#33;

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

Nutty_101
May 7 2007, 19:54
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.

jerryhopper
May 7 2007, 23:21
so, i assume this tool is being revised, retested, and republished when ready yes?

thnxz

Nutty_101
May 7 2007, 23:22
Its junk. Laugh&#33; Yeah, i need to re-think some of the setup for it. Ill post it up again once working the correct way.