Skip to content
Guest Big Announcement

H5GG Enhanced Menu Tutorial - JSPlug-in Advanced

Featured Replies

  • Author
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

  • Replies 48
  • Views 19.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

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!!!!

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!

  • Author
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.

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..

 

                  
                    

  • Author
On 9/11/2023 at 10:34 PM, ada1016 said:

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..

 

                  
                    

I am not very sure I understand what you want to do but there are few issues with your code

- PuzzlePlayer doesn’t have m_nTurnNumber. I believe your stopCount function should create under PuzzleUI

- You are missing the cheatObj for PuzzleUI

- Your stopCount take Zero parameter. So, you should have the value as NIL =>  StopCount:["PuzzleUI","notUsed","NIL","SELF","ON","stopCount"]

If I recall correctly, the PuzzleUI object seems has issue. It always crash when try to access it. Not sure if it works for you. You can try.

Thxx

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.