Hey, were you able to figure this out? I have the same issue.After edit those codes, the pigeon appear on the screen, but no menu seen clicking on the pigeon. Also, pressing F8 no reaction.
Hey, were you able to figure this out? I have the same issue.After edit those codes, the pigeon appear on the screen, but no menu seen clicking on the pigeon. Also, pressing F8 no reaction.
Not yet......Hey, were you able to figure this out? I have the same issue.
I am also having the same issue after making the suggested changes to the panel-sub-system-dock.js file. The second dove/pigeon icon appears but nothing happens when clicking on it, F8 also has no reaction. Any ideas @Kevroids ?After edit those codes, the pigeon appear on the screen, but no menu seen clicking on the pigeon. Also, pressing F8 no reaction.
Not yet......
I am also having the same issue after making the suggested changes to the panel-sub-system-dock.js file. The second dove/pigeon icon appears but nothing happens when clicking on it, F8 also has no reaction. Any ideas @Kevroids ?
Just wanted to preface this by saying, I'm not really that knowledgeable with JavaScript, I'm more of a SQL guy and write Python code on the side. So feel free to correct any errors or add anything I may have missed.
So far, the changes I made have been working for me. I'm almost done with the Exploration Era with this mod on.
To make these changes yourself, go to the cheat panel mod directory and then go to the ui folder. You'll need to change a few lines in two files on there.
In cheat-panel/cheat-panel.js, change lines 6 to 10 to the following:
JavaScript:import { P as Panel } from '/core/ui/panel-support.chunk.js'; import { MustGetElement } from '/core/ui/utilities/utilities-dom.chunk.js'; import FocusManager from '/core/ui/input/focus-manager.js'; import { b as InputEngineEventName } from '/core/ui/input/input-support.chunk.js'; import {N as NavTray } from '/core/ui/navigation-tray/model-navigation-tray.chunk.js';
In sub-system-dock/panel-sub-system-dock.js, change lines 7 to 11 to the following:
and then change line 342 to:JavaScript:import ContextManager from '/core/ui/context-manager/context-manager.js'; import FocusManager from '/core/ui/input/focus-manager.js'; import { P as Panel } from '/core/ui/panel-support.chunk.js'; import DialogBoxManager from '/core/ui/dialog-box/manager-dialog-box.chunk.js'; import { Icon } from '/core/ui/utilities/utilities-image.chunk.js';
Code:DialogBoxManager.createDialog_Confirm({
And that should be it, hopefully it works for you guys as well
What got it to work for me was a 1 line change to my original edits.
Go to your Cheat Panel mod folder, then go to ui\sub-system-dock. Open up the panel-sub-system-dock.js file in notepad or a text editor and make this edit at line 10:
JavaScript:import { a as DialogBoxManager} from '/core/ui/dialog-box/manager-dialog-box.chunk.js';
So the 5 import statements at the top should look like:
JavaScript:import ContextManager from '/core/ui/context-manager/context-manager.js'; import FocusManager from '/core/ui/input/focus-manager.js'; import { P as Panel } from '/core/ui/panel-support.chunk.js'; import { a as DialogBoxManager} from '/core/ui/dialog-box/manager-dialog-box.chunk.js'; import { Icon } from '/core/ui/utilities/utilities-image.chunk.js';
Hope it works out for yous!
most of mod working for me, only gold not workingAny info on using this mod with the new 1.3.2 "Test of time" update?
Same here. Weird.only gold not working
Same. After 1.3.2 gold button is not workingmost of mod working for me, only gold not working
addMoney() {
const player = Players.get(GameContext.localPlayerID);
if(player) {
Players.grantYield(player.id, YieldTypes.YIELD_GOLD, 1000);
}
}
1.3.2 gold button is not working.... please fix....![]()
addMoney() { console.error("cheat-panel: Money Button"); const player = Players.get(GameContext.localPlayerID); if(player) { const treasury = player.Treasury; console.error(`[Cheat Panel] Gold Balance: ${treasury.goldBalance}`); treasury.changeGoldBalance(50000,-1); } }Thank you for the expert help...Fix gold button:
No need to change anything but add an -1 parameter to the existing.
Line 115:
treasury.changeGoldBalance(50000,-1);
Should look like this:
addMoney() {
console.error("cheat-panel: Money Button");
const player = Players.get(GameContext.localPlayerID);
if(player) {
const treasury = player.Treasury;
console.error(`[Cheat Panel] Gold Balance: ${treasury.goldBalance}`);
treasury.changeGoldBalance(50000,-1);
}
}