Battle.net server na linuxu

Kovar Jan jan.kovar na onsemi.cz
Pondělí Únor 21 08:29:03 CET 2005


Tak zmena, dostal jsem se dal. Stahnul jsem verzi 4.0.25, ktera mi nesla
zkompilovat pri make to hlasi:

gcc -g -O2   -DHAVE_CONFIG_H   
-DBNETD_DEFAULT_CONF_FILE=\"/usr/local/etc/bnetd.conf\" 
-DD2CS_DEFAULT_CONF_FILE=\"/usr/local/etc/d2cs.conf\" 
-DD2DBS_DEFAULT_CONF_FILE=\"/usr/local/etc/d2dbs.conf\"   -I"." -c 
d2cs/cmdline_parse.c -o d2cs/cmdline_parse.o
d2cs/cmdline_parse.c:66:28: missing terminating " character
d2cs/cmdline_parse.c:68: error: `m' undeclared here (not in a function)
d2cs/cmdline_parse.c:68: error: parse error before "FILE"
d2cs/cmdline_parse.c:73: error: stray '`' in program
d2cs/cmdline_parse.c:77:9: invalid suffix "You" on floating constant
d2cs/cmdline_parse.c:79:1: missing terminating " character
make: *** [d2cs/cmdline_parse.o] Error 1

Ale nasel jsem jeste jednu verzi, neoficialni, ktera mela byt nejnovejsi. Ta
sla nainstalovat, jenze pri pripojeni Stacraft k serveru mi Starcraft
oznami, ze nebylo mozne overit moji verzi a tim to konci. Pritom mam v
bnetd.conf vypnute kontrolovani verzi a navic i pro jistotu zapnute povoleni
spatnych a neznamych verzi. V logu bnetd jsem nasel tohle:

Feb 20 20:12:20 [debug] ipban_check: lastcheck: 0, now: 1108926740, now-lc:
1108926740.
Feb 20 20:12:20 [debug] ipbanlist_unload_expired: checking for expired bans.

Feb 20 20:12:20 [debug] ipban_check: checking 192.168.0.2 
Feb 20 20:12:20 [info] sd_accept: [4] accepted connection from
192.168.0.2:1844 on 0.0.0.0:6112
Feb 20 20:12:20 [info] conn_create: [4][2] sessionkey=0x2993bd93
sessionnum=0x00000001
Feb 20 20:12:20 [debug] sd_accept: [4] client connected to a bnet listening
address
Feb 20 20:12:20 [info] handle_init_packet: [4] client initiated bnet or auth
connection
Feb 20 20:12:20 [debug] sd_tcpinput: [4] got first packet byte ff 
Feb 20 20:12:20 [debug] sd_tcpinput: [4] defered connection class is bnet 
Feb 20 20:12:20 [debug] handle_bnet_packet: [4] COUNTRYINFO_109 packet
tzbias=0xffffffc4(+1073741764) lcid=1029 langid=1029 arch=49583836
client=53544152 versionid=00cb
Feb 20 20:12:20 [debug] handle_bnet_packet: [4] COUNTRYINFO_109 packet from
"Czech Republic" "CZE"
Feb 20 20:12:20 [info] conn_set_archtag: [4] setting client arch to "IX86" 
Feb 20 20:12:20 [info] conn_set_clienttag: [4] setting client type to "STAR"

Feb 20 20:12:20 [debug] handle_bnet_packet: [4] selecting version check 
Feb 20 20:12:20 [debug] handle_bnet_packet: [4] selected "IX86ver1.mpq"
"A=2521522835 B=3428392135 C=218673704 4 A=A^S B=B-C C=C+A A=A-B" 
Feb 20 20:12:20 [debug] ipban_check: lastcheck: 1108926740, now: 1108926740,
now-lc: 0.
Feb 20 20:12:20 [debug] ipban_check: checking 192.168.0.2
Feb 20 20:12:20 [info] sd_accept: [5] accepted connection from
192.168.0.2:1845 on 0.0.0.0:6112
Feb 20 20:12:20 [info] conn_create: [5][2] sessionkey=0x2624609d
sessionnum=0x00000002
Feb 20 20:12:20 [debug] sd_accept: [5] client connected to a bnet listening
address
Feb 20 20:12:20 [info] handle_init_packet: [5] client initiated file
download connection
Feb 20 20:12:20 [warn] file_send: [5] sending no data for file
"IX86ver1.mpq"
Feb 20 20:12:20 [debug] net_recv_packet: [5] remote host closed connection 
Feb 20 20:12:20 [debug] sd_tcpinput: [5] read FAILED (closing connection) 
Feb 20 20:12:20 [info] conn_destroy: [5] closed file connection Feb 20
20:12:29 [debug] sd_tcpinput: [4] read FAILED (closing connection) 
Feb 20 20:12:29 [info] conn_destroy: [4] closed bnet connection

Nejaky napad, kde by mohl byt problem?

Diky

TNX


Další informace o konferenci Linux