We are using libcod from voron "libcod2_1_3.so" latest version from github (nomysql-Version)
But no "Sending heartbeat to cod2master.activision.com" ![Frown](images/smilies/frown.png)
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
Code:
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:
Code:
> [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