Skip to content

An advanced version of libcod, extending Call of Duty® 2 Linux servers

License

Notifications You must be signed in to change notification settings

ibuddieat/zk_libcod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

${\textsf{\color{red}lib\color{green}cod\color{blue}2}\ }$

This extension ...

  • provides interoperability between the Call of Duty® 2 server and other software components and/or advanced game modifications (so-called "mods"),
  • intends to improve the overall game experience and security as the extended software (Call of Duty® 2) is not maintained anymore since more than a decade,
  • has its focus on the Linux variant of Call of Duty® 2 Multiplayer and can be used with the original game binary,
  • and was implemented for non-profit and educational purposes.

⭐ What's new?

The extension requires the server binary for game version 1.3 to be used as basis and supports all three major game versions (check out the sv_version and proxy dvars), including the ability to let players from all those versions to connect to the same server. All functions in this extension work with the original (stock) client executables.

The following list documents changes in comparison to the parent repository:

  • 🔢 Added dvars (see example libcod.cfg)
  • 🔀 Added script callback functions
  • 🔣 Added script code functions
  • 🏗 Changed script code functions
  • 🚨 Improved server security
  • ⚙ Other functional adaptions
    • Faster direct file download for game version 1.0
    • Increased max. direct file download size from 64 MB to 512 MB
    • Added support for map commands in custom rcon callback
    • Allow to show head icons to both teams (via axis_allies)
    • Excluded clients with wrong password from scoreboard
    • Patched Com_PrintMessage so that strings that begin with a caret are printed properly in console
  • 🗒 Improvements in documentation and code
    • Added a crash logger that saves debugging information (locally)
    • Added documentation for all new functions and some where documentation was missing
    • Added documentation for script callback functions (stock and libcod)
    • Fixed some minor bugs
    • Tried to align some coding styles 💩

Important

The script API might change between major releases, as documented here.

💡 Knowledge base

🤝 Acknowledgements

  • IzNoGoD for feedback, testing and further ideas
  • Prawy for feedback and discovery of bugs
  • Raphael for valid security concerns

🔗 Other important references

💬 Contact & contributing

  • Discord: ibuddie
  • E-Mail: ibuddie.at@gmail.com
  • Want to contribute? Let's get in touch via one of the platforms listed above, or just submit a pull request.

Warning

Use this extension at your own risk (see LICENSE). Some features are considered highly experimental and might not be stable enough for productive use.

About

An advanced version of libcod, extending Call of Duty® 2 Linux servers

Resources

License

Stars

Watchers

Forks