Batch File Parser for Tmos 0.62

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

Post Reply
User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Batch File Parser for Tmos 0.62

Post by w1lla » 24 Aug 2007 13:20

After looking for a program to parse the logfile to stats i found a good way to do so.

Aseco uses a batch file to parse the aseco log and aseco.php

What i did is this:

Code: Select all

@echo off

rem ****** Set here your php path *******

set INSTPHP=D:\Nieuwe map\tmn\fasttmn\tmweb\Php


rem *************************************

PATH=%PATH%;%INSTPHP%;%INSTPHP%\extensions
"%INSTPHP%\php.exe" tmos_parser.php

pause
This uses the tmos_parser.php to parse your own log of the files to the stats.

Some Instructions to let it work:
1. Make a new Text document and enter the above code in.
2. Change: set INSTPHP=D:\Nieuwe map\tmn\fasttmn\tmweb\Php to your own rootmap of PHP, like for example :xampp of usbwebserver.
3. Then when this u save it to for example: parse.bat or something else with extension .bat
4. Now you start to run the batch program and it will parse your log file to the stats.
5. After this u can press a key to shutdown the program

U you do not believe it works check your admin.php to see it for yourself i am not joking.


If u have comments please report them here or if u want an improvement please respond.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

Post Reply