Legends of Idleon
Re: Legends of Idleon
Specifically from the Warped Stones
Re: Legends of Idleon
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
Follow the information on page 12 by Devilisious
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)
for anyone too lazy to look it's
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)
I'm just searching the code for math.pow and found something which may be interesting.
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
}
Re: Legends of Idleon
Your game is saved locally, and it uploads to the server every so often.
I've not tested this with gem shop purchases yet, however.
I found this out when I changed all the quest requirements to 0 and I completed the last quest from the town npc in world 2 (which shouldn't be a thing) it does something to your character which crashes the game. You can't re-load this character as it crashes again.
Same with the beginner to journeyman quest. I accidentally completed a quest which shouldn't be possible, and it stopped me from changing to journeyman.
I changed the code for the class swap stone mentioned in previous posts (which didn't work and bricked this character as it set it to id 0)
here's the fun part
once you crash your game
don't re-open it yet. go to %appdata% (in windows) and delete the contents inside the legends-of-idleon
re-open the game
log back in (as you've cleared the local cache of the game)
it will re-download your save from the cloud and hopefully not have the bugged items / state in it.
Re: Legends of Idleon
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.
Code: Select all
b.engine.getGameAttribute("TakeDmgTimer")
Re: Legends of Idleon
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")
-
- Cheater
- Posts: 31
- Joined: Tue May 04, 2021 4:03 pm
- Reputation: 11
Re: Legends of Idleon
Re: Legends of Idleon
Code: Select all
if ("CauldronCosts" == s)
if ("VialCosts" == s)
example
Code: Select all
if ("CauldronCosts" == s) {
return 0
}
if ("VialCosts" == s) {
return 0
}
you can do the same for the chance for a bubble
Code: Select all
if ("PctChanceNewBubble" == s) {
return 100
}
Code: Select all
I._customBlock_AnvilProduceStats("Costs1")
I._customBlock_AnvilProduceStats("Costs2")
- Creater0822
- Expert Cheater
- Posts: 229
- Joined: Sat Nov 18, 2017 12:02 am
- Reputation: 125
Re: Legends of Idleon
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")
- Creater0822
- Expert Cheater
- Posts: 229
- Joined: Sat Nov 18, 2017 12:02 am
- Reputation: 125
Re: Legends of Idleon
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(" "),
Re: Legends of Idleon
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")
Re: Legends of Idleon
Code: Select all
ItemToCraftCostTYPE = function ()
its a few thousand lines long but using regex + notepad++ I replaced it all with
Code: Select all
["Copper", "0"]
Re: Legends of Idleon
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"]
Re: Legends of Idleon
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"]
Copied the whole function into notepad++ (it's about a thousand lines of code)
used the find and replace feature with the following
find (with regex enabled)
Code: Select all
\[.*\]
Code: Select all
\["Copper", "0"\]
Code: Select all
["Copper", "0"],
Code: Select all
["Copper", "0"]
then in notepad++ go edit -> Line operations -> remove consecutive duplicate lines (not remove duplicate lines)
you should be just left with single lines that looks like
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"]
]
]
]
-
- Noobzor
- Posts: 8
- Joined: Fri Dec 11, 2020 12:23 pm
- Reputation: 0
Re: Legends of Idleon
Who is online
Users browsing this forum: CommanderX, Mantias, Quackmoor