Jump to content

H5GG Enhanced Menu Tutorial - JSPlug-in Advanced


Happy Secret

41 posts in this topic

Recommended Posts

9 hours ago, ada1016 said:

Q:Is this script worked like one time thing? That, the script only get executed when the code path get there, and you have to run the script before it trigger.  For some method that happened at battle, such as adjust mana when take damage, you cannot use this script as it does not work like a hook.  Is this understand correct?

Depends on game design, you might still have access to battle related object outside battle. However, it doesn’t make much sense to cheat those object while not in battle.

9 hours ago, ada1016 said:

Q: if a method has game object in parameter, how do I loadMethods it?e.g.

public void AdjustPlayerMana(int playerIndex, int[] manaCollected, ref bool activateManaMatchTraits, bool collectedFromBoard = False, bool wasMatch = False, PuzzleTroop pAdjustmentCause) { }

JSPlug-in does support int[] yet. For object param, you could use pointer or int64 as parameter type.

for Ref bool, you might need to test as well, not sure if it is going to take bool or pointer reference 

Link to comment
Share on other sites

Hint for your, when I try to cheat mana recovery. I would try to look for any param/config defines recovery rate. 
Memory patch the rate would be the easiest way to do mana cheat.

another possibility is to look for any function that could be use to restore mana.

another possibility is to look for way to reduce mana consumption, say changing skill’s mana cost.

 

if you really want to try that AdjusrPlayerMana method, change that int[] to int32. Give it a try

What game is it?

Link to comment
Share on other sites

3 hours ago, Happy Secret said:

Hint for your, when I try to cheat mana recovery. I would try to look for any param/config defines recovery rate. 
Memory patch the rate would be the easiest way to do mana cheat.

another possibility is to look for any function that could be use to restore mana.

another possibility is to look for way to reduce mana consumption, say changing skill’s mana cost.

 

if you really want to try that AdjusrPlayerMana method, change that int[] to int32. Give it a try

What game is it?

This is Gem of War. https://apps.apple.com/tw/app/gems-of-war-match-3-strategy/id897954560

thank you for great advice, I will keep learning and play with it.  The thing about reseting mana are good advice, but it looks like this game is call same method to control both side (my and enemy's) mana. So when I alter the change, it affect both side.

 

 

Link to comment
Share on other sites

3 hours ago, ada1016 said:

This is Gem of War. https://apps.apple.com/tw/app/gems-of-war-match-3-strategy/id897954560

thank you for great advice, I will keep learning and play with it.  The thing about reseting mana are good advice, but it looks like this game is call same method to control both side (my and enemy's) mana. So when I alter the change, it affect both side.

 

 

Sample for your reference…

https://iosddl.net/b25f42911edfaa43/H5JSPlugin_-_Gem_of_War.js

 

I guess it won’t work on PVP. But PVE cheating is easy.

Link to comment
Share on other sites

3 hours ago, ada1016 said:

This is Gem of War. https://apps.apple.com/tw/app/gems-of-war-match-3-strategy/id897954560

thank you for great advice, I will keep learning and play with it.  The thing about reseting mana are good advice, but it looks like this game is call same method to control both side (my and enemy's) mana. So when I alter the change, it affect both side.

 

 

You need to learn how to de-link.

You can see my Script above uses isAI field to determine if it is my team or enemy team. Cheat would only apply on selected team. Currently I only cheat on my team, you can debuff on enemy team as well, say make their HP as 1 (ready to die) or required Mana as 99, mean they are not going to use any skill

Link to comment
Share on other sites

On 9/8/2023 at 1:46 PM, Happy Secret said:

You need to learn how to de-link.

You can see my Script above uses isAI field to determine if it is my team or enemy team. Cheat would only apply on selected team. Currently I only cheat on my team, you can debuff on enemy team as well, say make their HP as 1 (ready to die) or required Mana as 99, mean they are not going to use any skill

wow!  thank you sooooo much!!!!

Link to comment
Share on other sites

On 9/8/2023 at 1:46 PM, Happy Secret said:

You need to learn how to de-link.

You can see my Script above uses isAI field to determine if it is my team or enemy team. Cheat would only apply on selected team. Currently I only cheat on my team, you can debuff on enemy team as well, say make their HP as 1 (ready to die) or required Mana as 99, mean they are not going to use any skill

and just like you mentioned, this way of cheating make it almost effortless to maintain. The game just upgraded to 7.1 and your script directly take effect with no problem

 

I really must learn this more, thank you!

Link to comment
Share on other sites

50 minutes ago, ada1016 said:

and just like you mentioned, this way of cheating make it almost effortless to maintain. The game just upgraded to 7.1 and your script directly take effect with no problem

 

I really must learn this more, thank you!

Yes, unless the game developer specifically update design to target our cheat.

But this way of cheating is quite different, if you really like it, you will need to spend the effort to learn this different way of game cheating.

  • Like 1
Link to comment
Share on other sites

23 hours ago, Happy Secret said:

Yes, unless the game developer specifically update design to target our cheat.

But this way of cheating is quite different, if you really like it, you will need to spend the effort to learn this different way of game cheating.

Exactly. it is different way of thinking logic, but this is getting closer to the way Game Developer thinking, much more O-O orient 

and... I hope I am not taking too much of your time, I try to micmic your code and change the total number of turn that I can use, so I had below diff
adding  below to var cheats
    StopCount:["PuzzleUI","notUsed","ONE","SELF","ON","stopCount"]

and have below under togglecheat

                    PuzzlePlayer.stopCount = function(){
                       appendLog("this.m_nTurnNumber= "+this.m_nTurnNumber) 
                        this.m_nTurnNumber = 15;
                    }
                    let PuzzleUI = new UnityObject(PuzzlePlayer.PuzzleUI)
                    PuzzleUI.loadFields(["m_nTurnNumber","LootTurnRuneCount"])
                   // this.m_nTurnNumber = this.LootTurnRuneCount
                    appendLog("m_nTurnNumber= "+this.m_nTurnNumber+" : LootTurnRuneCount ="+this.LootTurnRuneCount)


 I thought I can print out the turn number, but always I get undefined. 

I am sure in PuzzleUI, there is such field, and in PuzzlePlayer, there is an instance of PuzzleUI

My code here https://www.icloud.com/iclouddrive/0ebWuS2833pIaaBca7M-q3viQ#H5JSPlugin_-_Gem_of_War

 

thank you so much..

 

                  
                    

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Zooba: Zoo Battle Royale Game v4.37.1 Jailed Cheats +2
      Modded/Hacked App: Zooba: Zoo Battle Royale Games By Wildlife Studios Limited
      Bundle ID: com.fungames.battleroyale
      iTunes Store Link: https://apps.apple.com/us/app/zooba-zoo-battle-royale-games/id1459402952?uo=4


      Hack Features:
      - Map Hacks
      - Allow Shoot in Water


      Jailbreak required hack(s): https://iosgods.com/topic/131104-arm64-zooba-zoo-battle-royale-game-cheats-all-versions-2/


      iOS Hack Download Link: https://iosgods.com/topic/131134-arm64-zooba-zoo-battle-royale-game-v320-jailed-cheats-2/
      • 1,067 replies
    • Cooking Diary Restaurant Game v2.27.0 Jailed Cheats +3
      Modded/Hacked App: Cooking Diary® Restaurant Game by MyTona Pte Ltd
      Bundle ID: com.mytonallc.cookingdiary
      iTunes Store Link: https://apps.apple.com/us/app/cooking-diary-restaurant-game/id1214763610?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies (Get some)
      - Freeze Boosters


      iOS Hack Download Link: https://iosgods.com/topic/110310-arm64-cooking-diary-restaurant-game-v1160-3/
      • 595 replies
    • NARUTO X BORUTO NINJA VOLTAGE Cheats v11.4.1 +4 Cheats
      Modded/Hacked App: NARUTO X BORUTO NINJA VOLTAGE by BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0306
      iTunes Store Link: https://apps.apple.com/us/app/naruto-x-boruto-ninja-voltage/id1290010412?uo=4&at=1010lce4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Skill
      - Infinite Mana


      iOS Hack Download Link: https://iosgods.com/topic/128155-arm64-naruto-x-boruto-ninja-voltage-cheats-v600-4/
      • 993 replies
    • Matchington Mansion v1.158.0 Jailed Cheats +3
      Modded/Hacked App: Matchington Mansion By Magic Tavern, Inc.
      Bundle ID: com.matchington.mansion
      iTunes Store Link: https://apps.apple.com/us/app/matchington-mansion/id1216575026?uo=4


      Hack Features:
      - Infinite Moves
      - Infinite Booster
      - Infinite Lives
       


      Jailbreak required hack(s): https://iosgods.com/topic/75127-arm64-matchington-mansion-cheats-all-versions-5/#


      Hack Download Link: https://iosgods.com/topic/75130-arm64-matchington-mansion-v1970-jailed-cheats-3/
      • 584 replies
    • The Simpsons™: Tapped Out v4.67.5 +3 Cheats
      Modded/Hacked App: The Simpsons™: Tapped Out By Electronic Arts Inc.
      Bundle ID: com.ea.simpsonssocial.inc2
      iTunes Store Link: https://apps.apple.com/us/app/the-simpsons-tapped-out/id497595276?uo=4


      Hack Features:
      - Free Store
      - Free Skipping
      - Extra Rewards (Receive when enter the game)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/83384-the-simpsons%E2%84%A2-tapped-out-v4648-3-cheats-for-jailed-idevices/


      Hack Download Link: https://iosgods.com/topic/79480-the-simpsons%E2%84%A2-tapped-out-v4648-3-cheats/
      • 3,301 replies
    • My Fantasy: Choose Your Story v2.9.3 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: My Fantasy: Choose Your Story By GM UNICORN CORPORATION LIMITED
      Bundle ID: gmem.episode
      iTunes Store Link: https://apps.apple.com/us/app/my-fantasy-choose-your-story/id1491717191


      Hack Features:
      - Unlimited Tickets -> Use some.
      - Unlimited Diamonds -> Use some.
      - Premium Enabled


      Jailbreak required hack(s): [Mod Menu Hack] My Fantasy: Choose Your Story v2.2.5 +2 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 133 replies
    • My Fantasy: Choose Your Story v2.9.3 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: My Fantasy: Choose Your Story By GM UNICORN CORPORATION LIMITED
      Bundle ID: gmem.episode
      iTunes Store Link: https://apps.apple.com/us/app/my-fantasy-choose-your-story/id1491717191
       

      Hack Features:
      - Unlimited Tickets -> Use some.
      - Unlimited Diamonds -> Use some.
      - Premium Enabled


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] My Fantasy: Choose Your Story v2.2.5 +2 Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 79 replies
    • Zombie Idle Defense v2.5.4 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Zombie Idle Defense By THAI DONG COMPANY LIMITED
      Bundle ID: com.tdcgame.idle.zombie
      iTunes Store Link: https://apps.apple.com/us/app/zombie-idle-defense/id1509441400?uo=4


      Hack Features:
      - Unlimited Cash -> Spend some.
      - Unlimited Coins -> Will increase instead of decrease.
      - Free In-App Purchases -> Toggle on via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Zombie Idle Defense ( All Versions ) +3 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 25 replies
    • Zombie Idle Defense ( All Versions ) +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Zombie Idle Defense By THAI DONG COMPANY LIMITED
      Bundle ID: com.tdcgame.idle.zombie
      iTunes Store Link: https://apps.apple.com/us/app/zombie-idle-defense/id1509441400?uo=4


      Hack Features:
      - Unlimited Cash -> Spend some.
      - Unlimited Coins -> Will increase instead of decrease.
      - Free In-App Purchases


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Zombie Idle Defense v2.4.1 +3 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 20 replies
    • MeChat v4.20.0 +1 Jailed Cheat [ Unlimited Gems ]
      Modded/Hacked App: MeChat By PlayMe Studio
      Bundle ID: world.playme.mechat
      iTunes Store Link: https://apps.apple.com/us/app/mechat/id1536157979
       

      Hack Features:
      - Unlimited Gems -> Will increase instead of decrease.


      Free Jailbreak required hack(s): [Mod Menu Hack] [Free] MeChat - Love Secrets v3.3.2 +1 Cheat [ Unlimited Gems ] - Free Jailbroken Cydia Cheats - iOSGods
      ViP Jailbreak required hack(s): [Mod Menu Hack] MeChat - Love Secrets v3.3.2 +1 Cheat [ Unlimited Gems ] - ViP Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 616 replies
    • Good Pizza, Great Pizza v5.11.0 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Jailbreak required hack(s): [Mod Menu Hack] Good Pizza, Great Pizza v5.5.6 +2 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 68 replies
    • Good Pizza, Great Pizza v5.11.0 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Good Pizza, Great Pizza v5.5.6 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 38 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