Jump to content

6 posts in this topic

Recommended Posts

Posted

You cannot directly mod those enums, they're constants

for example, 

1 = Gold
2 = Gems, etc..

Instead of wasting your time and writing strings, you can use integers to identify those strings

You should look for functions that make use of these enums

  • Like 1
Posted
On 10/04/2022 at 10:38, Zahir said:

Você não pode modificar diretamente esses enums, eles são constantes

por exemplo, 

1 = Ouro
2 = Gemas, etc.

Em vez de desperdiçar seu tempo e escrever strings, você pode usar números inteiros para identificar essas strings

Você deve procurar funções que fazem uso dessas enumerações

send me script example, pls

Posted (edited)

DamageType.Generic is equal to int damageType = 0; (same as DamageType damageType = DamageType.Generic)
DamageType.Hunger is equal to int damageType = 1;
DamageType.Thirst
is equal to int damageType = 2;

void MakeDamage(int damage, DamageType damageType) - > MakeDamage(100, DamageType.Generic) -> MakeDamage(100, 0)

hook function
 

void (*MakeDamage)(void *instance, int damage, int damageType) = nil;
void _MakeDamage(void *instance, int damage, int damageType){
  if(damageType == 0)
  {
    damageType = 1;
    MakeDamage(instance, damage, damageType);
  }
  else if(damageType == 1)
  {
    MakeDamage(instance, 0, damageType);
  }
  else
  {
    MakeDamage(instance, damage, damageType);
  }
}

 

Updated by gogigogi1
Posted (edited)
2 hours ago, gogigogi1 said:

DamageType.Generic is equal to int damageType = 0; (same as DamageType damageType = DamageType.Generic)
DamageType.Hunger is equal to int damageType = 1;
DamageType.Thirst
is equal to int damageType = 2;

void MakeDamage(int damage, DamageType damageType) - > MakeDamage(100, DamageType.Generic) -> MakeDamage(100, 0)

hook function
 

void (*MakeDamage)(void *instance, int damage, int damageType) = nil;
void _MakeDamage(void *instance, int damage, int damageType){
  if(damageType == 0)
  {
    damageType = 1;
    MakeDamage(instance, damage, damageType);
  }
  else if(damageType == 1)
  {
    MakeDamage(instance, 0, damageType);
  }
  else
  {
    MakeDamage(instance, damage, damageType);
  }
}

 

 

 

 

I tried but it didn't work, see my script

i want to do fall damage when i jump high

 

	// Token: 0x06001E39 RID: 7737 RVA: 0x00002053 File Offset: 0x00000253
		[Token(Token = "0x6001E39")]
		[Address(RVA = "0x6E2D68", Offset = "0x6E2D68", VA = "0x6E2D68")]
		public void Hurt(float amount, ET.DamageType type, [Optional] PlayerManager attacker)
		{
		}


// Oxide.ET.DamageType
// Token: 0x04001A78 RID: 6776
[Token(Token = "0x4001A78")]
public const ET.DamageType Fall = 12;


// its my code in mod menu



void (*orig_Update) (void* instance);
void Update(void* instance) {


    if (instance != NULL && hack1)

    {

        *(float*)((uint64_t)instance + 0x90) = 12.0f; // jump height
        *(float*)((uint64_t)instance + 0x88) = 12.0f; //speed

    }


    return orig_Update(instance);
}

void (*orig_Hurt)(void *instance,float amount, int DamageType , int attacker) ;
void Hurt(void *instance, float amount, int DamageType,int attacker){
    if(hack1 && DamageType == 12)
    {
        DamageType = 12; // fall
        Hurt(instance, 0, DamageType ,attacker);
    }
        else if(DamageType == 12)
        {
            Hurt(instance, 0, DamageType,attacker);
        }
        else
        {
            Hurt(instance,amount,DamageType,attacker);
        }
    }


// hook


 MSHookFunction((void *)getAbsoluteAddress(targetLibName,string2Offset(OBFUSCATE_KEY("0x6E2D2C",'?'))),(void *) Hurt,(void **)&orig_Hurt);

 MSHookFunction((void *)getAbsoluteAddress(targetLibName,string2Offset(OBFUSCATE_KEY("0x737570",'?'))),(void *) Update,(void **)&orig_Update);


I also changed the DamageType to type but it didn't work..
  
  
  

 

https://www.youtube.com/watch?v=Tgx4vIDO_kY

game :  https://play.google.com/store/apps/details?id=com.catsbit.oxidesurvivalisland&hl=pt_BR&gl=US

Updated by fdhbyfgd
Posted

first of all its seems thats u hook wrong function

because u hook is wrong and will not work at all

 

void (*orig_Hurt)(void *instance,float amount, int DamageType , int attacker) ;
void Hurt(void *instance, float amount, int DamageType,int attacker){
    if(hack1 && DamageType == 12)
    {
        DamageType = 12; // fall
        orig_Hurt(instance, 0, DamageType ,attacker);
    }
        else if(DamageType == 12)
        {
            orig_Hurt(instance, 0, DamageType,attacker);
        }
        else
        {
            orig_Hurt(instance,amount,DamageType,attacker);
        }
}


 

with ur mistake u not able take damage at all but u take

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Coin Summoner: Coin Pusher RPG +3++ Mods [ Unlimited Everything ]
      Mod APK Game Name: Coin Summoner: Coin Pusher RPG By POMENEST STUDIO
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.pomenest.coinsummoner

       

      🤩 Hack Features

      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.
      - Unlimited Items -> Will increase instead of decrease.
      • 0 replies
    • Coin Summoner: Coin Pusher RPG +3++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Coin Summoner: Coin Pusher RPG By POMENEST STUDIO
      Bundle ID: com.pomenest.coinsummoner
      App Store Link: https://apps.apple.com/us/app/coin-summoner-coin-pusher-rpg/id6762540963?uo=4

       


      🤩 Hack Features

      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.
      - Unlimited Items -> Will increase instead of decrease.
      • 2 replies
    • My Sticker Room - Decor Game v1.4.2 [ +3 Cheats ] Currency Max
      Modded/Hacked App: My Sticker Room - Decor Game By SayGames LTD
      Bundle ID: com.playstrom.my.sticker.room
      App Store Link: https://apps.apple.com/us/app/my-sticker-room-decor-game/id6743738094?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Skip Ticker / Use & Earn
      • 0 replies
    • My Sticker Room - Decor Game v1.4.2 [ +3 Jailed ] Currency Max
      Modded/Hacked App: My Sticker Room - Decor Game By SayGames LTD
      Bundle ID: com.playstrom.my.sticker.room
      App Store Link: https://apps.apple.com/us/app/my-sticker-room-decor-game/id6743738094?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Skip Ticker / Use & Earn
      • 1 reply
    • Arrows – Puzzle Escape v0.18.0 [ +1 APK MOD ] Lives Max
      Mod APK Game Name: Arrows – Puzzle Escape
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ecffri.arrows&hl=en

       

      🤩 Hack Features

      Pre Activated Just Login
      - Max Lives

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 1 reply
    • Arrows – Puzzle Escape v0.18.1 [ +1 Cheats ] Lives Max
      Modded/Hacked App: Arrows – Puzzle Escape By Lessmore GmbH
      Bundle ID: com.ecffri.arrows
      App Store Link: https://apps.apple.com/us/app/arrows-puzzle-escape/id6748397500?uo=4

       

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Max Lives

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 0 replies
    • Arrows – Puzzle Escape v0.18.1 [ +1 Jailed ] Lives Max
      Modded/Hacked App: Arrows – Puzzle Escape By Lessmore GmbH
      Bundle ID: com.ecffri.arrows
      App Store Link: https://apps.apple.com/us/app/arrows-puzzle-escape/id6748397500?uo=4

      🤩 Hack Features

      - Max Lives
      • 1 reply
    • Survival point: Epic Adventure +8 Cheats
      Mod APK Game Name: Survival point: Epic Adventure
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.teslagamesglobal.survivalist

       

      🤩 Hack Features

      - Damage Multiplier
      - Never Die
      - Unlimited Durability
      - Exp Multiplier
      - Unlimited Items From Mail
      - Gold Freeze
      - Freeze Skills
      - Can Craft Anything

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Blitz: Rise of Heroes +2 Cheats
      Mod APK Game Name: Blitz: Rise of Heroes By WhaleApp LTD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.whaleapp.blitz.rise.heroes.idle.rpg.battle

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Touhou LostWord +3 Cheats
      Mod APK Game Name: Touhou LostWord By GOOD SMILE COMPANY, INC.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=jp.goodsmile.touhoulostwordglobal_android

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Never Die

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Slime Rancher +19 Jailed Cheats [ Currency, Spawn Items, No Clip + More! ]
      Modded/Hacked App: Slime Rancher By Playdigious
      Bundle ID: com.playdigious.slimerancher
      App Store Link: https://apps.apple.com/us/app/slime-rancher/id6758201392?uo=4

       


      🤩 Hack Features

      - Unlimited Health
      - Unlimited Energy
      - Set Money Amount
      - Add Money Amount
      - Set Keys Amount
      - Add Keys Amount
      - No Clip -> Fly and walk through walls.
      - Pause World Time
      - Sleepwalk
      - Set World Time Amount
      - Add World Minutes Amount
      - Spawn Item ID -> For a whole list of Item ID's, go here.
      - Spawn Item Count
      - Give Item to Inventory Slot
      - Refill Items
      - Unlock Upgrades
      - Reset Upgrades
      - Unlock Maps
      - Unlock Progress
        • Like
      • 11 replies
    • Tacticool: 5v5 Tactical Shooter +7 Jailed Cheats [ Aimbot, ESP Boxes, Lines ]
      Modded/Hacked App: Tacticool: 5v5 Tactical Shooter By Panzerdog Oy
      Bundle ID: com.panzerdog.tacticool
      App Store Link: https://apps.apple.com/us/app/tacticool-5v5-tactical-shooter/id1240200305?uo=4

       


      🤩 Hack Features

      - Ally ESP Boxes
      - Ally ESP Lines
      - Ally ESP Health
      - Ally ESP Distance
      - Enemy ESP Boxes
      - Enemy ESP Lines
      - Enemy ESP Health
      - Enemy ESP Distance
      - Field of View Modifier
      • 14 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines