You just need libcod_1_3.so and put +sv_cracked 1
Tutorial by IzNoGoD: http://killtube.org/showthread.php?2...u-14-04-server
You just need libcod_1_3.so and put +sv_cracked 1
Tutorial by IzNoGoD: http://killtube.org/showthread.php?2...u-14-04-server
[Work in progress] Setup CoD2 on your ubuntu 14.04 server
That works for windows as well?
Maybe this: http://killtube.org/showthread.php?1...ll=1#post10310
I dont know i don't use windows libcod ^^
Is your windows ubuntu 14.04?
https://i.ytimg.com/vi/PvP_4J2MUEc/maxresdefault.jpg
This is binary i patched for 1.3: cod2_lnxded.rar
LOL its a cod4 index WTF
so where do you have to put this file extracted from cod2_Inded.rar? i'm kinda noob..
next to "main"folder
thanks for your answer.
So I am running a Windows server and did the following:
Installed the crack (when i connect to the server guid = 0; so that works!)
Blocked the ports as described earlier
But somehow my server aint showing up in the master server list, even after 30 minutes. Do i have to wait longer? Or did i do something wrong or have to do more?
Anyone please?
There is no libcod support for semi-cracked server(s) on Windows.
Edit: best method for semi-cracked servers is with libcod (Linux) and having sv_cracked to 1.
Edit 2: The first post only works if you can filter that certain packet (which prevents cracked players from joining).
This method has a side effect that could give a cracked player a guid from someone else.
This worked great for me! I downloaded cod2_lnxded_1_3_nodelay.zip from: https://killtube.org/showthread.php?...-(1-0-1-2-1-3)
To start my server, i log in to my server using SSH and execute the following script:
#!/bin/bash
cd /home/cod2server/
sudo iptables -A INPUT -p udp -m string --algo bm --string "BANNED_CDKEY" --sport 20700 --dport 28960 -j DROP
sudo iptables -A INPUT -p udp -m string --algo bm --string "INVALID_CDKEY" --sport 20700 --dport 28960 -j DROP
screen -S cod2screen -m ./cod2_lnxded_1_3_nodelay + set rcon_password "xxxxxx" + exec Config.cfg
When i reconnect later, i can restore the server console by typing: screen -r
Can someone explain to me how I make my cracked server show up in the master server list ? I have been looking in this post but couldn't find anything about WINDOWS system and which file crack should I use ?
Sorry for the necropost. Just want to report in with my experience of getting a cracked server running.
I've tested this with cod2_lnxded_1_3_nodelay and cod2_lnxded_1_3_nodelay_va_loc from bgauduch/call-of-duty-2-docker-server. I'm too lazy to run md5sum, but I'm guessing they're the files from the "Latest cod2 linux binaries" thread.
With these files, my server shows up on the masterlist instantly. When using cod2_lnxded_1_3_cracked, my server would not show up on the masterlist at all. I had it running for several hours, so it wasn't a matter of waiting.
However, using the iptables configs specified in the OP did not work for me. When my client tried to connect, my server would send a `getIpAuthorize` query to the master server and deny my client's connection with the following error, which I assume the `INVALID_CDKEY` ipconfig is meant to prevent:
I did find a solution that worked for me on this thread in the FPSadmin forums.Quote:
Key Code in use. Please try reconnecting later.
I added this new ipconfig directive:
...and ran these commands to remove the ones suggested in this thread:Quote:
iptables -I INPUT -p UDP --sport 20700 -s cod2master.activision.com -j REJECT
Now, when I try to connect to my server, it logs the following messages, and lets me in:Quote:
iptables -D INPUT -p udp -m string --string "BANNED_CDKEY" --algo bm --to 65535 -m udp --sport 20700 --dport 28961 -j DROP
iptables -D INPUT -p udp -m string --string "INVALID_CDKEY" --algo bm --to 65535 -m udp --sport 20700 --dport 28961 -j DROP
I had to increase the max ping in my server config file. One time, it spiked to 2100 during this timeout, and I got a "Server is for low ping players only" error:Quote:
sending getIpAuthorize for MY.CLIENT.IP.HERE:28960 [four times]
authorize server timed out
SV_DirectConnect()
Client 1 connecting with 100 challenge ping from MY.CLIENT.IP.HERE:28960
Connecting player #0 has a zero GUID
Going from CS_FREE to CS_CONNECTED for (num 0 guid 0)
tl;dr When using cod2_lnxded_1_3_nodelay_va_loc and a more strict ipconfig rule, my server shows up instantly in the masterlist, and players with duplicate CD keys can connect within 5-10 seconds.Quote:
set sv_maxPing "10000"
I'd like to figure out why the solution suggested here didn't work in my case. Any insights?
The cracked binary disables the master server.
The no delay binary changes the minimum required master server offline time before you can connect to a original server (from ~30 minutes to 5 seconds).
The iptables solution blocks the reject message for cracked players (requires the right server ports and root access).
The best solution is installing libcod and setting sv_cracked to 1.
For more information see the libcod section:
https://killtube.org/forumdisplay.php?44-libcod
Oh, I see, I missed this part from the OP:
I set my server to port 28960, not 28961 as targeted by your ipconfig rules. I removed the more restrictive rule I was using, re-added the rules from the OP with corrected dport, and everything works as intended. Thanks for the explanation!
Noob question: Are there reasons to run a COD2 server on a port other than the default 28960, besides to avoid conflicts with other apps running on the server? I can imagine running multiple COD2 dedicated servers from the same box, but is there anything else?
Edit: I did try using libcod2_1_3_nomysql.so (2013-Aug-30) from here, but no luck. (I did set sv_cracked correctly.) I'll try with the 2015-Jan-29 versions later, but I'm satisfied with my setup for now. Thanks again.
Oh those old .so-files, they are totally outdated and lack most features. Just compile from source (Vorons repo), it's pretty fast and painless.
Maybe installing gcc is too much for a small docker, but once compiled, you can reuse the .so-files for (atleast) the same distribution version.
With GCC, the GNU Compiler Collection, you can compile C, C++, Objective-C, Fortran, Ada, and Go.
</nitpick>
I did all what is written in this post:
https://killtube.org/showthread.php?...ll=1#post16843
and i see my server on master list, but i cant join it? :/
EDIT: It works!
cod2_lnxded_1_3_nodelay_va_loc did the job! :)
But I still dont understand, why only one server is listed?
connect 80.211.219.240:28960 - Only this one is listed
connect 80.211.219.240:28962 - this one is not
connect 80.211.219.240:28964 - this one is not either
any solutions?
on gametracker they are active
https://www.gametracker.com/search/?query=chlejtuny
EDIT:
Got it worked with this command
iptables -I INPUT -p UDP --sport 20700 -s cod2master.activision.com -j REJECT
Hi there,
I created this project bgauduch/call-of-duty-2-docker-server quite a while ago, it's funny its still in use today :D
So looking at the feedback given to @vesicant and @rgl12, I updated the project and added the libcod base library, maybe it will be of some use ;)
Any feedback would be much appreciated !
By the way, HUDGE thanks to all the community members for their work on the cracked server binaries and the libcod !
@Mitch @KungFooMan @IzNoGod @Voron00 and anyone I would have forgotten to mention.
Keep up the awesome work :cool:
HF & GL
Can you do a video please?
where do i put cod2_inxded or do i install it somehow somewere?
Hi! What about COD4x? And CODWAW ? Its the same sport 20700 --dport serversport ?
Please help! Thank you!
Code:iptables -A INPUT -p udp -m string --algo bm --string "BANNED_CDKEY" --sport 20700 --dport 28961 -j DROP
iptables -A INPUT -p udp -m string --algo bm --string "INVALID_CDKEY" --sport 20700 --dport 28961 -j DROP