1 (edited by GSGDani 2010-03-06 14:06:32)

Topic: [TOOL] TW Server Logger

Hi all,

i made a very small script that allows you to log the teeworlds server console under windows easy.

If you want to change the server file right click on config.cmd -> edit (see screenshot)

Screens:
http://img84.imageshack.us/img84/2817/logger1mg9.png

Config:
http://img84.imageshack.us/img84/6330/logger2rm9.png


I hope this tool is usefull at least for some people smile ..
Download Filebin.ca
Download #2 Rapidshare.com
Download #3 Zippyshare.com
Sample Log:

============================================================ 
Teeworlds Server started on 11.01.2009 1:06:23,75 
============================================================ 
 
[496937ff][engine]: running on windows-win32-ia32
[496937ff][engine]: arch is little endian
[496937ff][console]: executing 'C:\Dokumente und Einstellungen\Daniel\Anwendungsdaten/Teeworlds/settings.cfg'
[496937ff][console]: failed to open 'C:\Dokumente und Einstellungen\Daniel\Anwendungsdaten/Teeworlds/autoexec.cfg'
[496937ff][datafile]: datafile loading. filename='data/maps/dm1.map'
[496937ff][server]: data/maps/dm1.map crc is e6991fb3
[496937ff][server]: server name is 'unnamed server'
[496937ff][datafile]: loading data index=10 size=325
[496937ff][game]: -- Death Match --
[496937ff][server]: version 0.4 1bd7780b0f76307c
[496937ff][engine/mastersrv]: refreshing master server addresses
[496937ff][register]: refreshing ip addresses
[496937ff][engine/mastersrv]: saving addresses
[496937ff][register]: fetching server counts
============================================================ 
Teeworlds Server started on 11.01.2009 1:06:25,79 
============================================================ 
 
[49693801][engine]: running on windows-win32-ia32
[49693801][engine]: arch is little endian
[49693801][console]: executing 'C:\Dokumente und Einstellungen\Daniel\Anwendungsdaten/Teeworlds/settings.cfg'
[49693801][console]: failed to open 'C:\Dokumente und Einstellungen\Daniel\Anwendungsdaten/Teeworlds/autoexec.cfg'
[49693801][datafile]: datafile loading. filename='data/maps/dm1.map'
[49693801][server]: data/maps/dm1.map crc is e6991fb3
[49693801][server]: server name is 'unnamed server'
[49693801][datafile]: loading data index=10 size=325
[49693801][game]: -- Death Match --
[49693801][server]: version 0.4 1bd7780b0f76307c
[49693801][engine/mastersrv]: refreshing master server addresses
[49693801][register]: refreshing ip addresses
[49693801][engine/mastersrv]: saving addresses
[49693801][register]: fetching server counts
Remember me? Questions? Just leave a message, I will respond within 72 hrs!

2

Re: [TOOL] TW Server Logger

n1 smile

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

3

Re: [TOOL] TW Server Logger

aww that's nice!it really helps!

Last edited by D'Artagnian

4

Re: [TOOL] TW Server Logger

Dani?
u made survival mod?

«Honor øf Tees»
hot.bplaced.net/forum
We still search good Members

5

Re: [TOOL] TW Server Logger

@Coold0wn no i dont made it.. and pls ask this in a pm smile

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

6

Re: [TOOL] TW Server Logger

i dont know why but i cant start the ddrace server with this server logger

4b4c807a][server]: added option 'sv_map [BS]race\par'
[4b4c807a][server]: added option '--------------Funvote--------------\par'
[4b4c807a][server]: added option 'Do you like my server ?\par'
[4b4c807a][server]: added option 'Do you like eXo-maps?\par'
[4b4c807a][server]: added option 'Do you know who`s server that is?\par'
[4b4c807a][datafile]: datafile loading. filename='maps/eXXo_Freeze\par.map'
[4b4c807a][server]: failed to load map. mapname='eXXo_Freeze\par'

thats my config.cmd

REM Teeworlds Server Logger Config


REM C:\Dokumente und Einstellungen\....\Desktop\Sachen\teeworlds-0.5.1-win32

REM ----------- Default -----------
REM 
REM set game=teeworlds_srv.exe

REM OR

REM set game=teeworlds_srv.exe -f autoexec.cfg

REM ============================================


REM C:\Dokumente und Einstellungen\....\Desktop\Sachen\teeworlds-0.5.1-win32

set game=teeworlds_srv_ddrace.exe


REM End of Config

.... = username

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

7

Re: [TOOL] TW Server Logger

http://www.teeworlds.com/forum/viewtopic.php?id=629

8 (edited by jxsl13 2010-01-12 17:31:44)

Re: [TOOL] TW Server Logger

with the other tool its hard to make a connection to the server, but i still cant start the server

[4b4c985f][engine]: running on windows-win32-ia32
[4b4c985f][engine]: arch is little endian
[4b4c985f][engine/datadir]: paths used:
[4b4c985f][engine/datadir]:     .
[4b4c985f][engine/datadir]:     C:\Dokumente und Einstellungen\....\Anwendungsdaten/Teeworlds
[4b4c985f][engine/datadir]:     data
[4b4c985f][engine/datadir]: saving files to: C:\Dokumente und Einstellungen\....\Anwendungsdaten/Teeworlds
[4b4c985f][console]: executing 'autoexec.cfg'
[4b4c985f][server]: added option '----------------Maps----------------\par'
[4b4c985f][server]: added option 'sv_map eXo_race\par'
[4b4c985f][server]: added option 'sv_map eXXo_Freeze\par'
[4b4c985f][server]: added option 'sv_map eXo_freeze2\par'
[4b4c985f][server]: added option 'sv_map exo_freeze Dayudocama\par'
[4b4c985f][server]: added option 'sv_map eXo_Freeze\par'
[4b4c985f][server]: added option 'sv_map eXo_GoHome\par'
[4b4c985f][server]: added option 'sv_map eXo_Real\par'
[4b4c985f][server]: added option 'sv_map 2hard4u\par'
[4b4c985f][server]: added option 'sv_map ddracemap\par'
[4b4c985f][server]: added option 'sv_map ddracemap2\par'
[4b4c985f][server]: added option 'sv_map koule II\par'
[4b4c985f][server]: added option 'sv_map Mario\par'
[4b4c985f][server]: added option 'sv_map mbm\par'
[4b4c985f][server]: added option 'sv_map Race_Evolution_2.1\par'
[4b4c985f][server]: added option 'sv_map Saw_ddrace2\par'
[4b4c985f][server]: added option 'sv_map [BS]race\par'
[4b4c985f][server]: added option '--------------Funvote--------------\par'
[4b4c985f][server]: added option 'Do you like my server ?\par'
[4b4c985f][server]: added option 'Do you like eXo-maps?\par'
[4b4c985f][server]: added option 'Do you know who`s server that is?\par'
[4b4c985f][datafile]: datafile loading. filename='maps/eXXo_Freeze\par.map'
[4b4c985f][server]: failed to load map. mapname='eXXo_Freeze\par'

its the same error
where has the map to be in ?

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

9

Re: [TOOL] TW Server Logger

eeeh... jxsl12, the current version of teeworlds can create a logfile without any tool, just write logfile /path/to/file into you config.

10

Re: [TOOL] TW Server Logger

Does it log Names and IPs ?

11

Re: [TOOL] TW Server Logger

It logs everything that you can read on the normal console

12

Re: [TOOL] TW Server Logger

I'd like to see its sources.

Not Luck, Just Magic.

13 (edited by jxsl13 2010-01-13 07:10:43)

Re: [TOOL] TW Server Logger

hmm it does, thank u erd_baer
make in your directory a file with the name log.txt

logfile C:\Dokumente und Einstellungen\....\Desktop\Teeworlds-Z\log.txt

i prefer a .rtf file, because it allows u a better view on the details

logfile C:\Dokumente und Einstellungen\....\Desktop\Teeworlds-Z\server_log.rtf
Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

14

Re: [TOOL] TW Server Logger

Good Job, it works perfectly and it's very useful! ty

15

Re: [TOOL] TW Server Logger

Hip-Hop_BLOND wrote:

Good Job, it works perfectly and it's very useful! ty

Please look at the date of a topic when posting.

Ex-King of Teeworlds

16

Re: [TOOL] TW Server Logger

I'm sorry, I'm from Bulgaria and here the date format is switched -> dd.mm.yy so i thought the month was October... whatever, can't i say what I think anyway...