Hallo,
Ik zou graag een Medal of Honor Allied Assault server hosten, maar niemand kan mijn server bereiken.
Mijn werkwijze:
Eerst heb ik mezelf een statisch IP-adres toegewezen, 192.168.2.100
Dan heb ik al de juiste poorten geforward:
Vervolgens heb ik in de main map van het spel een bestand gemaakt: server.cfg
Ik heb op mijn pc ook mijn Firewall uitgeschakeld.Code:// Edit to fit your preferences. // <- Slash marks for comments in this file, ignored by program // server name that will show up on the game browser, gamespy, or other server browser tools. // Put YOUR server name in the quotes (unless you want to promote TMMworld) seta sv_hostname "myPROserver212" // Public Information // following four fields do not show up in gamespy, but they will in All-Seeing-Eye, possibly other tools Sets "Admin" "tremon" Sets "Clan" "no clan" Sets "Connection" "Cable" Sets "URL" "http://www.tremon.com" Sets "email" "email address" Sets "Location" "here" Sets "CPU" "P4 2Ghz" Sets "Plug" "Visit TMMworld.com today!" // Remote Console, or RCON passoword allows for remote server administration // a password is also used if running tools such as counter intelligence seta rconpassword "xxx" // maximum number of players allowed sv_maxclients "10" // If you have multiple machines behind the router and want to point to a specific machine // you would enter the internal IP address for the machine here. just remove the hash marks (//) and // update with the IP of your machine. If you don't know what this is, don't change anything. set net_IP 192.168.2.100 // Sets aside private slots so if server fills, you can still get into the game. // You enter the password from your game, within the console and the join the server // If maxclients is 12, setting this to 1 leaves 11 public. You can have as many // private slots as you like, as long as it doesn't exceed the max clients number. set sv_privateClients "1" set sv_privatepassword "ZZZ" // game type 1=DM Free For All 2=DM Teammatch 3=roundbased 4=objective g_gametype 2 // minimum ping? why bother? unless you want to keep low ping players out, including yourself. sv_minping "0" //sv pure pak checker, if on, should not allow clients to use PAK files the server does not have //0=off 1=on Not so sure this works with MOHAA sv_pure 0 // Flooding of messages from other clients too many too fast, this will help stop it sv_floodProtect 1 sv_flood_waitdelay 10 sv_flood_persecond 4 sv_flood_msg 5 //max ping keeps anyone with a higher ping than this value from connecting sv_maxping "999" // team damage friendly fire 0=off 1=on g_teamdamage "0" // allows Gamespy browser 1=yes 0=no sv_gamespy "1" // inactive spectate is seconds of inactivity before moved to spectator g_inactiveSpectate "120" // inactive kick is seconds that a client will be kicked for inactivity g_inactiveKick "300" // max data transmit rate by clients on the server - depends on network sv_maxrate 6000 // sv_fps 20 // allow downloads 0=off 1=on But does not seem to work in MOHAA sv_allowDownload 1 // time limit for game 0=no limit (in minutes) timelimit "20" //set frag limit to end game. 0=none fraglimit "0" //net-niopx disallows IPX connections, TCP only net port 12203 net_niopx 1 // sets the UDP port. If you need to direct to a different port, you can change this but // if you do not know what you are doing, I suggest you just leave it alone. :) net_port 12203 // You can play with some of these settings if you dare, but if you have a dedicated server running and // see only the console, you can pass in game chat to the console. Prepare for alot of data! // Remove hash marks if you dare :) // set developer 2 // set chat 1 // seta sv_chatter 1 // you can also send the chatter to a log if you wish... again... a flood of data. The log file below // is set to append already, set the g_logsync to 1 when adding the chat // set log files seta g_log "myserverlog.log" seta logfile 3 // console log 0=no 1=buffered 2=continuous 3=append to existing seta g_logsync 0 // map rotation for the server. this is the list of standard DM maps. If you want to have // custom maps, you can insert them here as long as you know the proper name. See the FAQ section // on TMMworld.com for a tip how to get the proper map name needed here. sv_maplist "dm/mohdm1 dm/mohdm2 dm/mohdm3 dm/mohdm5 dm/mohdm4 dm/mohdm6 dm/mohdm7" // starting map when launched map dm/mohdm1
De server voer ik als volgt uit:
Dan krijg ik het volgende terminal venster:Code:C:\Games\MOHAA\MOHAA_server.exe +set dedicated 1 +set net_ip 192.168.2.100 +set net_port 12203 +set ui_console 1 +set g_gametype 2 +set sv_maxclients 10 +exec server.cfg
Via http://www.whatsmyip.org/ vind ik wat mijn IP-adres is, laten we voor de gemakkelijkheid nu zeggen: 11.11.11.11 . Wanneer ik een vriend vraag om 11.11.11.11:12203 dan te joinen krijgt hij altijd Server Timed Out...Code:--- Common Initialization --- Medal of Honor Allied Assault 1.11 win-x86 Mar 5 2002 ----- FS_Startup ----- Current search path: C:\Games\MOHAA/main C:\Games\MOHAA\main\pak6.pk3 (104 files) C:\Games\MOHAA\main\Pak5.pk3 (259 files) C:\Games\MOHAA\main\Pak4.pk3 (593 files) C:\Games\MOHAA\main\Pak3.pk3 (669 files) C:\Games\MOHAA\main\Pak2.pk3 (4722 files) C:\Games\MOHAA\main\Pak1.pk3 (772 files) C:\Games\MOHAA\main\Pak0.pk3 (11175 files) ---------------------- 18294 files in pk3 files execing default.cfg execing menu.cfg execing newconfig.cfg Config: unnamedsoldier.cfg execing configs/unnamedsoldier.cfg couldn't exec localized.cfg execing autoexec.cfg couldn't exec custom.cfg ...detecting CPU, found Intel Pentium III ------- Input Initialization ------- Initializing DirectInput... Couldn't set DI coop level Falling back to Win32 mouse support... ------- Input Initialization Complete ------- 18 You are now setup for easy mode. Winsock Initialized Opening IP socket: 192.168.2.100:12203 Hostname: WINPHL-C5DM88TM.student.phlimburg.be IP: 192.168.2.100 IP: 192.168.174.1 IP: 192.168.26.1 --- Common Initialization Complete --- 907 ms Working directory: C:\Games\MOHAA execing server.cfg ------ Server Initialization ------ Server: dm/mohdm1 ^~^~^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd' ^~^~^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd' ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/book_closed_thin_green.tik ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/drinkglass.tik ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/book_closed_thin_blue.tik ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/book_closed_thick_lavender.tik ------ Server Initialization Complete ------ 1.33 seconds ^~^~^ Add the following line to the *_precache.scr map script: cache models/fx/dummy.tik Hitch warning: 1358 msec frame time ]status map: dm/mohdm1 num score ping name lastmsg address qport rate --- ----- ---- --------------- ------- --------------------- ----- -----
Iets wat ik fout doe? Alle hulp is welkom.