Additional Info
|
Found a near idle game, but looking for anyway to speed it up. i belive its javascript but im unsure of how to find such things |
Additional Info
|
construct2 game no clue how to hack it var g = indexedDB.open("_C2SaveStates"); var d,c,e,newsave; g.onupgradeneeded = null; g.onerror = null; g.onsuccess = function(g) { g = g.target.result; g.onerror = null; c = g.transaction(["saves"],'readwrite').objectStore("saves"); d = c.get('b35'); d.onsuccess = function(event){ console.log(d.result.data.indexOf('"timescale":1')); d.result.data = d.result.data.replace('"timescale":1','"timescale":20'); console.log(d.result.data.indexOf('"timescale":1')); var requestUpdate = c.put(d.result); requestUpdate.onsuccess = function(event){e=c.get('b35');e.onsuccess= function(event){console.log(e.result);} } } };
|
Level: 1
ADR Info
Additional Info
|
Never worked with indexedDB before. Seems like a bitch and a half.
|
Additional Info
|
If you click on the Crank, then tap the up arrow a bunch of times a textbox shows up in the bottm left. That's unlocking debug mode. |
Additional Info
|
thanks for the tip fae, but why did you use cr2? it's the vilest thing in web technology |
Level: 1
ADR Info
Additional Info
|
Holy shit, it's the creator. Hi Fae! Absolutely love the game. :D
|
Additional Info
|
Zenwaichi Posted on: 06/28/2016 11:50am thanks for the tip fae, but why did you use cr2? it's the vilest thing in web technology
The Ignorant Masses Posted on: 06/28/2016 12:50pm Holy shit, it's the creator. Hi Fae! Absolutely love the game. :D
|
Additional Info
|
yeah you're right, mostly it's because it's time wasting to analyze the output of cr2 and the runtime is quite troublesome to inspect. Is there any effective way to debug the app in the browser once it's deployed? Also on a side note, the way you used IDB confused me quite a bit, is there any particular reason for going single big entry? It's not the way I would think to use something with DB in its name :P I thought the game was another low-level cr2 game but with your comment I went back to it and gave it a fair chance and yes there's more content and depth than I initially imagined, kudos. |
Additional Info
|
Yeah, from a hacking perspective it's annoying and unreadable. I completely sympathize, there. |
Level: 1
ADR Info
Additional Info
|
What I do is inspect the + buttons for increasing resource caps, set IDs on them, and setup small setIntervals of 1-2 minutes. I can go away for a while, and instead of the game maxing out resources, it'll continuously increase caps. Leave that running over a weekend, locking crank or solar panel in your research window, and come back to godmode.
|