Legends of Idleon

Ask about cheats/tables for single player games here
iBelg
Cheater
Cheater
Posts: 36
Joined: Tue Jul 28, 2020 6:42 pm
Reputation: 47

Re: Legends of Idleon

Post by iBelg »

Made some small changes to how the tool works and injects the cheats.

Updated version can be found here: [Link]

Also did some refactoring to how the cheats.js works, but the old ones should still work.

[Link]

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Re: Legends of Idleon

Post by Creater0822 »

tomato wrote:
Fri Jul 02, 2021 6:08 am
Image
Where is that daily value???
Can't you stop it from shrinking at all???
Even in Nullify, this doesn't exist at all.
Ah yeah that's a good question, In code I haven't tried to search for that value yet: Last time I touched it was through Cheat Engine with 4b*2. But yeah, sooner or later I'll have a look.

User avatar
salmon85
Expert Cheater
Expert Cheater
Posts: 116
Joined: Wed Jun 09, 2021 8:29 am
Reputation: 26

Re: Legends of Idleon

Post by salmon85 »

Creater0822 wrote:
Fri Jul 02, 2021 12:59 pm
tomato wrote:
Fri Jul 02, 2021 6:08 am
Image
Where is that daily value???
Can't you stop it from shrinking at all???
Even in Nullify, this doesn't exist at all.
Ah yeah that's a good question, In code I haven't tried to search for that value yet: Last time I touched it was through Cheat Engine with 4b*2. But yeah, sooner or later I'll have a look.

Code: Select all

customBlock_cauldronp2wbonuses("VialAttempts"
is roughly what you're looking for


this is also from the old file (yesterdays) as I've not done anything since the update this morning


Note this line goes off the edge in vscode

Code: Select all

 return null != d.Cauldp2wDL1 ? A.setReserved("Cauldp2wDL1", r) : A.h.Cauldp2wDL1 = r, "LiquidCauldronLvReq" == t ? 3 == n ? 120 : 2 == n ? 35 : 1 == n ? 20 : 0 : "CauldronCosts" == t ? 0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(2500 * Math.pow(1.15 - .117 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3200 * Math.pow(1.18 - .145 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3750 * Math.pow(1.2 - .14 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : 
                    "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(2500 * Math.pow(1.19 - .135 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(3500 * Math.pow(1.2 - .13 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(1e4 * Math.pow(2, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(5e3 * Math.pow(1.25, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (a = null == (a = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = null == (n = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("CauldronP2W")[3][0 | s], Math.round((4e3 + 2e3 * s) * Math.pow(1.15 - (.1 - .01 * s) * a / (100 + n), null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t))))) : "CauldronBonus" == t ? (2 > n ? (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)))]) : (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | s]), null != d.Cauldp2wDL1 ? t.setReserved("Cauldp2wDL1", A) : t.h.Cauldp2wDL1 = A, 0 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : 1 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : (2 == n ? (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s]) : (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]), null != d.Cauldp2wDN1 ? a.setReserved("Cauldp2wDN1", s) : a.h.Cauldp2wDN1 = s), s = b.engine.getGameAttribute("DNSM"), s = "" + f.string((null != d.Cauldp2wDL1 ? s.getReserved("Cauldp2wDL1") : s.h.Cauldp2wDL1)[2]), a = b.engine.getGameAttribute("DNSM"), a = null == (a = (null != d.Cauldp2wDL1 ? a.getReserved("Cauldp2wDL1") : a.h.Cauldp2wDL1)[0]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = b.engine.getGameAttribute("DNSM"), n = null == (n = (null != d.Cauldp2wDL1 ? n.getReserved("Cauldp2wDL1") : n.h.Cauldp2wDL1)[1]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("DNSM"), t = null != d.Cauldp2wDN1 ? t.getReserved("Cauldp2wDN1") : t.h.Cauldp2wDN1, Math.max(0, C._customBlock_ArbitraryCode5Inputs(s, a, n, null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), 0, 0))) : "CauldronLvMAX" == t ? (0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 150) : s.h.Cauldp2wDN1 = 150) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 125) : s.h.Cauldp2wDN1 = 125) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 80) : s.h.Cauldp2wDN1 = 80) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 15) : s.h.Cauldp2wDN1 = 15) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), a = b.engine.getGameAttribute("PixelHelperActor")[5].getValue("ActorEvents_232", "_GenINFO")[86], null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", a) : s.h.Cauldp2wDN1 = a), s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.getReserved("Cauldp2wDN1") 
                    : s.h.Cauldp2wDN1) : "VialAttempts" == t ? Math.round(3 + J._customBlock_cauldronp2wbonuses("CauldronBonus", 2, 0, "0")) : 1

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Re: Legends of Idleon

Post by Creater0822 »

iBelg wrote:
Fri Jul 02, 2021 12:34 pm
Made some small changes to how the tool works and injects the cheats.

Updated version can be found here: [Link]

Also did some refactoring to how the cheats.js works, but the old ones should still work.

[Link]
Nice!! The new cheat layout looks so much cleaner to play with. Also the time saved on not Beautifying the response.body could indeed save the game from loading before the code has been injected. Can't wait to adapt my commands to it xD

Edit: Yes, the old cheats are working flawlessly!!
Last edited by Creater0822 on Fri Jul 02, 2021 1:50 pm, edited 1 time in total.

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Re: Legends of Idleon

Post by Creater0822 »

salmon85 wrote:
Fri Jul 02, 2021 1:27 pm

Code: Select all

customBlock_cauldronp2wbonuses("VialAttempts"
is roughly what you're looking for


this is also from the old file (yesterdays) as I've not done anything since the update this morning


Note this line goes off the edge in vscode

Code: Select all

 return null != d.Cauldp2wDL1 ? A.setReserved("Cauldp2wDL1", r) : A.h.Cauldp2wDL1 = r, "LiquidCauldronLvReq" == t ? 3 == n ? 120 : 2 == n ? 35 : 1 == n ? 20 : 0 : "CauldronCosts" == t ? 0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(2500 * Math.pow(1.15 - .117 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3200 * Math.pow(1.18 - .145 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3750 * Math.pow(1.2 - .14 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : 
                    "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(2500 * Math.pow(1.19 - .135 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(3500 * Math.pow(1.2 - .13 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(1e4 * Math.pow(2, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(5e3 * Math.pow(1.25, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (a = null == (a = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = null == (n = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("CauldronP2W")[3][0 | s], Math.round((4e3 + 2e3 * s) * Math.pow(1.15 - (.1 - .01 * s) * a / (100 + n), null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t))))) : "CauldronBonus" == t ? (2 > n ? (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)))]) : (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | s]), null != d.Cauldp2wDL1 ? t.setReserved("Cauldp2wDL1", A) : t.h.Cauldp2wDL1 = A, 0 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : 1 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : (2 == n ? (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s]) : (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]), null != d.Cauldp2wDN1 ? a.setReserved("Cauldp2wDN1", s) : a.h.Cauldp2wDN1 = s), s = b.engine.getGameAttribute("DNSM"), s = "" + f.string((null != d.Cauldp2wDL1 ? s.getReserved("Cauldp2wDL1") : s.h.Cauldp2wDL1)[2]), a = b.engine.getGameAttribute("DNSM"), a = null == (a = (null != d.Cauldp2wDL1 ? a.getReserved("Cauldp2wDL1") : a.h.Cauldp2wDL1)[0]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = b.engine.getGameAttribute("DNSM"), n = null == (n = (null != d.Cauldp2wDL1 ? n.getReserved("Cauldp2wDL1") : n.h.Cauldp2wDL1)[1]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("DNSM"), t = null != d.Cauldp2wDN1 ? t.getReserved("Cauldp2wDN1") : t.h.Cauldp2wDN1, Math.max(0, C._customBlock_ArbitraryCode5Inputs(s, a, n, null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), 0, 0))) : "CauldronLvMAX" == t ? (0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 150) : s.h.Cauldp2wDN1 = 150) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 125) : s.h.Cauldp2wDN1 = 125) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 80) : s.h.Cauldp2wDN1 = 80) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 15) : s.h.Cauldp2wDN1 = 15) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), a = b.engine.getGameAttribute("PixelHelperActor")[5].getValue("ActorEvents_232", "_GenINFO")[86], null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", a) : s.h.Cauldp2wDN1 = a), s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.getReserved("Cauldp2wDN1") 
                    : s.h.Cauldp2wDN1) : "VialAttempts" == t ? Math.round(3 + J._customBlock_cauldronp2wbonuses("CauldronBonus", 2, 0, "0")) : 1
Cool, I'll try something fun out with this once I've adapted to the new cheats layout :D

tomato
Cheater
Cheater
Posts: 36
Joined: Sun Jun 27, 2021 5:13 pm
Reputation: 1

Re: Legends of Idleon

Post by tomato »

salmon85 wrote:
Fri Jul 02, 2021 1:27 pm
Creater0822 wrote:
Fri Jul 02, 2021 12:59 pm
tomato wrote:
Fri Jul 02, 2021 6:08 am
Image
Where is that daily value???
Can't you stop it from shrinking at all???
Even in Nullify, this doesn't exist at all.
Ah yeah that's a good question, In code I haven't tried to search for that value yet: Last time I touched it was through Cheat Engine with 4b*2. But yeah, sooner or later I'll have a look.

Code: Select all

customBlock_cauldronp2wbonuses("VialAttempts"
is roughly what you're looking for


this is also from the old file (yesterdays) as I've not done anything since the update this morning


Note this line goes off the edge in vscode

Code: Select all

 return null != d.Cauldp2wDL1 ? A.setReserved("Cauldp2wDL1", r) : A.h.Cauldp2wDL1 = r, "LiquidCauldronLvReq" == t ? 3 == n ? 120 : 2 == n ? 35 : 1 == n ? 20 : 0 : "CauldronCosts" == t ? 0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(2500 * Math.pow(1.15 - .117 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3200 * Math.pow(1.18 - .145 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3750 * Math.pow(1.2 - .14 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : 
                    "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(2500 * Math.pow(1.19 - .135 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(3500 * Math.pow(1.2 - .13 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(1e4 * Math.pow(2, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(5e3 * Math.pow(1.25, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (a = null == (a = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = null == (n = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("CauldronP2W")[3][0 | s], Math.round((4e3 + 2e3 * s) * Math.pow(1.15 - (.1 - .01 * s) * a / (100 + n), null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t))))) : "CauldronBonus" == t ? (2 > n ? (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)))]) : (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | s]), null != d.Cauldp2wDL1 ? t.setReserved("Cauldp2wDL1", A) : t.h.Cauldp2wDL1 = A, 0 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : 1 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : (2 == n ? (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s]) : (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]), null != d.Cauldp2wDN1 ? a.setReserved("Cauldp2wDN1", s) : a.h.Cauldp2wDN1 = s), s = b.engine.getGameAttribute("DNSM"), s = "" + f.string((null != d.Cauldp2wDL1 ? s.getReserved("Cauldp2wDL1") : s.h.Cauldp2wDL1)[2]), a = b.engine.getGameAttribute("DNSM"), a = null == (a = (null != d.Cauldp2wDL1 ? a.getReserved("Cauldp2wDL1") : a.h.Cauldp2wDL1)[0]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = b.engine.getGameAttribute("DNSM"), n = null == (n = (null != d.Cauldp2wDL1 ? n.getReserved("Cauldp2wDL1") : n.h.Cauldp2wDL1)[1]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("DNSM"), t = null != d.Cauldp2wDN1 ? t.getReserved("Cauldp2wDN1") : t.h.Cauldp2wDN1, Math.max(0, C._customBlock_ArbitraryCode5Inputs(s, a, n, null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), 0, 0))) : "CauldronLvMAX" == t ? (0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 150) : s.h.Cauldp2wDN1 = 150) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 125) : s.h.Cauldp2wDN1 = 125) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 80) : s.h.Cauldp2wDN1 = 80) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 15) : s.h.Cauldp2wDN1 = 15) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), a = b.engine.getGameAttribute("PixelHelperActor")[5].getValue("ActorEvents_232", "_GenINFO")[86], null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", a) : s.h.Cauldp2wDN1 = a), s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.getReserved("Cauldp2wDN1") 
                    : s.h.Cauldp2wDN1) : "VialAttempts" == t ? Math.round(3 + J._customBlock_cauldronp2wbonuses("CauldronBonus", 2, 0, "0")) : 1
I don't know exactly which part to edit.
Tried once, nothing changed.

tomato
Cheater
Cheater
Posts: 36
Joined: Sun Jun 27, 2021 5:13 pm
Reputation: 1

Re: Legends of Idleon

Post by tomato »

Image
Image
I was very concerned about the task like this achievement system,
so I looked it up with Visual Stdio Code, and it worked fine as a result of modifying it.

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Updated cheats.js style

Post by Creater0822 »

Changelog 02/07/21 7pm:
Original post: viewtopic.php?p=198916#p198916
  • Adapted all of my latest commands to the new cheat style.
    (The old style works on iBelg's new tool, but the new style is more robust)
  • Removed my fork-version of the external tool as iBelg made the fix and even more improvements.
  • Improved the spawn command to check if a monster id exists and returns a message.
  • Added sub-command chest to wipe.
  • The class command has been fortified to set ClassId 1 if the user enters a value X given 0 > X or X > 50.
    (Yeah I couldn't really bother to check if the user fills in a non-numeric value, so the fortification isn't really all that complete xD)
  • Added a parameter to abilitybuff for castTime, which defaults to .1.

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Re: Legends of Idleon

Post by Creater0822 »

Here's an inspirational way of using iBelg's console:
Image

These two examples (e.g. quick reference and free teleports) are typically stuff that you can't easily change through cheats.js codes. This way however, you can easily do.

That said though, this method isn't too great either: You have to edit and recompile the tool every time, which may not be optimal for everybody. One possibly good way to enhance this tool is through the use of a config and replacement file, e.g.:
  • Let's say have the config file say: replace:0 or replace:1, where 0 means the default tool, and 1 means "look into the replace file (line by line) to take the original and replacement Strings/Regex to change."
  • Then the replacement file being a csv'ish style plain-text-document.
But I'm getting a little ahead of myself, there is still plenty of room to cheat with console commands alone :D
I don't think I'll be doing any kind of crazy forks anytime soon but yeah, this is quite an inspirational idea to share.

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Re: Legends of Idleon

Post by Creater0822 »

tomato wrote:
Fri Jul 02, 2021 3:34 pm
salmon85 wrote:
Fri Jul 02, 2021 1:27 pm
Creater0822 wrote:
Fri Jul 02, 2021 12:59 pm


Ah yeah that's a good question, In code I haven't tried to search for that value yet: Last time I touched it was through Cheat Engine with 4b*2. But yeah, sooner or later I'll have a look.

Code: Select all

customBlock_cauldronp2wbonuses("VialAttempts"
is roughly what you're looking for


this is also from the old file (yesterdays) as I've not done anything since the update this morning


Note this line goes off the edge in vscode

Code: Select all

 return null != d.Cauldp2wDL1 ? A.setReserved("Cauldp2wDL1", r) : A.h.Cauldp2wDL1 = r, "LiquidCauldronLvReq" == t ? 3 == n ? 120 : 2 == n ? 35 : 1 == n ? 20 : 0 : "CauldronCosts" == t ? 0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(2500 * Math.pow(1.15 - .117 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3200 * Math.pow(1.18 - .145 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], Math.round(3750 * Math.pow(1.2 - .14 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : 
                    "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(2500 * Math.pow(1.19 - .135 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (n = null == (n = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = null == (t = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0]) ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], Math.round(3500 * Math.pow(1.2 - .13 * n / (100 + t), null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(1e4 * Math.pow(2, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s], Math.round(5e3 * Math.pow(1.25, null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, m) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(f.string(s))))) : (a = null == (a = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = null == (n = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("CauldronP2W")[3][0 | s], Math.round((4e3 + 2e3 * s) * Math.pow(1.15 - (.1 - .01 * s) * a / (100 + n), null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t))))) : "CauldronBonus" == t ? (2 > n ? (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)))]) : (t = b.engine.getGameAttribute("DNSM"), A = b.engine.getGameAttribute("CustomLists"), A = (null != d.CauldronP2Wbonuses ? A.getReserved("CauldronP2Wbonuses") : A.h.CauldronP2Wbonuses)[0 | n][0 | s]), null != d.Cauldp2wDL1 ? t.setReserved("Cauldp2wDL1", A) : t.h.Cauldp2wDL1 = A, 0 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[0][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 3 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : 1 == n ? (n = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[1][(null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) + 2 * s | 0], null != d.Cauldp2wDN1 ? n.setReserved("Cauldp2wDN1", s) : n.h.Cauldp2wDN1 = s) : (2 == n ? (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[2][0 | s]) : (a = b.engine.getGameAttribute("DNSM"), s = b.engine.getGameAttribute("CauldronP2W")[3][0 | s]), null != d.Cauldp2wDN1 ? a.setReserved("Cauldp2wDN1", s) : a.h.Cauldp2wDN1 = s), s = b.engine.getGameAttribute("DNSM"), s = "" + f.string((null != d.Cauldp2wDL1 ? s.getReserved("Cauldp2wDL1") : s.h.Cauldp2wDL1)[2]), a = b.engine.getGameAttribute("DNSM"), a = null == (a = (null != d.Cauldp2wDL1 ? a.getReserved("Cauldp2wDL1") : a.h.Cauldp2wDL1)[0]) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a)), n = b.engine.getGameAttribute("DNSM"), n = null == (n = (null != d.Cauldp2wDL1 ? n.getReserved("Cauldp2wDL1") : n.h.Cauldp2wDL1)[1]) ? 0 : "number" == typeof n ? e.__cast(n, k) : "number" == typeof n && (0 | n) === n ? e.__cast(n, m) : "boolean" == typeof n ? e.__cast(n, l) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(f.string(n)), t = b.engine.getGameAttribute("DNSM"), t = null != d.Cauldp2wDN1 ? t.getReserved("Cauldp2wDN1") : t.h.Cauldp2wDN1, Math.max(0, C._customBlock_ArbitraryCode5Inputs(s, a, n, null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, m) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(f.string(t)), 0, 0))) : "CauldronLvMAX" == t ? (0 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 150) : s.h.Cauldp2wDN1 = 150) : 1 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 125) : s.h.Cauldp2wDN1 = 125) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : 1 == n ? 0 == (null == a ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, m) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(f.string(a))) ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 80) : s.h.Cauldp2wDN1 = 80) : 2 == n ? 0 == s ? (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 15) : s.h.Cauldp2wDN1 = 15) : (s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", 100) : s.h.Cauldp2wDN1 = 100) : (s = b.engine.getGameAttribute("DNSM"), a = b.engine.getGameAttribute("PixelHelperActor")[5].getValue("ActorEvents_232", "_GenINFO")[86], null != d.Cauldp2wDN1 ? s.setReserved("Cauldp2wDN1", a) : s.h.Cauldp2wDN1 = a), s = b.engine.getGameAttribute("DNSM"), null != d.Cauldp2wDN1 ? s.getReserved("Cauldp2wDN1") 
                    : s.h.Cauldp2wDN1) : "VialAttempts" == t ? Math.round(3 + J._customBlock_cauldronp2wbonuses("CauldronBonus", 2, 0, "0")) : 1
I don't know exactly which part to edit.
Tried once, nothing changed.
Yess found it!!
Search for - 1, t._VialRNG and change the 1 into a zero. Due to different Beautifiers, there may or may not be spaces in between, so that's a notable thing.

Regex -\s*?1,\s*?\w{1,2}._VialRNG in VS Code should be safe. With the w{1,2}, the object name can be any one or two characters.

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Re: Legends of Idleon

Post by Creater0822 »

Changelog 02/07/21 10pm:
Original post: viewtopic.php?p=198916#p198916

Quick update!
The new CheatInject doesn't work on beautified Z.js files where spaces are added between operators, equal signs etc...
Added to Google Drive:
  • InjectCheats_Fix.exe
    Equivalent to InjectCheats v1.1.0, where the only change is the Regex being /\w+\.ApplicationMain\s*?=/ to cover the possible whitespace.
  • InjectCheats2.zip
    Binary and source code of my extra-replacement version with unlocked quick ref, free teleports and no daily vial attempt reduction.
As for modifications I'll probably leave it at this for a while. Similarly, one could also nullify quest requirements through this method, but I'll leave it as it is. My three choices should be quite safe, whereas quest req nullification is definitely a dangerous one.

User avatar
Creater0822
Expert Cheater
Expert Cheater
Posts: 229
Joined: Sat Nov 18, 2017 12:02 am
Reputation: 123

Re: Legends of Idleon

Post by Creater0822 »

Perfect Regex for the code section that returns new bubble chances: if\s*?\("PctChanceNewBubble"\s*?==\s*?\w{1,2}\)\s*?\{
JavaScript replace: replace(/if\s*?\("PctChanceNewBubble"\s*?==\s*?\w{1,2}\)\s*?\{/, (m) => `${m} return 100; `)

User avatar
salmon85
Expert Cheater
Expert Cheater
Posts: 116
Joined: Wed Jun 09, 2021 8:29 am
Reputation: 26

Re: Legends of Idleon

Post by salmon85 »

Creater0822 wrote:
Fri Jul 02, 2021 9:21 pm
Perfect Regex for the code section that returns new bubble chances: if\s*?\("PctChanceNewBubble"\s*?==\s*?\w{1,2}\)\s*?\{
JavaScript replace: replace(/if\s*?\("PctChanceNewBubble"\s*?==\s*?\w{1,2}\)\s*?\{/, (m) => `${m} return 100; `)

Code: Select all

search for
ItemNumReq: \[\d{1,}\w{0,}\d{0,}\]
ItemNumReq: \[\d{1,}\w{0,}\d{0,}, \d{1,}\w{0,}\d{0,}\]
ItemNumReq: \[\d{1,}\w{0,}\d{0,}, \d{1,}\w{0,}\d{0,}, \d{1,}\w{0,}\d{0,}\]

replace with
ItemNumReq: [0]
ItemNumReq: [0, 0]
ItemNumReq: [0, 0, 0]

search for
"\d{1,}\w{0,}\d{0,}", "GreaterEqual", "\d{1,}\w{0,}\d{0,}"

replace with
"0", "GreaterEqual", "0"
for quests




if you can replace regex with regex (like, keep the obscurification)
then these may be of some help

Code: Select all

teleports
parseFloat\(\w{1,2}.string\(\w{1,2}\)\)\) - \d{1,2}\), null != \w{1,2}.WorldTeleports

change the - number to 0

Code: Select all

anvil multicrafts (basically infinity hammer)
"string" == typeof \w{1,2} \? parseFloat\(\w{1,2}\) : parseFloat\(\w{1,2}.string\(\w{1,2}\)\)\) \+ \d{1,2}\). \w{1,2} = b.engine.getGameAttribute\("AnvilPAselect"\).length;

change the + number from 1 to something like 15

Code: Select all

Remove infinity hammer purchase check

1 == b.engine.getGameAttribute("GemItemsPurchased")[103]

just replace with 1 == 1
there should be 2 references
Last edited by salmon85 on Fri Jul 02, 2021 10:07 pm, edited 1 time in total.

iBelg
Cheater
Cheater
Posts: 36
Joined: Tue Jul 28, 2020 6:42 pm
Reputation: 47

Re: Legends of Idleon

Post by iBelg »

Code: Select all

registerCheat('quickref', function () {
	const bEngine = this['com.stencyl.Engine'].engine;
	
	const optionsListAccount = bEngine.getGameAttribute('OptionsListAccount');
	const handler = {
		get: function(obj, prop) {
			if (Number(prop) === 34) {
				return 0;
			}
			return Reflect.get(...arguments);
		}
	};
	const proxy = new Proxy(optionsListAccount, handler);
	bEngine.setGameAttribute('OptionsListAccount', proxy);
});
This will enable quickref without having to replace source code. It's not perfect, as I would imagine the proxy could be used for many properties, but for now this works.

User avatar
salmon85
Expert Cheater
Expert Cheater
Posts: 116
Joined: Wed Jun 09, 2021 8:29 am
Reputation: 26

Re: Legends of Idleon

Post by salmon85 »

iBelg wrote:
Fri Jul 02, 2021 10:03 pm

Code: Select all

registerCheat('quickref', function () {
	const bEngine = this['com.stencyl.Engine'].engine;
	
	const optionsListAccount = bEngine.getGameAttribute('OptionsListAccount');
	const handler = {
		get: function(obj, prop) {
			if (Number(prop) === 34) {
				return 0;
			}
			return Reflect.get(...arguments);
		}
	};
	const proxy = new Proxy(optionsListAccount, handler);
	bEngine.setGameAttribute('OptionsListAccount', proxy);
});
This will enable quickref without having to replace source code. It's not perfect, as I would imagine the proxy could be used for many properties, but for now this works.

I tried hooking into runPeriodically by declaring
const hEngine = this['com.stencyl.behavior.Script'];
but

A: I don't know wtf I'm doing
B: I don't think it will run all the time in the background
C: this was back on the older 1.0 version and I put the code after the switch(command) routine.
I thought it was at least trying to do something as I missed out the wrapper.enabled check, which I think is the check to see if the game is not minimized as the game was running fine until I went afk and then it crashed.



What you and creator are doing to the game is starting to go over my head now. I should be able to get my head around it by studying the code. Just been busy with work.

Post Reply

Who is online

Users browsing this forum: AhrefsBot, Google Adsense [Bot], SemrushBot, YandexBot