ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1688

Ps3 UNDECTEDGMODE Question

by Torxi - 07-29-2019 - 09:10 PM
#1
Hello community!
I have a question about Godmode, as far as everything seems to work, with crashes and explosions, only what surprises me when cops shoot at me disappears the armor and life Energy, is this normal or I have to compensate with Natives in addition?
Thanks for information Greeting Neelixs
Reply
#2
(07-29-2019 - 09:10 PM)Torxi Wrote: Hello community!
I have a question about Godmode, as far as everything seems to work, with crashes and explosions, only what surprises me when cops shoot at me disappears the armor and life Energy, is this normal or I have to compensate with Natives in addition?
Thanks for information Greeting Neelixs

Perhaps the method you use only protects against it. Does it even work against other players?
[Image: a8keeuutawx01.gif]
Reply
#3
I assume that it works for other players, got the two offsets from Unrestrained a long time ago, and now try to make the on / off function
Is just a bit difficult to get the right information
because I am not a Dev professional, i learn this now only since 2018.
Reply
#4
(07-30-2019 - 06:14 PM)Torxi Wrote: I assume that it works for other players, got the two offsets  from Unrestrained a long time ago, and now try to make the on / off function
Is just a bit difficult to get the right information
because I am not a Dev  professional, i learn this now only since 2018.

Try using this natives together :
Code:
ENTITY::SET_ENTITY_HEALTH( PLAYER::PLAYER_PED_ID(), ENTITY::GET_ENTITY_MAX_HEALTH( PLAYER::PLAYER_PED_ID()));
Maybe you get a better result. Are you using this offset 0x1189728?
[Image: a8keeuutawx01.gif]
Reply
#5
Yes, exactly this offset
Thank you, you'll give it a try, that's what it looks like at the moment



        ::IS_PED_IN_PARACHUTE_FREE_FALL(PLAYER::PLAYER_PED_ID());
        PED::SET_PED_TO_RAGDOLL_WITH_FALL(PLAYER::PLAYER_PED_ID(), 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
        ::SET_ENTITY_HEALTH(PLAYER::PLAYER_PED_ID(), ::GET_ENTITY_MAX_HEALTH(PLAYER::PLAYER_PED_ID()));
        ::SET_ENTITY_CAN_BE_DAMAGED(PLAYER::PLAYER_PED_ID(), 0);
        ::SET_ENTITY_PROOFS(PLAYER::PLAYER_PED_ID(), true, true, true, true, true, true, 1, true);
        PED::SET_PED_CAN_RAGDOLL(PLAYER::PLAYER_PED_ID(), 0);
        ::SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(PLAYER::PLAYER_PED_ID(), 0);
        PLAYER::GIVE_PLAYER_RAGDOLL_CONTROL(PLAYER::PLAYER_ID(), 0);
        PED::SET_PED_RAGDOLL_ON_COLLISION(PLAYER::PLAYER_ID(), 0);
Reply
#6
(07-30-2019 - 09:23 PM)Torxi Wrote: Yes, exactly this offset
Thank you, you'll give it a try, that's what it looks like at the moment



        ::IS_PED_IN_PARACHUTE_FREE_FALL(PLAYER::PLAYER_PED_ID());
        PED::SET_PED_TO_RAGDOLL_WITH_FALL(PLAYER::PLAYER_PED_ID(), 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
        ::SET_ENTITY_HEALTH(PLAYER::PLAYER_PED_ID(), ::GET_ENTITY_MAX_HEALTH(PLAYER::PLAYER_PED_ID()));
        ::SET_ENTITY_CAN_BE_DAMAGED(PLAYER::PLAYER_PED_ID(), 0);
        ::SET_ENTITY_PROOFS(PLAYER::PLAYER_PED_ID(), true, true, true, true, true, true, 1, true);
        PED::SET_PED_CAN_RAGDOLL(PLAYER::PLAYER_PED_ID(), 0);
        ::SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(PLAYER::PLAYER_PED_ID(), 0);
        PLAYER::GIVE_PLAYER_RAGDOLL_CONTROL(PLAYER::PLAYER_ID(), 0);
        PED::SET_PED_RAGDOLL_ON_COLLISION(PLAYER::PLAYER_ID(), 0);

You're welcome.
Code:
uint GodMod = 0x1189728;
NO = 0x38, 0x60, 0x7F, 0xFF, 0xB0, 0x7F, 0x00, 0xB4
OFF = 0xFC, 0x01, 0x10, 0x00, 0x41, 0x80, 0x01, 0x14
//or
ON = 0x38, 0x60, 0x7F, 0xFF
OFF = 0xFC, 0x01, 0x10, 0x00
I hope it works :).
[Image: a8keeuutawx01.gif]
Reply
#7
Thank you again, I would next try to write in
char ON[] = { 0x38, 0x60, 0x7F, 0xFF };
write_process((void*)0x1189728, &ON, sizeof(ON));

char OFF[] = { 0xFC, 0x01, 0x10, 0x00 };
write_process((void*)0x1189728, &OFF, sizeof(OFF));

As long as testing it works
Reply
#8
Thanks, again for the help and the tip, works great
Reply
#9
good tips , thx man
Reply

Users browsing: 3 Guest(s)