What's new

Code All Protections GTA V(BLJM)

W

Wesley_Marcos

Newbie
Messages
4
Reaction score
4
exported by me on 2.24 update

please leave credits xD
Code:
enum CRockstarEvents
{
OBJECT_ID_FREED_EVENT = 0xA03A98,
OBJECT_ID_REQUEST_EVENT = 0xA04090,
ARRAY_DATA_VERIFY_EVENT = 0xA046B8,
SCRIPT_ARRAY_DATA_VERIFY_EVENT = 0x12BCE60,
REQUEST_CONTROL_EVENT = 0x12BD2CC,
GIVE_CONTROL_EVENT = 0x12BDF2C,
WEAPON_DAMAGE_EVENT = 0x12C0088,
REQUEST_PICKUP_EVENT =  0x12C1A54,
REQUEST_MAP_PICKUP_EVENT = 0x12C2274,
GAME_CLOCK_EVENT = 0x12C28E8,
GAME_WEATHER_EVENT = 0x12C2D8C,
RESPAWN_PLAYER_PED_EVENT = 0x12C310C,
GIVE_WEAPON_EVENT = 0x12C37EC,0x12C374C
REMOVE_WEAPON_EVENT = 0x12C3A2C,
REMOVE_ALL_WEAPONS_EVENT = 0x12C3BD4,
VEHICLE_COMPONENT_CONTROL_EVENT = 0x12C409C,
FIRE_EVENT = 0x12C49A4,
EXPLOSION_EVENT =  0x12C5598,
START_PROJECTILE_EVENT = 0x12C6950,
ALTER_WANTED_LEVEL_EVENT = 0x12C783C,
CHANGE_RADIO_STATION_EVENT = 0x12C7CD4,
RAGDOLL_REQUEST_EVENT = 0x12C7F48,
PLAYER_TAUNT_EVENT = 0x12C8330,
PLAYER_CARD_STAT_EVENT =  0x12C870C,
DOOR_BREAK_EVENT =  0x12C88B0,
SCRIPTED_GAME_EVENT = 0x12C8CC0,
REMOTE_SCRIPT_INFO_EVENT = 0x12C918C,
REMOTE_SCRIPT_LEAVE_EVENT = 0x12C9614,
MARK_AS_NO_LONGER_NEEDED_EVENT = 0x12C9948,
CONVERT_TO_SCRIPT_ENTITY_EVENT = 0x12C9F5C,
SCRIPT_WORLD_STATE_EVENT = 0x12CA3E4,
INCIDENT_ENTITY_EVENT = 0x12CA70C,
CLEAR_AREA_EVENT = 0x12CADC8,
NETWORK_REQUEST_SYNCED_SCENE_EVENT = 0x12CB0F8,
NETWORK_START_SYNCED_SCENE_EVENT = 0x12CB4BC,
NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x12CB890,
NETWORK_STOP_SYNCED_SCENE_EVENT = 0x12CB66C,
GIVE_PED_SCRIPTED_TASK_EVENT = 0x12CBD94,
GIVE_PED_SEQUENCE_TASK_EVENT = 0x12CC28C,
NETWORK_CLEAR_PED_TASKS_EVENT = 0x12CC8B8,
NETWORK_START_PED_ARREST_EVENT = 0x12CCC00,
NETWORK_START_PED_UNCUFF_EVENT = 0x12CCD70,
NETWORK_SOUND_CAR_HORN_EVENT = 0x12CCEA4,
NETWORK_ENTITY_AREA_STATUS_EVENT = 0x12CD4C8,
NETWORK_GARAGE_OCCUPIED_STATUS_EVENT = 0x12CDAB4,
PED_CONVERSATION_LINE_EVENT = 0x12CDF04,
SCRIPT_ENTITY_STATE_CHANGE_EVENT = 0x12CE66C0,
NETWORK_PLAY_SOUND_EVENT = 0x12CFD48,
NETWORK_STOP_SOUND_EVENT = 0x12D01A8,
NETWORK_BANK_REQUEST_EVENT = 0x12D04E4,
REQUEST_DOOR_EVENT = 0x12D0934,
NETWORK_TRAIN_REQUEST_EVENT = 0x12D0D6C,
NETWORK_TRAIN_REPORT_EVENT = 0x12D10AC,
NETWORK_INCREMENT_STAT_EVENT = 0x12D12DC,
REQUEST_PHONE_EXPLOSION_EVENT = 0x12CD894,
REQUEST_DETACHMENT_EVENT = 0x12D19B0,
KICK_VOTES_EVENT = 0x12D1D88,
GIVE_PICKUP_REWARDS_EVENT = 0x12D2064,
NETWORK_CRC_HASH_CHECK_EVENT = 0x12D2460,
BLOW_UP_VEHICLE_EVENT = 0x12D2944,
NETWORK_SPECIAL_FIRE_EQUIPPED_WEAPON = 0x12D2DB4,
NETWORK_RESPONDED_TO_THREAT_EVENT = 0x12D3500,
NETWORK_SHOUT_TARGET_POSITION = 0x12D3AA0,
VOICE_DRIVEN_MOUTH_MOVEMENT_FINISHED_EV = 0x12CD1A4,
PICKUP_DESTROYED_EVENT = 0x12D41DC,
UPDATE_PLAYER_SCARS_EVENT = 0x12D45C0,
NETWORK_CHECK_EXE_SIZE_EVENT = 0x12D48D0,
NETWORK_PTFX_EVENT = 0x12D4FF8,
NETWORK_PED_SEEN_DEAD_PED_EVENT = 0x12D585C,
REMOVE_STICKY_BOMB_EVENT = 0x12D5C14,
NETWORK_CHECK_CODE_CRCS_EVENT = 0x12D4B98,
INFORM_SILENCED_GUNSHOT_EVENT = 0x12D5F18,
PED_PLAY_PAIN_EVENT = 0x12D6434,
CACHE_PLAYER_HEAD_BLEND_DATA_EVENT = 0x12D6918,
REMOVE_PED_FROM_PEDGROUP_EVENT = 0x12D6DB0,
REPORT_CASH_SPAWN_EVENT = 0x12D72AC
};

int write_proccess(uint64_t ea, const void * data, uint32_t size = 4)
{
system_call_4(905, (uint64_t)sys_process_getpid(), ea, size, (uint64_t)data);
return_to_user_prog(int32_t);
}
void patchGameEvent(int gEvent, bool toggle)
{
int blr[] = { 0x4E800020 };
int mflr[] = { 0x7C0802A6 };
write_proccess(gEvent, toggle ? blr : mflr);
}
bool Rem_Weapons = false;
addBoolOption("Remove All Weapons Protection", Rem_Weapons);
switch(getOption())
{
case 1:
Rem_Weapons = !Rem_Weapons;
patchGameEvent(0x12C3BD4,Rem_Weapons );
}
 
Last edited:
M

modzoutdro

Newbie
Messages
1
Reaction score
0
exported by me on 2.24 update

please leave credits xD
Code:
enum CRockstarEvents
{
OBJECT_ID_FREED_EVENT = 0xA03A98,
OBJECT_ID_REQUEST_EVENT = 0xA04090,
ARRAY_DATA_VERIFY_EVENT = 0xA046B8,
SCRIPT_ARRAY_DATA_VERIFY_EVENT = 0x12BCE60,
REQUEST_CONTROL_EVENT = 0x12BD2CC,
GIVE_CONTROL_EVENT = 0x12BDF2C,
WEAPON_DAMAGE_EVENT = 0x12C0088,
REQUEST_PICKUP_EVENT =  0x12C1A54,
REQUEST_MAP_PICKUP_EVENT = 0x12C2274,
GAME_CLOCK_EVENT = 0x12C28E8,
GAME_WEATHER_EVENT = 0x12C2D8C,
RESPAWN_PLAYER_PED_EVENT = 0x12C310C,
GIVE_WEAPON_EVENT = 0x12C37EC,0x12C374C
REMOVE_WEAPON_EVENT = 0x12C3A2C,
REMOVE_ALL_WEAPONS_EVENT = 0x12C3BD4,
VEHICLE_COMPONENT_CONTROL_EVENT = 0x12C409C,
FIRE_EVENT = 0x12C49A4,
EXPLOSION_EVENT =  0x12C5598,
START_PROJECTILE_EVENT = 0x12C6950,
ALTER_WANTED_LEVEL_EVENT = 0x12C783C,
CHANGE_RADIO_STATION_EVENT = 0x12C7CD4,
RAGDOLL_REQUEST_EVENT = 0x12C7F48,
PLAYER_TAUNT_EVENT = 0x12C8330,
PLAYER_CARD_STAT_EVENT =  0x12C870C,
DOOR_BREAK_EVENT =  0x12C88B0,
SCRIPTED_GAME_EVENT = 0x12C8CC0,
REMOTE_SCRIPT_INFO_EVENT = 0x12C918C,
REMOTE_SCRIPT_LEAVE_EVENT = 0x12C9614,
MARK_AS_NO_LONGER_NEEDED_EVENT = 0x12C9948,
CONVERT_TO_SCRIPT_ENTITY_EVENT = 0x12C9F5C,
SCRIPT_WORLD_STATE_EVENT = 0x12CA3E4,
INCIDENT_ENTITY_EVENT = 0x12CA70C,
CLEAR_AREA_EVENT = 0x12CADC8,
NETWORK_REQUEST_SYNCED_SCENE_EVENT = 0x12CB0F8,
NETWORK_START_SYNCED_SCENE_EVENT = 0x12CB4BC,
NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x12CB890,
NETWORK_STOP_SYNCED_SCENE_EVENT = 0x12CB66C,
GIVE_PED_SCRIPTED_TASK_EVENT = 0x12CBD94,
GIVE_PED_SEQUENCE_TASK_EVENT = 0x12CC28C,
NETWORK_CLEAR_PED_TASKS_EVENT = 0x12CC8B8,
NETWORK_START_PED_ARREST_EVENT = 0x12CCC00,
NETWORK_START_PED_UNCUFF_EVENT = 0x12CCD70,
NETWORK_SOUND_CAR_HORN_EVENT = 0x12CCEA4,
NETWORK_ENTITY_AREA_STATUS_EVENT = 0x12CD4C8,
NETWORK_GARAGE_OCCUPIED_STATUS_EVENT = 0x12CDAB4,
PED_CONVERSATION_LINE_EVENT = 0x12CDF04,
SCRIPT_ENTITY_STATE_CHANGE_EVENT = 0x12CE66C0,
NETWORK_PLAY_SOUND_EVENT = 0x12CFD48,
NETWORK_STOP_SOUND_EVENT = 0x12D01A8,
NETWORK_BANK_REQUEST_EVENT = 0x12D04E4,
REQUEST_DOOR_EVENT = 0x12D0934,
NETWORK_TRAIN_REQUEST_EVENT = 0x12D0D6C,
NETWORK_TRAIN_REPORT_EVENT = 0x12D10AC,
NETWORK_INCREMENT_STAT_EVENT = 0x12D12DC,
REQUEST_PHONE_EXPLOSION_EVENT = 0x12CD894,
REQUEST_DETACHMENT_EVENT = 0x12D19B0,
KICK_VOTES_EVENT = 0x12D1D88,
GIVE_PICKUP_REWARDS_EVENT = 0x12D2064,
NETWORK_CRC_HASH_CHECK_EVENT = 0x12D2460,
BLOW_UP_VEHICLE_EVENT = 0x12D2944,
NETWORK_SPECIAL_FIRE_EQUIPPED_WEAPON = 0x12D2DB4,
NETWORK_RESPONDED_TO_THREAT_EVENT = 0x12D3500,
NETWORK_SHOUT_TARGET_POSITION = 0x12D3AA0,
VOICE_DRIVEN_MOUTH_MOVEMENT_FINISHED_EV = 0x12CD1A4,
PICKUP_DESTROYED_EVENT = 0x12D41DC,
UPDATE_PLAYER_SCARS_EVENT = 0x12D45C0,
NETWORK_CHECK_EXE_SIZE_EVENT = 0x12D48D0,
NETWORK_PTFX_EVENT = 0x12D4FF8,
NETWORK_PED_SEEN_DEAD_PED_EVENT = 0x12D585C,
REMOVE_STICKY_BOMB_EVENT = 0x12D5C14,
NETWORK_CHECK_CODE_CRCS_EVENT = 0x12D4B98,
INFORM_SILENCED_GUNSHOT_EVENT = 0x12D5F18,
PED_PLAY_PAIN_EVENT = 0x12D6434,
CACHE_PLAYER_HEAD_BLEND_DATA_EVENT = 0x12D6918,
REMOVE_PED_FROM_PEDGROUP_EVENT = 0x12D6DB0,
REPORT_CASH_SPAWN_EVENT = 0x12D72AC
};

int write_proccess(uint64_t ea, const void * data, uint32_t size = 4)
{
system_call_4(905, (uint64_t)sys_process_getpid(), ea, size, (uint64_t)data);
return_to_user_prog(int32_t);
}
void patchGameEvent(int gEvent, bool toggle)
{
int blr[] = { 0x4E800020 };
int mflr[] = { 0x7C0802A6 };
write_proccess(gEvent, toggle ? blr : mflr);
}
bool Rem_Weapons = false;
addBoolOption("Remove All Weapons Protection", Rem_Weapons);
switch(getOption())
{
case 1:
Rem_Weapons = !Rem_Weapons;
patchGameEvent(0x12C3BD4,Rem_Weapons );
}
would this help from other moders frezzing me and kick me
 
Top Bottom