Git Product home page Git Product logo

grproxy's Introduction

GRProxy

Proxy for Ghost Recon with a few hacks mixed in.

I wrote this while I was in college -- somewhere around 2001 or 2002 so the code is crap, but it was a fun little exercize to reverse engineer the network protocol and write this little tool.The code doesn't account for things like typing commands wrong. It'll crash. If I remember correctly, determining what players are on what team was also problematic, so in team games, you may end up shooting the wrong players. Also, teleporting seems to sometimes break replays recorded during a game.

I will probably never update this code to improve it, but if someone sends an MR I'll take a look at it.

Compile

Compile the proxy with:

gcc newgrproxy.c -o newgrproxy

Running

newgrproxy server:port proxyport
	hostname:port specifies where to connect
	proxyport specifies a port to listen on (where to connect your game)

Commands

The proxy intercepts chat commands beginning with '/' and tries to interpret them into commands. Any command beginning with a slash will not be sent to the server, so no other player will see them -- even if they are mistyped.

/autoaim

Turn on automatic aiming. This does not change your view angle. It only redirects the bullet to the nearest opponent. Send again to toggle it off.

/autonade

Turn on automatic grenades. Grenades no longer travel. They just explode over an enemy. A fast-moving player will not be hit. Send again to toggle it off.

/spoof clientid message

Spoof a chat message from a given client identifier (see the whois command to find a client id).

/showall

Show all players on the map. Send again to toggle it off.

/fog

Turn off fog (perfect view distance). This one sends to your client rather than to the server (it changes only for you).

/tele_dist x|y|z distance

Teleport a distance along an axis. If you can get inside a wall, wall collision detection on the server breaks, and it's possible to hit anyone anywhere.

/tele x|y|z distance clientid

Teleport someone else (identified by client id -- see whois command) a distance along an axis.

/suicide clientid

Tell a player to shot himself. See whois command to find client ids.

/suicide_off

Turn off suiciding.

/whois clientid

Determine what player represents a given client id. To find a player, cycle through a sequence of numbers to find the player you're looking for.

/tk clientid

Tell a player to kill a teammate.

grproxy's People

Contributors

marcuswu avatar

Watchers

 avatar  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.