Jump to content

H5GG Enhanced Menu Tutorial - JSPlug-in Advanced


Happy Secret

43 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

    • TAIMANIN RPG Extasy v1.0.22 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: TAIMANIN RPG Extasy By INFINI BRAIN.INC
      Bundle ID: jp.co.infini-brain.taimanin.rpg-extasy
      iTunes Store Link: https://apps.apple.com/us/app/taimanin-rpg-extasy/id6466156741?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      • 7 replies
    • Battle Mage Idle Cheats v1.2.1 +3
      Modded/Hacked App: Battle Mage Idle By SuperPlanet corp.
      Bundle ID: com.superplanet.battlemage
      iTunes Store Link: https://apps.apple.com/us/app/battle-mage-idle/id6474856084?uo=4


      Hack Features:
      - Multiply Attack
      - God Mode
      - Freeze Currencies
      - Other minor things
      NOTE: Do not abuse or buy ViP for just this cheat


      iOS Hack Download Link: https://iosgods.com/topic/183601-battle-mage-idle-cheats-v121-3/
      • 22 replies
    • Grow Shooter : Survivor RPG v1.0.24 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Grow Shooter : Survivor RPG By DongSik Moon
      Bundle ID: com.eastmoon.growshooterlive
      iTunes Store Link: https://apps.apple.com/us/app/grow-shooter-survivor-rpg/id6480362458?uo=4


      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Rubies -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Grow Shooter : Survivor RPG v1.0.10 +4 Cheats [ Damage ] - 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/
      • 33 replies
    • Grow Shooter : Survivor RPG v1.0.24 +4 Cheats [ Damage ]
      Modded/Hacked App: Grow Shooter : Survivor RPG By DongSik Moon
      Bundle ID: com.eastmoon.growshooterlive
      iTunes Store Link: https://apps.apple.com/us/app/grow-shooter-survivor-rpg/id6480362458?uo=4


      Hack Features:
      - Damage Multiplier
      - Move Speed Multiplier
      - Unlimited Coins -> Will not decrease.
      - Unlimited Rubies -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Grow Shooter : Survivor RPG v1.0.10 +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/
      • 56 replies
    • Survivor Base - Zombie Siege v1.7 +1++ Jailed Cheats [ Unlimited Resources ]
      Modded/Hacked App: Survivor Base - Zombie Siege By Longames TEC Co.,Ltd
      Bundle ID: com.jlyt.deadrising
      iTunes Store Link: https://apps.apple.com/us/app/survivor-base-zombie-siege/id6479394876?uo=4


      Hack Features:
      - Unlimited Resources


      Jailbreak required hack(s): [Mod Menu Hack] Survivor Base - Zombie Siege v1.3 +1++ Cheats [ Unlimited Resources ] - 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/
      • 20 replies
    • Survivor Base - Zombie Siege v1.7 +1++ Cheats [ Unlimited Resources ]
      Modded/Hacked App: Survivor Base - Zombie Siege By Longames TEC Co.,Ltd
      Bundle ID: com.jlyt.deadrising
      iTunes Store Link: https://apps.apple.com/us/app/survivor-base-zombie-siege/id6479394876?uo=4


      Hack Features:
      - Unlimited Resources


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Survivor Base - Zombie Siege v1.3 +1++ Jailed Cheats [ Unlimited Resources ] - 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/
      • 28 replies
    • Plants vs. Zombies™ 3 v16.1.1 +4 Jailed Cheats [ Freeze Resources ]
      Modded/Hacked App: Plants vs. Zombies™ 3 By EA Swiss Sarl
      Bundle ID: com.ea.ios.pvzn3xt
      iTunes Store Link: https://apps.apple.com/gb/app/plants-vs-zombies-3/id1666636976?uo=4


      Hack Features:
      - Freeze Sun
      - Freeze Plant Food
      - Freeze Promotions
      - No Plant Spawn Cooldown


      Jailbreak required hack(s): [Mod Menu Hack] Plants vs. Zombies™ 3 v8.0.17 +4 Cheats [ Freeze Resources ] - 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/
        • Like
      • 109 replies
    • Dawn of Ages: Medieval Games v1.1.2 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: Dawn of Ages: Medieval Games By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-ages-medieval-games/id6477473268?uo=4


      Hack Features:
      - Auto Win


      Jailbreak required hack(s): [Mod Menu Hack] Dawn of Ages: Medieval Games v1.0.3 +1 Cheat [ Auto Win ] - 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/
      • 16 replies
    • Dawn of Ages: Medieval Games v1.1.2 +1 Cheat [ Auto Win ]
      Modded/Hacked App: Dawn of Ages: Medieval Games By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-ages-medieval-games/id6477473268?uo=4


      Hack Features:
      - Auto Win


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Dawn of Ages: Medieval Games v1.0.3 +1 Jailed Cheat [ Auto Win ] - 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/
        • Winner
      • 45 replies
    • Plants vs. Zombies™ 3 v16.1.1 +4 Cheats [ Freeze Resources ]
      Modded/Hacked App: Plants vs. Zombies™ 3 By EA Swiss Sarl
      Bundle ID: com.ea.ios.pvzn3xt
      iTunes Store Link: https://apps.apple.com/gb/app/plants-vs-zombies-3/id1666636976?uo=4


      Hack Features:
      - Freeze Sun
      - Freeze Plant Food
      - Freeze Promotions
      - No Plant Spawn Cooldown


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Plants vs. Zombies™ 3 v8.0.17 +4 Jailed Cheats [ Freeze Resources ] - 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/
      • 61 replies
    • Hot in Hollywood v0.98 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hot in Hollywood By SodeePI Labs, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      iTunes Store Link: https://apps.apple.com/gb/app/hot-in-hollywood/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies


      Jailbreak required hack(s): [Mod Menu Hack] Hot in Hollywood v0.90 +1++ 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/
      • 54 replies
    • Hot in Hollywood v0.98 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hot in Hollywood By SodeePI Labs, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      iTunes Store Link: https://apps.apple.com/gb/app/hot-in-hollywood/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Hot in Hollywood v0.90 +1++ 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/
      • 12 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