Legends of Idleon
Re: Legends of Idleon
Hmmm, so the presets added option is something I have wanted forever but with it activated candy gives 0 for everything. Is this just me?
Edit: Suppose activating it, changing presets then deactivating works.
Edit: Suppose activating it, changing presets then deactivating works.
Re: Legends of Idleon
Do you mind giving me the code in z.js file. Currently i cannot use the cheatinject thing, i just manually change code in z.js.
Thank you.
Re: Legends of Idleon
-
- Novice Cheater
- Posts: 16
- Joined: Tue Jan 03, 2023 5:34 pm
- Reputation: 0
Re: Legends of Idleon
do anyone have a list of achievement alongside the id from AchieveReg?
Re: Legends of Idleon
Yes, I'd been adding the obvious things for new functionality for a bit, but finally got around to adding a couple of quality of life things I've wanted myself.
Nomore is very handy for xtal farming and green mushrooms etc where you end up with all these useless items that take a whole inv slot messing up your looting and lagging the game.
Presets is obviously just handy to save going to town, even if you have unlocked teleports.
I run it with candy without any problems. They do both work in a way that modifies the way mousereleased listeners are added to behaviours in the game though so it's definitely realistic I made a small mistake in the implementation that causes some unwanted interaction between those 2 specifically. Is anyone else able to let me know if they're having issues please?
I'll probably work out changing gear while skilling/fighting later as it would be a nice to have.
Feel free to suggest other things you might like.
Few things I guess. Replace returns the new string, doesn't modify the existing one in place so you need to reassign it:pshep4000 wrote: ↑Mon Jan 23, 2023 3:54 amI have this in my cheat.js but the console closes after it has loaded cheats, what am I doing wrong?
If I comment the zjs.replace out the game loads normally, I am using version 1.1 of inject 5 from January 5th.Code: Select all
function getZJSManipulator() { return function (zjs) { // I'm putting this here in case it's helpful to manipulate z.js directly. // Most cheats are simple enough to implement without doing so, but there are some cases where it's just very handy. // InjectCheatsF5 (as of Jan 2023 release) will pass the z.js code to this function to allow for regex replacing etc before it is loaded by the game zjs.replace("if (50 > (null == tr ? 0 : "number" == typeof tr ? c.__cast(tr, k) : "number" == typeof tr && (0 | tr) === tr ? c.__cast(tr, l)", "if (999 > (null == tr ? 0 : "number" == typeof tr ? c.__cast(tr, k) : "number" == typeof tr && (0 | tr) === tr ? c.__cast(tr, l)"); return zjs; }.toString(); }
Edit: Fixed it myself, the problem is the extra ", when I shortened the replace string to not include any " it now works.
Edit 2: The replace doesn't seem to be working ingame, as the divinity pearls aren't working on skills over 50 and I can still only buy 3 miracle chests in the gem shop. Here is my new code:
Code: Select all
function getZJSManipulator() { return function (zjs) { // I'm putting this here in case it's helpful to manipulate z.js directly. // Most cheats are simple enough to implement without doing so, but there are some cases where it's just very handy. // InjectCheatsF5 (as of Jan 2023 release) will pass the z.js code to this function to allow for regex replacing etc before it is loaded by the game zjs.replace("if (50 > (null == tr ? 0", "if (999 > (null == tr ? 0)"); zjs.replace("345 127 3", "345 127 3000"); return zjs; }.toString(); }
zjs = zjs.replace...
I may have missed this before, javascript is not usually a language I use so these sorts of things I can miss.
When running, all the "s in the code are treated the same, so if you have them in your string, it sees that as the end of the string and the following text will once again be treated as javascript and fail, since it is not valid code. You can either escape all the "s by placing a \ before them, but easier is to enclose the string in say backticks instead eg zjs = zjs.replace(`if("something"==...)`, `otherthing`)
zjs used by the game at runtime will have no spaces which is why the strings don't match and it doesn't replace.
Try removing them, or using a regex with whitespace replaced wjth \s* which matches 0 or more whitespace characters.
Finally, if there are multiple instances of the code you're changing, zjs.replace only does the first. zjs.replaceAll will replace all instances, but do remember any other unrelated code that is the same it will also be replaced with unknown side effects.
Regex is annoying, but I expect you can ask chatgpt for example to:
Fix this replace so that it will work properly with minified javascript where whitespace might be stripped and variable names may change when it is minified:
zjs.replace("if (50 > (null == tr ? 0 : "number" == typeof tr ? c.__cast(tr, k) : "number" == typeof tr && (0 | tr) === tr ? c.__cast(tr, l)", "if (999 > (null == tr ? 0 : "number" == typeof tr ? c.__cast(tr, k) : "number" == typeof tr && (0 | tr) === tr ? c.__cast(tr, l)");
To be honest, a fair few people have asked for divinity pearls so I will probably implement a specific cheat.
As for chests, you can use the cheat
gembuylimit 100
To increase the purchase cap to 100
Re: Legends of Idleon
My bad, i did make a mistake when adding the presets code that affected candies, it's now fixed. Thanks for pointing it out
Re: Legends of Idleon
Re: Legends of Idleon
Thanks for the info, I will look into what you said.
-
- Novice Cheater
- Posts: 16
- Joined: Tue Jan 03, 2023 5:34 pm
- Reputation: 0
Re: Legends of Idleon
Is there a way to always execute certain commands in the console right after logging in a character? like can i copy paste a set of commands right after starting the game?
Re: Legends of Idleon
Has anyone figured a way to add talents to the bar yet? I wanna add printer go brrr and the squire refinery one to my Bubon
Re: Legends of Idleon
Also frequently requested so I added a simple way to do it, just add the ones you want to the list at the very top of the file and they will get run automatically.KazukabeArabi wrote: ↑Thu Jan 26, 2023 8:36 amIs there a way to always execute certain commands in the console right after logging in a character? like can i copy paste a set of commands right after starting the game?
viewtopic.php?p=268697#p268697
It's the abilitybar cheat.
I have never used it, the original author has marked it as likely to get you shadowbanned, though I don't know if that's from experience or if they are being cautious as it's going to be obvious you've done something you shouldn't.
abilitybar 0 32 130
looks as though it would add those 2 abilities though. You probably need to edit the SkillLevels and SkillLevelsMAX values for your bubo in chromedebug too as they obvs won't be available through the regular interface. Sounds pretty OP. I think my bubo would probably proc them every 20 miinutes or so.
You can turbo your refinery by increasing cheatState -> w4 -> mainframe -> 2. The default I posted already has a 10x speed multi but no reason you cannot increase to 100 or 1000 if you wanna go nuts.
You can also edit your printer samples in chromedebug under the "Printer" game attribute.
Good luck!
Last edited by valleymon on Thu Jan 26, 2023 5:36 pm, edited 1 time in total.
Re: Legends of Idleon
I downloaded the new files but I'm not seeing any of the new cheats when I add those to folder. Anything specific I might be doing wrong?valleymon wrote: ↑Thu Jan 26, 2023 5:27 pmAlso frequently requested so I added a simple way to do it, just add the ones you want to the list at the very top of the file and they will get run automatically.KazukabeArabi wrote: ↑Thu Jan 26, 2023 8:36 amIs there a way to always execute certain commands in the console right after logging in a character? like can i copy paste a set of commands right after starting the game?
viewtopic.php?p=268697#p268697
It's the abilitybar cheat.
I have never used it, the original author has marked it as likely to get you shadowbanned, though I don't know if that's from experience or if they are being cautious as it's going to be obvious you've done something you shouldn't.
abilitybar 0 32 130
looks as though it would add those 2 abilities though. You probably need to edit the SkillLevels and SkillLevelsMAX values for your bubo in chromedebug too as they obvs won't be available through the regular interface. Sounds pretty OP. I think my bubo would probably proc them every 20 miinutes or so.
You can turbo your refinery by increasing cheatState -> w4 -> mainframe -> 2. The default I posted already has a 10x speed multi but no reason you cannot increase to 100 or 1000 if you wanna go nuts.
You can also edit your printer samples in chromedebug under the "Printer" game attribute.
Good luck!
-
- Novice Cheater
- Posts: 16
- Joined: Tue Jan 03, 2023 5:34 pm
- Reputation: 0
Re: Legends of Idleon
Code: Select all
gga AchieveReg
0: -1
1: -1
2: -1
3: -1
4: -1
5: -1
6: -1
7: -1
8: -1
9: -1
10: -1
11: -1
12: -1
13: -1
14: -1
15: -1
16: -1
17: -1
18: -1
19: -1
20: -1
21: -1
22: -1
23: -1
24: -1
25: -1
26: -1
27: -1
28: -1
29: -1
30: -1
31: -1
32: -1
33: -1
34: -1
35: -1
36: -1
37: -1
38: -1
39: -1
40: -1
41: -1
42: -1
43: -1
44: -1
45: -1
46: -1
47: -1
48: 0
49: -1
50: -1
51: -1
52: -1
53: -1
54: -1
55: -1
56: -1
57: -1
58: -1
59: -1
60: -1
61: -1
62: -1
Who is online
Users browsing this forum: Google [Bot], LIOBOSS, Master0015, The_Raven___, zonozonozono