Re: Legends of Idleon
Specifically from the Warped Stones
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
I can't download the file to test, but I suspect the file is only Z.js inside the 7z file.chase123789 wrote: ↑Sat Jun 12, 2021 12:35 amhey! i downloaded it and replaced the file in the destination but then i switched the file name to .js instead of .7z but when i launched i just see the forrest backround and no load, did i do something incorrect? ( this was after extracting to a folder of course and renaming folder to app.asar
You've saved me a job this morningCreater0822 wrote: ↑Sat Jun 12, 2021 1:12 amNice discovery! Search8ing for _customBlock_StampCostss = function indeed yields the function we're looking for.
This piece of annoying to read code basically has an if( material cost ) else obviously coins construction
To nullify the upgrade cost look for:And change both toCode: Select all
A.push(..a lot of ugly code..)
These are the final lines inside the if and else, which my VS Code's beautifier didn't really beautify for me so I had to manually add new lines between comma's before I could read it wellCode: Select all
A.push(0)
Code: Select all
A.push(r * Math.pow(i, Math.pow(Math.round(o / (null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, n) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(g.string(s)))) - 1, .8)))
Code: Select all
A.push(r * Math.pow(i - o / (u + 5 * m) * .25, c * (10 / (null == s ? 0 : "number" == typeof s ? e.__cast(s, k) : "number" == typeof s && (0 | s) === s ? e.__cast(s, n) : "boolean" == typeof s ? e.__cast(s, l) ? 1 : 0 : "string" == typeof s ? parseFloat(s) : parseFloat(g.string(s))))))
Code: Select all
A.push(0)
Code: Select all
"WorshipMobHpMulti" == e ? Math.pow(3, t - 2) * Math.pow(3 + .3 * n, n) : 1
Code: Select all
}
if ("CostsMulti" == t) return Math.floor(Math.pow(s, 1.5));
if ("CapMulti" == t) return Math.ceil(Math.pow(4, s - 1));
if ("PowerPerCycle" == t) return Math.floor(Math.pow(s, 1.3));
if ("CycleInitialTime" == t) return s = 900 * Math.pow(4, Math.floor(s)), t = b.engine.getGameAttribute("DNSM"), t = null != d.AlchVials ? t.getReserved("AlchVials") : t.h.AlchVials, t = null != d.RefSpd ? t.getReserved("RefSpd") : t.h.RefSpd, Math.ceil(s / (1 + ((null == t ? 0 : "number" == typeof t ? e.__cast(t, k) : "number" == typeof t && (0 | t) === t ? e.__cast(t, n) : "boolean" == typeof t ? e.__cast(t, l) ? 1 : 0 : "string" == typeof t ? parseFloat(t) : parseFloat(g.string(t))) + Ib._customBlock_SaltLick(2)) / 100));
Code: Select all
var Ya = Math.ceil(z._customBlock_ForgeEtcDetails("CardChanceBONUS", 0)) * Math.pow(Math.max(0, this._dummynumber2), .6),
Code: Select all
h.runPeriodically(100, (function (e) {
if (s.wrapper.enabled && b.engine.getGameAttribute("PlayerHP") != z._customBlock_PlayerHPmax()) {
var t = b.engine;
e = z._customBlock_PlayerHPmax(), t = t.gameAttributes, null != d.PlayerHP ? t.setReserved("PlayerHP", e) : t.h.PlayerHP = e
}
Code: Select all
h.runPeriodically(100, (function (a) {
if (s.wrapper.enabled) {
if (0 == s._ScrollCircleINFO[68]) {
if (s._DummyNumber = z._customBlock_PlayerHPmax(), b.engine.getGameAttribute("PlayerHP") > s._DummyNumber) {
a = b.engine.gameAttributes;
var A = s._DummyNumber;
null != d.PlayerHP ? a.setReserved("PlayerHP", A) : a.h.PlayerHP = A
}
s._DummyNumber = z._customBlock_PlayerMPmax(), b.engine.getGameAttribute("PlayerMP") > s._DummyNumber && (a = b.engine.gameAttributes, A = s._DummyNumber, null != d.PlayerMP ? a.setReserved("PlayerMP", A) : a.h.PlayerMP = A)
}
Code: Select all
h.runPeriodically(100, (function (a) {
if (s.wrapper.enabled) {
a = b.engine.gameAttributes;
var A = s._DummyNumber;
null != d.PlayerHP ? a.setReserved("PlayerHP", z._customBlock_PlayerHPmax()) : a.h.PlayerHP = z._customBlock_PlayerHPmax()
Code: Select all
b.engine.getGameAttribute("TakeDmgTimer")
U known how to use console commands in game?salmon85 wrote: ↑Sat Jun 12, 2021 10:22 amGodmode Anyone
Code: Select all
h.runPeriodically(100, (function (a) { if (s.wrapper.enabled) { if (0 == s._ScrollCircleINFO[68]) { if (s._DummyNumber = z._customBlock_PlayerHPmax(), b.engine.getGameAttribute("PlayerHP") > s._DummyNumber) { a = b.engine.gameAttributes; var A = s._DummyNumber; null != d.PlayerHP ? a.setReserved("PlayerHP", A) : a.h.PlayerHP = A } s._DummyNumber = z._customBlock_PlayerMPmax(), b.engine.getGameAttribute("PlayerMP") > s._DummyNumber && (a = b.engine.gameAttributes, A = s._DummyNumber, null != d.PlayerMP ? a.setReserved("PlayerMP", A) : a.h.PlayerMP = A) }
change to
Code: Select all
h.runPeriodically(100, (function (a) { if (s.wrapper.enabled) { a = b.engine.gameAttributes; var A = s._DummyNumber; null != d.PlayerHP ? a.setReserved("PlayerHP", z._customBlock_PlayerHPmax()) : a.h.PlayerHP = z._customBlock_PlayerHPmax()
Note: You can still get 1 shotted.
is worth looking at for full invulnerabilityCode: Select all
b.engine.getGameAttribute("TakeDmgTimer")
Code: Select all
if ("CauldronCosts" == s)
if ("VialCosts" == s)
Code: Select all
if ("CauldronCosts" == s) {
return 0
}
if ("VialCosts" == s) {
return 0
}
Code: Select all
if ("PctChanceNewBubble" == s) {
return 100
}
Code: Select all
I._customBlock_AnvilProduceStats("Costs1")
I._customBlock_AnvilProduceStats("Costs2")
Nice!! Changing these is astronomically faster than changing the definition of each bubble and so on, perfect discovery!salmon85 wrote: ↑Sat Jun 12, 2021 12:38 pmReplace these 2 if statements, so they return 0 to get free purchases in the brewing, liquid and vial tabs in alchemyCode: Select all
if ("CauldronCosts" == s) if ("VialCosts" == s)
example
Since we don't need math.. why keep the stupid codeCode: Select all
if ("CauldronCosts" == s) { return 0 } if ("VialCosts" == s) { return 0 }
you can do the same for the chance for a bubbleCode: Select all
if ("PctChanceNewBubble" == s) { return 100 }
replace all of these found in the code (should be 4 each) to 0 for free anvil upgrades.. despite that we can already change the exp values of the crafts + bypass the craft at once limitCode: Select all
I._customBlock_AnvilProduceStats("Costs1") I._customBlock_AnvilProduceStats("Costs2")
Yes, you can search for:chase123789 wrote: ↑Sat Jun 12, 2021 2:07 amHave you found code for starsigns? How to unlock more and what not?
Code: Select all
StarQuests = function ()
Code: Select all
"0 908 21 30 99 4 3 Reach_Lv_30_on_four_players_@_Progress:{/} 1".split(" "),
I implemented your skill mana cost and cooldown timer, I also put the infinite teleports in and it all works perfectly.salmon85 wrote: ↑Sat Jun 12, 2021 12:38 pmReplace these 2 if statements, so they return 0 to get free purchases in the brewing, liquid and vial tabs in alchemyCode: Select all
if ("CauldronCosts" == s) if ("VialCosts" == s)
example
Since we don't need math.. why keep the stupid codeCode: Select all
if ("CauldronCosts" == s) { return 0 } if ("VialCosts" == s) { return 0 }
you can do the same for the chance for a bubbleCode: Select all
if ("PctChanceNewBubble" == s) { return 100 }
replace all of these found in the code (should be 4 each) to 0 for free anvil upgrades.. despite that we can already change the exp values of the crafts + bypass the craft at once limitCode: Select all
I._customBlock_AnvilProduceStats("Costs1") I._customBlock_AnvilProduceStats("Costs2")
Code: Select all
ItemToCraftCostTYPE = function ()
Code: Select all
["Copper", "0"]
How exactly did you achieve that?salmon85 wrote: ↑Sat Jun 12, 2021 2:28 pmIs for all the anvil crafting costs (items)Code: Select all
ItemToCraftCostTYPE = function ()
its a few thousand lines long but using regex + notepad++ I replaced it all with
so crafting is free now.Code: Select all
["Copper", "0"]
Lucifer M wrote: ↑Sat Jun 12, 2021 3:45 pmHow exactly did you achieve that?salmon85 wrote: ↑Sat Jun 12, 2021 2:28 pmIs for all the anvil crafting costs (items)Code: Select all
ItemToCraftCostTYPE = function ()
its a few thousand lines long but using regex + notepad++ I replaced it all with
so crafting is free now.Code: Select all
["Copper", "0"]
Code: Select all
\[.*\]
Code: Select all
\["Copper", "0"\]
Code: Select all
["Copper", "0"],
Code: Select all
["Copper", "0"]
Code: Select all
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
Code: Select all
Dc.ItemToCraftCostTYPE = function () {
return [
[
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
]
],
[
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
]
],
[
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
]
],
[
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
],
[
["Copper", "0"]
]
]
]