PDA

View Full Version : [COD2] Bad key Code? Where is problem?



Fastmancz
3rd July 2015, 14:07
Hello,

I have problem with my server. I used (cracked for linux) http://killtube.org/showthread.php?983-CoD2-1-3-va()-amp-bo-fix-(Linux-amp-Windows)&p=7618&viewfull=1#post7618 on my server.


File Handles:
----------------------
81662 files in iwd files
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: Jun 23 2006
-----------------------------------
-----------------------------------
Hitch warning: 4248 msec frame time
Resolving cod2master.activision.com
cod2master.activision.com resolved to 185.34.104.231:20710
Sending heartbeat to cod2master.activision.com
Sending heartbeat to cod2master.activision.com


When i connect on server, game shows "Bad key code". Where is problem? I lowered iprules_example.sh but problem is same (nothing changed). Punkbuster is disabled.

Firewall allowed ports:
UDP - 27050 20500 20510
TCP - 27050

When i try edit in /etc/ file hosts, then i changed hosts:


#COD2
127.0.0.1 MASTER8.EVENBALANCE.COM
127.0.0.1 MASTER7.EVENBALANCE.COM
127.0.0.1 MASTER5.EVENBALANCE.COM
127.0.0.1 COD21.EVENBALANCE.COM
127.0.0.1 namreg.evenbalance.com
127.0.0.1 COD2-b.evenbalance.com
127.0.0.1 cod2master.activision.com
127.0.0.1 cod2update.activision.com
127.0.0.1 cod2fooker.shitvision.com
127.0.0.1 cod2master.activision.com
127.0.0.1 cod2fooker.shitvision.com

not connect on server (1...2...3...4 etc.). So hosts not working.

Thanks for reply.

Fastmancz
3rd July 2015, 14:13
Ok, guys, i tried again edit hosts and works!

IzNoGoD
3rd July 2015, 14:58
Hosts file times out after 15 minutes, so you gotto wait 15 minutes with stock configuration before you can connect to your server with cracked clients.

Use libcod instead and set sv_cracked to 1

Fastmancz
3rd July 2015, 15:36
Thanks for reply IzNoGoD. I download last version - libcod2_1_3.so 2015-Jan-29 and put in folder /bin

Server start command - LD_PRELOAD=libcod2_1_3.so ./cod2_lnxded ... (It's good?). How do I know that it works?

But is problem with punkbuster - Kicked clients with same GUID. My GUID is 0? Where is problem?

Thanks for reply.

Fastmancz
3rd July 2015, 16:02
Ok, i found http://killtube.org/showthread.php?2160-CoD2-cracked-amp-PB-(DUPLICATE-KEY-GUID) - I set PB_SV_GUIDRelax 4, how to add ban, when all players GUID set to 0?

IzNoGoD
3rd July 2015, 16:32
with sv_cracked the guid of cracked players becomes zero. Legit players still get a proper guid though.

This is better than the hosts workaround where ALL players would get guid zero.

If you got pb running, you can ban using pb.