PDA

View Full Version : Master List?



Mr.SuicideSheep
30th July 2017, 11:14
Morning Guys,

I'm having a little trouble getting my server to appear in the master list. I've searched the forum numerous times but I can't quite figure out what I've done wrong or have failed to do so far.

I've followed the guide located "https://killtube.org/showthread.php?2454-CoD2-Setup-CoD2-on-your-ubuntu-14-04-server" and the server is up and running cod 1.3 cracked binary with verons libcod.

When i run ./start.sh the the server loads correctly and i can join the server from console using "connect"
> [LIBCOD] Compiled for: CoD2 1.3
> [LIBCOD] Compiled Jul 29 2017 01:55:48 using GCC 5.4.0 20160609
> [PLUGIN LOADED]
CoD2 MP 1.3 build linux-i386 Jun 23 2006

but it wont appear in the master list?

my ./start.sh is as follows

#!/bin/bash
sv_maxclients="64"
fs_game="tsgmod"
fs_homepath="/home/tsg/cod2/"
cod="/home/tsg/cod2/cod2_lnxded"
com_hunkMegs="512"
config="dedicated.cfg"
cracked="1"
net_port="28960"


args=\
"+set fs_homepath \"$fs_homepath\" "\
"+set sv_cracked $cracked "\
"+set fs_game $fs_game "\
"+set net_port $net_port "\
"+set com_hunkMegs $com_hunkMegs "\
"+set sv_maxclients $sv_maxclients "\
"+set fs_basepath \"$fs_homepath\" "\
"+exec $config"

LD_PRELOAD="/home/tsg/libcod/bin/libcod2_1_3.so" $cod $args +set g_gametype tdm +map mp_toujane

In the terminal window when the game is loading I get the below warning but the game still loads anyway

"WARNING: Couldn't open logfile: games_mp.log
-----------------------------------
-----------------------------------
Couldn't write config_mp_server.cfg."

Could it be anything to do with the permissions on the above files?

Just doesnt show on the master list. Any help would be appreciated fellas


EDIT - Sorry forgot to mention i've searched the forum and the only thing i havent tried as of yet is the editing the IPtable rules I've not done this as i read with libcod and using sv_cracked "1" this step wouldnt be required.

voron00
30th July 2017, 12:40
It can take up to 6-7 hours for server to appear in master list. Also make sure you have sv_noauthorize set to 0. Also if you are unable to directly connect to your server, probably you are behind a firewall and you need to forward ports etc. etc.

Mr.SuicideSheep
30th July 2017, 13:48
Thats the thing... I also read on here that it coul take time to appear on the master list so i left it running in the background all night and when i woke this morning it's still not on the list. I can connect to the server by using /connect in console so i know the servers up and running it just wont appear on the master list.

I'll set it back up today and leave it for 24h to see if that makes any difference.

voron00
30th July 2017, 14:30
Try adding bots on server, or connect and stay for some time, sometimes this helps.

Mr.SuicideSheep
31st July 2017, 00:29
Issue Resolved - I decided to do a fresh install of libcod and cod2 using cod2_lnxded_1_3.zip linux binary instead this time round and it appears to have done the trick. Server is showing up on the master server.

@Voron00 Thanks for trying to help me out bro

IzNoGoD
31st July 2017, 00:47
You might've been using a binary with an edited masterserv address.

rgl12
15th March 2018, 20:21
So which cod2_lnxded_1_3 should I use to see my server on master list?
Im using the cracked one right now.

IzNoGoD
15th March 2018, 22:05
cod2_lnxded_1_3_patch_va_loc

rgl12
15th March 2018, 23:11
Wow its able to join via master list in a second, but what I Can/must do to make it cracked?

IzNoGoD
15th March 2018, 23:17
set sv_cracked or something (see the tutorial thread) to 1 (cvar)

rgl12
16th March 2018, 00:08
Hmm I must be doing something wrong.
I login on my putty.
then i type cd home/cod2server
in there i have my cod2_lnxded_1_3_patch_va_loc file
so i run the server with this command:

./cod2_lnxded_1_3_patch_va_loc + set sv_maxping "999" + set sv_cracked "1" + set fs_game dust + exec dedicated.cfg

and the server is visible on master list but even I with original cd key cant connect to it ;/
and ive typed this command:

iptables -I INPUT -p UDP --sport 20700 -s cod2master.activision.com -j REJECT

I just must be doing something wrong ..


EDIT: It works!
cod2_lnxded_1_3_nodelay_va_loc did the job! :)