Page 183 of 375

Re: Legends of Idleon

Posted: Thu Feb 09, 2023 8:57 pm
by wh0oot
valleymon wrote:
Thu Feb 09, 2023 1:17 pm
viewtopic.php?p=268697#p268697

Update 09/02/2023
(...)
new updated cheats.js crashes for me every time

Code: Select all

Injecting cheats...
Loaded cheats...

(crash)

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 6:21 am
by valleymon
izubzbwe wrote:
Thu Feb 09, 2023 4:20 pm
Ahmri wrote:
Mon Feb 06, 2023 9:36 pm
When using the latest pastebin Cheats.js, the game won't, it never goes past Cheats Loaded and then everything closes.

When using the cheats.js that's in the zip file, it loads well, but seems to have less fonctionality than the one on Pastebin.

Is there something I'm missing ?
Had the same issue. The
Setting the initial stage of the cheating tool and some quick definitions.
section is doubled (Line 227 - 339). Remove it once and it should work fine. Had the same issue.
Spot on, apologies, had been awake 30hrs or so when I posted and messed up a copy/paste :D
Sorted now

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 8:12 am
by wh0oot
valleymon wrote: Spot on, apologies, had been awake 30hrs or so when I posted and messed up a copy/paste :D
Sorted now
Can I throw some coffee money your way for all your good work?

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 9:05 am
by valleymon
wh0oot wrote:
Fri Feb 10, 2023 8:12 am
valleymon wrote: Spot on, apologies, had been awake 30hrs or so when I posted and messed up a copy/paste :D
Sorted now
Can I throw some coffee money your way for all your good work?
V kind but it's just for fun, thx tho!

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 9:12 am
by wh0oot
valleymon wrote:
Fri Feb 10, 2023 9:05 am
wh0oot wrote:
Fri Feb 10, 2023 8:12 am
valleymon wrote: Spot on, apologies, had been awake 30hrs or so when I posted and messed up a copy/paste :D
Sorted now
Can I throw some coffee money your way for all your good work?
V kind but it's just for fun, thx tho!
Well thanks again

-All startup cheats are activated by default
-drop function not working

Code: Select all

Error: TypeError: Cannot read property 'getXCenter' of undefined
some const appear to be left out

old (working)

Code: Select all

registerCheat('drop', function (params) {
	const bEngine = this["com.stencyl.Engine"].engine;
	const itemDefs = this["scripts.ItemDefinitions"].itemDefs.h;
	const actorEvents189 = this["scripts.ActorEvents_189"];
	const character = bEngine.getGameAttribute("OtherPlayers").h[bEngine.getGameAttribute("UserInfo")[0]];
 
new (not working since its missing some definitions)

Code: Select all

registerCheat('drop', function (params) {
	const actorEvents189 = events(189);

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 11:16 am
by valleymon
Must have grabbed it in the 5 mins before I updated that! Been a lil sloppy this time :P
Keoeope wrote:
Tue Feb 07, 2023 2:14 pm
Any way to reduce autoloot cooldown?
Thanks for the inspiration btw, great idea. Ended up being one of the more difficult cheats to implement I've tried but learned a lot and it's super satisfying!

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 5:11 pm
by EXGAMER
Looks like cheats.js has stopped working with the new v1.75 release. What can I do to help out?

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 5:17 pm
by KazukabeArabi
I still get 0 kills using candy after using Unlock commands, as it includes unlock preset command as well.

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 5:17 pm
by jmayer2045
The games work fine but the cheats stuck at
Injecting cheats...
Loaded cheats...

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 5:38 pm
by HCkami
New update broke InjectCheats?

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 5:40 pm
by angsaar
jmayer2045 wrote:
Fri Feb 10, 2023 5:17 pm
The games work fine but the cheats stuck at
Injecting cheats...
Loaded cheats...
Yup, new update must've changed some things around. I'm sure this'll get sorted out when people way smarter than me take a look at it.

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 5:46 pm
by khidz29
Is this the end of this era? :0

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 7:29 pm
by Trevaine
Hey everyone, to fix the current issue with it not loading the cheats, the structure of the game files have changed, and it stores the actual game logic/process in the N.js file, no longer the Z.js. So here's what you need to do:

1. Extract the app.asar (duh)
2. Download the source for the InjectCheats5 tool, and open main.js. At line 65 the urlPattern: '*Z.js' change that line to urlPattern: '*N.js'
3. Recompile the source following the instructions from the readme, and then place the newly made InjectCheats5 tool into the idleon folder and run it as normal.

For anyone who can't install from source, I assume valleymoon will either read this post and update his file upload, or he will have probably figured this out on his own and will update his file upload.

Cheers fellas

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 8:07 pm
by valleymon
Update 10/02/2023
viewtopic.php?p=268697#p268697
[Link]
Update for v1.75 as Z.js changed to N.js. Download the new zip file above and be sure to copy InjectCheatsF5.exe, config.json and cheats.js from it into your idleon folder.
The game file changed quite a bit, but the basic structure is the same and things still seem to work. Probably a new Stencyl version?

Re: Legends of Idleon

Posted: Fri Feb 10, 2023 9:18 pm
by oggadeezbooga
valleymon wrote:
Fri Feb 10, 2023 8:07 pm
Update 10/02/2023
viewtopic.php?p=268697#p268697
[Link]
Update for v1.75 as Z.js changed to N.js. Download the new zip file above and be sure to copy InjectCheatsF5.exe, config.json and cheats.js from it into your idleon folder.
The game file changed quite a bit, but the basic structure is the same and things still seem to work. Probably a new Stencyl version?
I dont think wide candy is working? tested it in World5, reloaded game, disabled and enabled cheat, left world to a different stage/world and came back still doesnt work