Page 10 of 15 FirstFirst ... 89101112 ... LastLast
Results 91 to 100 of 153

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Mar 2015
    Posts
    32
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by Mitch View Post
    Check if 'sv_cracked' is set to 1. /rcon sv_cracked
    (You might need to use 'set sv_cracked 1' to set it. Because it is not a default cvar.)

    Also verify libcod is running: In your (screen) log is should say:
    I think I've found what I've forgotten. where to put the folder libcod-master?

  2. #2
    Private
    Join Date
    Mar 2015
    Posts
    32
    Thanks
    0
    Thanked 1 Time in 1 Post
    ok now i have this error

    Code:
    root@SERVER:~/cod2# LD_PRELOAD=libcod2_1_3.so ./cod2_lnxded +cod2_1_2_cracked +set sv_cracked 1 +set dedicated 2 +exec server.cfg +set sv_punkbuster 0 +map mp_breakout
    ./cod2_lnxded: /lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/i386-linux-gnu/libstdc++.so.6)
    ./cod2_lnxded: /lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/i386-linux-gnu/libstdc++.so.6)
    root@SERVER:~/cod2#
    Last edited by punisher2202; 27th March 2015 at 11:16.

  3. #3
    Private
    Join Date
    Mar 2015
    Posts
    32
    Thanks
    0
    Thanked 1 Time in 1 Post
    Give me some time, I will formating the server and start together from the beginning . Is beter 32 bit or 64 bit debian for this?

  4. #4
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by punisher2202 View Post
    ok now i have this error

    Code:
    root@SERVER:~/cod2# LD_PRELOAD=libcod2_1_3.so ./cod2_lnxded +cod2_1_2_cracked +set sv_cracked 1 +set dedicated 2 +exec server.cfg +set sv_punkbuster 0 +map mp_breakout
    ./cod2_lnxded: /lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/i386-linux-gnu/libstdc++.so.6)
    ./cod2_lnxded: /lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/i386-linux-gnu/libstdc++.so.6)
    root@SERVER:~/cod2#
    Give me some time, I will formating the server and start together from the beginning
    Are you sure you installed 'gcc-multilib'. Otherwise it might be needed to build your own version to avoid these dependency issues.

    PHP Code:
    apt-get install git
    git 
    clone https://github.com/kungfooman/libcod.git libcod
    cd libcod
    ./doit.sh base
    ./doit.sh cod2_1_3 
    Now copy the .so in libcod/bin to your library directory or next to your binary.

    Edit: cod2 is a 32-bit program. But it can run on 64-bit.
    @mods it might be better to split the libcod posts to a new thread in the libcod forum.
    Last edited by Mitch; 27th March 2015 at 11:18.

  5. #5
    Private
    Join Date
    Mar 2015
    Posts
    32
    Thanks
    0
    Thanked 1 Time in 1 Post
    OK, i start a new thread , but please help me from the beginning over there

  6. #6
    Private CaptainSlow's Avatar
    Join Date
    Nov 2014
    Posts
    76
    Thanks
    38
    Thanked 28 Times in 23 Posts
    Hi guys,

    We're currently in the process of migrating our COD2 servers from Linux to Windows. On Linux, we indeed could just add the firewall rules as mentioned in the first post to make our server cracked and show up in the masterlist. However, on Windows this is a whole different story.
    I spent literally all day to get our server cracked AND show up in the masterlist but to no avail. Currently our servers are listed and 'partly' cracked, which means; Some of my friends can join without issues, others get the error that their key code is in use. I cannot understand why some friends can join while others can't. All players have GUID 0 according to RCON which should mean the server is indeed cracked.

    I tried blocking all traffic on port 20700 inbound as described in this post: http://killtube.org/showthread.php?1...ull=1#post6508
    --> made no difference

    I tried blocking all traffic on port 20700 outbound _after_ the server started as described in this post: http://killtube.org/showthread.php?1...ull=1#post6517
    --> Partly works, some players can connect, others get keycode in use error

    I tried hex editing the exe file replacing 'getIpAuthorize' with another string as described in this post: http://killtube.org/showthread.php?1...ull=1#post8586
    --> Partly Works, server won't show up in the master list anymore but everyone can connect using direct IP without issues. I assume there is some MD5 checksum being performed by the masterserver.

    Basically I tried every option out there. Sadly my knowledge skills are lacking to try and use tools like Ida Pro to debug this myself, so I was wondering if someone could help us/me out here. I'm willing to buy you a beer to compensate for your time
    We run COD2 1.0 on Windows Server 2012 R2.

    Many many thanks!

    Kind regards,
    CS.

  7. #7
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Quote Originally Posted by CaptainSlow View Post
    I tried hex editing the exe file replacing 'getIpAuthorize' with another string as described in this post: http://killtube.org/showthread.php?1...ull=1#post8586
    --> Partly Works, server won't show up in the master list anymore but everyone can connect using direct IP without issues. I assume there is some MD5 checksum being performed by the masterserver.
    Wait 15-20 minutes and it should start showing up.

  8. The Following User Says Thank You to filthy_freak_ For This Useful Post:

    CaptainSlow (8th September 2015)

  9. #8
    Private CaptainSlow's Avatar
    Join Date
    Nov 2014
    Posts
    76
    Thanks
    38
    Thanked 28 Times in 23 Posts
    Quote Originally Posted by filthy_freak_ View Post
    Wait 15-20 minutes and it should start showing up.
    You're a legend! That seems do to the trick. Interesting, I thought I already tried that, but I guess I didn't.

    Now comes the million dollar question: Is there a way to lower this time limit to like 5 minutes or something? The hex addresses in the startpost are for the 1.3 Linux version

    Thank you very much!

    Kind regards,
    CS
    Last edited by CaptainSlow; 8th September 2015 at 11:05.

  10. #9
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by CaptainSlow View Post
    You're a legend! That seems do to the trick. Interesting, I thought I already tried that, but I guess I didn't.

    Now comes the million dollar question: Is there a way to lower this time limit to like 5 minutes or something? The hex addresses in the startpost are for the 1.3 Linux version

    Thank you very much!

    Kind regards,
    CS
    1.0 doesn't have the 20 minute connect delay. I think it takes 20 minutes for the master server to include your server in their server list.

    Edit: you can test your server with kung's tracker: http://tracker.killtube.org/server.p...yles/frontpage
    Replace the ip and port with your own then refresh the page. Now your server should be listed in this tracker.
    Last edited by Mitch; 8th September 2015 at 15:22.

  11. #10
    Private CaptainSlow's Avatar
    Join Date
    Nov 2014
    Posts
    76
    Thanks
    38
    Thanked 28 Times in 23 Posts
    Quote Originally Posted by Mitch View Post
    1.0 doesn't have the 20 minute connect delay. I think it takes 20 minutes for the master server to include your server in their server list.

    Edit: you can test your server with kung's tracker: http://tracker.killtube.org/server.p...yles/frontpage
    Replace the ip and port with your own then refresh the page. Now your server should be listed in this tracker.
    Many thanks for your reply Mitch, I appreciate it.

    If I use the original/unmodified COD2MP_s.exe, my server shows up instantly in the masterlist after I start the server.
    If I use the hexed COD2MP_s.exe, it takes 20 minutes for my server to show up in the masterlist after I start the server, so even in COD2 1.0 there seems to be some sort of delay if you hex edit the file on Windows at least.

    Is it possible to perform the same 'nodelay' trick you explain here on the COD2 1.0 exe file? http://killtube.org/showthread.php?1...ull=1#post8301

    If I change the IP en port my server does indeed show up in your tracker.

    Many thanks!

    Kind regards,
    CS

Posting Permissions

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