Update: I looked at other sources and tried theirs and i dont freeze now but it does nothing now like not even protecting me.
#define OBJECT_ID_FREED_EVENT 0x835DB1F0
#define OBJECT_ID_REQUEST_EVENT 0x835DB328
#define ARRAY_DATA_VERIFY_EVENT 0x835DB290
#define SCRIPT_ARRAY_DATA_VERIFY_EVENT 0x830EA558
#define REQUEST_CONTROL_EVENT 0x830D7330
#define GIVE_CONTROL_EVENT 0x830D77A8
#define WEAPON_DAMAGE_EVENT 0x830F5318
#define REQUEST_PICKUP_EVENT 0x830D7D78
#define REQUEST_MAP_PICKUP_EVENT 0x830F1FC0
#define GAME_CLOCK_EVENT 0x830D80B8
#define GAME_WEATHER_EVENT 0x830D8178
#define RESPAWN_PLAYER_PED_EVENT 0x830D8380
#define GIVE_WEAPON_EVENT 0x830D8400
#define REMOVE_WEAPON_EVENT 0x830D84F8
#define REMOVE_ALL_WEAPONS_EVENT 0x830D8600
#define VEHICLE_COMPONENT_CONTROL_EVENT 0x830D8720
#define FIRE_EVENT 0x830D8B38
#define EXPLOSION_EVENT 0x830F2BB8
#define START_PROJECTILE_EVENT 0x830D8CE0
#define ALTER_WANTED_LEVEL_EVENT 0x830D9010
#define CHANGE_RADIO_STATION_EVENT 0x830D91F0
#define RAGDOLL_REQUEST_EVENT 0x830D9380
#define PLAYER_TAUNT_EVENT 0x830D94A0
#define PLAYER_CARD_STAT_EVENT 0x830D97F8
#define DOOR_BREAK_EVENT 0x830D9BA8
#define SCRIPTED_GAME_EVENT 0x830D9E90
#define REMOTE_SCRIPT_INFO_EVENT 0x830E3FE0
#define REMOTE_SCRIPT_LEAVE_EVENT 0x830DA0E8
#define MARK_AS_NO_LONGER_NEEDED_EVENT 0x830DA378
#define CONVERT_TO_SCRIPT_ENTITY_EVENT 0x830EBEB0
#define SCRIPT_WORLD_STATE_EVENT 0x830DA5E8
#define INCIDENT_ENTITY_EVENT 0x830DA710
#define CLEAR_AREA_EVENT 0x830DA8F0
#define NETWORK_REQUEST_SYNCED_SCENE_EVENT 0x830DAAA8
#define NETWORK_START_SYNCED_SCENE_EVENT 0x830DAB60
#define NETWORK_UPDATE_SYNCED_SCENE_EVENT 0x830DADC8
#define NETWORK_STOP_SYNCED_SCENE_EVENT 0x830DAC90
#define GIVE_PED_SCRIPTED_TASK_EVENT 0x830EC1F0
#define GIVE_PED_SEQUENCE_TASK_EVENT 0x830EC408
#define NETWORK_CLEAR_PED_TASKS_EVENT 0x830DB100
#define NETWORK_START_PED_ARREST_EVENT 0x830DB250
#define NETWORK_START_PED_UNCUFF_EVENT 0x830DB2F0
#define NETWORK_SOUND_CAR_HORN_EVENT 0x830DB390
#define NETWORK_ENTITY_AREA_STATUS_EVENT 0x830DB598
#define NETWORK_GARAGE_OCCUPIED_STATUS_EVENT 0x830DB798
#define PED_CONVERSATION_NE_EVENT 0x830D9908
#define SCRIPT_ENTITY_STATE_CHANGE_EVENT 0x830DC448
#define NETWORK_PLAY_SOUND_EVENT 0x830DC958
#define NETWORK_STOP_SOUND_EVENT 0x830DC9D8
#define NETWORK_BANK_REQUEST_EVENT 0x830DCB48
#define REQUEST_DOOR_EVENT 0x830DCD78
#define NETWORK_TRAIN_REQUEST_EVENT 0x830DCF80
#define NETWORK_TRAIN_REPORT_EVENT 0x830DD0C0
#define NETWORK_INCREMENT_STAT_EVENT 0x830DD390
#define REQUEST_PHONE_EXPLOSION_EVENT 0x830DD498
#define REQUEST_DETACHMENT_EVENT 0x830DD5A8
#define KICK_VOTES_EVENT 0x830DD6A0
#define GIVE_PICKUP_REWARDS_EVENT 0x830DD840
#define NETWORK_CRC_HASH_CHECK_EVENT 0x830DD950
#define BLOW_UP_VEHICLE_EVENT 0x830DDBE8 //possible protection of give badsport loop (blow-up cars)
#define NETWORK_RESPONDED_TO_THREAT_EVENT 0x830DE170
#define PICKUP_DESTROYED_EVENT 0x830E7C88
#define UPDATE_PLAYER_SCARS_EVENT 0x830DE5E8
#define NETWORK_CHECK_EXE_SIZE_EVENT 0x830DE6E0
#define NETWORK_PTFX_EVENT 0x830DEB58
#define NETWORK_PED_SEEN_DEAD_PED_EVENT 0x830DEC48
#define REMOVE_STICKY_BOMB_EVENT 0x830DEEB0
#define NETWORK_CHECK_CODE_CRCS_EVENT 0x830DE7F0
#define INFORM_SILENCED_GUNSHOT_EVENT 0x830DF160
#define PED_PLAY_PAIN_EVENT 0x830DF328
#define CACHE_PLAYER_HEAD_END_DATA_EVENT 0x830DF418
#define REMOVE_PED_FROM_PEDGROUP_EVENT 0x830E8C98
#define REPORT_CASH_SPAWN_EVENT 0x830DF6D0
#define OFFHOST_KICK_PROTECTION 0x8308AA78 //thanks to SubliminalDev for subliminal source
#define ADMIN_KICK_PROTECTION 0x83FC7889 //thanks to kiwi2014566(other forum) for enable is 0x60000000
#define MODIFY_VEHICLE_LOCK_WORD_STATE_DATA 0x830DD278 //thanks BModzMasterTM(other forum),I already had this but I did not know it was a protection event xD
#define NETWORK_SHOUT_TARGET_POSITION 0x830DE400 //thanks BModzMasterTM(other forum),I already had this but I did not know it was a protection event xD
#define NETWORK_SPECIAL_FIRE_EQUIPPED_WEAPON 0x830DDF80
#define VOICE_DRIVEN_MOUTH_MOVEMENT_FINISHED_EVENT 0x830DB430
#define ADMIN_KICK_PROTECTION_2 0x830C8F2C //thanks to BModzMasterTM(other forum),enable with NOP
#define GHOST_MODE_1 0x8300FC4C //thanks to RF0oDxM0Dz(other forum)
#define GHOST_MODE_2 0x8300FC50 //thanks to RF0oDxM0Dz(other forum)
#define DISABLE_GHOST_MODE_1 0x485CAF6D //thanks to RF0oDxM0Dz(other forum)
#define DISABLE_GHOST_MODE_2 0x4B608089 //thanks to RF0oDxM0Dz(other forum)
#define DETROYING_EVENT 0x830E31A0 //thanks to BModzMasterTM(other forum)
bool NETWORK_INCREMENT_STAT_EVENT_BOOL;
bool ADMIN_KICK_PROTECTION_BOOL;
bool GHOST_MODE_BOOL;
void PatchGameEvent(int offset, bool toggle)
{
*(int*)offset = toggle ? 0x4E800020 : 0x7C0802A6; //0x7C0802A6 or 0x7D8802A6
}
void GhostMode(bool toggle)
{
*(int*)GHOST_MODE_1 = toggle ? 0x4E800020 : DISABLE_GHOST_MODE_1;
*(int*)GHOST_MODE_2 = toggle ? 0x4E800020 : DISABLE_GHOST_MODE_2;
}
void PatchNopGameEvent(int offset)
{
*(int*)offset = NOP;
}
case Sub_Modder_Protection:
addTitle("Modder Protection")
addBoolOption("Stats Protection", NETWORK_INCREMENT_STAT_EVENT_BOOL);
addBoolOption("Admin Kick Protection", ADMIN_KICK_PROTECTION_BOOL);
addBoolOption("Ghost Mode",GHOST_MODE_BOOL);
switch(getOption())
{
case 1:
NETWORK_INCREMENT_STAT_EVENT_BOOL = !NETWORK_INCREMENT_STAT_EVENT_BOOL;
PatchGameEvent(NETWORK_INCREMENT_STAT_EVENT,NETWORK_INCREMENT_STAT_EVENT_BOOL);
break;
case 2:
ADMIN_KICK_PROTECTION_BOOL = !ADMIN_KICK_PROTECTION_BOOL;
PatchNopGameEvent(ADMIN_KICK_PROTECTION);
break;
case 3
GHOST_MODE_BOOL = !GHOST_MODE_BOOL;
GhostMode(GHOST_MODE_BOOL);
break;
}
break;
#define OBJECT_ID_REQUEST_EVENT 0x835DB328
#define ARRAY_DATA_VERIFY_EVENT 0x835DB290
#define SCRIPT_ARRAY_DATA_VERIFY_EVENT 0x830EA558
#define REQUEST_CONTROL_EVENT 0x830D7330
#define GIVE_CONTROL_EVENT 0x830D77A8
#define WEAPON_DAMAGE_EVENT 0x830F5318
#define REQUEST_PICKUP_EVENT 0x830D7D78
#define REQUEST_MAP_PICKUP_EVENT 0x830F1FC0
#define GAME_CLOCK_EVENT 0x830D80B8
#define GAME_WEATHER_EVENT 0x830D8178
#define RESPAWN_PLAYER_PED_EVENT 0x830D8380
#define GIVE_WEAPON_EVENT 0x830D8400
#define REMOVE_WEAPON_EVENT 0x830D84F8
#define REMOVE_ALL_WEAPONS_EVENT 0x830D8600
#define VEHICLE_COMPONENT_CONTROL_EVENT 0x830D8720
#define FIRE_EVENT 0x830D8B38
#define EXPLOSION_EVENT 0x830F2BB8
#define START_PROJECTILE_EVENT 0x830D8CE0
#define ALTER_WANTED_LEVEL_EVENT 0x830D9010
#define CHANGE_RADIO_STATION_EVENT 0x830D91F0
#define RAGDOLL_REQUEST_EVENT 0x830D9380
#define PLAYER_TAUNT_EVENT 0x830D94A0
#define PLAYER_CARD_STAT_EVENT 0x830D97F8
#define DOOR_BREAK_EVENT 0x830D9BA8
#define SCRIPTED_GAME_EVENT 0x830D9E90
#define REMOTE_SCRIPT_INFO_EVENT 0x830E3FE0
#define REMOTE_SCRIPT_LEAVE_EVENT 0x830DA0E8
#define MARK_AS_NO_LONGER_NEEDED_EVENT 0x830DA378
#define CONVERT_TO_SCRIPT_ENTITY_EVENT 0x830EBEB0
#define SCRIPT_WORLD_STATE_EVENT 0x830DA5E8
#define INCIDENT_ENTITY_EVENT 0x830DA710
#define CLEAR_AREA_EVENT 0x830DA8F0
#define NETWORK_REQUEST_SYNCED_SCENE_EVENT 0x830DAAA8
#define NETWORK_START_SYNCED_SCENE_EVENT 0x830DAB60
#define NETWORK_UPDATE_SYNCED_SCENE_EVENT 0x830DADC8
#define NETWORK_STOP_SYNCED_SCENE_EVENT 0x830DAC90
#define GIVE_PED_SCRIPTED_TASK_EVENT 0x830EC1F0
#define GIVE_PED_SEQUENCE_TASK_EVENT 0x830EC408
#define NETWORK_CLEAR_PED_TASKS_EVENT 0x830DB100
#define NETWORK_START_PED_ARREST_EVENT 0x830DB250
#define NETWORK_START_PED_UNCUFF_EVENT 0x830DB2F0
#define NETWORK_SOUND_CAR_HORN_EVENT 0x830DB390
#define NETWORK_ENTITY_AREA_STATUS_EVENT 0x830DB598
#define NETWORK_GARAGE_OCCUPIED_STATUS_EVENT 0x830DB798
#define PED_CONVERSATION_NE_EVENT 0x830D9908
#define SCRIPT_ENTITY_STATE_CHANGE_EVENT 0x830DC448
#define NETWORK_PLAY_SOUND_EVENT 0x830DC958
#define NETWORK_STOP_SOUND_EVENT 0x830DC9D8
#define NETWORK_BANK_REQUEST_EVENT 0x830DCB48
#define REQUEST_DOOR_EVENT 0x830DCD78
#define NETWORK_TRAIN_REQUEST_EVENT 0x830DCF80
#define NETWORK_TRAIN_REPORT_EVENT 0x830DD0C0
#define NETWORK_INCREMENT_STAT_EVENT 0x830DD390
#define REQUEST_PHONE_EXPLOSION_EVENT 0x830DD498
#define REQUEST_DETACHMENT_EVENT 0x830DD5A8
#define KICK_VOTES_EVENT 0x830DD6A0
#define GIVE_PICKUP_REWARDS_EVENT 0x830DD840
#define NETWORK_CRC_HASH_CHECK_EVENT 0x830DD950
#define BLOW_UP_VEHICLE_EVENT 0x830DDBE8 //possible protection of give badsport loop (blow-up cars)
#define NETWORK_RESPONDED_TO_THREAT_EVENT 0x830DE170
#define PICKUP_DESTROYED_EVENT 0x830E7C88
#define UPDATE_PLAYER_SCARS_EVENT 0x830DE5E8
#define NETWORK_CHECK_EXE_SIZE_EVENT 0x830DE6E0
#define NETWORK_PTFX_EVENT 0x830DEB58
#define NETWORK_PED_SEEN_DEAD_PED_EVENT 0x830DEC48
#define REMOVE_STICKY_BOMB_EVENT 0x830DEEB0
#define NETWORK_CHECK_CODE_CRCS_EVENT 0x830DE7F0
#define INFORM_SILENCED_GUNSHOT_EVENT 0x830DF160
#define PED_PLAY_PAIN_EVENT 0x830DF328
#define CACHE_PLAYER_HEAD_END_DATA_EVENT 0x830DF418
#define REMOVE_PED_FROM_PEDGROUP_EVENT 0x830E8C98
#define REPORT_CASH_SPAWN_EVENT 0x830DF6D0
#define OFFHOST_KICK_PROTECTION 0x8308AA78 //thanks to SubliminalDev for subliminal source
#define ADMIN_KICK_PROTECTION 0x83FC7889 //thanks to kiwi2014566(other forum) for enable is 0x60000000
#define MODIFY_VEHICLE_LOCK_WORD_STATE_DATA 0x830DD278 //thanks BModzMasterTM(other forum),I already had this but I did not know it was a protection event xD
#define NETWORK_SHOUT_TARGET_POSITION 0x830DE400 //thanks BModzMasterTM(other forum),I already had this but I did not know it was a protection event xD
#define NETWORK_SPECIAL_FIRE_EQUIPPED_WEAPON 0x830DDF80
#define VOICE_DRIVEN_MOUTH_MOVEMENT_FINISHED_EVENT 0x830DB430
#define ADMIN_KICK_PROTECTION_2 0x830C8F2C //thanks to BModzMasterTM(other forum),enable with NOP
#define GHOST_MODE_1 0x8300FC4C //thanks to RF0oDxM0Dz(other forum)
#define GHOST_MODE_2 0x8300FC50 //thanks to RF0oDxM0Dz(other forum)
#define DISABLE_GHOST_MODE_1 0x485CAF6D //thanks to RF0oDxM0Dz(other forum)
#define DISABLE_GHOST_MODE_2 0x4B608089 //thanks to RF0oDxM0Dz(other forum)
#define DETROYING_EVENT 0x830E31A0 //thanks to BModzMasterTM(other forum)
bool NETWORK_INCREMENT_STAT_EVENT_BOOL;
bool ADMIN_KICK_PROTECTION_BOOL;
bool GHOST_MODE_BOOL;
void PatchGameEvent(int offset, bool toggle)
{
*(int*)offset = toggle ? 0x4E800020 : 0x7C0802A6; //0x7C0802A6 or 0x7D8802A6
}
void GhostMode(bool toggle)
{
*(int*)GHOST_MODE_1 = toggle ? 0x4E800020 : DISABLE_GHOST_MODE_1;
*(int*)GHOST_MODE_2 = toggle ? 0x4E800020 : DISABLE_GHOST_MODE_2;
}
void PatchNopGameEvent(int offset)
{
*(int*)offset = NOP;
}
case Sub_Modder_Protection:
addTitle("Modder Protection")
addBoolOption("Stats Protection", NETWORK_INCREMENT_STAT_EVENT_BOOL);
addBoolOption("Admin Kick Protection", ADMIN_KICK_PROTECTION_BOOL);
addBoolOption("Ghost Mode",GHOST_MODE_BOOL);
switch(getOption())
{
case 1:
NETWORK_INCREMENT_STAT_EVENT_BOOL = !NETWORK_INCREMENT_STAT_EVENT_BOOL;
PatchGameEvent(NETWORK_INCREMENT_STAT_EVENT,NETWORK_INCREMENT_STAT_EVENT_BOOL);
break;
case 2:
ADMIN_KICK_PROTECTION_BOOL = !ADMIN_KICK_PROTECTION_BOOL;
PatchNopGameEvent(ADMIN_KICK_PROTECTION);
break;
case 3
GHOST_MODE_BOOL = !GHOST_MODE_BOOL;
GhostMode(GHOST_MODE_BOOL);
break;
}
break;
Users browsing: 13 Guest(s)