1 (edited by Bryan Tragle 2009-02-28 16:01:57)

Topic: [Solved] Problem with Teeworlds Server Mac app !

Hi,
I discovered this game yesterday and fell in love with it big_smile
But I would like to set up my own server (so that I can play with a friend of mine) but I don't understand very well how Teeworlds server (for Mac) works.
I've created my .cfg file, here it is :

sv_name DM server
sv_max_clients 2
sv_warmup 30
sv_scorelimit 50
sv_timelimit 20
sv_gametype dm
sv_spectator_slots 0

The matter is, my server won't start, and here is the log I got :

49a7de99][engine]: running on unix-macosx-ia32
[49a7de99][engine]: arch is little endian
[49a7de99][engine/datadir]: paths used:
[49a7de99][engine/datadir]:     .
[49a7de99][engine/datadir]:     /Users/me/Library/Application Support/Teeworlds
[49a7de99][engine/datadir]:     data
[49a7de99][engine/datadir]: saving files to: /Users/me/Library/Application Support/Teeworlds
[49a7de99][console]: executing '/Users/me/Desktop/Jeux/Teeworlds/twserver.cfg'
[49a7de99][console]: failed to open 'autoexec.cfg'
[49a7de99][datafile]: datafile loading. filename='maps/dm1.map'
[49a7de99][server]: maps/dm1.map crc is f35c9309
[49a7de99][server]: couldn't open socket. port might already be in use

This may be easy to fix, but I don't know how to do it.
I've searched the forums, but I didn't manage to find a solution for this so...

The major thing that's bothering is that it tries to open an "autoexec.cfg" file, and it logically fails since this file doesn't seem to exist !

Thanks by advance for helping me... Or for redirecting me to an already existing topic wink

(and sorry for my poor English, but this is not my "main language" (I don't know how to say it otherwise))

2 (edited by Landil 2009-02-27 14:38:09)

Re: [Solved] Problem with Teeworlds Server Mac app !

Bryan Tragle wrote:

(and sorry for my poor English, but this is not my "main language" (I don't know how to say it otherwise))

We don't care about your mother tongue, as most of us are not native speakers. smile

It looks like, if your 8303 port is already in use. Try another one.

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: [Solved] Problem with Teeworlds Server Mac app !

It's OK, I've found the solution here :
http://www.teeworlds.com/forum/viewtopic.php?id=2967

I've typed "netstat -an p" in my Terminal and it gave me the list of all the open ports. Thus, I've seen I had made a mistake in the adress too.

Thank you for telling me nothing about the "autoexec.cfg" file, or I would have searched for a long time for this useless file... big_smile