Coder Social home page Coder Social logo

xtnded / codextended Goto Github PK

View Code? Open in Web Editor NEW
43.0 17.0 20.0 14.96 MB

Call of Duty Extended

Home Page: http://cod1.eu

License: GNU General Public License v3.0

C 95.78% C++ 2.32% Shell 1.59% Assembly 0.31%
c call-of-duty cod1 reverse-engineering x86 assembly asm gplv3

codextended's Introduction

Call of Duty Extended [Server]

Call of Duty Extended Server is a modification of the Call of Duty 1 Linux server. It supports patch 1.1 (with outdated 1.5 support).

Features

  • cracked server with unpure fixes (everyone can join)
  • Q3 exploit fixes (msgboom, dirtrav)
  • ratelimiting
  • a lot of new GSC commands + MySQL support

Setup & more info

Check the Wiki!

Forum: http://xtnded.org

License

CoDExtended is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Thanks to kungfooman and his libcod project (CoD 2 memory modification).

codextended's People

Contributors

jaykv avatar patriksh avatar prawycod1 avatar riicchhaarrd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codextended's Issues

Debian 11 'GLIBC_2.34' not found

Hey All,

I have Debian 11 from my hosting provider which comes with GLIBC_2.31. As you can see:

root@1eternity:~/cod1/myserver# ldd --version
ldd (Debian GLIBC 2.31-13+deb11u8) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Whenver I try to launch the latest version of codextended.so from here: https://github.com/xtnded/codextended/releases/download/v21-03-12-2023/codextended.so I get this errror:

root@1eternity:~/cod1/myserver# ./start_server_no_docker.sh
/root/cod1/myserver/cod_lnxded: /lib32/libc.so.6: version `GLIBC_2.34' not found (required by /root/cod1/myserver/codextended.so)
/root/cod1/myserver/cod_lnxded: /lib32/libc.so.6: version `GLIBC_2.33' not found (required by /root/cod1/myserver/codextended.so)

which is a valid error. I have tried using docker to circumvent the library issue but I feel like it is introducing random hitch warnings on my server. I want to try without docker.

Can anyone please help me compile with the older ldd so I can run without docker on my Debian 11?

Tagging @PrawyCoD1 .

MySQL Server has gone away

@riicchhaarrd

My server is running fine for multiple days but I always end up with following error.

INSERT INTO session (server_id, ip, entnum) VALUES('82','xx.xx.xx.xx','0');
errno = 2006 error = MySQL server has gone away
public_dm.sh: line 2: 26875 Segmentation fault LD_PRELOAD=./codextended.so ./cod_lnxded +set dedicated 2 +exec dedicated.cfg +exec dm.cfg

Is it possible to let CoDExtended automatically reconnect to the database?

sv_init.c needs change

In sv_init we can find Cvar_Get("sv_wwwDownload", "1", 1);
This should be set to 0. Just in my opinion

what?

I can't find a description anywhere of what CoDExtended actually does. Which hacks, what limits, which bugs... Is there a feature list somewhere?

Startup error on COD 1.5

Hey guys,

i want to use codextended on a cod 1.5 server. I Downloaded the codextended.so from your Git. Binary is original and not modified. start the server with the following command

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. LD_PRELOAD=/bin/codextended.so /gameserver/cod_lnxded +set fs_basepath /gameserver ${STARTUP}

COD MP 1.5 build linux-i386 Nov 15 2004,
----- FS_Startup -----,
Error: signal: 0xb {11},
linux-gate.so.1(__kernel_sigreturn+0x0)[0xf7f6fb60],
/bin/codextended.so(xtn_crash_handler+0x20)[0xf76c39d1],
/gameserver/cod_lnxded[0x807f458],
/gameserver/cod_lnxded[0x807ef77],
/gameserver/cod_lnxded[0x807f904],
/gameserver/cod_lnxded[0x8064a0f],
/gameserver/cod_lnxded[0x8064cdc],
/gameserver/cod_lnxded[0x8064d2f],
/gameserver/cod_lnxded[0x8065914],
/gameserver/cod_lnxded[0x806395e]

So i dont know what the errors meaning. I hope you can help me.

Greets

Access violation with build shared object

Hello,

I'm trying to build codextended.so. There are some missing files.

net_chan.c file is missing, I solved this problem by adding this (and more included files) from this
https://github.com/id-Software/Quake-III-Arena/blob/master/code/qcommon/net_chan.c project. - Is this correct?

Another problem is in curl.c. The included file curl/types.h is deprecated since two years and is not included in all libcurl-* packages on debian/ubuntu. Uncommenting this import does not leet to compiler errors, I assume this file is not needed.

Then I'm able to compile the shared object but on startup, the server crashes with access violation.

COD MP 1.1 build linux-i386 Nov 13 2003
----- FS_Startup -----
Current search path:
/home/tknapp/.callofduty/main
/home/tknapp/codmp/main/zZz_zombies_v6.pk3 (67 files)
/home/tknapp/codmp/main/pak6.pk3 (3 files)
/home/tknapp/codmp/main/pak5.pk3 (4858 files)
/home/tknapp/codmp/main/pak4.pk3 (1668 files)
/home/tknapp/codmp/main/pak3.pk3 (1992 files)
/home/tknapp/codmp/main/pak2.pk3 (694 files)
/home/tknapp/codmp/main/pak1.pk3 (2642 files)
/home/tknapp/codmp/main/pak0.pk3 (12828 files)
/home/tknapp/codmp/main

File Handles:
24752 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp_server.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
Speicherzugriffsfehler (Speicherabzug geschrieben) [access violation (core dumped)]

I got one question left: Where is the code of the downloaded xtn_module.so?

Thanks in advance.
t-knapp

Is it possible to compile targeting 64bit OS?

Since the trend is to use 64bit (latest Ubuntu does not even have 32bit version) I would like to compile this project to 64bit, which steps should I take?

(If you are wondering there is a 64bit version of cod_lnxded)

Compile error

I have this error at compile /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status can you help me?

Cannot download xtn_module.so

Hi richaarrd,

it's been a while since I used codextended. I'm trying to run it as a docker container and after resolving all dependencies on debian:buster I'm stuck at this point:

Download of xtn_module.so does not work, see the attached cli output.

root@65b93cfa6509:/var/codmp# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. LD_PRELOAD=./codextended.so ./cod_lnxded +set dedicated 2 +exec dedicated.cfg
Downloading...

100% [========================================]]
Failed to load './xtn_module.so'
Hunk_Clear: reset the hunk ok
root@65b93cfa6509:/var/codmp# ls -al
total 7612
drwxrwxr-x.  4 root root    4096 Dec 22 15:59 .
drwxr-xr-x. 12 root root    4096 Dec 22 14:15 ..
-rw-r--r--.  1 root root 1564672 Dec 22 13:22 CoDMP.exe
-rw-r--r--.  1 root root 2912155 Dec 22 13:22 CoDSP.exe
-rw-r--r--.  1 root root  462848 Dec 22 13:22 cgamex86.dll
-rw-r--r--.  1 root root  259756 Dec 22 13:22 cod.bmp
-rwxr-xr-x.  1 root root  724648 Dec 22 13:22 cod_lnxded
-rwxr-xr-x.  1 root root  476760 Dec 22 13:22 codextended.so
-rw-r--r--.  1 root root  737280 Dec 22 13:22 gamex86.dll
-rw-r--r--.  1 root root    2285 Dec 22 13:22 localization.txt
drwxr-xr-x.  4 root root    4096 Dec 22 13:22 main
drwxr-xr-x.  2 root root    4096 Dec 22 13:22 miles
-rw-r--r--.  1 root root  370688 Dec 22 13:22 mss32.dll
-rw-r--r--.  1 root root  253952 Dec 22 13:22 uix86.dll
-rw-r--r--.  1 root root     196 Dec 22 15:59 xtn_module.so
root@65b93cfa6509:/var/codmp# cat xtn_module.so 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
root@65b93cfa6509:/var/codmp# 

Where is the file hosted or how can I get it?

Kind regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.