Skip to content

Server extension for CoD2 1.0, 1.2 and 1.3

Notifications You must be signed in to change notification settings

PrawyCoD1/libcod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Call of Duty extension libcod is adding new server-side functions to:

  • Call Of Duty United Offensive 1.51

Requirements:

g++ (multilib for x64)
MySQL (optional)
SQLite (optional)

Working with the source / Compiling:

./doit.sh coduo_1_51

Starting the server:

export LD_PRELOAD="$HOME/coduo_1_51/libcoduo_1_51.so"
./coduo_lnxded +set fs_game ... +set dedicated 2 ...

Little overview of added functions:

  • MySQL
  • SQLite
  • Linux shell command execution (adds tons of possibilites like executing external scripts, commands and pass their output to GSC)
  • setVelocity, getVelocity, addVelocity (needed for the mods: portal, surf)
  • keyPressed-functions for left, right, forward, backward, leanleft, leanright, jump etc., (needed for: surf, doublejump made by IzNoGod)
  • setAlive-function (needed for: zombots, so xmodels are damagable without damage-trigger... zombots in stockmaps)
  • disableGlobalPlayerCollision() also disableGlobalPlayerEject()
  • native bot functions (bots can move, shoot, jump, melee, ads, set stance)
  • weapon-functions (get/set weapon damage, firetime, maxammo without editing their files)

Engine fixes:

  • Directory traversal fix
  • Weapon struct segfault fix
  • Rate Limiter

Credits to CoD4x developer for many function/typedef references, thanks!

Community / Help: http://killtube.org/forum.php
Function documentation: https://github.com/M-itch/codscriptdoc

About

Server extension for CoD2 1.0, 1.2 and 1.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.8%
  • Shell 2.2%