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

    • 1945 - Airplane shooting games v15.28 Jailed Cheats +3
      Modded/Hacked App: 1945 Air Force: Airplane Games By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.airforce
      App Store Link: https://apps.apple.com/us/app/1945-air-force-airplane-games/id1460632826?uo=4

       


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/Mac/Linux with iTunes installed.


      Hack Features:
      - God Mode
      - One Hit Kill
      - Premium + No Ads


      iOS Hack Download Link: https://iosgods.com/topic/150679-1945-airplane-shooting-games-v1502-jailed-cheats-3/
      • 167 replies
    • Guild of Heroes: Fantasy RPG v1.187.5 - [ x Player Damage & More ]
      Modded/Hacked App: Guild of Heroes: Fantasy RPG By BIT.GAMES PBL
      Bundle ID: com.goplaytoday.guildofheroes
      iTunes Store Link: https://itunes.apple.com/us/app/guild-of-heroes-fantasy-rpg/id979474617?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - x Player Damage - x1 - 10
      - x Player Defense - x1 - 10
      - Enemies Auto Die
      - Premium Activate
      - Freeze Resources
      - Freeze Potions

      All features are unlinked and only for player, you!
      Note:
      Not Responsible For Any Bans


      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/79822-guild-of-heroes-fantasy-rpg-v1679-5k-gold-sell-value-more/
      • 1,748 replies
    • Pew Pew Slime - Idle RPG v35 Jailed Cheats +5
      Modded/Hacked App: Pew Pew Slime - Idle RPG By X-LEGEND ENTERTAINMENT CO., LTD.
      Bundle ID: com.xlegend.pewpewslime.global
      App Store Link: https://apps.apple.com/us/app/pew-pew-slime-idle-rpg/id6739420338?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - God Mode
      - Multiply Attack

      After in-game press Activate Cheat 1 time, then turn it off. Now you can use, if it not work after you relaunch the game next time, repeat the process

      For Multiply Attack do not set max value ortherwise it will revert back to default value, example max value is 10 set 9.8 or 9.9

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202589-pew-pew-slime-idle-rpg-v26-jailed-cheats-2/
      • 51 replies
    • ZombTube v1.2.364 [ +11 Jailed ] Currency Max
      Modded/Hacked App: ZombTube By Dmytro Drach
      Bundle ID: com.booblyc.ZombTubeGame
      iTunes Store Link: https://apps.apple.com/us/app/zombtube/id6464316230?uo=4


      Hack Features:

      - IAP Free

      - No ADS

      - Red coins

      - Gold

      - Parts - Upgrade Free Guns-Items

      - Damage

      - Bullet Range

      - Gun Range

      - Ammo

      - No Reload

      - Accuracy
      • 7 replies
    • ZombTube v1.2.364 [ +11 Cheats ] Currency Max
      Modded/Hacked App: ZombTube By Dmytro Drach
      Bundle ID: com.booblyc.ZombTubeGame
      iTunes Store Link: https://apps.apple.com/us/app/zombtube/id6464316230?uo=4


      Hack Features:
      - IAP Free

      - No ADS

      - Red coins

      - Gold

      - Parts - Upgrade Free Guns-Items

      - Damage

      - Bullet Range

      - Gun Range

      - Ammo

      - No Reload

      - Accuracy
      • 49 replies
    • Tropic Match v1.0 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Tropic Match By BTMK s.r.o.
      Bundle ID: com.rebelgames.tropicmatch
      iTunes Store Link: https://apps.apple.com/us/app/tropic-match/id6547859499?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 1 reply
    • Tropic Match v1.0 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Tropic Match By BTMK s.r.o.
      Bundle ID: com.rebelgames.tropicmatch
      iTunes Store Link: https://apps.apple.com/us/app/tropic-match/id6547859499?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 2 replies
    • Everybody's RPG v5.92 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Everybody's RPG By Seung Jae Lee
      Bundle ID: com.nomadgames.everybodyrpgpay
      iTunes Store Link: https://apps.apple.com/us/app/everybodys-rpg/id1353701442?uo=4


      🤩 Hack Features

      - Currency Max

      - DMG

      - ATK Speed

      - ATK Range

      - Skill CD

      - Enemy Freeze

      - Enemy NO [ Stage Mod ] Easy Skip Stage

      Don't Abuse The Hack Incase Banned
      • 23 replies
    • Everybody's RPG v5.92 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Everybody's RPG By Seung Jae Lee
      Bundle ID: com.nomadgames.everybodyrpgpay
      iTunes Store Link: https://apps.apple.com/us/app/everybodys-rpg/id1353701442?uo=4


      🤩 Hack Features

      - Currency Max

      - DMG

      - ATK Speed

      - ATK Range

      - Skill CD

      - Enemy Freeze

      - Enemy NO [ Stage Mod ] Easy Skip Stage

      Don't Abuse The Hack Incase Banned
      • 35 replies
    • Hero Survival IO 2 V1.0.6 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Hero Survival IO 2 By VIET NAM SKYNET JOINT STOCK COMPANY
      Bundle ID: com.game.hero.survival.survivor
      iTunes Store Link: https://apps.apple.com/us/app/hero-survival-io-2/id6480162404?uo=4
       

      Hack Features

      - No ADS [ Rewards Free ]

      - Gems Unlimited [ Achievements Rewards ]

      - Gold Unlimited [ In Battle Pick Box ]

      - ATK

      - HP

      - Def

      - Skill EXP [ Pick One Exp Quickly Get All Skill ]

      - iGG Speed [ Max 0-5 Faster Play Save Time ]
      • 16 replies
    • Hero Survival IO 2 V1.0.6 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Hero Survival IO 2 By VIET NAM SKYNET JOINT STOCK COMPANY
      Bundle ID: com.game.hero.survival.survivor
      iTunes Store Link: https://apps.apple.com/us/app/hero-survival-io-2/id6480162404?uo=4


      Hack Features:
      - No ADS [ Rewards Free ]

      - Gems Unlimited [ Achievements Rewards ]

      - Gold Unlimited [ In Battle Pick Box ]

      - ATK

      - HP

      - Def

      - Skill EXP [ Pick One Exp Quickly Get All Skill ]

      - iGG Speed [ Max 0-5 Faster Play Save Time ]
      • 13 replies
    • Resident Evil Survival Unit +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Resident Evil Survival Unit By Aniplex Inc.
      Bundle ID: com.aniplex.resu
      App Store Link: https://apps.apple.com/us/app/resident-evil-survival-unit/id6744668327?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier [ Battle ]
      - Defence Multiplier [ Battle ]
      - God Mode [ Battle ]
      - God Mode [ Explore ]
      - One-Hit Kill [ Explore ]
      - Freeze Items & Ammo
      • 98 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