GithubHelp home page GithubHelp logo

edems96 / libcod Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kungfooman/libcod

0.0 2.0 0.0 1.22 MB

Server extension for Call Of Duty 1, 2 and 4

Home Page: http://killtube.org/forum.php

C++ 52.75% Shell 1.58% C 45.67%

libcod's Introduction

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

  • Call Of Duty 2 1.2
  • Call Of Duty 2 1.3
  • Call Of Duty 4 1.7

Requirements:

dpkg --add-architecture i386
apt-get update
apt-get install gcc-multilib
apt-get install libmysqlclient-dev:i386
apt-get install g++-multilib

Precompiled shared libraries: http://killtube.org/downloads/libcod/

Starting the server:

LD_PRELOAD=libcod2_1_3_nomysql.so ./cod2_lnxded +set fs_game ...

Some enviroments need LD_LIBRARY_PATH also:

LD_LIBRARY_PATH=. LD_PRELOAD=libcod2_1_3_nomysql.so ./cod2_lnxded +set fs_game ...

Working with the source / Compiling:

./doit.sh tar
./doit.sh base # compiles object files needed by every .so
./doit.sh cod1_1_5 # compiles object files for CoD 1 1.5 and linking them against base to the actual bin/libcod1_1_5.so
./doit.sh cod2_1_2
./doit.sh cod2_1_3
./doit.sh cod4_1_7
./doit.sh wrapper

Mods depending on libcod:

Little overview of added functions:

  • MySQL
  • 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)
  • blazing fast astar-implementation (needed for: zombots)
  • setAlive-function (needed for: zombots, so xmodels are damagable without damage-trigger... zombots in stockmaps)
  • disableGlobalPlayerCollision()

Community / Help: http://killtube.org/forum.php

Porting libcod to a new Call Of Duty: find . -name '*.c*' | xargs grep -n _VERSION

libcod's People

Contributors

m-itch avatar kungfooman avatar iznogod avatar riicchhaarrd avatar

Watchers

James Cloos avatar Adam Torok avatar

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.