Legends of Idleon

Ask about cheats/tables for single player games here
Tindal
Expert Cheater
Expert Cheater
Posts: 312
Joined: Sun Nov 14, 2021 10:16 am
Reputation: 104

Re: Legends of Idleon

Post by Tindal »

RexyTheDog wrote:
Tue Jul 23, 2024 8:14 pm
HCkami wrote:
Tue Jul 23, 2024 4:48 am
Anyone know the bEngine for vials and post office? Alchemy and P.O UI are invisible for me
Tindal wrote:
Sun Jun 04, 2023 8:11 pm
Sjaklz wrote:
Sun Jun 04, 2023 7:46 pm

How would you do this with Vials?
Easy!
chng bEngine.getGameAttribute("CauldronInfo")[4][ID]=vial_level
where:
ID is Vial number from 0 to 59

Or you can use 'cauldron vialcost' and upgrade all your vialf for free.

couldn't find about the post office, sry :oops:
chng bEngine.getGameAttribute("PostOfficeInfo")[3][ID][0]=box_level
where ID is box_number - 0-23
Remember about max box_level

sadisticdane
Noobzor
Noobzor
Posts: 13
Joined: Sun Jan 28, 2024 8:02 pm
Reputation: 0

Re: Legends of Idleon

Post by sadisticdane »

anyone found anything to help with the daily hoops mini game?

kastatrofa
Novice Cheater
Novice Cheater
Posts: 17
Joined: Sun Apr 21, 2024 12:22 pm
Reputation: 0

Re: Legends of Idleon

Post by kastatrofa »

Hey. 1. Is there any way to set the laboratory level in world 4 using cheats?

2. and is there any way to increase multikill with cheats (to unlock portals)?

3. and how do i get the pure opal jewels (last three ones) ?

ty

User avatar
Myth666
Novice Cheater
Novice Cheater
Posts: 21
Joined: Fri Jun 14, 2024 7:10 pm
Reputation: 3

Re: Legends of Idleon

Post by Myth666 »

Can somebody see if my code was done properly if so tell me, if not then could you tell me how to fix it

Code: Select all

// Configuration file for custom cheats and modifications

// Startup cheats
exports.startupCheats = [
    'wide autoloot',
    'unlock quickref',
    'multiply afk 2',
    'multiply printer 6',
    'godlike food',
    'godlike intervention',
    'talent 168',
    'talent 169',
    'unlock',
    'upstones rng',
    'wide mtx',
    'wide star',
    'wide candy',
    'wide perfectobols',
    'wide autoloot',
    'wide plunderous',
    'minigame',
    'cauldron vialrng',
    'w3 prayer',
    'w3 freeworship',
    'w3 book',
    'w3 globalshrines',
    'w3 trapping',
    'w4 petrng',
    'w4 labpx',
    'w4 arena',
    'w4 petchance',
    'w4 mainframe',
    'w4 chipbonuses',
    'w4 fastforaging',
    'w4 spiceclaim',
    'w5',
    'nomore ^InvBag.*',
    'nomore ^InvStorage.*',
    'nomore ^Obol([Bronze|Silver|Gold]).*',
];

// Cheat configurations
exports.cheatConfig = {
    wide: {
        autoloot: {
            hidenotifications: true,
        },
    },
    w5: {
        gaming: {
            FertilizerUpgCosts: t => t * 0.8,
            SproutCapacity: t => Math.max(22, t + 2),
            MutateUpgCosts: t => t * 0.8,
            LogBookBitBonus: t => Math.max(20, t * 2),
            GamingExpPCT: t => t * 1.5,
            NewMutantChanceDEC: t => 1,
            SproutGrowthCHANCEperMUT: t => t,
            SproutGrowthTime: t => t / 5,
            SaveSprinkler: t => t * 1.1,
            ImportItemCOST: t => t * 0.8,
            AcornShopCost: t => t * 0.8,
            BoxCost: t => t * 0.8,
        },
    },
};

// Injector configuration
exports.injectorConfig = {
    chromePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
};

// Gem Pack Cheats
function registerGemPackCheats() {
    const gemPackCheats = [
        {
            name: "Starter Pack",
            bundleKey: "bun_c",
            items: [
                { name: "TimeCandy1", quantity: 4 },
                { name: "Timecandy2", quantity: 4 },
                { name: "TimeCandy3", quantity: 2 },
                { name: "Timecandy4", quantity: 1 },
                { name: "CardPack1", quantity: 4 },
            ]
        },
        // Add other gem pack cheats here...
    ];

    gemPackCheats.forEach(pack => {
        registerCheat({
            name: `buy ${pack.name}`,
            message: `Buy ${pack.name} permanently`,
            fn: function() {
                const actorEvents189 = events(189);
                const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
                let x = character.getXCenter();
                let y = character.getValue("ActorEvents_20", "_PlayerNode");

                // Set the bundle as permanently received
                bEngine.setGameAttribute("PermanentBundles", {
                    ...bEngine.getGameAttribute("PermanentBundles"),
                    [pack.bundleKey]: true
                });

                // Apply the bundle items
                pack.items.forEach(item => {
                    actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
                });

                // Save the game to persist changes
                bEngine.saveGame();

                return `The ${pack.name} has been permanently unlocked!`;
            }
        });
    });
}

// Call this function to register the gem pack cheats
registerGemPackCheats();

// Add a startup check for permanent bundles
exports.startupCheats.push('checkPermanentBundles');

// Function to check and apply permanent bundles on startup
function checkPermanentBundles() {
    const permanentBundles = bEngine.getGameAttribute("PermanentBundles") || {};
    const actorEvents189 = events(189);
    const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
    let x = character.getXCenter();
    let y = character.getValue("ActorEvents_20", "_PlayerNode");

    gemPackCheats.forEach(pack => {
        if (permanentBundles[pack.bundleKey]) {
            // Re-apply the bundle items
            pack.items.forEach(item => {
                actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
            });
            console.log(`Permanent bundle ${pack.name} applied on startup.`);
        }
    });
}

// Register the startup check function
registerCheat({
    name: 'checkPermanentBundles',
    message: 'Check and apply permanent bundles',
    fn: checkPermanentBundles
});


Yeah Baby
Noobzor
Noobzor
Posts: 11
Joined: Sun Jul 07, 2024 4:57 am
Reputation: 0

Re: Legends of Idleon

Post by Yeah Baby »

"wide post" command seems to be broken this morning, it's been fine since I started using it about a week ago until today.
Activated, deactivated, closed injector/game etc & restarted Steam etc, still not working.

It's no problem for me regarding resources, it was just a time saver which meant I didn't have to run to W1 to make something lol.

EDIT: Ok, it sets the resources to 0 but only if I use a pen to reset them first. I'm wondering if it was because I removed the "unlock silvpens" from my custom file as I have/get more than enough from fighting to work with so don't need any free uses.

I'll see how it goes tomorrow.

SirKayto
Novice Cheater
Novice Cheater
Posts: 21
Joined: Tue Jul 11, 2023 9:05 pm
Reputation: 1

Re: Legends of Idleon

Post by SirKayto »

SirKayto wrote:
Tue Jul 16, 2024 4:30 pm
SirKayto wrote:
Wed Jul 10, 2024 5:33 pm
SirKayto wrote:
Tue Jun 18, 2024 12:33 pm
Thanks everyone for your hard work! It works unbelievably well. Unfortunately the client crashes after around 10 mins constantly with the suggested cheats on. Is there anyone else experiencing this?

Edit: even with every cheat turned off it crashes constantly. Just tested it. The game freezes (first becomes unclickable, animations continue, then no response) but the injectcheatsf5.exe stays open, even if you close the client, until you press something, then it closes, too.
Does anyone have an idea?
I'm sorry, but it kinda annoys me, that the client crashes constantly after around 10 min. Apperantly it has nothing to do with mapchanges, just with gametime. After changing the map after 10 mins ingame, it crashes. The steamclient itself without the cheat is fine, I can play without crashes at all. But even with the cheats turned off the F5 client crashes.
Unfortunately I couldn't find anything on this topic, doesn't anyone have this problem at all?

User avatar
Myth666
Novice Cheater
Novice Cheater
Posts: 21
Joined: Fri Jun 14, 2024 7:10 pm
Reputation: 3

Re: Legends of Idleon

Post by Myth666 »

SirKayto wrote:
Fri Jul 26, 2024 6:43 pm
SirKayto wrote:
Tue Jul 16, 2024 4:30 pm
SirKayto wrote:
Wed Jul 10, 2024 5:33 pm


Does anyone have an idea?
I'm sorry, but it kinda annoys me, that the client crashes constantly after around 10 min. Apperantly it has nothing to do with mapchanges, just with gametime. After changing the map after 10 mins ingame, it crashes. The steamclient itself without the cheat is fine, I can play without crashes at all. But even with the cheats turned off the F5 client crashes.
Unfortunately I couldn't find anything on this topic, doesn't anyone have this problem at all?
Try deleteing the injector and then installing it again because maybe something changed without you knowing

skillingidle
What is cheating?
What is cheating?
Posts: 2
Joined: Sat Oct 22, 2022 9:58 pm
Reputation: 0

Re: Legends of Idleon

Post by skillingidle »

Hey !

I accidently gave myself way too much White essence (in summoning, w6) and now Its NaNeNan. Is there a way to fix it please?
Thanks :)

YeetOrDie
Noobzor
Noobzor
Posts: 6
Joined: Sat Jul 27, 2024 3:29 am
Reputation: 0

Re: Legends of Idleon

Post by YeetOrDie »

Sorry for the noob question, but i don't quite understand how the process of " code injection " works and can't seem to find any guides on how to get started with it on here.

If someone could point me in the right direction that would be much appreciated! :)

kastatrofa
Novice Cheater
Novice Cheater
Posts: 17
Joined: Sun Apr 21, 2024 12:22 pm
Reputation: 0

Re: Legends of Idleon

Post by kastatrofa »

YeetOrDie wrote:
Sat Jul 27, 2024 3:32 am
Sorry for the noob question, but i don't quite understand how the process of " code injection " works and can't seem to find any guides on how to get started with it on here.

If someone could point me in the right direction that would be much appreciated! :)
viewtopic.php?p=198916#p198916

viewtopic.php?p=268697#p268697

Derp123
Noobzor
Noobzor
Posts: 5
Joined: Sat Feb 17, 2024 8:06 am
Reputation: 0

Re: Legends of Idleon

Post by Derp123 »

anyone has an idea where to change the talent library, somehow i bricked mine a longtime ago and now my max level is 189, as long as i run the script with out it goes back to normal max.

sadisticdane
Noobzor
Noobzor
Posts: 13
Joined: Sun Jan 28, 2024 8:02 pm
Reputation: 0

Re: Legends of Idleon

Post by sadisticdane »

Myth666 wrote:
Fri Jul 26, 2024 9:49 am
Can somebody see if my code was done properly if so tell me, if not then could you tell me how to fix it

Code: Select all

// Configuration file for custom cheats and modifications

// Startup cheats
exports.startupCheats = [
    'wide autoloot',
    'unlock quickref',
    'multiply afk 2',
    'multiply printer 6',
    'godlike food',
    'godlike intervention',
    'talent 168',
    'talent 169',
    'unlock',
    'upstones rng',
    'wide mtx',
    'wide star',
    'wide candy',
    'wide perfectobols',
    'wide autoloot',
    'wide plunderous',
    'minigame',
    'cauldron vialrng',
    'w3 prayer',
    'w3 freeworship',
    'w3 book',
    'w3 globalshrines',
    'w3 trapping',
    'w4 petrng',
    'w4 labpx',
    'w4 arena',
    'w4 petchance',
    'w4 mainframe',
    'w4 chipbonuses',
    'w4 fastforaging',
    'w4 spiceclaim',
    'w5',
    'nomore ^InvBag.*',
    'nomore ^InvStorage.*',
    'nomore ^Obol([Bronze|Silver|Gold]).*',
];

// Cheat configurations
exports.cheatConfig = {
    wide: {
        autoloot: {
            hidenotifications: true,
        },
    },
    w5: {
        gaming: {
            FertilizerUpgCosts: t => t * 0.8,
            SproutCapacity: t => Math.max(22, t + 2),
            MutateUpgCosts: t => t * 0.8,
            LogBookBitBonus: t => Math.max(20, t * 2),
            GamingExpPCT: t => t * 1.5,
            NewMutantChanceDEC: t => 1,
            SproutGrowthCHANCEperMUT: t => t,
            SproutGrowthTime: t => t / 5,
            SaveSprinkler: t => t * 1.1,
            ImportItemCOST: t => t * 0.8,
            AcornShopCost: t => t * 0.8,
            BoxCost: t => t * 0.8,
        },
    },
};

// Injector configuration
exports.injectorConfig = {
    chromePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
};

// Gem Pack Cheats
function registerGemPackCheats() {
    const gemPackCheats = [
        {
            name: "Starter Pack",
            bundleKey: "bun_c",
            items: [
                { name: "TimeCandy1", quantity: 4 },
                { name: "Timecandy2", quantity: 4 },
                { name: "TimeCandy3", quantity: 2 },
                { name: "Timecandy4", quantity: 1 },
                { name: "CardPack1", quantity: 4 },
            ]
        },
        // Add other gem pack cheats here...
    ];

    gemPackCheats.forEach(pack => {
        registerCheat({
            name: `buy ${pack.name}`,
            message: `Buy ${pack.name} permanently`,
            fn: function() {
                const actorEvents189 = events(189);
                const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
                let x = character.getXCenter();
                let y = character.getValue("ActorEvents_20", "_PlayerNode");

                // Set the bundle as permanently received
                bEngine.setGameAttribute("PermanentBundles", {
                    ...bEngine.getGameAttribute("PermanentBundles"),
                    [pack.bundleKey]: true
                });

                // Apply the bundle items
                pack.items.forEach(item => {
                    actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
                });

                // Save the game to persist changes
                bEngine.saveGame();

                return `The ${pack.name} has been permanently unlocked!`;
            }
        });
    });
}

// Call this function to register the gem pack cheats
registerGemPackCheats();

// Add a startup check for permanent bundles
exports.startupCheats.push('checkPermanentBundles');

// Function to check and apply permanent bundles on startup
function checkPermanentBundles() {
    const permanentBundles = bEngine.getGameAttribute("PermanentBundles") || {};
    const actorEvents189 = events(189);
    const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
    let x = character.getXCenter();
    let y = character.getValue("ActorEvents_20", "_PlayerNode");

    gemPackCheats.forEach(pack => {
        if (permanentBundles[pack.bundleKey]) {
            // Re-apply the bundle items
            pack.items.forEach(item => {
                actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
            });
            console.log(`Permanent bundle ${pack.name} applied on startup.`);
        }
    });
}

// Register the startup check function
registerCheat({
    name: 'checkPermanentBundles',
    message: 'Check and apply permanent bundles',
    fn: checkPermanentBundles
});

Functions go into cheats,js not your config.
so this is your config.custom.js
Spoiler
// Startup cheats
exports.startupCheats = [
'wide autoloot',
'unlock quickref',
'multiply afk 2',
'multiply printer 6',
'godlike food',
'godlike intervention',
'talent 168',
'talent 169',
'unlock',
'upstones rng',
'wide mtx',
'wide star',
'wide candy',
'wide perfectobols',
'wide autoloot',
'wide plunderous',
'minigame',
'cauldron vialrng',
'w3 prayer',
'w3 freeworship',
'w3 book',
'w3 globalshrines',
'w3 trapping',
'w4 petrng',
'w4 labpx',
'w4 arena',
'w4 petchance',
'w4 mainframe',
'w4 chipbonuses',
'w4 fastforaging',
'w4 spiceclaim',
'w5',
'nomore ^InvBag.*',
'nomore ^InvStorage.*',
'nomore ^Obol([Bronze|Silver|Gold]).*',
];

// Cheat configurations
exports.cheatConfig = {
wide: {
autoloot: {
hidenotifications: true,
},
},
w5: {
gaming: {
FertilizerUpgCosts: t => t * 0.8,
SproutCapacity: t => Math.max(22, t + 2),
MutateUpgCosts: t => t * 0.8,
LogBookBitBonus: t => Math.max(20, t * 2),
GamingExpPCT: t => t * 1.5,
NewMutantChanceDEC: t => 1,
SproutGrowthCHANCEperMUT: t => t,
SproutGrowthTime: t => t / 5,
SaveSprinkler: t => t * 1.1,
ImportItemCOST: t => t * 0.8,
AcornShopCost: t => t * 0.8,
BoxCost: t => t * 0.8,
},
},
};

// Injector configuration
exports.injectorConfig = {
chromePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
};
and this goes in your cheats.js
Spoiler
// Gem Pack Cheats
function registerGemPackCheats() {
const gemPackCheats = [
{
name: "Starter Pack",
bundleKey: "bun_c",
items: [
{ name: "TimeCandy1", quantity: 4 },
{ name: "Timecandy2", quantity: 4 },
{ name: "TimeCandy3", quantity: 2 },
{ name: "Timecandy4", quantity: 1 },
{ name: "CardPack1", quantity: 4 },
]
},
// Add other gem pack cheats here...
];

gemPackCheats.forEach(pack => {
registerCheat({
name: `buy ${pack.name}`,
message: `Buy ${pack.name} permanently`,
fn: function() {
const actorEvents189 = events(189);
const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
let x = character.getXCenter();
let y = character.getValue("ActorEvents_20", "_PlayerNode");

// Set the bundle as permanently received
bEngine.setGameAttribute("PermanentBundles", {
...bEngine.getGameAttribute("PermanentBundles"),
[pack.bundleKey]: true
});

// Apply the bundle items
pack.items.forEach(item => {
actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
});

// Save the game to persist changes
bEngine.saveGame();

return `The ${pack.name} has been permanently unlocked!`;
}
});
});
}

// Call this function to register the gem pack cheats
registerGemPackCheats();

// Add a startup check for permanent bundles
exports.startupCheats.push('checkPermanentBundles');

// Function to check and apply permanent bundles on startup
function checkPermanentBundles() {
const permanentBundles = bEngine.getGameAttribute("PermanentBundles") || {};
const actorEvents189 = events(189);
const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
let x = character.getXCenter();
let y = character.getValue("ActorEvents_20", "_PlayerNode");

gemPackCheats.forEach(pack => {
if (permanentBundles[pack.bundleKey]) {
// Re-apply the bundle items
pack.items.forEach(item => {
actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
});
console.log(`Permanent bundle ${pack.name} applied on startup.`);
}
});
}

// Register the startup check function
registerCheat({
name: 'checkPermanentBundles',
message: 'Check and apply permanent bundles',
fn: checkPermanentBundles
});

User avatar
Myth666
Novice Cheater
Novice Cheater
Posts: 21
Joined: Fri Jun 14, 2024 7:10 pm
Reputation: 3

Re: Legends of Idleon

Post by Myth666 »

sadisticdane wrote:
Sat Jul 27, 2024 7:07 am
Myth666 wrote:
Fri Jul 26, 2024 9:49 am
Can somebody see if my code was done properly if so tell me, if not then could you tell me how to fix it

Code: Select all

// Configuration file for custom cheats and modifications

// Startup cheats
exports.startupCheats = [
    'wide autoloot',
    'unlock quickref',
    'multiply afk 2',
    'multiply printer 6',
    'godlike food',
    'godlike intervention',
    'talent 168',
    'talent 169',
    'unlock',
    'upstones rng',
    'wide mtx',
    'wide star',
    'wide candy',
    'wide perfectobols',
    'wide autoloot',
    'wide plunderous',
    'minigame',
    'cauldron vialrng',
    'w3 prayer',
    'w3 freeworship',
    'w3 book',
    'w3 globalshrines',
    'w3 trapping',
    'w4 petrng',
    'w4 labpx',
    'w4 arena',
    'w4 petchance',
    'w4 mainframe',
    'w4 chipbonuses',
    'w4 fastforaging',
    'w4 spiceclaim',
    'w5',
    'nomore ^InvBag.*',
    'nomore ^InvStorage.*',
    'nomore ^Obol([Bronze|Silver|Gold]).*',
];

// Cheat configurations
exports.cheatConfig = {
    wide: {
        autoloot: {
            hidenotifications: true,
        },
    },
    w5: {
        gaming: {
            FertilizerUpgCosts: t => t * 0.8,
            SproutCapacity: t => Math.max(22, t + 2),
            MutateUpgCosts: t => t * 0.8,
            LogBookBitBonus: t => Math.max(20, t * 2),
            GamingExpPCT: t => t * 1.5,
            NewMutantChanceDEC: t => 1,
            SproutGrowthCHANCEperMUT: t => t,
            SproutGrowthTime: t => t / 5,
            SaveSprinkler: t => t * 1.1,
            ImportItemCOST: t => t * 0.8,
            AcornShopCost: t => t * 0.8,
            BoxCost: t => t * 0.8,
        },
    },
};

// Injector configuration
exports.injectorConfig = {
    chromePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
};

// Gem Pack Cheats
function registerGemPackCheats() {
    const gemPackCheats = [
        {
            name: "Starter Pack",
            bundleKey: "bun_c",
            items: [
                { name: "TimeCandy1", quantity: 4 },
                { name: "Timecandy2", quantity: 4 },
                { name: "TimeCandy3", quantity: 2 },
                { name: "Timecandy4", quantity: 1 },
                { name: "CardPack1", quantity: 4 },
            ]
        },
        // Add other gem pack cheats here...
    ];

    gemPackCheats.forEach(pack => {
        registerCheat({
            name: `buy ${pack.name}`,
            message: `Buy ${pack.name} permanently`,
            fn: function() {
                const actorEvents189 = events(189);
                const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
                let x = character.getXCenter();
                let y = character.getValue("ActorEvents_20", "_PlayerNode");

                // Set the bundle as permanently received
                bEngine.setGameAttribute("PermanentBundles", {
                    ...bEngine.getGameAttribute("PermanentBundles"),
                    [pack.bundleKey]: true
                });

                // Apply the bundle items
                pack.items.forEach(item => {
                    actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
                });

                // Save the game to persist changes
                bEngine.saveGame();

                return `The ${pack.name} has been permanently unlocked!`;
            }
        });
    });
}

// Call this function to register the gem pack cheats
registerGemPackCheats();

// Add a startup check for permanent bundles
exports.startupCheats.push('checkPermanentBundles');

// Function to check and apply permanent bundles on startup
function checkPermanentBundles() {
    const permanentBundles = bEngine.getGameAttribute("PermanentBundles") || {};
    const actorEvents189 = events(189);
    const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
    let x = character.getXCenter();
    let y = character.getValue("ActorEvents_20", "_PlayerNode");

    gemPackCheats.forEach(pack => {
        if (permanentBundles[pack.bundleKey]) {
            // Re-apply the bundle items
            pack.items.forEach(item => {
                actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
            });
            console.log(`Permanent bundle ${pack.name} applied on startup.`);
        }
    });
}

// Register the startup check function
registerCheat({
    name: 'checkPermanentBundles',
    message: 'Check and apply permanent bundles',
    fn: checkPermanentBundles
});

Functions go into cheats,js not your config.
so this is your config.custom.js
Spoiler
// Startup cheats
exports.startupCheats = [
'wide autoloot',
'unlock quickref',
'multiply afk 2',
'multiply printer 6',
'godlike food',
'godlike intervention',
'talent 168',
'talent 169',
'unlock',
'upstones rng',
'wide mtx',
'wide star',
'wide candy',
'wide perfectobols',
'wide autoloot',
'wide plunderous',
'minigame',
'cauldron vialrng',
'w3 prayer',
'w3 freeworship',
'w3 book',
'w3 globalshrines',
'w3 trapping',
'w4 petrng',
'w4 labpx',
'w4 arena',
'w4 petchance',
'w4 mainframe',
'w4 chipbonuses',
'w4 fastforaging',
'w4 spiceclaim',
'w5',
'nomore ^InvBag.*',
'nomore ^InvStorage.*',
'nomore ^Obol([Bronze|Silver|Gold]).*',
];

// Cheat configurations
exports.cheatConfig = {
wide: {
autoloot: {
hidenotifications: true,
},
},
w5: {
gaming: {
FertilizerUpgCosts: t => t * 0.8,
SproutCapacity: t => Math.max(22, t + 2),
MutateUpgCosts: t => t * 0.8,
LogBookBitBonus: t => Math.max(20, t * 2),
GamingExpPCT: t => t * 1.5,
NewMutantChanceDEC: t => 1,
SproutGrowthCHANCEperMUT: t => t,
SproutGrowthTime: t => t / 5,
SaveSprinkler: t => t * 1.1,
ImportItemCOST: t => t * 0.8,
AcornShopCost: t => t * 0.8,
BoxCost: t => t * 0.8,
},
},
};

// Injector configuration
exports.injectorConfig = {
chromePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
};
and this goes in your cheats.js
Spoiler
// Gem Pack Cheats
function registerGemPackCheats() {
const gemPackCheats = [
{
name: "Starter Pack",
bundleKey: "bun_c",
items: [
{ name: "TimeCandy1", quantity: 4 },
{ name: "Timecandy2", quantity: 4 },
{ name: "TimeCandy3", quantity: 2 },
{ name: "Timecandy4", quantity: 1 },
{ name: "CardPack1", quantity: 4 },
]
},
// Add other gem pack cheats here...
];

gemPackCheats.forEach(pack => {
registerCheat({
name: `buy ${pack.name}`,
message: `Buy ${pack.name} permanently`,
fn: function() {
const actorEvents189 = events(189);
const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
let x = character.getXCenter();
let y = character.getValue("ActorEvents_20", "_PlayerNode");

// Set the bundle as permanently received
bEngine.setGameAttribute("PermanentBundles", {
...bEngine.getGameAttribute("PermanentBundles"),
[pack.bundleKey]: true
});

// Apply the bundle items
pack.items.forEach(item => {
actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
});

// Save the game to persist changes
bEngine.saveGame();

return `The ${pack.name} has been permanently unlocked!`;
}
});
});
}

// Call this function to register the gem pack cheats
registerGemPackCheats();

// Add a startup check for permanent bundles
exports.startupCheats.push('checkPermanentBundles');

// Function to check and apply permanent bundles on startup
function checkPermanentBundles() {
const permanentBundles = bEngine.getGameAttribute("PermanentBundles") || {};
const actorEvents189 = events(189);
const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
let x = character.getXCenter();
let y = character.getValue("ActorEvents_20", "_PlayerNode");

gemPackCheats.forEach(pack => {
if (permanentBundles[pack.bundleKey]) {
// Re-apply the bundle items
pack.items.forEach(item => {
actorEvents189._customBlock_DropSomething(item.name, item.quantity, 0, 0, 2, y, 0, x, y);
});
console.log(`Permanent bundle ${pack.name} applied on startup.`);
}
});
}

// Register the startup check function
registerCheat({
name: 'checkPermanentBundles',
message: 'Check and apply permanent bundles',
fn: checkPermanentBundles
});
thx for the info

YeetOrDie
Noobzor
Noobzor
Posts: 6
Joined: Sat Jul 27, 2024 3:29 am
Reputation: 0

Re: Legends of Idleon

Post by YeetOrDie »

kastatrofa wrote:
Sat Jul 27, 2024 5:32 am
YeetOrDie wrote:
Sat Jul 27, 2024 3:32 am
Sorry for the noob question, but i don't quite understand how the process of " code injection " works and can't seem to find any guides on how to get started with it on here.

If someone could point me in the right direction that would be much appreciated! :)
viewtopic.php?p=198916#p198916

viewtopic.php?p=268697#p268697
All the links were removed, tried to look up InjectCheatF4 on google and can't find any repos of that name.

Thanks for the feedback.

kastatrofa
Novice Cheater
Novice Cheater
Posts: 17
Joined: Sun Apr 21, 2024 12:22 pm
Reputation: 0

Re: Legends of Idleon

Post by kastatrofa »

YeetOrDie wrote:
Sat Jul 27, 2024 1:47 pm
kastatrofa wrote:
Sat Jul 27, 2024 5:32 am
YeetOrDie wrote:
Sat Jul 27, 2024 3:32 am
Sorry for the noob question, but i don't quite understand how the process of " code injection " works and can't seem to find any guides on how to get started with it on here.

If someone could point me in the right direction that would be much appreciated! :)
viewtopic.php?p=198916#p198916

viewtopic.php?p=268697#p268697
All the links were removed, tried to look up InjectCheatF4 on google and can't find any repos of that name.

Thanks for the feedback.
Try this: [Link]

Post Reply

Who is online

Users browsing this forum: fauxfire76, nuoax