Page 8 of 16 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 153

Thread: [CoD2][Tutorial] How to make your cracked server show up in the master list

  1. #71
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    You need to change the sport to 20710.

    Resolving cod2master.activision.com
    cod2master.activision.com resolved to 63.146.124.40:20710
    Edit: you might need both, because it seems to resolve to 20700 too. I am still having problems with the port 20700. Wireshark says it is unreachable for me.

    [21:48] Mitch: hi
    [21:48] Mitch: can you edit my post
    [21:48] Mitch: http://killtube.org/showthread.php?1...ter-list/page8
    [21:48] Mitch: and say that port 20700 is for player info (guid)
    [21:49] Mitch: and 20710 is for reporting to the master server
    [21:49] Mitch: aka heartbeat
    [21:56] <This user is now offline>
    Last edited by kung foo man; 3rd January 2014 at 23:36. Reason: XFire edit request

  2. #72
    ... connecting
    Join Date
    Jun 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    thanks for the great guides. I'm having problems with iptables. It doesn't seem to be filtering "BANNED_CDKEY" and "INVALID_CDKEY". I've installed on Ubuntu Server 14.04. Everything works, but it's not showing in master list and not filtering those two and all people that don't have an original cd-key can't connect.

    My iptables:

    Code:
    root@oc:/home/cod2server# iptables -nL | grep 20700
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            STRING match  "BANNED_CDKEY" ALGO name bm TO 65535 udp spt:20700 dpt:31333
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            STRING match  "INVALID_CDKEY" ALGO name bm TO 65535 udp spt:20700 dpt:31333
    DROP       tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:20700
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:20700
    Any idea?
    Last edited by th0r88; 11th June 2014 at 09:03.

  3. #73
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by th0r88 View Post
    Hi,

    thanks for the great guides. I'm having problems with iptables. It doesn't seem to be filtering "BANNED_CDKEY" and "INVALID_CDKEY". I've installed on Ubuntu Server 14.04. Everything works, but it's not showing in master list and not filtering those two and all people that don't have an original cd-key can't connect.

    My iptables:

    Code:
    root@oc:/home/cod2server# iptables -nL | grep 20700
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            STRING match  "BANNED_CDKEY" ALGO name bm TO 65535 udp spt:20700 dpt:31333
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            STRING match  "INVALID_CDKEY" ALGO name bm TO 65535 udp spt:20700 dpt:31333
    DROP       tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:20700
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:20700
    Any idea?
    If you're running your own server, just run libcod and set sv_cracked to 1
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  4. #74
    ... connecting
    Join Date
    Jun 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hm I ran a command:

    Code:
    LD_PRELOAD=libcod2_1_3_nomysql.so ./cod2_lnxded_1_3_nodelay_va_loc +set fs_basepath /home/cod2server/cod2 +set fs_homepath /home/cod2server/cod2 +set net_ip *.*.*.* +set net_port 31333 +set dedicated 2 +exec dedicated.cfg +set sv_punkbuster 1 +map_rotate
    But I still've got the same error: Bad CD Key code.

    Am I doing something wrong?

  5. #75
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    You are using a nomysql version, did you compile it yourself? Otherwise it might be damn old. Try this one: http://killtube.org/downloads/libcod/2014_05_22/

    Like IzNoGod said, you need to set sv_cracked. Example:

    Code:
    LD_PRELOAD=libcod2_1_3_nomysql.so ./cod2_lnxded_1_3_nodelay_va_loc +set fs_basepath /home/cod2server/cod2 +set fs_homepath /home/cod2server/cod2 +set net_ip *.*.*.* +set net_port 31333 +set dedicated 2 +exec dedicated.cfg +set sv_punkbuster 1 +set sv_cracked 1 +map_rotate
    timescale 0.01

  6. #76
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by th0r88 View Post
    Hi,

    thanks for the great guides. I'm having problems with iptables. It doesn't seem to be filtering "BANNED_CDKEY" and "INVALID_CDKEY". I've installed on Ubuntu Server 14.04. Everything works, but it's not showing in master list and not filtering those two and all people that don't have an original cd-key can't connect.

    My iptables:

    Code:
    root@oc:/home/cod2server# iptables -nL | grep 20700
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            STRING match  "BANNED_CDKEY" ALGO name bm TO 65535 udp spt:20700 dpt:31333
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            STRING match  "INVALID_CDKEY" ALGO name bm TO 65535 udp spt:20700 dpt:31333
    DROP       tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:20700
    DROP       udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:20700
    Any idea?
    Does your game server run on the port 31333? (because most game server run on the port 28960)

  7. #77
    ... connecting
    Join Date
    Jun 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @kung foo man: I've tried your code with updated libcod2_1_3.so and it still says Invalid CD Key :/

    @Mitch: yes, mine runs on 31333.

    Any other advice will be greatly appreciated. Thanks!

  8. #78
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by th0r88 View Post
    @kung foo man: I've tried your code with updated libcod2_1_3.so and it still says Invalid CD Key :/

    @Mitch: yes, mine runs on 31333.

    Any other advice will be greatly appreciated. Thanks!
    did you set sv_cracked to 1?
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  9. #79
    ... connecting
    Join Date
    Jun 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by IzNoGoD View Post
    did you set sv_cracked to 1?
    Yes, I used kung foo man's code:

    Code:
    LD_PRELOAD=libcod2_1_3.so ./cod2_lnxded_1_3_nodelay_va_loc +set fs_basepath /home/cod2server/cod2 +set fs_homepath /home/cod2server/cod2 +set net_ip *.*.*.* +set net_port 31333 +set dedicated 2 +exec dedicated.cfg +set sv_punkbuster 1 +set sv_cracked 1 +map_rotate
    Is it ok if I use for a cracked server cod2_lnxded_1_3_nodelay_va_loc file?

  10. #80
    ... connecting
    Join Date
    Jun 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've solved it! I only changed code to:

    Code:
    LD_LIBRARY_PATH=. LD_PRELOAD=libcod2_1_3.so ./cod2_lnxded_1_3_nodelay_va_loc +set fs_basepath /home/cod2server/cod2 +set fs_homepath /home/cod2server/cod2 +set net_ip *.*.*.* +set net_port 31333 +set dedicated 2 +exec dedicated.cfg +set sv_punkbuster 1 +set sv_cracked 1 +map_rotate
    Then I updated punkbuster and everything is smooth

    Thank you all for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •