[cod] "awaiting connection" on inet, but works on LAN
Brendan Hurley
rizzla20 at hotmail.com
Wed Nov 12 21:09:28 EST 2008
Well out of curiosity i decided to setup a cod2 server. for a start i dont understand your startscript so i stuck with what i know..
:~$useradd ***:~$passwd ***
:~$su ***
:~$cd /home/***
:~$wget http://cpgs.nettuning.net/cod2.cpgs
:~$mv cod2.cpgs cod2.tar
:~$tar -xvf cod2.tar (ignore errors)
:~$su
:~$cp /home/***/libs/libstdc++.so.5 /lib/libstdc++.so.5:~$su ***
:~$vi start
killall cod2_lnxded./cod2_lnxded +set dedicated 2 +set net_ip "yourip" +set net_port "yourport" +exec default_mp.cfg +exec maps.cfg +map_rotate &
:~$vi /main default_mp.cfg (enter your settings)
:~$chmod 755 start
:~$./start
Server was online with no problems
If you try this as i have shown and you are still having problems then i would say it has to be a firewall or network issue
From: d.k.emaillists at gmail.comTo: cod at icculus.orgDate: Wed, 12 Nov 2008 15:18:10 -0800Subject: Re: [cod] "awaiting connection" on inet, but works on LAN
On 12-Nov-08, at 2:55 PM, Brendan Hurley wrote:
plz post your start script and server cfg
here we go!
++++++ Start Script
#!/bin/bash
if test -z "$1"
then
echo "No command-line arguments."
echo "'x' - eXtreme mod"
echo "'r' - regular (no mod)"
echo
else
case "$1" in
'r')
/home/cod/cod2_lnxded +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +set dedicated 2 +set sv_punkbuster 0 +exec dedicated.cfg +map_rotate
;;
'x')
/home/cod/cod2_lnxded +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +set fs_game ext_mods +set dedicated 2 +exec server.cfg +set sv_punkbuster 0
;;
*)
echo "This script requires one of the following:"
echo "'x' - eXtreme mod"
echo "'r' - regular (no mod)"
echo
;;
esac
fi
++++ Base server config
sets _ADMIN "me"
sets _EMAIL "me at here.ca"
sets _IRC ""
sets _WEBSITE ""
sets _LOCATION "Vancouver"
set sv_hostname "die"
set scr_motd "Welcome....."
set sv_pure "0"
set sv_maxclients "16"
set sv_minping "0"
set sv_maxping "0"
set sv_maxrate "0"
set sv_voice "0"
set sv_voicequality "1"
set g_password "mypw"
set sv_privateclients "8"
set sv_privatepassword "mypw"
set sv_disableclientconsole "0"
set rcon_password "mypw"
set sv_wwwdownload "1"
set sv_wwwBaseURL "http://www.here.ca/cod2/"
set sv_wwwDlDisconnected "1"
set sv_drawfriend "1"
set scr_friendlyfire "2"
set scr_forcerespawn "1"
set scr_killcam "0"
set g_allowvote "0"
set scr_teambalance "1"
set scr_spectateenemy "0"
set scr_spectatefree "0"
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_enfieldsniper "1"
set scr_allow_g43 "1"
set scr_allow_greasegun "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_pps42 "1"
set scr_allow_ppsh "1"
set scr_allow_shotgun "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_svt40 "1"
set scr_allow_thompson "1"
set scr_allow_fraggrenades "1"
set scr_allow_smokegrenades "1"
set scr_ctf_scorelimit "5"
set scr_ctf_timelimit "30"
set scr_dm_scorelimit "50"
set scr_dm_timelimit "30"
set scr_sd_bombtimer "60"
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "50"
set scr_sd_timelimit "30"
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "30"
set scr_hq_scorelimit "450"
set scr_hq_timelimit "30"
set sv_mapRotationCurrent ""
sv_maprotation "gametype tdm map mp_breakout gametype tdm map mp_brecourt gametype tdm map mp_burgundy gametype tdm map mp_carentan gametype tdm map mp_dawnville gametype tdm map mp_decoy gametype tdm map mp_downtown gametype tdm map mp_farmhouse gametype tdm map mp_leningrad gametype tdm map mp_matmata gametype tdm map mp_railyard gametype tdm map mp_toujane gametype tdm map mp_trainstation gametype tdm map mp_harbor gametype tdm map mp_rhine"
+++ extreme config (testing with both versions) - left quite stock.
//******************************************************************************
// Call of Duty 2 - eXtreme+ modification
//******************************************************************************
// author : Astoroth and the eXtreme+ Support Crew
// email : astoroth at gom.me.uk
// website : http://www.mycallofduty.com
//
// mod : eXtreme+
// version : 2.3
// update : November 2007
//******************************************************************************
//******************************************************************************
// Color Codes
//******************************************************************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
//******************************************************************************
// Public Information
//******************************************************************************
sets sv_hostname "die- ^3e^1X^3treme^2+^7 v2.3"
sets _Admin "me"
sets _Email "me at here.ca"
sets _Website "http://www.here.ca"
sets _Location "CA"
sets _Irc ""
sets _Mod "^3e^1X^3treme^2+^7"
sets _ModVer "v2.3"
sets _ModUpdate "3Right Now"
sets _Maps "COD2 Stock & Custom"
set scr_motd "Welcome...."
//******************************************************************************
// Common Server Settings
//******************************************************************************
// Log Settings
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
// Network options
set net_ip "xxx.xxx.xxx.xxx" // Set your servers IP address
set net_port "28960" // Set your port number
set com_hunkMegs "512"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
// Server Network Mode
set dedicated "0" // 0 = Listen, 1 = LAN, 2 = Internet
// Master servers
set sv_master1 "cod2master.activision.cod"
set sv_master2 "cod2authorize.activision.cod"
set sv_master3 "cod2master.infinityward.cod"
set sv_master3 "cod2update.activision.cod"
// Password Settings
set rcon_password "mypw" // RCON must supply pw to use
set sv_privatePassword "mypw" // Private slots, non-public slots
// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password ""
// Player slots setup
set sv_maxclients "16" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "4" // Number of private player slots, maxclients - privateclients = public slots
// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "350" // MAX player ping on CONNECT, any higher and player isnt allowed to connect
// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://www.here.ca/cod2"
seta sv_wwwDlDisconnected "1"
// rest clipped as it is not relevant - IE weapons load outs, etc.
_________________________________________________________________
See the most popular videos on the web
http://clk.atdmt.com/GBL/go/115454061/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20081113/6dce1e51/attachment.htm>
More information about the Cod
mailing list