Jump to content

52 posts in this topic

Recommended Posts

Posted
3 minutes ago, Gay 228 said:
  Hide contents


/*
    H5GG Plugin Mod Menu logic should enable easier Mod Menu development for non-jailbroken. It preserve existing H5GG UI and features, while adding new cheat menu.
    Cheat implemented using a patch free approach, the game binary does not required to patch. 
    
    Contribute by Happy Secret on iOSGods (2023)
*/
var script = initializeUnitySupport();

//[MODIFY] Configure Cheat Here
var cheats = {
    JumpHeight: ["CCDrivenController", "m_JumpHeight", "50", "SELF", "ON"],
};

var intervalID;
var aryObj
var cheatState = false;
var cheatMode = "recurrent";
var recurrentInterval = 1200; //try not to be small than 1000, prevent system freeze

function toogleCheat() {
    cheatState = !cheatState;
    document.getElementById("applybutton").textContent = ' Toggle OFF ';
    document.getElementById("applybutton").style.backgroundColor = '#E8E8E850';

    if (cheatState) {
        intervalID = setInterval(function () {
            if (cheatState) {
                try {
                    script = initializeUnitySupport();
                    //[MODIFY]Find core object object list
                    aryObj = script.call("findUnityObjectOfType", ["Oxide$CCDrivenController", true]);
                } catch (e) {
                    //reset Unity Support
                    gIl2cppInit = false;
                    var script = initializeUnitySupport();
                    appendLog("Unity support crashed and reset complete");
                }

                if (!aryObj) {
                    appendLog("Cannot find object to cheat. Engine stopped.");
                    cheatState = false;
                    document.getElementById("applybutton").textContent = ' Toggle Cheat ';
                    return;
                } else if (aryObj.length == 0) {
                    appendLog("Cheat waiting for core object.");
                    return;
                }
                
                for (let i = 0; i < aryObj.length; i++) {
                    //[MODIFY]Start prepare core object for delink / filtering here
                    let CharacterMotor = new UnityObject(aryObj[i]);
                    //debugInfo("BattleCharacter (" + aryObj[i].toString(16) + ") with UnityObject:" + BattleCharacter, [aryObj[i]])
                    CharacterMotor.loadFields(["_config"]);
                    //debugInfo("BattleCharacter (" + aryObj[i].toString(16) + ") with player:" + BattleCharacter.Status, [aryObj[i]])
                    
                    //debugInfo("BattleCharacter (0x" + aryObj[i].toString(16) + ") with CurrentUnitType:" + BattleCharacter.CurrentUnitType, [aryObj[i]])
                    
                    //[MODIFY]Locate the right object to cheat (SELF)
                    let isSelf = true//BattleCharacter.CurrentUnitType==100? true:false;
                    let cheatObj = {};
                    //End prepare core object for delink / filtering here
                    
                    //[MODIFY]Start prepare cheat object here
                    let CharacterMotorConfig = new UnityObject(CharacterMotor._config)
                    CharacterMotorConfig.loadFields(["m_JumpHeight"])
                    cheatObj["CCDrivenController"] = CharacterMotorConfig
                    
                    //End prepare cheat object
                    for (var prop in cheats) {
                        if (Object.prototype.hasOwnProperty.call(cheats, prop)) {
                            let obj;
                            let addr;
                            let oldValue = 0;
                            if (isNaN(cheats[prop][2])){
                                switch (cheats[prop][2]){
                                    case "ONE":
                                        cheats[prop][2] = 1
                                        break;
                                }
                            }
                            if (isSelf && cheats[prop][3] == "SELF" && cheats[prop][4] == "ON") {
                                cheatObj[cheats[prop][0]][cheats[prop][1]] = isNaN(cheats[prop][2]) ? cheatObj[cheats[prop][0]][cheats[prop][2]] : cheats[prop][2];
                            } else if (isSelf==false && cheats[prop][3] == "ENEMY" && cheats[prop][4] == "ON") {
                                cheatObj[cheats[prop][0]][cheats[prop][1]] = isNaN(cheats[prop][2]) ? cheatObj[cheats[prop][0]][cheats[prop][2]] : cheats[prop][2];
                            }//end if TURN ON
                        }
                    }//end For cheat item
                }//end For core object list
                appendLog("Cheat applied successfully");
            } else {
                clearInterval(intervalID);
            }
        }, recurrentInterval);
    } else {
        //code will stop on next coming iteration
        document.getElementById("applybutton").textContent = ' Toggle Cheat ';
        appendLog("Cheat stopped");
    }

    if (cheatMode != "recurrent") clearInterval(intervalID);
}

/* Add button on H5GG UI to open the Cheat UI, if it does not exist */
if ($("#cheatpluginmodmenu").length == 0) {
    var btn = $('<button id="cheatpluginmodmenu">Cheat</button>');
    btn.attr("credit", "Happy Secret");
    btn.click(function () {
        $("#cheatpluginpage").show();
    });
    //backward compatible with standard H5GG menu
    if ($("#frontview").length == 0) {
        $('#results_count').after(btn);
    } else {
        $("#frontview").append(btn);
    }
}

/* Create the Cheat UI Layer, if it does not exist */
if ($("#cheatpluginpage").length == 0) {
    var popup_pixelfancheat_html = $('<div id="cheatpluginpage"  style="background-color: #FDFDFD; width:100%; height:100%; position:absolute; left:0; top:0; border:1px solid #B8B8B880; border-radius: 5px; padding: 0px; z-index: 99999;-webkit-user-select: all;-webkit-touch-callout: default;"></div>');
    $(document.body).append(popup_pixelfancheat_html);
}

/* Generate Clean Cheat Menu UI */
var html = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cheat by Happy Secret';
html += '<br><div style="float:right; font-size:16px; font-family: Arial, sans-serif;" onclick="closecheatpluginpage()">&nbsp;X&nbsp;</div>';

/* Prepare Cheat Item */
for (var prop in cheats) {
    if (Object.prototype.hasOwnProperty.call(cheats, prop)) {
        if (isNaN(cheats[prop][2]))
            html += '<label><input name="' + prop + '"type="checkbox" ' + '" onchange="checkchange(this)" checked/>' + prop + '<output>(' + cheats[prop][4] + ')</output></label>';
        else
            html += '<br><label><input name="' + prop + '"type="range" min="0" max="' + cheats[prop][2] * 2 + '" value="' + cheats[prop][2] + '" style="width:50%" onchange="rangechange(this)" />' + prop + '<output>(' + cheats[prop][2] + ')</output></label>';
    }
}

html += '<p align="center"><button onclick="toogleCheat()" id="applybutton">&nbsp;Toggle Cheat&nbsp;</button>';
html += '</hr><div id="cheatpluginpagelog" class="scrollbar" ></div>';


$("#cheatpluginpage").html(html);
$("#cheatpluginpage").hide();

function closecheatpluginpage() {
    $("#cheatpluginpage").hide();
}

function rangechange(input) {
    cheats[input.name][2] = Number(input.value);

    input.nextElementSibling.value = '(' + input.value + ')';
    //input.previousElementSibling.value = '(' + input.value + ')';

    //Change Apply Button Color to remind user to press Apply
    document.getElementById("applybutton").style.backgroundColor = 'yellow';
}

function checkchange(input) {
    cheats[input.name][4] = input.checked ? "ON" : "OFF"

    input.nextElementSibling.value = '(' + cheats[input.name][4] + ')';

    //Change Apply Button Color to remind user to press Apply
    document.getElementById("applybutton").style.backgroundColor = 'yellow';
}

/* Create Cheat Log */
function appendLog(msg) {
    var oldmsg = $("#cheatpluginpagelog").html();
    if (oldmsg.length > 300) oldmsg = "";
    oldmsg = getCurTime() + ' - ' + msg + '<br>' + oldmsg;
    $("#cheatpluginpagelog").html(oldmsg);
}

yes, of course, the script is in the spoiler

If you want to test out Unity User Object wrapper, I suggest you to use Option 2 first.

 

from you script, I have few questions.

1. Are you sure you can get object pointer for this class Oxide$CCDrivenController

2. Your step 3, doesn’t look right. You are also using _config??CharacterMotor.loadFields(["_config"]);

3. Your step 5, doesn’t look right as well. 
let CharacterMotorConfig = new UnityObject(CharacterMotor._config)???

 

What game is it? 
If you are using you can get an object from Oxide$CCDrivenController. And you just need to update m_JumpHeight from this object. 
 

Your step 3 should be 

CharacterMotor.loadFields(["m_JumpHeight"]); /l

 

You may simplify step 5, to just put CCDrivenController object to cheatObj["CCDrivenController"] = CharacterMotor (or you should rename it) 

 

  • Like 2
Posted
1 час назад Happy Secret сказал:

Если вы хотите протестировать обертку Unity User Object, я предлагаю сначала использовать вариант 2.

 

от твоего сценария, у меня мало вопросов.

1. Вы уверены, что можете получить указатель объекта для этого класса Oxide$CCDrivenController?

2. Ваш шаг 3 выглядит неправильно. Вы также используете _config?? CharacterMotor.loadFields(["_config"]);

3. Ваш шаг 5 тоже выглядит неправильно.
пусть CharacterMotorConfig = новый UnityObject(CharacterMotor._config)???

 

Что это за игра?
Если вы используете, вы можете получить объект из Oxide$CCDrivenController. И вам просто нужно обновить m_JumpHeight с этого объекта.
 

Ваш шаг 3 должен быть

CharacterMotor.loadFields(["m_JumpHeight"]); /l

 

Вы можете упростить шаг 5, чтобы просто поместить объект CCDrivenController в cheatObj["CCDrivenController"] = CharacterMotor (или вы должны переименовать его)


 

 

I need to change the height of the jump
yes i can get everything from ccdrivencontroller
this game: Oxide survival island (survival)
what about _config, I don't quite understand what it is responsible for in the code, can you explain?

Posted
48 minutes ago, Gay 228 said:

I need to change the height of the jump
yes i can get everything from ccdrivencontroller
this game: Oxide survival island (survival)
what about _config, I don't quite understand what it is responsible for in the code, can you explain?

Can you cheat this high jump with H5GG enhanced menu alone?

if the only class object you need is ccdrivencontroller. Then you don’t need to travel to other class object.

 

_config is just an example that I need to travel from CharacterMotor object to CharacterMotorConfig object 

Posted
10 минут назад Happy Secret сказал:

Можете ли вы обмануть этот прыжок в высоту только с улучшенным меню H5GG?

если единственным нужным объектом класса является ccdrivencontroller. Тогда вам не нужно ехать на объект другого класса.

 

_config - это всего лишь пример того, как мне нужно переходить от объекта CharacterMotor к объекту CharacterMotorConfig

i can modify jump with improved h5gg from you.
I just need to push this modification into a java script

Posted (edited)
1 hour ago, Happy Secret said:

Можете ли вы обмануть этот прыжок в высоту только с улучшенным меню H5GG?

если единственным нужным объектом класса является ccdrivencontroller. Тогда вам не нужно ехать на объект другого класса.

 

_config - это всего лишь пример того, как мне нужно переходить от объекта CharacterMotor к объекту CharacterMotorConfig

the field I need is in the CCDrivencontroller
do i need a config??

Updated by Gay 228
Posted
1 hour ago, Gay 228 said:

the field I need is in the CCDrivencontroller
do i need a config??

Then you don’t need. 
 

Can you try if you can cheat with option 2 first? 

Posted
14 минут назад Happy Secret сказал:

Тогда вам не нужно.
 

Можете ли вы сначала обмануть вариантом 2?

i want to hack games with your java script i thought it was multitasking, you can just make a menu mod which also h5gg is cool.
what about option 2 i will try. but I don't want to test I want to make a cheat.
can you do esp in java? I would like to see esp just html is already outdated in my opinion

Posted
2 minutes ago, Gay 228 said:

i want to hack games with your java script i thought it was multitasking, you can just make a menu mod which also h5gg is cool.
what about option 2 i will try. but I don't want to test I want to make a cheat.
can you do esp in java? I would like to see esp just html is already outdated in my opinion


if you success in creating cheat script with option 2…the. Option 3 is not far away.

if you can’t even make cheat with option 2, don’t even think about option 3. Option 3 is much advanced 

Posted
52 минуты назад Happy Secret сказал:


если вам удастся создать чит-скрипт с вариантом 2... Вариант 3 находится недалеко.

если вы даже не можете обмануть вариант 2, даже не думайте о варианте 3. Вариант 3 очень продвинутый

unity 5d is not very good, it allows you to create an esp, but I need it in the mod menu

Posted
1 час назад Happy Secret сказал:


если вам удастся создать чит-скрипт с вариантом 2... Вариант 3 находится недалеко.

если вы даже не можете обмануть вариант 2, даже не думайте о варианте 3. Вариант 3 очень продвинутый

yes I tried and advanced to:
get value failed: address format error
What is wrong with me?

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

    • Turret Defense King v1.2.35 [ +9 Cheats ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
      • 25 replies
    • Turret Defense King v1.2.35 [ +9 Jailed ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
      • 28 replies
    • Castle Crush-Match 3 v2.38.0 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Castle Crush-Match 3 By KIWI MIBO NETWORK TECHNOLOGY CO.,LIMITED
      Bundle ID: com.mibo.castlecrush.apple
      iTunes Store Link: https://apps.apple.com/us/app/castle-crush-match-3/id1663431964?uo=4


      Hack Features

      - Coins

      - Lives

      - Stars

      - Moves Freeze

      - Booster

      - Auto Win [ Just Hit Target ]


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 40 replies
    • Castle Crush-Match 3 v2.38.0 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Castle Crush-Match 3 By KIWI MIBO NETWORK TECHNOLOGY CO.,LIMITED
      Bundle ID: com.mibo.castlecrush.apple
      iTunes Store Link: https://apps.apple.com/us/app/castle-crush-match-3/id1663431964?uo=4


      Hack Features

      - Coins

      - Lives

      - Stars

      - Moves Freeze

      - Booster

      - Auto Win [ Just Hit Target ]


      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 44 replies
    • Dream Resort - Match 3 Games v1.8.3 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4
       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 39 replies
    • Dream Resort - Match 3 Games v1.8.3 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 36 replies
    • Cooking World: Cooking Games v1.33.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4
       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature

      - Lives [ Linked With Exp ]
      • 23 replies
    • Cooking World: Cooking Games v1.33.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4

       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature 

      - Lives [ Linked With Exp ]
      • 31 replies
    • Stick Cricket Clash v2.2.9 [ +3 Jailed ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4


      Hack Features:
      - Currency Freeze
      - Score [ Win All Match ]
      - Ads Reward 


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      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
    • Stick Cricket Clash v2.2.9 [ +3 Cheats ] Currency Freeze
      Modded/Hacked App: Stick Cricket Clash By Stick Sports Ltd
      Bundle ID: com.sticksports.stickcricketclash
      iTunes Store Link: https://apps.apple.com/us/app/stick-cricket-clash/id6444344271?uo=4



      Hack Features:
      - Currency Freeze
      - Score Win All Match
      - Ads Reward 



      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/
      • 49 replies
    • Grow Survivor V8.2.2 [ +3 Cheats ] DMG
      Modded/Hacked App: Grow Survivor By gitae park
      Bundle ID: com.pixelstar.GrowSurvivor
      iTunes Store Link: https://apps.apple.com/us/app/grow-survivor/id1361842156?uo=4

      Hack Features:
      - Ammo Max [ Just Tap To Shoot Enemy ]
      - No Reload [ Just Tap To Shoot Enemy ]
      - DMG [ Just Change Gun ]
      • 13 replies
    • Grow Survivor V8.2.2 [ +3 Jailed ] DMG
      Modded/Hacked App: Grow Survivor By gitae park
      Bundle ID: com.pixelstar.GrowSurvivor
      iTunes Store Link: https://apps.apple.com/us/app/grow-survivor/id1361842156?uo=4


      Hack Features:

      - Ammo Max [ Just Tap To Shoot Enemy ]
      - No Reload [ Just Tap To Shoot Enemy ]
      - DMG [ Just Change Gun ]
      • 18 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