chng bEngine.getGameAttribute("PostOfficeInfo")[3][ID][0]=box_level
where ID is box_number - 0-23
Remember about max box_level
chng bEngine.getGameAttribute("PostOfficeInfo")[3][ID][0]=box_level
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
});
Unfortunately I couldn't find anything on this topic, doesn't anyone have this problem at all?SirKayto wrote: ↑Tue Jul 16, 2024 4:30 pmI'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.SirKayto wrote: ↑Wed Jul 10, 2024 5:33 pmDoes anyone have an idea?SirKayto wrote: ↑Tue Jun 18, 2024 12:33 pmThanks 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.
Try deleteing the injector and then installing it again because maybe something changed without you knowingSirKayto wrote: ↑Fri Jul 26, 2024 6:43 pmUnfortunately I couldn't find anything on this topic, doesn't anyone have this problem at all?SirKayto wrote: ↑Tue Jul 16, 2024 4:30 pmI'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.
Functions go into cheats,js not your config.Myth666 wrote: ↑Fri Jul 26, 2024 9:49 amCan somebody see if my code was done properly if so tell me, if not then could you tell me how to fix itCode: 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 });
thx for the infosadisticdane wrote: ↑Sat Jul 27, 2024 7:07 amFunctions go into cheats,js not your config.Myth666 wrote: ↑Fri Jul 26, 2024 9:49 amCan somebody see if my code was done properly if so tell me, if not then could you tell me how to fix itCode: 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 });
so this is your config.custom.jsand this goes in your cheats.jsSpoiler
// 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',
};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
});
All the links were removed, tried to look up InjectCheatF4 on google and can't find any repos of that name.kastatrofa wrote: ↑Sat Jul 27, 2024 5:32 amviewtopic.php?p=198916#p198916
viewtopic.php?p=268697#p268697
Try this: [Link]YeetOrDie wrote: ↑Sat Jul 27, 2024 1:47 pmAll the links were removed, tried to look up InjectCheatF4 on google and can't find any repos of that name.kastatrofa wrote: ↑Sat Jul 27, 2024 5:32 amviewtopic.php?p=198916#p198916
viewtopic.php?p=268697#p268697
Thanks for the feedback.
Users browsing this forum: fauxfire76, nuoax