Re: [REQUEST] Moonstone Island
Posted: Sat Dec 02, 2023 6:22 pm
So, no cheat table can be done? Perhaps at least for item multiplier, or spirit experience multiplier
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
As of today, when you're in the debugger, you have to pause the 'main' thread. There isn't a 'runtime' thread as previously mentioned.Shimmerstrike wrote: ↑Thu Nov 23, 2023 12:14 pmI have managed to get the Chrome Developer Console to pop up for the game by pressing F12 while in-game. Could anyone help me figure out how to add Moonstone quality Sparkstar and Cinderfish? I need 1 of each.
Code: Select all
for (let i of runtime$jscomp$1._instancesByUid.values()) {
if (i._objectType._jsPropName == "inventoryArray") {
let x = 0;
const ssFish = ['cinderfishM','sparkstarM'];
let t = i._sdkInst._arr;
for (let j = 0; j <= 38; j++) {
if (t[j][0] == 0) {
t[j] = [[1],[ssFish[x]],['']];
x++;
}
if (j == 39 || x == ssFish.length) { break; }
}
}
}
Code: Select all
let ia = this._localRuntime._instancesByUid.get(16);
if (ia._sdkInst._arr) {
let t = ia._sdkInst._arr;
let x = 0;
const ssFish = ['cinderfishM','sparkstarM'];
for (let j = 0; j <= 38; j++) {
if (t[j][0] == 0) {
t[j] = [[1],[ssFish[x]],['']];
x++;
}
if (j == 39 || x == ssFish.length) { break; }
}
}
Code: Select all
this._instancesByUid.get(16);
this._runtime._instancesByUid.get(16);
this._localRuntime._instancesByUid.get(16);
Code: Select all
/*
* For my sanity, I should standardize some variables.
* io = instances object.
* ia = array data.
* j = standard for loop iterator.
* x = use this for item array iterators when adding several items in a loop.
* let o in ia = o for object in instance array.
*/
//find and set the proper property:
let io = '';
if (this.hasOwnProperty("_instancesByUid")) { io = this._instancesByUid; }
else if (this.hasOwnProperty("_runtime")) { io = this._runtime._instancesByUid; }
else if (this.hasOwnProperty("_localRuntime")) { io = this._localRuntime._instancesByUid; }
let ia = io.get(16)._sdkInst._arr;
let x = 0;
const ssFish = ['cinderfishM','sparkstarM'];
for (let j = 0; j <= 38; j++) {
if (ia[j][0] == 0) {
ia[j] = [[1],[ssFish[x]],['']];
x++;
}
if (j == 39 || x == ssFish.length) { break; }
}
MarshmallowChest wrote: ↑Sun Dec 10, 2023 3:25 amAs of today, when you're in the debugger, you have to pause the 'main' thread. There isn't a 'runtime' thread as previously mentioned.Shimmerstrike wrote: ↑Thu Nov 23, 2023 12:14 pmI have managed to get the Chrome Developer Console to pop up for the game by pressing F12 while in-game. Could anyone help me figure out how to add Moonstone quality Sparkstar and Cinderfish? I need 1 of each.
Currently, this should work for you. It will add one of each to the first empty slots in your inventory.
Code: Select all
for (let i of runtime$jscomp$1._instancesByUid.values()) { if (i._objectType._jsPropName == "inventoryArray") { let x = 0; const ssFish = ['cinderfishM','sparkstarM']; let t = i._sdkInst._arr; for (let j = 0; j <= 38; j++) { if (t[j][0] == 0) { t[j] = [[1],[ssFish[x]],['']]; x++; } if (j == 39 || x == ssFish.length) { break; } } } }
Paste and run that and you should have your fish.
If it gives you an error about runtime$jscomp$1 not being defined, you'll need to use this, but the first line will need to be checked; it seems to change for me every time I pause.
In the console, if you start typing 'this._' you can see if you need one of the three for the first line:Code: Select all
let ia = this._localRuntime._instancesByUid.get(16); if (ia._sdkInst._arr) { let t = ia._sdkInst._arr; let x = 0; const ssFish = ['cinderfishM','sparkstarM']; for (let j = 0; j <= 38; j++) { if (t[j][0] == 0) { t[j] = [[1],[ssFish[x]],['']]; x++; } if (j == 39 || x == ssFish.length) { break; } } }
They all do the same thing, but only one seems to ever be available per pause.Code: Select all
this._instancesByUid.get(16); this._runtime._instancesByUid.get(16); this._localRuntime._instancesByUid.get(16);
Code: Select all
for (let i of runtime$jscomp$1._instancesByUid.values()) {
if (i._objectType._jsPropName == "inventoryArray") {
let x = 0;
//expand this array if you want to add more items
const ssFish = ['holoPotion'];
let t = i._sdkInst._arr;
for (let j = 0; j <= 38; j++) {
if (t[j][0] == 0) {
//change the first number of the array to change number of items to add
t[j] = [[100],[ssFish[x]],['']];
x++;
}
if (j == 39 || x == ssFish.length) { break; }
}
}
}