Legends of Idleon

Ask about cheats/tables for single player games here
JHroad
Cheater
Cheater
Posts: 48
Joined: Sat Oct 02, 2021 5:46 pm
Reputation: 1

Re: Legends of Idleon

Post by JHroad »

barry wrote:
Mon Aug 08, 2022 10:54 am
Yes you can quite easily, (on chrome) just go to devtools, sources, enable overrides and look for z.js in the "page" panel, right click and add to overrides. Then open the file location of the override and there you can edit the file. Save it, reload the page and it will use your locally stored version.
Thanks man, really helpfull. Was wondering if there's a simple way to "beautify" the code? kind of hard to work on it as is.

IchRiechAnMeinemFurz
Novice Cheater
Novice Cheater
Posts: 16
Joined: Mon Aug 08, 2022 12:10 pm
Reputation: 9

Re: Legends of Idleon

Post by IchRiechAnMeinemFurz »

How would you active stuff like autoloot that you buy for money?

User avatar
barry
Noobzor
Noobzor
Posts: 6
Joined: Sun Aug 07, 2022 2:00 pm
Reputation: 5

Re: Legends of Idleon

Post by barry »

JHroad wrote:
Sat Aug 13, 2022 9:26 am
Thanks man, really helpfull. Was wondering if there's a simple way to "beautify" the code? kind of hard to work on it as is.
Since VSCode's built-in formatter and the popular extension prettier kept crashing on me, the most reliable way I found was to using rome by running

Code: Select all

npx rome@next format --write Z.js
in powershell in the directory where the file is.

pajion
Cheater
Cheater
Posts: 26
Joined: Thu Dec 30, 2021 6:05 am
Reputation: 1

Re: Legends of Idleon

Post by pajion »

tibasichelp wrote:
Tue May 03, 2022 8:06 pm
FFD wrote:
Tue May 03, 2022 8:00 pm
tibasichelp wrote:
Tue May 03, 2022 6:43 pm
Bypass Claim spice 100 a day

This is the image encoded in base64

Code: Select all

"assets/data/Popup16.png": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAqCAYAAADMBKtkAAAAAXNSR0IArs4c6QAABhlJREFUeJztnT1oHEcUx/8T1MiFSoPXVVzrBFYnFKKTscIl4MZFAhdDuLiTVYVzETAujoSAIlJZbowlAslhu1AbYQvnHGLc2WC5VqdLSDoXTrkpbmc1tzdvvndXZ+YHwvbOzXvv3v13dj7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KGzXVbMNv10+RNfF6A4Rcmgn/CF1KO9F7hz90bedOfuDWysb5Ndn75LcemMuuaAE06sVMGDqihDUZWjLJoouVhDZxtQFPB4xGxd1GJQ1eRbnGKKuJAqwsW79+FzabupYMOIlbqz9UUZ2vYgdz6BdbGG0E9lr8yYJ3ydMq5sLmFjfXtsdDXBJHf+xdeZIHUfuMkmvvEGdnYyJL52rL+ivYhmVFJu6Ltuuvv2o2Kv7fCm2R4+vPk4X/lzwdrw+3/6wu1qvymgG3FsRiRi2ye/TrX7oOgv3ihePgxi8BJjSVX8RbhguWj/OJAcHAiszo7+VAnWfxqQ7QvmjqYIfhpFnUpJRi7p6ZRoz4Sy8lRHUU9Osz3sNLaS3cPRPuvK/BywuYSV+TlsfHYyyq7OjkZRES5UHWHmrGWUB1aESwkhNc+tcs5qg9OxswuZYAHk5X8AsPfb+MKKEqeuziDs1tU0orjRpLUIRJuNGMoq8tbNZ0VKE2+WIy5a8RqVZz7SXlu+iF+e04ItbzfApVgi5OgcqlhD0t+7OAVwfxrpvoAnsRskXls0Txc+il5bHv/OlqoO1l+skuTJklPpfMowJh1VfZ3GFNc5MtW/DlSP+tVZ9VQqyMjqU8hhXexi6NunWENXuGFdnGLo16Zf7mvQT3R2XeMtk5210XEsnrxUfiNWJMhuwK1zZ5WFHNJ2YYtJ2W7qW3y9JqaJPoVrZF/T9+ToV9tP5svQrnOOQ0KUE3J0C6xYyBKpl0E/+bpQvF2ct5ZTyBKJeJBPDUpbYEUiPhSnBgqiWCP1Yzh3jv+LYGRqiGKNTA35NCD+eqHIaWd0BBJ/aVvktDPon/8fcwoUN8aojqQAAAAASUVORK5CYII=",
traced it to the ID corresponding to this image Image

Code: Select all

"154" == this.actor.getValue("ActorEvents_40", "_Animation") && this.actor.setValue("ActorEvents_40", "_ImgInst", t._customBlock_addImgInst("Popup16.png"))
then found two instances where it occurred as PopupType = 154
Scrolled up and found where it checks if the value(daily limit) surpasses 100
Commented out the else statement in both instances and set the value of OptionsListAccount[100] to 0

Code: Select all

else {
  b.engine.getGameAttribute("OptionsListAccount")[100] = 0;
}
   //else {
   //var Tt = b.engine.gameAttributes;
   //null != d.PopupType ? Tt.setReserved("PopupType", 154) : Tt.h.PopupType = 154;
   //var Ut = b.engine.gameAttributes;
   //null != d.DummyNumber ? Ut.setReserved("DummyNumber", 0) : Ut.h.DummyNumber = 0,
   //h.createRecycledActor(h.getActorType(40), h.getMouseX(), Math.max(102, h.getMouseY()), 0)
   //}
Image
Nice find! but how did you edit that so you can use custom cheats in injectcheat? Did you edit the InjectCheatsF3.exe?
Manual edit z.js
viewtopic.php?p=208405#p208405

then you can edit the TotalTrekkingHR(Total Foraging Speed) and have it return a value of 5B

Code: Select all

if ("TotalTrekkingHR" == t) {
return 5 * Math.pow(10, 9)
}
and use some auto-clicking software, claim your spice overnight
Image
Hey, I tried doing your spice thing, and it just crashes the game

This is the current line of code, how would I set it up so it would imitate what you had?

Code: Select all

if ("TotalTrekkingHR" == t) {
                         var ps = a.engine.getGameAttribute("DNSM");
                        null != e.PetszzDN2 ? ps.setReserved("PetszzDN2", 0) : ps.h.PetszzDN2 = 0;
                        for (var hs = 0; 4 > hs;) {
                            var fs = hs++;
                            if ("none" != a.engine.getGameAttribute("Pets")[fs + (27 + 4 * w._customBlock_Breeding("TerritoryID", "0", r, 42)) | 0]) {
                                var ys = a.engine.getGameAttribute("DNSM"),
                                    Rs = a.engine.getGameAttribute("DNSM"),
                                    vs = null != e.PetszzDN2 ? Rs.getReserved("PetszzDN2") : Rs.h.PetszzDN2,
                                    bs = ys,
                                    Fs = (null == vs ? 0 : "number" == typeof vs ? d.__cast(vs, k) : "number" == typeof vs && (0 | vs) === vs ? d.__cast(vs, l) : "boolean" == typeof vs ? d.__cast(vs, n) ? 1 : 0 : "string" == typeof vs ? parseFloat(vs) : parseFloat(g.string(vs))) + w._customBlock_PetStuff("Trekking", "0", fs, w._customBlock_Breeding("TerritoryID", "0", r, 42));
                                null != e.PetszzDN2 ? bs.setReserved("PetszzDN2", Fs) : bs.h.PetszzDN2 = Fs
                            }
                        }

hxide666
Expert Cheater
Expert Cheater
Posts: 89
Joined: Sun Dec 19, 2021 3:31 am
Reputation: 2

Re: Legends of Idleon

Post by hxide666 »

Spoiler
pajion wrote:
Sun Aug 14, 2022 10:13 am
tibasichelp wrote:
Tue May 03, 2022 8:06 pm
FFD wrote:
Tue May 03, 2022 8:00 pm


Nice find! but how did you edit that so you can use custom cheats in injectcheat? Did you edit the InjectCheatsF3.exe?
Manual edit z.js
viewtopic.php?p=208405#p208405

then you can edit the TotalTrekkingHR(Total Foraging Speed) and have it return a value of 5B

Code: Select all

if ("TotalTrekkingHR" == t) {
return 5 * Math.pow(10, 9)
}
and use some auto-clicking software, claim your spice overnight
Image
Hey, I tried doing your spice thing, and it just crashes the game

This is the current line of code, how would I set it up so it would imitate what you had?

Code: Select all

if ("TotalTrekkingHR" == t) {
                         var ps = a.engine.getGameAttribute("DNSM");
                        null != e.PetszzDN2 ? ps.setReserved("PetszzDN2", 0) : ps.h.PetszzDN2 = 0;
                        for (var hs = 0; 4 > hs;) {
                            var fs = hs++;
                            if ("none" != a.engine.getGameAttribute("Pets")[fs + (27 + 4 * w._customBlock_Breeding("TerritoryID", "0", r, 42)) | 0]) {
                                var ys = a.engine.getGameAttribute("DNSM"),
                                    Rs = a.engine.getGameAttribute("DNSM"),
                                    vs = null != e.PetszzDN2 ? Rs.getReserved("PetszzDN2") : Rs.h.PetszzDN2,
                                    bs = ys,
                                    Fs = (null == vs ? 0 : "number" == typeof vs ? d.__cast(vs, k) : "number" == typeof vs && (0 | vs) === vs ? d.__cast(vs, l) : "boolean" == typeof vs ? d.__cast(vs, n) ? 1 : 0 : "string" == typeof vs ? parseFloat(vs) : parseFloat(g.string(vs))) + w._customBlock_PetStuff("Trekking", "0", fs, w._customBlock_Breeding("TerritoryID", "0", r, 42));
                                null != e.PetszzDN2 ? bs.setReserved("PetszzDN2", Fs) : bs.h.PetszzDN2 = Fs
                            }
                        }

if ("TotalTrekkingHR" == t) {
return 5 * Math.pow(10, 9)
}



Just replace the whole block below with the return function

pajion
Cheater
Cheater
Posts: 26
Joined: Thu Dec 30, 2021 6:05 am
Reputation: 1

Re: Legends of Idleon

Post by pajion »

hxide666 wrote:
Sun Aug 14, 2022 11:33 am
Spoiler
pajion wrote:
Sun Aug 14, 2022 10:13 am
tibasichelp wrote:
Tue May 03, 2022 8:06 pm


Manual edit z.js
viewtopic.php?p=208405#p208405

then you can edit the TotalTrekkingHR(Total Foraging Speed) and have it return a value of 5B

Code: Select all

if ("TotalTrekkingHR" == t) {
return 5 * Math.pow(10, 9)
}
and use some auto-clicking software, claim your spice overnight
Image
Hey, I tried doing your spice thing, and it just crashes the game

This is the current line of code, how would I set it up so it would imitate what you had?

Code: Select all

if ("TotalTrekkingHR" == t) {
                         var ps = a.engine.getGameAttribute("DNSM");
                        null != e.PetszzDN2 ? ps.setReserved("PetszzDN2", 0) : ps.h.PetszzDN2 = 0;
                        for (var hs = 0; 4 > hs;) {
                            var fs = hs++;
                            if ("none" != a.engine.getGameAttribute("Pets")[fs + (27 + 4 * w._customBlock_Breeding("TerritoryID", "0", r, 42)) | 0]) {
                                var ys = a.engine.getGameAttribute("DNSM"),
                                    Rs = a.engine.getGameAttribute("DNSM"),
                                    vs = null != e.PetszzDN2 ? Rs.getReserved("PetszzDN2") : Rs.h.PetszzDN2,
                                    bs = ys,
                                    Fs = (null == vs ? 0 : "number" == typeof vs ? d.__cast(vs, k) : "number" == typeof vs && (0 | vs) === vs ? d.__cast(vs, l) : "boolean" == typeof vs ? d.__cast(vs, n) ? 1 : 0 : "string" == typeof vs ? parseFloat(vs) : parseFloat(g.string(vs))) + w._customBlock_PetStuff("Trekking", "0", fs, w._customBlock_Breeding("TerritoryID", "0", r, 42));
                                null != e.PetszzDN2 ? bs.setReserved("PetszzDN2", Fs) : bs.h.PetszzDN2 = Fs
                            }
                        }

if ("TotalTrekkingHR" == t) {
return 5 * Math.pow(10, 9)
}



Just replace the whole block below with the return function

I tried that, but maybe I was tired and fucked it up somewhere let me try it again.

Edit: Yea, so I tried it again and now the game won't load

hxide666
Expert Cheater
Expert Cheater
Posts: 89
Joined: Sun Dec 19, 2021 3:31 am
Reputation: 2

Re: Legends of Idleon

Post by hxide666 »

Spoiler
pajion wrote:
Sun Aug 14, 2022 8:26 pm
hxide666 wrote:
Sun Aug 14, 2022 11:33 am
Spoiler
pajion wrote:
Sun Aug 14, 2022 10:13 am


Hey, I tried doing your spice thing, and it just crashes the game

This is the current line of code, how would I set it up so it would imitate what you had?

Code: Select all

if ("TotalTrekkingHR" == t) {
                         var ps = a.engine.getGameAttribute("DNSM");
                        null != e.PetszzDN2 ? ps.setReserved("PetszzDN2", 0) : ps.h.PetszzDN2 = 0;
                        for (var hs = 0; 4 > hs;) {
                            var fs = hs++;
                            if ("none" != a.engine.getGameAttribute("Pets")[fs + (27 + 4 * w._customBlock_Breeding("TerritoryID", "0", r, 42)) | 0]) {
                                var ys = a.engine.getGameAttribute("DNSM"),
                                    Rs = a.engine.getGameAttribute("DNSM"),
                                    vs = null != e.PetszzDN2 ? Rs.getReserved("PetszzDN2") : Rs.h.PetszzDN2,
                                    bs = ys,
                                    Fs = (null == vs ? 0 : "number" == typeof vs ? d.__cast(vs, k) : "number" == typeof vs && (0 | vs) === vs ? d.__cast(vs, l) : "boolean" == typeof vs ? d.__cast(vs, n) ? 1 : 0 : "string" == typeof vs ? parseFloat(vs) : parseFloat(g.string(vs))) + w._customBlock_PetStuff("Trekking", "0", fs, w._customBlock_Breeding("TerritoryID", "0", r, 42));
                                null != e.PetszzDN2 ? bs.setReserved("PetszzDN2", Fs) : bs.h.PetszzDN2 = Fs
                            }
                        }

if ("TotalTrekkingHR" == t) {
return 5 * Math.pow(10, 9)
}



Just replace the whole block below with the return function

I tried that, but maybe I was tired and fucked it up somewhere let me try it again.

Edit: Yea, so I tried it again and now the game won't load
You probably deleted some line, just revert to the orig Z.js

I'll try it later, and send it if it works

pajion
Cheater
Cheater
Posts: 26
Joined: Thu Dec 30, 2021 6:05 am
Reputation: 1

Re: Legends of Idleon

Post by pajion »

hxide666 wrote:
Mon Aug 15, 2022 4:41 am
Spoiler
pajion wrote:
Sun Aug 14, 2022 8:26 pm
hxide666 wrote:
Sun Aug 14, 2022 11:33 am
Spoiler


if ("TotalTrekkingHR" == t) {
return 5 * Math.pow(10, 9)
}



Just replace the whole block below with the return function

I tried that, but maybe I was tired and fucked it up somewhere let me try it again.

Edit: Yea, so I tried it again and now the game won't load
You probably deleted some line, just revert to the orig Z.js

I'll try it later, and send it if it works
I deleted the whole block and replaced it with what was typed, is there a certain line im supposed to replace?

Buffer4K
What is cheating?
What is cheating?
Posts: 1
Joined: Wed Aug 17, 2022 4:54 pm
Reputation: 0

Re: Legends of Idleon

Post by Buffer4K »

Does any1 know the code to get credits/flurbos for dungeon shop? Thx

kamaoako
Cheater
Cheater
Posts: 40
Joined: Thu Mar 03, 2022 6:16 am
Reputation: 10

Re: Legends of Idleon

Post by kamaoako »

Does anyone know how to generate Dead DNA using the console without editing the Z.js file?

pajion
Cheater
Cheater
Posts: 26
Joined: Thu Dec 30, 2021 6:05 am
Reputation: 1

Re: Legends of Idleon

Post by pajion »

kamaoako wrote:
Wed Aug 17, 2022 7:45 pm
Does anyone know how to generate Dead DNA using the console without editing the Z.js file?
from what I understand is, you can't. You just have to edit the z file line from 2, 6 to like 200-600 or w.e number you want to imitate/not imitate legitimacy

User avatar
barry
Noobzor
Noobzor
Posts: 6
Joined: Sun Aug 07, 2022 2:00 pm
Reputation: 5

Re: Legends of Idleon

Post by barry »

Working on a improvement based on @Creater0822's and @iBelg's work. It is an electron app that uses the same logic to launch and intercept Z.js
After that giving a nice UI to enable and disable any settings. I have it working with browser (via puppeteer) and steam (via iBelg's method).

It's still a work in progress but was wondering if there is any interest to make this public, I've seen what happened to iBelg's repo so making it open source probably won't happen. Will need to find a safe place to host it, and make more settings of course. Also if anyone with coding experience wants to collaborate send me a DM.


JHroad
Cheater
Cheater
Posts: 48
Joined: Sat Oct 02, 2021 5:46 pm
Reputation: 1

Re: Legends of Idleon

Post by JHroad »

Was going through cheats.js in an attempt to make post office orders cost 0 but still give their rewards. Thing is I dont really see where he stops them from dropping rewards in the file and was wondering if anyone has had luck with this. ("I can edit Z.js to do this, but would like to learn a bit about cheats.js)

BaneOwO
What is cheating?
What is cheating?
Posts: 2
Joined: Thu Jul 28, 2022 10:10 pm
Reputation: 0

Re: Legends of Idleon

Post by BaneOwO »

What are you guys using and where can i find these java scripts so that i can also cheat like you guys

kamaoako
Cheater
Cheater
Posts: 40
Joined: Thu Mar 03, 2022 6:16 am
Reputation: 10

Re: Legends of Idleon

Post by kamaoako »

pajion wrote:
Wed Aug 17, 2022 8:35 pm
kamaoako wrote:
Wed Aug 17, 2022 7:45 pm
Does anyone know how to generate Dead DNA using the console without editing the Z.js file?
from what I understand is, you can't. You just have to edit the z file line from 2, 6 to like 200-600 or w.e number you want to imitate/not imitate legitimacy
Thanks for letting me know. Would you have a video on how to recompile the Z.js back to its original file, the instructions left by Creator0822 were how to be able to unzip, locate, and edit the file only.

Post Reply