PDA

View Full Version : Masterlist



Jumper
22nd March 2020, 17:29
We have cracked our server and switched from a Windows server to linux, but the server only stays in the masterlist for 4 hours after which the server is no longer displayed there.

maxdamage99
23rd March 2020, 06:11
What game?
Server with libcod?
What libcod version if exist?

if libcod from voron, check sv_noauthorize (set to "0" if are "1")

KillerBoB
23rd March 2020, 09:34
We are using libcod from voron "libcod2_1_3.so" latest version from github (nomysql-Version)

But no "Sending heartbeat to cod2master.activision.com" :(

Servers stays online over IP and Port all the time but does not show up in masterlist.

No iptables rules for cracked players defined, because we read they are not nessesary if using latest libcod versions. (Ports 28960tcp/udp,20500/udp,20510/udp are opened...)

Cracked players can connect and get GUID 0
Original players can connect and get their real GUID

Tested cod2_lnxded_1_3_nodelay_va_loc and original version cod2_lnxded same result no apperance in masterserverlist


export LD_PRELOAD="$PATH/libcod2_1_3.so"
$PATH/cod2_lnxded_1_3_nodelay_va_loc +set fs_homepath $MAINPATH +set net_ip x.x.x.x +set net_port $PORT +set dedicated 2 +set sv_cracked 1 +sv_noauthorize 0 +set fs_game $MOD +exec $CONFIGNAME >> $LOGFILEPATH/$LOGFILENAME.log 2>&1 &


StartupLog:



> [LIBCOD] Compiled for: CoD2 1.3
> [LIBCOD] Compiled Mar 21 2020 19:04:05 using GCC 6.3.0 20170516
> [PLUGIN LOADED]
CoD2 MP 1.3 build linux-i386 Jun 23 2006
----- FS_Startup -----
Current language: english
Current search path:
...
ALL PATHS LISTED HERE
...
File Handles:
handle 1: console_mp_server.log
----------------------
80748 files in iwd files
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: Jun 23 2006
----------------------
Game: G_SetupWeaponDef
----------------------
-----------------------------------
frag_grenade_british_mp: WEAPON_FRAGGRENADE
smoke_grenade_british_mp: WEAPON_SMOKEGRENADE
frag_grenade_german_mp: WEAPON_FRAGGRENADE
smoke_grenade_german_mp: WEAPON_SMOKEGRENADE
-----------------------------------
PunkBuster Server: 0 Aliases Written to pbalias.dat
PunkBuster Server: 0 Stat Records Written to pbstat.dat
PunkBuster Server: Preparing to Disable PB Server... (/PATH/TO/PB/)
Resolving cod2master.activision.com
cod2master.activision.com resolved to 185.34.107.159:20710
Hitch warning: 1992 msec frame time
Resolving cod2master.activision.com
cod2master.activision.com resolved to 185.34.107.159:20700
sending getIpAuthorize for X.X.X.X:28960
SV_DirectConnect()
Client 0 connecting with 50 challenge ping from X.X.X.X:28960
Connecting player #0 has a zero GUID
Going from CS_FREE to CS_CONNECTED for (num 0 guid 0)
J^9umpe^2r : dropped gamestate, resending
SV_SendClientGameState() for ^2J^9umpe^2r
Going from CS_CONNECTED to CS_PRIMED for ^2J^9umpe^2r
Sending 10494 bytes in gamestate to client: 0

Jumper
23rd March 2020, 09:35
Read this upper me

voron00
23rd March 2020, 09:50
Check sv_master1...2..3..4..5 cvars. Make sure sv_master0 is set to cod2master.activision.com. Also don't use a modded binary with llibcod, libcod already has all necessary patches in it (va, localized messages, etc.) and make sure sv_noauthorize is set to 0.

KillerBoB
23rd March 2020, 13:44
Check sv_master1...2..3..4..5 cvars. Make sure sv_master1 is set to cod2master.activision.com. Also don't use a modded binary with llibcod, libcod already has all necessary patches in it (va, localized messages, etc.) and make sure sv_noauthorize is set to 0.

Thank you i figured out what the problem was...

I ported my serverconfig.cfg from Cod2 v1.2 to v1.3 without doing any changes...

So i used it like it was years ago...



//Master-Server
seta sv_master0 "cod2master.activision.com"
//seta sv_master1 "master0.gamespy.com"
//seta sv_master2 "master1.gamespy.com"
//seta sv_master3 "cod2authorize.activision.com"
//seta sv_master4 "cod2master.infinityward.com"


And without libcod it is no problem, but it looks like libcode need it to be sv_master1 :)

So this works for me...



seta sv_master1 "cod2master.activision.com"
+sv_noauthorize 0
+set sv_cracked 1