Skip to content

Instantly share code, notes, and snippets.

@maxencefrenette
Created June 6, 2022 00:02
Show Gist options
  • Save maxencefrenette/5041a6f93b58043305a24c01dddff68e to your computer and use it in GitHub Desktop.
Save maxencefrenette/5041a6f93b58043305a24c01dddff68e to your computer and use it in GitHub Desktop.
Increlution Speedup Hack
// Insert this at the start of app/gniller.min.js
// This needs to be redone after any update
// Known issue: needs a game restart after restarting a new game+
const oldNow = Date.now;
const timestamp = Date.now();
Date.now = () => {
return timestamp + 1000 * (oldNow.call(Date) - timestamp);
}
@maxencefrenette
Copy link
Author

Nice, thanks!

@Txupport
Copy link

Txupport commented Feb 17, 2025

Am I missing something?
Pressing "o" just gives me this window then the game reloads with no change.
Screenshot 2025-02-17 004749

Edit: Using the original code the game won't even get past the loading screen, I'm probably doing something incorrectly.
Using Notepad++ to edit the file, pasting the code to the entry line.
I'm no coder, all hardware and networking here lol, any help appreciated.

@mattieFM
Copy link

idk. the game usually reloads when you speed it up too much, like if you put + 2000 that will cause nearly constant reloads on my machine, try reducing the number you are adding to time would be my guess.

@Txupport
Copy link

Dropping it to 600 seemed to work, anything above and it just reloads.
Thanks for the tip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment