Search found 5 matches

by hudell
Fri Oct 06, 2023 1:36 am
Forum: Single Player Cheat Requests
Topic: [REQUEST] Moonstone Island
Replies: 98
Views: 25409

Re: [REQUEST] Moonstone Island

I have tried to modify my time speed and stamina by modifying the c3runtine.js and nothing seems to be happening. If you see no change at all in the game then maybe the original package.nw file is still there? You need to rename it to something else so when the game looks for 'package.nw' it should...
by hudell
Thu Oct 05, 2023 2:48 am
Forum: Single Player Cheat Requests
Topic: [REQUEST] Moonstone Island
Replies: 98
Views: 25409

Re: [REQUEST] Moonstone Island

Here's an alternative way of getting slower time: Follow the instructions from leegao above to get access to the game files, then open the package.nw folder, then the scripts folder inside of it. There will be a file named c3runtime.js Make a backup copy of this file somewhere else, then open it wit...
by hudell
Thu Oct 05, 2023 12:40 am
Forum: Single Player Cheat Requests
Topic: [REQUEST] Moonstone Island
Replies: 98
Views: 25409

Re: [REQUEST] Moonstone Island

After another couple hours looking at the dev console, I figured out how the time is stored: It's one single variable with the number of minutes since 2:10 am on day 1; So to get the current value of the variable, you do: years = current year - 1 months = years * 4 + (current month - 1) days = month...
by hudell
Wed Oct 04, 2023 10:46 pm
Forum: Single Player Cheat Requests
Topic: [REQUEST] Moonstone Island
Replies: 98
Views: 25409

Re: [REQUEST] Moonstone Island

Yup, that's exactly what I did yesterday to find the time logic; The JS code you get is all from the construct3 engine, the actual game code is all data that is processed by the c3 code. It's all there but it's still kinda annoying trying to find anything useful, at least without some better knowled...
by hudell
Wed Oct 04, 2023 8:10 am
Forum: Single Player Cheat Requests
Topic: [REQUEST] Moonstone Island
Replies: 98
Views: 25409

Re: [REQUEST] Moonstone Island

I debugged the game code here and found out that the time is stored internally in what seems to be a float variable; The formula to convert the internal value into the game time is this: var time = (10 * Math.floor(internal_value * 10)) % 1440 var hours = Math.floor(time / 60) var minutes = time % 6...