#include <*_mp.ff>
#include <*_console.ff>
//***************************\\
//**Package: Gears 3 PM Bypass and Test Mods**\\
//**For use: Xenon/Falcon/Jasper JTAG 7376 or lower.**\\
//**What: Executes a PM Bypass with inclient dvars. Activates DVARs by using a HxD Injection method.**\\
//**Written by: Cody (shotdownsoul@hotmail.com)**\\
//***************************\\
//post message bypass
//looks strange but it works on the current xex
doHxDDvar()
{
self openHxD();
//self row_1217_line_128("0x7F, 0x4F"), ("0x00, 0x00"); //method one of manual dvar activation
//works because of inclient HxD
//here's another example
self row_1217_line_128("0x7F, 0x4F"), newCluster ("0x00", "0x00") replaceCluster; //probably more safe
}
doHexDvarAmmo()
{
self openHxD();
self row_409_line_121("0x??"), newCluster ("0x7F") replaceCluster;
self row_078_line_018("Gears_Of_War_3_Beta"), newCluster ("Modded_By_Cody") replaceCluster;
}
doImHost()
{
self SetClientDvar("i_am_host", "1");
}
postMessage()
{
console_postMessage = 0x01;
console_arrayKey = {0x00, 0x7F, 0x00, 0x64, 0x00, 0x05};
}
//if your using data (ie, model swapping, forcing maps, mods, etc) you need to call PM at the beginning of every dvar or client edit
//here's an example of how to force old_town_mp.ff (0x06)
doOldTown()
{
self thread postMessage();
self thread doImHost();
self setClientDvar( "ranked_game", "0x01" );
self setServerDvar( "map", "0x06" );
}
onPlayerSpawn()
{
player thread doUI();
player thread doSpawn();
player thread doCheck();
doHxDDvar();
doHexDvarAmmo();
// default threads, we can now call things
// however; you can't call oldTown because its a SERVER command, so look below
//here's custom ones
self thread doGod();
self thread doAmmo();
}
onPlayerConnect()
{
player thread default_mp();
player thread doOldTown();
//now it works ^^
}
//some examples
doAmmo()
{
self thread postMessage();
self thread doImHost();
self setClientDvar( "ammo_container", "0x7F" );
//all values have to be hexadecimal based or it won't work, 7f=2.147bil, causes an overflow anyways
}
doGod()
{
self thread postMessage();
self thread doImHost();
self setClientDvar( "my_health", "0x7F" );
self setClientDvar( "my_health_take_damage", "0x00" );
}
doNoClip()
{
self thread postMessage();
self thread doImHost();
self setClientDvar( "set_client_limitations", "0x00" );
self setClientDvar( "set_console", "0x01" );
self setClientDvar( "set_fly", "0x01" );
self setClientDvar( "test_fly", "0x01" );
}