Page 22 of 373
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 1:05 pm
by salmon85
Lucifer M wrote: ↑Fri Jun 11, 2021 12:24 pm
So I am not sure if this is fixable or not but I have NAN on the Liquid Nitrogen woops
It shows up as B/195
Post your cauldronp2wbonuses = function()
also
Infinite teleports
Code: Select all
if (277 < h.getMouseX() && 355 > h.getMouseX() && 407 < h.getMouseY() && 446 > h.getMouseY()) s._GenINFO[20] != b.engine.getGameAttribute("CurrentMap") ? (a = b.engine.getGameAttribute("CurrenciesOwned"), a = 0 < (null == (a = null != d.WorldTeleports ? a.getReserved("WorldTeleports") : a.h.WorldTeleports) ? 0 : "number" == typeof a ? e.__cast(a, k) : "number" == typeof a && (0 | a) === a ? e.__cast(a, n) : "boolean" == typeof a ? e.__cast(a, l) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(g.string(a))) && -1 != s._GenINFO[20]) : a = !1, a && 1 != h.isTransitioning() && (a = b.engine.gameAttributes, null != d.BlockMovement ? a.setReserved("BlockMovement", 1) : a.h.BlockMovement = 1, a = jh.get().scenes, A = b.engine.getGameAttribute("CustomLists"), A = null != d.MapName ? A.getReserved("MapName") : A.h.MapName, r = s._GenINFO[20], A = h.getIDForScene("" + g.string(A[0 | (null == r ? 0 : "number" == typeof r ? e.__cast(r, k) : "number" == typeof r && (0 | r) === r ? e.__cast(r, n) : "boolean" == typeof r ? e.__cast(r, l) ? 1 : 0 : "string" == typeof r ? parseFloat(r) : parseFloat(g.string(r)))])), a = a.h[A].getID(), null == (i = r = A = 0) && (i = 0), null == r && (r = 0), null == A && (A = 0), A = h.createFadeOut(1, A << 16 | r << 8 | i), null == (o = i = r = 0) && (o = 0), null == i && (i = 0), null == r && (r = 0), h.switchScene(a, A, h.createFadeIn(.7, r << 16 | i << 8 | o)), a = b.engine.getGameAttribute("CurrenciesOwned"), A = b.engine.getGameAttribute("CurrenciesOwned"), A = null != d.WorldTeleports ? A.getReserved("WorldTeleports") : A.h.WorldTeleports, A = Math.round((null == A ? 0 : "number" == typeof A ? e.__cast(A, k) : "number" == typeof A && (0 | A) === A ? e.__cast(A, n) : "boolean" == typeof A ? e.__cast(A, l) ? 1 : 0 : "string" == typeof A ? parseFloat(A) : parseFloat(g.string(A))) - 1), null != d.WorldTeleports ? a.setReserved("WorldTeleports", A) : a.h.WorldTeleports = A, a = b.engine.gameAttributes, null != d.MenuType ? a.setReserved("MenuType", 0) : a.h.MenuType = 0);
change
to
in the above code for it to never remove teleports
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 1:14 pm
by Lucifer M
These are my current values for cauldronp2wbonuses
I may have gone a little overboard cause I was tired of waiting haha.
I lowered them before but it didn't change the value of the liquid nitrogen
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 1:25 pm
by salmon85
Lucifer M wrote: ↑Fri Jun 11, 2021 1:14 pm
These are my current values for cauldronp2wbonuses
I may have gone a little overboard cause I was tired of waiting haha.
I lowered them before but it didn't change the value of the liquid nitrogen
try swapping the decayMulti and decay back to something higher than 0
I think the issue is that your boosts aren't levelling off.
I'm thinking it's like acceleration. With 0 decay (drag) you would just keep increasing speed to the point of not having a number readable by the game.
This is mine, I've not ran into the NaN issue
Code: Select all
Dc.CauldronP2Wbonuses = function () {
return [
[
["10000", "200", "add"],
["10000", ".2", "decayMulti"],
["10000", ".2", "decay"]
],
[
["10000", ".2", "decay"],
["10000", "0", "add"]
],
[
["10000", "0", "add"],
["10000", ".2", "decay"]
],
[
["10000", ".2", "decay"],
["10000", "200", "add"]
]
]
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 1:36 pm
by Lucifer M
salmon85 wrote: ↑Fri Jun 11, 2021 1:25 pm
Lucifer M wrote: ↑Fri Jun 11, 2021 1:14 pm
These are my current values for cauldronp2wbonuses
I may have gone a little overboard cause I was tired of waiting haha.
I lowered them before but it didn't change the value of the liquid nitrogen
try swapping the decayMulti and decay back to something higher than 0
I think the issue is that your boosts aren't levelling off.
I'm thinking it's like acceleration. With 0 decay (drag) you would just keep increasing speed to the point of not having a number readable by the game.
This is mine, I've not ran into the NaN issue
Code: Select all
Dc.CauldronP2Wbonuses = function () {
return [
[
["10000", "200", "add"],
["10000", ".2", "decayMulti"],
["10000", ".2", "decay"]
],
[
["10000", ".2", "decay"],
["10000", "0", "add"]
],
[
["10000", "0", "add"],
["10000", ".2", "decay"]
],
[
["10000", ".2", "decay"],
["10000", "200", "add"]
]
]
Yeah I did the same values, I think I must have hit a point that broke the liquid nitrogen, not quite sure if it's reversible might be a potential lock for that specifically.
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 2:14 pm
by salmon85
trying to see if I can see my current nitrogen count in
b.engine.getGameAttribute("CauldronInfo")
Replaced one of the hints with
Code: Select all
["Test",b.engine.getGameAttribute("CauldronInfo")[0]+"_"+b.engine.getGameAttribute("CauldronInfo")[1]+"_"+b.engine.getGameAttribute("CauldronInfo")[2]+"_"+b.engine.getGameAttribute("CauldronInfo")[3]+"_"+b.engine.getGameAttribute("CauldronInfo")[4]+"_"+b.engine.getGameAttribute("CauldronInfo")[5]+"_"+b.engine.getGameAttribute("CauldronInfo")[6]+"_"+b.engine.getGameAttribute("CauldronInfo")[7]],
and I end up with
If I can find the value then maybe we can put a check in place
ifNaN then set to 0 or your cap etc.
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 2:19 pm
by Lucifer M
I implemented it and got this in between your 629.505 and 508.569 I have NaN
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 2:38 pm
by salmon85
Yeah, this could be the wrong variable. Plus it goes off screen.
The display code only goes up to a length of 8 on the variable [0] - [7] but the length of the variable is 11
Busy with work at the moment for the next hour. Will see if I can look deeper then.
Would be nice if I could dump all the variables out to a file.
If it works then we may be able to put fixes in the game to prevent crashes for bad purchases etc.
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 2:42 pm
by Lucifer M
salmon85 wrote: ↑Fri Jun 11, 2021 2:38 pm
Yeah, this could be the wrong variable. Plus it goes off screen.
The display code only goes up to a length of 8 on the variable [0] - [7] but the length of the variable is 11
Busy with work at the moment for the next hour. Will see if I can look deeper then.
Would be nice if I could dump all the variables out to a file.
If it works then we may be able to put fixes in the game to prevent crashes for bad purchases etc.
Thank you for even attempting, I mean the bad purchases would be great for people looking to make their own gem shops.
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 2:52 pm
by salmon85
the number that is nan for you and 508 for me in the screenshot. doesn't match what my LN2 counter says which makes me think it's further in that variable just off screen
edit:
[5] (6th line) looks to match cauldrons
currently says 44176.blablabla for me and my orange cauldron is currently showing 44.2k
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 3:34 pm
by Lucifer M
salmon85 wrote: ↑Fri Jun 11, 2021 2:52 pm
the number that is nan for you and 508 for me in the screenshot. doesn't match what my LN2 counter says which makes me think it's further in that variable just off screen
edit:
[5] (6th line) looks to match cauldrons
currently says 44176.blablabla for me and my orange cauldron is currently showing 44.2k
Yeah it seems that my orange cauldron shows "144" like the 1st line does
I thought that each set of numbers could represent a cauldron but my second set "195721265" doesn't show under any of my cauldrons so it's possible that the order is random.
So trying to add additional letters to try and offset the numbers to a line below didn't work.
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 3:45 pm
by salmon85
Just tried to do a for loop to iterate over the values, but screwed it up.
Just going to dump the length of [5] and manually add them in
vscode doesn't like saving these large files. Can sometimes take a minute or so just to save a few changed lines
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 3:49 pm
by iBelg
Getting items has never been easier.
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 3:52 pm
by Lucifer M
iBelg wrote: ↑Fri Jun 11, 2021 3:49 pm
Getting items has never been easier.
Nice job, does work with any ingame item name?
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 3:59 pm
by iBelg
Lucifer M wrote: ↑Fri Jun 11, 2021 3:52 pm
iBelg wrote: ↑Fri Jun 11, 2021 3:49 pm
Getting items has never been easier.
Nice job, does work with any ingame item name?
Yup, as long you know the internal name of the item you can drop it.
Re: Legends of Idleon
Posted: Fri Jun 11, 2021 4:00 pm
by salmon85
Very nice on the chat commands.
Downside to chat commands, you forget the . or whatever you've used, you've just said out loud what you were trying to do.
as for b.engine.getGameAttribute("CauldronInfo")[5]
it has a length of 4 and seems to match the 4 cauldrons capacities to some extent