Jump to content

H5GG Enhanced Menu Tutorial - JSPlug-in Advanced


Happy Secret

42 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

    • MY LITTLE PONY: MAGIC PRINCESS v9.4.0 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MY LITTLE PONY: MAGIC PRINCESS By Gameloft
      Bundle ID: com.gameloft.mylittlepony
      iTunes Store Link: https://apps.apple.com/us/app/my-little-pony-magic-princess/id533173905
       

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


      Jailbreak required hack(s): https://iosgods.com/topic/169980-my-little-pony-magic-princess-all-versions-3-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 192 replies
    • MY LITTLE PONY: MAGIC PRINCESS ( All Versions ) +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MY LITTLE PONY: MAGIC PRINCESS By Gameloft
      Bundle ID: com.gameloft.mylittlepony
      iTunes Store Link: https://apps.apple.com/us/app/my-little-pony-magic-princess/id533173905
       

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


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 68 replies
    • Idle Ninja Online v2141 Cheats +15
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?uo=4


      Hack Features:
      - no cool skill
      - no need mana
      - speed
      - max level
      - fast shot
      - penetration
      - multi shot
      - far FOV (in setting)
      - can move 
      - reduce animation
      - skin dame (need show damege skin in setting, from 1 to 23)
      - antiban (not sure 100%) 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 557 replies
    • BIG NAME: City Lovin v0.30.5 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: BIG NAME: City Lovin By Shanghai zhuomian Network Technology Co., Ltd
      Bundle ID: com.facetgame.citylovin
      iTunes Store Link: https://apps.apple.com/us/app/big-name-city-lovin/id6443984911?uo=4


      Hack Features:
      - Unlimited Cash -> Earn some.
      - Unlimited Diamonds -> Earn some.
      - Unlimited Lives -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] BIG NAME: City Lovin v0.29.3 +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/
        • Winner
        • Like
      • 6 replies
    • BIG NAME: City Lovin v0.30.5 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: BIG NAME: City Lovin By Shanghai zhuomian Network Technology Co., Ltd
      Bundle ID: com.facetgame.citylovin
      iTunes Store Link: https://apps.apple.com/us/app/big-name-city-lovin/id6443984911?uo=4


      Hack Features:
      - Unlimited Cash -> Earn some.
      - Unlimited Diamonds -> Earn some.
      - Unlimited Lives -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] BIG NAME: City Lovin v0.29.3 +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/
        • Thanks
        • Winner
        • Like
      • 8 replies
    • Critical Strike CS: Online FPS v12.906 +3 Jailed Cheats [ Unlimited Ammo ]
      Modded/Hacked App: Critical Strike CS: Online FPS By VERTIGOGAMES OU
      Bundle ID: com.vertigo.criticalforce
      iTunes Store Link: https://apps.apple.com/us/app/critical-strike-cs-online-fps/id1467648713?uo=4


      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - All Weapon Skins Unlocked
      - All Gloves Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Critical Strike CS: Online FPS v12.709 +6 Cheats [ Damage + More ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 59 replies
    • Critical Strike CS: Online FPS v12.906 +6 Cheats [ Damage + More ]
      Modded/Hacked App: Critical Strike CS: Online FPS By VERTIGOGAMES OU
      Bundle ID: com.vertigo.criticalforce
      iTunes Store Link: https://apps.apple.com/us/app/critical-strike-cs-online-fps/id1467648713?uo=4


      Hack Features:
      - Damage Multiplier
      - Fire Rate Multiplier
      - Move Speed Multiplier
      - Unlimited Ammo -> Will not decrease.
      - All Weapon Skins Unlocked
      - All Gloves Unlocked


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Critical Strike CS: Online FPS v12.709 +3 Jailed Cheats [ Unlimited Ammo ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 66 replies
    • Monster Survivors v1.9.1 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Monster Survivors By Voodoo
      Bundle ID: games.rivvy.monstersurvivors
      iTunes Store Link: https://apps.apple.com/us/app/monster-survivors/id6463493974?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill
      - Unlimited Currencies -> Spend some.
      - Unlock All -> Head over to Settings and toggle the Music button.


      Jailbreak required hack(s): [Mod Menu Hack] Monster Survivors v1.5 +5 Cheats [ Damage & Defence ] - 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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 35 replies
    • Monster Survivors v1.9.1 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Monster Survivors By Voodoo
      Bundle ID: games.rivvy.monstersurvivors
      iTunes Store Link: https://apps.apple.com/us/app/monster-survivors/id6463493974?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Move Speed Multiplier
      - Unlimited Currencies -> Spend some.
      - Unlock All -> Head into Settings and toggle the Music button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Monster Survivors v1.5 +4 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 20 replies
    • Star Merge: Merging Match Game v1.506 +1++ Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Star Merge: Merging Match Game By PLUMMY GAMES OU
      Bundle ID: com.miramerge
      iTunes Store Link: https://apps.apple.com/us/app/star-merge-merging-match-game/id1580697094?uo=4


      Hack Features:
      - Unlimited Everything


      Jailbreak required hack(s): [Mod Menu Hack] Star Merge: Merging Match Game v1.43 +1++ Cheat [ Unlimited Everything ] - 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/
        • Winner
        • Like
      • 12 replies
    • Star Merge: Merging Match Game v1.506 +1++ Cheat [ Unlimited Everything ]
      Modded/Hacked App: Star Merge: Merging Match Game By PLUMMY GAMES OU
      Bundle ID: com.miramerge
      iTunes Store Link: https://apps.apple.com/us/app/star-merge-merging-match-game/id1580697094?uo=4


      Hack Features:
      - Unlimited Everything


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Star Merge: Merging Match Game v1.43 +1++ Jailed Cheat [ Unlimited Everything ] - 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/
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Doctor Who: Lost In Time v2.0.3 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Doctor Who: Lost In Time By Eastside Games
      Bundle ID: com.eastsidegames.doctorwho
      iTunes Store Link: https://apps.apple.com/us/app/doctor-who-lost-in-time/id1615158216
       

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


      Jailbreak required hack(s): https://iosgods.com/topic/169486-doctor-who-lost-in-time-all-versions-1-cheat-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 48 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