Hej
Więc tak
Mam sobie ioquake z CPMA. Wszystko generalnie działa dobrze, online śmiga itd.
Problem pojawia się kiedy próbuję założyć własny serwer. Odpalam go przez .bat o treści:
challengequake3 +set dedicated 2 +set fs_game cpma +set vm_game 2
Wiem, że bat powinien odnosić się do quake3.exe, ale wtedy wywala mi błędy i w ogóle nie chce ruszyć serwera. Może to wina ioquake. To chyba nieistotne.
Odpalając serwer konsola wypluwa mi coś takiego:
CNQ3 1.40 win_msvc-x86 Dec 20 2007
----- FS_Startup -----
Current search path:
OK: F:\Q3A\cpma\z-cpma-pak148.pk3 (498 files)
OK: F:\Q3A\cpma\z-cpma-pak139.pk3 (394 files)
F:\Q3A/cpma
OK: F:\Q3A\baseq3\pak8.pk3 (9 files)
OK: F:\Q3A\baseq3\pak7.pk3 (4 files)
OK: F:\Q3A\baseq3\pak6.pk3 (64 files)
OK: F:\Q3A\baseq3\pak5.pk3 (7 files)
OK: F:\Q3A\baseq3\pak4.pk3 (272 files)
OK: F:\Q3A\baseq3\pak3.pk3 (4 files)
OK: F:\Q3A\baseq3\pak2.pk3 (148 files)
OK: F:\Q3A\baseq3\pak1.pk3 (26 files)
OK: F:\Q3A\baseq3\pak0.pk3 (3539 files)
OK: F:\Q3A\baseq3\map_cpmctf5.pk3 (16 files)
OK: F:\Q3A\baseq3\map_cpmctf3.pk3 (118 files)
OK: F:\Q3A\baseq3\map_cpmctf2.pk3 (57 files)
OK: F:\Q3A\baseq3\map_cpmctf1.pk3 (45 files)
OK: F:\Q3A\baseq3\map_cpma3.pk3 (10 files)
OK: F:\Q3A\baseq3\map_cpm9.pk3 (10 files)
OK: F:\Q3A\baseq3\map_cpm8.pk3 (13 files)
OK: F:\Q3A\baseq3\map_cpm7.pk3 (15 files)
OK: F:\Q3A\baseq3\map_cpm6.pk3 (41 files)
OK: F:\Q3A\baseq3\map_cpm5.pk3 (7 files)
OK: F:\Q3A\baseq3\map_cpm4a.pk3 (74 files)
OK: F:\Q3A\baseq3\map_cpm4.pk3 (7 files)
OK: F:\Q3A\baseq3\map_cpm3a.pk3 (79 files)
OK: F:\Q3A\baseq3\map_cpm3.pk3 (28 files)
OK: F:\Q3A\baseq3\map_cpm29.pk3 (78 files)
OK: F:\Q3A\baseq3\map_cpm28.pk3 (33 files)
OK: F:\Q3A\baseq3\map_cpm27.pk3 (95 files)
OK: F:\Q3A\baseq3\map_cpm26_cpmctf4.pk3 (100 files)
OK: F:\Q3A\baseq3\map_cpm25.pk3 (59 files)
OK: F:\Q3A\baseq3\map_cpm24.pk3 (44 files)
OK: F:\Q3A\baseq3\map_cpm23.pk3 (91 files)
OK: F:\Q3A\baseq3\map_cpm22.pk3 (60 files)
OK: F:\Q3A\baseq3\map_cpm21.pk3 (93 files)
OK: F:\Q3A\baseq3\map_cpm20.pk3 (82 files)
OK: F:\Q3A\baseq3\map_cpm2.pk3 (14 files)
OK: F:\Q3A\baseq3\map_cpm1a.pk3 (57 files)
OK: F:\Q3A\baseq3\map_cpm19.pk3 (58 files)
OK: F:\Q3A\baseq3\map_cpm18r.pk3 (79 files)
OK: F:\Q3A\baseq3\map_cpm18.pk3 (77 files)
OK: F:\Q3A\baseq3\map_cpm17.pk3 (71 files)
OK: F:\Q3A\baseq3\map_cpm16.pk3 (34 files)
OK: F:\Q3A\baseq3\map_cpm15.pk3 (28 files)
OK: F:\Q3A\baseq3\map_cpm14.pk3 (86 files)
OK: F:\Q3A\baseq3\map_cpm13.pk3 (72 files)
OK: F:\Q3A\baseq3\map_cpm12.pk3 (20 files)
OK: F:\Q3A\baseq3\map_cpm11a.pk3 (18 files)
OK: F:\Q3A\baseq3\map_cpm11.pk3 (15 files)
OK: F:\Q3A\baseq3\map_cpm10.pk3 (16 files)
F:\Q3A/baseq3
----------------------
6865 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
CPU: GenuineIntel 16 cores MMX SSE2 SSE3
------- Input Initialization -------
No window for DirectInput mouse init, delaying
Joystick is not active.
------------------------------------
----- R_Init -----
...hardware acceleration found
...enabling FSAA
PIXELFORMAT: color(32-bits) Z(24-bit) stencil(8-bits)
MODE: 6, 1024 x 768 fullscreen hz:60
Initializing Shaders
R_InitFreeType: OK
----- finished R_Init -----
------ Initializing Sound ------
Initializing DirectSound
----- Sound Info -----
1 stereo
32768 samples
16 samplebits
1 submission_chunk
22050 speed
0x11580050 dma buffer
No background file.
----------------------
Sound initialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
VM file ui compiled to 565417 bytes of code
ui loaded in 1347840 bytes on the hunk
74 arenas parsed
35 bots parsed
--- Common Initialization Complete ---
Winsock Initialized
Opening IP socket: localhost:27960
Hostname: Ares
IP: 192.168.1.42
Working directory: F:\Q3A
Proceeding with delayed mouse init
Initializing DirectInput...
DirectInput initialized.
----- CL_Shutdown -----
RE_Shutdown( 1 )
Shutting down OpenGL subsystem
...wglMakeCurrent( NULL, NULL ): success
...deleting GL context: success
...releasing DC: success
...destroying window
...resetting display
-----------------------
Hitch warning: 968 msec frame time
------ Server Initialization ------
Server: CPM10
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
OK: F:\Q3A\cpma\z-cpma-pak148.pk3 (498 files)
OK: F:\Q3A\cpma\z-cpma-pak139.pk3 (394 files)
F:\Q3A/cpma
OK: F:\Q3A\baseq3\pak8.pk3 (9 files)
OK: F:\Q3A\baseq3\pak7.pk3 (4 files)
OK: F:\Q3A\baseq3\pak6.pk3 (64 files)
OK: F:\Q3A\baseq3\pak5.pk3 (7 files)
OK: F:\Q3A\baseq3\pak4.pk3 (272 files)
OK: F:\Q3A\baseq3\pak3.pk3 (4 files)
OK: F:\Q3A\baseq3\pak2.pk3 (148 files)
OK: F:\Q3A\baseq3\pak1.pk3 (26 files)
OK: F:\Q3A\baseq3\pak0.pk3 (3539 files)
OK: F:\Q3A\baseq3\map_cpmctf5.pk3 (16 files)
OK: F:\Q3A\baseq3\map_cpmctf3.pk3 (118 files)
OK: F:\Q3A\baseq3\map_cpmctf2.pk3 (57 files)
OK: F:\Q3A\baseq3\map_cpmctf1.pk3 (45 files)
OK: F:\Q3A\baseq3\map_cpma3.pk3 (10 files)
OK: F:\Q3A\baseq3\map_cpm9.pk3 (10 files)
OK: F:\Q3A\baseq3\map_cpm8.pk3 (13 files)
OK: F:\Q3A\baseq3\map_cpm7.pk3 (15 files)
OK: F:\Q3A\baseq3\map_cpm6.pk3 (41 files)
OK: F:\Q3A\baseq3\map_cpm5.pk3 (7 files)
OK: F:\Q3A\baseq3\map_cpm4a.pk3 (74 files)
OK: F:\Q3A\baseq3\map_cpm4.pk3 (7 files)
OK: F:\Q3A\baseq3\map_cpm3a.pk3 (79 files)
OK: F:\Q3A\baseq3\map_cpm3.pk3 (28 files)
OK: F:\Q3A\baseq3\map_cpm29.pk3 (78 files)
OK: F:\Q3A\baseq3\map_cpm28.pk3 (33 files)
OK: F:\Q3A\baseq3\map_cpm27.pk3 (95 files)
OK: F:\Q3A\baseq3\map_cpm26_cpmctf4.pk3 (100 files)
OK: F:\Q3A\baseq3\map_cpm25.pk3 (59 files)
OK: F:\Q3A\baseq3\map_cpm24.pk3 (44 files)
OK: F:\Q3A\baseq3\map_cpm23.pk3 (91 files)
OK: F:\Q3A\baseq3\map_cpm22.pk3 (60 files)
OK: F:\Q3A\baseq3\map_cpm21.pk3 (93 files)
OK: F:\Q3A\baseq3\map_cpm20.pk3 (82 files)
OK: F:\Q3A\baseq3\map_cpm2.pk3 (14 files)
OK: F:\Q3A\baseq3\map_cpm1a.pk3 (57 files)
OK: F:\Q3A\baseq3\map_cpm19.pk3 (58 files)
OK: F:\Q3A\baseq3\map_cpm18r.pk3 (79 files)
OK: F:\Q3A\baseq3\map_cpm18.pk3 (77 files)
OK: F:\Q3A\baseq3\map_cpm17.pk3 (71 files)
OK: F:\Q3A\baseq3\map_cpm16.pk3 (34 files)
OK: F:\Q3A\baseq3\map_cpm15.pk3 (28 files)
OK: F:\Q3A\baseq3\map_cpm14.pk3 (86 files)
OK: F:\Q3A\baseq3\map_cpm13.pk3 (72 files)
OK: F:\Q3A\baseq3\map_cpm12.pk3 (20 files)
OK: F:\Q3A\baseq3\map_cpm11a.pk3 (18 files)
OK: F:\Q3A\baseq3\map_cpm11.pk3 (15 files)
OK: F:\Q3A\baseq3\map_cpm10.pk3 (16 files)
F:\Q3A/baseq3
----------------------
13730 files in pk3 files
Loading vm file vm/qagame.qvm...
VM file qagame compiled to 2023334 bytes of code
qagame loaded in 3132864 bytes on the hunk
------- Game Initialization -------
gamename: cpma
gamedate: Jul 27 2010
------------------------------------------------------------
InitGame: \g_needpass\0\GTV_CN\1\sv_arenas\1\gameversion\1.48\gamedate\Jul 27 2010\gamename\cpma\game\CPMA\sv_allowDownload\0\sv_privateClients\0\mapname\CPM10\protocol\68\g_gametype\0\timelimit\0\fraglimit\20\version\CNQ3 1.40 win_msvc-x86 Dec 20 2007\server_gameplay\CPM\g_maxGameClients\0\sv_floodProtect\0\sv_maxPing\0\sv_minPing\0\sv_maxRate\0\sv_minRate\0\sv_maxclients\8\sv_hostname\Rakietnica Party\sv_fps\30
0 teams with 0 entities
Loaded arena 0 (Use of Weapons by Decker)
Game_Start: ??? in arena 0
broadcast: print "Standard Mode: 1v1\n"
broadcast: print "Base Game: 1v1\n"
broadcast: print "All Powerups : DISABLED\n"
broadcast: print "All Holdables: DISABLED\n"
broadcast: print "Overtime Mode: 2-minute Periods\n"
broadcast: print "Timelimit: 10\n"
broadcast: print "Weapon Respawn Delay: 15\n"
Game_Start: 1v1 in arena 0
Loading maplist from cfg-maps/1v1maps.txt
Parsing classes/tank.cfg
Parsing classes/sniper.cfg
Parsing classes/scout.cfg
Parsing classes/fighter.cfg
Gametype changed, clearing session data.
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/CPM10.aas
loaded maps/CPM10.aas
found 39 level items
-------------------------------------
35 bots parsed
74 arenas parsed
ERROR: Could not open player filter file "filters.txt"
*** Player filters DISABLED.
*** Player name restrictions DISABLED
*** Admin logging DISABLED
>>> MOTD: Setting MOTD through cvars
AAS initialized.
-----------------------------------
Resolving master.quake3arena.com
master.quake3arena.com resolved to 192.246.40.56:27950
Sending heartbeat to master.quake3arena.com
Serwer działa i jest widoczny dla wszystkich w sieci lokalnej. Problem w tym, że ma adres 192.168.1.42, czyli lokalny adres mojego kompa przydzielony przez DHCP routera. Mam ustawiony port forwarding na port 27960 do tego samego adresu (192.168.1.42) oraz przydzielone przez dostawcę internetu zewnętrzne IP.
Z tego co rozumiem, Quake powinien od razu skumać że mam ten zewnętrzny adres i na nim postawić serwer, szczególnie, że wyłuszczyłem mu w pliku .bat +set dedicated 2, czyli serwer dedykowany na internet. Nawet puka sobie do master servera, tylko co z tego skoro nikt poza moją siecią lokalną nie jest w stanie się ze mną połączyć, niezależnie czy użyją mojego zewnętrznego IP czy wewnętrznego lokalnego? Każdy dostaje wiecznie odliczające "Awaiting challenge", a konsola serwera wogóle nie rejestruje jakiejkolwiek próby połączenia.
Raz zdarzyła się dziwna rzecz - jak grzebałem w ustawieniach, to zauważyłem na konsoli że przez kilka minut był połączony jakiś randomowy koleś. To na bank nie był bot. Nie mam bladego pojęcia jak on wszedł, skoro serwer jest widoczny wyłącznie dla mojej zahasłowanej sieci lokalnej, w której jestem wyłącznie ja i moje trzy komputery. Nie mam zainstalowanego żadnego Hamachi, Tunngle ani temu podobnych.
Spotkał się kiedyś ktoś z czymś takim? Jak zmusić bydlaka, żeby serwer znajdował się na moim zewnętrznym IP?!
Z góry dzięki