GithubHelp home page GithubHelp logo

kannansa / halo-3-anniversary- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ksabogda/halo-3-anniversary-

0.0 1.0 0.0 483.71 MB

De Cheato

Shell 0.01% C++ 90.42% Perl 0.03% C 9.08% Objective-C 0.47%

halo-3-anniversary-'s Introduction

The Pringle

Halo 3 Online hack built on top of ElDorito.

The hacked branch contains the hacked code, the master branch has the upstream code that can be pulled and merged over into hacked on updates.

Features

  • Aimbot
    • Projectile prediction with accurate time-to-impact and player position estimation/confidence by calculating derivatives
  • Chams
  • ESP
  • Markers
  • Service tag changing
  • No fog
  • Speed hack
  • Air acceleration (flying)
  • Easily extensible via hooks

Credits

Videos

Setup

Copy the fully patched and updated ElDorito runtime to ./HaloOnline/, open the solution, and set ElDorito as the startup project, along with the following configuration options set:

Option Setting
General
Windows SDK Version 8.1
Output Directory $(SolutionDir)HaloOnline\
Intermediate Directory $(ProjectDir)$(Configuration)\
Target Name mtndew
Target Extension .dll
Platform Toolset Visual Studio 2017 (v141)
Debugging
Command $(SolutionDir)HaloOnline\eldorado.exe
Working Directory $(ProjectDir)

The same can be done for CefProcess too, using custom_menu.exe instead of mtndew.dll.

Hacked Code

To keep the hacked code all together, and to make it easy to merge upstream changes, hack implementations must live in ./ElDorito/Source/ThePringle/ and be fully namespaced, with code changes outside being:

  • As minimal as possible.
  • Hook where behavior can be implemented by subscribing to those hooks.
  • Not changing program flow unless absolutely necessary.

Speedhack Example

The function Patches/PlayerScale.cpp:833: void BipedMovementPhysics(s_biped_physics_data1 *data, ...) is responsible for moving and accelerating the physics object the local player controls. In this function, there is a local variable scale, that if modified, will adjust the speed the player runs at. We can then create the following struct with a reference to that scale as such:

struct ModifySpeedMultiplier
{
	float& Speed;
	ModifySpeedMultiplier(float& speed) : Speed(speed) { }
};

We can then add the line:

Pringle::Hook::Call<Pringle::Hooks::ModifySpeedMultiplier>(scale);

To just below where the scale is initialized. Due to a reference to the scale being passed (in the member variable Speed), the hack side code can subscribe to the ModifySpeedMultiplier event, and mutate the Speed variable to control it in an extensible way, as such:

Hook::SubscribeMember<ModifySpeedMultiplier>(this, &SpeedHack::OnModifySpeedMultiplier);
// ...
void SpeedHack::OnModifySpeedMultiplier(const ModifySpeedMultiplier & msg)
{
	if (this->Enabled->ValueInt != 0)
		msg.Speed *= this->Factor->ValueFloat;
}

Note how the logic is done hack side and not game side, with the change compounding (i.e. not overwriting) the existing value. This allows the functionality to be extended in many places, not just one place. For example, you could add jitter to the speed to make you harder to hit without changing the overall average running speed, while maintaining compatibility with the speedhack.

halo-3-anniversary-'s People

Contributors

0-x-2-2 avatar alex-231 avatar ashleighadams avatar babbaj avatar camden-smallwood avatar chaosvex avatar clef-0 avatar craftycodie avatar dark-c0de avatar emoose avatar ernegien avatar fr1kin avatar jakeshirley avatar jaron780 avatar kesawulf avatar limited55 avatar maximumgame avatar medsouz avatar num0005 avatar personalitypi avatar rabidsquabbit avatar rehashedsalt avatar scooterpsu avatar shockfire avatar thiconz avatar twist84 avatar unk-1 avatar uplynxed avatar wunkolo avatar wyv avatar

Watchers

 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.