Posted: Mon Jul 24, 2023 7:30 am
Status: Offline
Joined: May 12, 20168 Year Member
Posts: 1,905
Reputation Power: 1262
Status: Offline
Joined: May 12, 20168 Year Member
Posts: 1,905
Reputation Power: 1262
Trying to figure out how to get console commands working on sr2 but it looks like the command line is removed in the xex. These are just some toggles I found so far.
*These are function calls so if you're using c# you would do something like JRPC.CallVoid(0x82390830);
*I used the games on demand version and latest title update
namespace gameFuncs {
void(*addGangNoteriety)() = reinterpret_cast<void(*)()>(0x82390830);//
int(*addPoliceNoteriety)() = reinterpret_cast<int(*)()>(0x823907C0);//
void(*giveMoney)() = reinterpret_cast<void(*)() > (0x82390680); //
int(*bushwickBill_on)() = reinterpret_cast<int(*)()>(0x82390BD0);//
int(*bushwickBill_off)() = reinterpret_cast<int(*)()>(0x823916C8);//
void(*elevatorToHeaven_on)() = reinterpret_cast<void(*)()>(0x823914F8);//
int(*elevatorToHeaven_off)() = reinterpret_cast<int(*)()>(0x82391C60);//
void(*infiniteAmmo_on)() = reinterpret_cast<void(*)()>(0x82391220);//
void(*infiniteAmmo_off)() = reinterpret_cast<void(*)()>(0x82391A38);//
void(*infiniteSprint_on)() = reinterpret_cast<void(*)()>(0x823908F0);//
void(*infiniteSprint_off)() = reinterpret_cast<void(*)()>(0x823915E0);//
int(*neverDie_on)() = reinterpret_cast<int(*)()>(0x823911A0);//
int(*neverDie_off)() = reinterpret_cast<int(*)()>(0x82391980);//
void(*rainingPeds_on)() = reinterpret_cast<void(*)()>(0x82391078);//
void(*rainingPeds_off)() = reinterpret_cast<void(*)()>(0x823918B0);//
int(*removeGangNoteriety)() = reinterpret_cast<int(*)()>(0x82390710);//
int(*removePoliceNoteriety)() = reinterpret_cast<int(*)()>(0x823906C0);//
int(*superBeerMuscles_on)() = reinterpret_cast<int(*)()>(0x82390968);
int(*superBeerMuscles_off)() = reinterpret_cast<int(*)()>(0x82391610);
void(*superExplosions_on)() = reinterpret_cast<void(*)()>(0x82391470);
void(*superExplosions_off)() = reinterpret_cast<void(*)()>(0x82391BD8);
}