1

Topic: Server on notebook (2nd computer in home network) crashes

Hi all,

I have some problems.

I have a simple ad-hoc wi-fi network at home, both computers have Windows XP installed.

Notebook has internet through http://en.wikipedia.org/wiki/Internet Connection Sharing
http://ipicture.ru/uploads/080328/thumbs/VztSly87Rh.png

I'm trying to start server on notebook.
Now, the problem is, my server (0.4.1) crashes whenever I set sv_bindaddr to 172.25.57.11. (My WAN IP)

That's server log...

C:\Program Files\teeworlds>teeworlds_srv.exe -f server.cfg
[47ec79f8][engine]: running on windows-win32-ia32
[47ec79f8][engine]: arch is little endian
[47ec79f8][console]: executing 'server.cfg'
[47ec79f8][console]: failed to open 'C:\Documents and Settings\??? \Appli
Data/Teeworlds/autoexec.cfg'
[47ec79f8][datafile]: datafile loading. filename='data/maps/dm2.map'
[47ec79f8][server]: data/maps/dm2.map crc is f7f812b0
[47ec79f8][server]: [b]couldn't open socket. port might already be in use[/b]

...and server config.

sv_name Nicholas's serv
sv_register 0
sv_bindaddr 172.25.57.11
sv_gametype dm
sv_warmup 7
sv_tournament_mode 1
sv_map dm2
sv_maprotation dm2 dm6
sv_teamdamage 1
sv_max_clients 8
sv_scorelimit 35
sv_powerups 1
sv_timelimit 15

If i set sv_bindaddr to 192.168.0.2, then server starts, but nobody can connect to me from internet, just only from my home network. sad

I did some port forwarding on PC (192.168.0.1),
http://ipicture.ru/uploads/080328/thumbs/E4HbfQNYSY.png
tried to change to UDP, but... server still crashes. sad


So, has anybody the same problem? I wanna to solve it! smile

Regards

2 (edited by Mat 2008-03-28 13:53:36)

Re: Server on notebook (2nd computer in home network) crashes

sv_register 0 ==> sv_register 1

3

Re: Server on notebook (2nd computer in home network) crashes

Yeah, as said by Mat:

Go into your config, and change it to:

sv_name Nicholas's serv
sv_register 1
sv_bindaddr 172.25.57.11
sv_gametype dm
sv_warmup 7
sv_tournament_mode 1
sv_map dm2
sv_maprotation dm2 dm6
sv_teamdamage 1
sv_max_clients 8
sv_scorelimit 35
sv_powerups 1
sv_timelimit 15
Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

4

Re: Server on notebook (2nd computer in home network) crashes

No, it didn't solve the problem.
Maybe it is game bug?? 0.3.4 works fine...