Giter Club home page Giter Club logo

cod4-patch-customconsole's Introduction

CoD4 RCON Custom Console

What does it patch?

This patch will unjail the console, removing the "console: " prepend on every rcon say command.

How do I use this patch?

Compile or Binary

You can use this patch by either:

  • Compile by running make in the root of the repo then run the compiled ELF.
    -OR-
  • Download the ELF that's already precompiled for x64 Debian flavours of Linux.
Usage

Binary takes 1 parameter. The last parameter of the command should be the path to the CoD4 Server binary you wish to patch. EG: cod4-patch-customconsole cod4-lnxded.

Patching details

This patcher hard patches the short bytes inside the ELF.

 --------------------------
| OFFSET     | FROM | TO   |
|------------|------|------|
| 0x00124DDF | 63   | 5E   |
| 0x00124DE0 | 6F   | 37   |
| 0x00124DE1 | 6E   | 5E   |
| 0x00124DE2 | 73   | 37   |
|            |      |      |
| 0x00124DE9 | 6F   | 5E   |
| 0x00124DEA | 6C   | 37   |
| 0x00124DEB | 65   | 5E   |
| 0x00124DEC | 3A   | 37   |
|            |      |      |
|            |      |      |
| 0x00125407 | 63   | 5E   |
| 0x00125408 | 6F   | 37   |
| 0x00125409 | 6E   | 5E   |
| 0x0012540A | 73   | 37   |
|            |      |      |
| 0x00125411 | 6F   | 5E   |
| 0x00125412 | 6C   | 37   |
| 0x00125413 | 65   | 5E   |
| 0x00125414 | 3A   | 37   |
 --------------------------

Bugs

There is a small space that's prepended on to the message in the say rcon command, this is hardly noticable however.

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.