Page 34 of 35

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sat Mar 09, 2019 9:10 am
by Airat9000
17.9 bug
2019-03-09_12-04-45.png
2019-03-09_12-04-45.png (767.43 KiB) Viewed 7486 times
and old game lost in recipes 17.9 in menu

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Mon Mar 11, 2019 10:27 pm
by Maddhawk
Glad to see this is being kept updated. Particularly since the new built in editor is lacking in tools for testing and tweaking blueprints.

Re: Error using mod

Posted: Sun Mar 17, 2019 2:38 am
by iceman11a
I had to create a new world and I'm using the creative mod. and I got a crash pointed at this mod. I attached a screen shot. hoping you can get this fixed soon. I can't play until it's fix. Unless I disable it.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sat Apr 27, 2019 8:55 pm
by Zanostra
the 'creative tools' tab in the crafting menu disappears when you save and load.
particularly when you load a save where you use the 'sync mods with save' button and 'Creative Mod' is disactivated.
when after that you load the game where creative mod was in use, you have to sync mods with save again to activate it again.
then when the save is loaded, the 'creative tools' tab is gone.
but you can still use every creative construct, but the only way I know of getting them is with the item picker tool ( pressing 'Q' when mouse hover ) to duplicate existing entities, because you can't craft them anymore from the corresponding menu.

when disabling Creative Mod in the mod portal to manually sync your mods with another save-game, play it, and enable it again by manually sync your mods back to match the Creative Mod save-game again, nothing is wrong and the creative tab still exists.

steps to reproduce:
needed: 2 savegames, one with creative mod enabled, and one without.

1 - play creative savegame ( tab creative tools is working. )
2 - go to menu, load game.
3 - select savegame without creative mod.
4 - press 'sync mods with save'
5 - after restart and loading go to menu, load game.
6 - select savegame with creative mod.
7 - press 'sync mods with save'
8 - after restart and loading the creative tools tab is gone.

The mod Creative Mod caused a non-recoverable error.

Posted: Thu May 02, 2019 9:15 pm
by Bazinga
Update: Thanks to Qon!
Replacing defines.inventory.player_... with defines.inventory.character_... in the cheats.lua worked.

---

The mod Creative Mod caused a non-recoverable error.
Please report this error to the mod author.

Error while running event creative-mod::on_tick (ID 0)
real number expected got nil.
stack traceback:
__creative-mod__/scripts/cheats.lua:2516: in function 'get_inventory_or_slot_count_function'
__creative-mod__/scripts/cheats.lua:2608: in function 'apply_slot_cheat_to_players'
__creative-mod__/scripts/cheats.lua:2695: in function 'tick'
__creative-mod__/scripts/events.lua:177: in function <__creative-mod__/scripts/events.lua:146>
stack traceback:
[C]: in function 'get_inventory'
__creative-mod__/scripts/cheats.lua:2516: in function 'get_inventory_or_slot_count_function'
__creative-mod__/scripts/cheats.lua:2608: in function 'apply_slot_cheat_to_players'
__creative-mod__/scripts/cheats.lua:2695: in function 'tick'
__creative-mod__/scripts/events.lua:177: in function <__creative-mod__/scripts/events.lua:146>

Creative Mod 1.1.1
Factorio 0.17.35

savegame: https://www.sendspace.com/file/p6zf58

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Fri May 03, 2019 12:21 pm
by nexx
Fatal crash after updating factorio (on steam+linux) to 0.17.35 and CreativeMod to 1.1.1 today. Worked normal yesterday with 0.17.34 + 1.0.4.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Fri May 03, 2019 1:59 pm
by Qon
Replacing

Code: Select all

defines.inventory.player_
with

Code: Select all

defines.inventory.character_
solves the issues. 3 instances in scripts/cheats.lua

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Fri May 03, 2019 6:55 pm
by malventano
Qon wrote:
Fri May 03, 2019 1:59 pm
Replacing

Code: Select all

defines.inventory.player_
with

Code: Select all

defines.inventory.character_
solves the issues. 3 instances in scripts/cheats.lua
This thread in the mod discussion suggests more changes are needed?
*edit* disregard, I believe your changes encompass those changes.
*edit edit* With these changes only, it appears that the magic wand can still remove the player character (shift to god mode) even if 'don't remove player characters' is checked.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Fri May 03, 2019 9:21 pm
by Qon
New version of CM is out by the maintainer so just update via the in-game mod manager to get latest version (and remove any modified versions of CM from the mod folder if you have them).

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Mon May 27, 2019 1:33 pm
by sniderthanyou
Is it possible to use the 0.17 upgrade planner with CM-specific items? Like mass-replacing steel chests with void chests, for example.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Wed Jun 05, 2019 6:03 pm
by Quax
Heloo, I'm running Factorio version 0.16.51, and the mod installer tells me there is no version of this mod available? So is this mod not ready for 0.16?

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Wed Jun 05, 2019 6:17 pm
by dgw
"Creative Mode" only has downloads available for 0.17.

In 0.16, you can use "Creative Mode (Fix for 0.16)", an unofficial tweak of the mod to work in 0.16. Just be aware that you'll need to migrate back to the official release if you want to play your save in 0.17 later.

(There's also an older "Creative Mode" that only has releases for 0.13 – 0.15. This mod has had several maintainers over the years, and they haven't always handed off maintenance responsibilities in the cleanest way.)

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Fri Jun 07, 2019 9:40 pm
by spinba11
Has anyone else lost the icon in the top left corner? It was there in .45 but it’s not in .46 and . 47.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sat Jun 08, 2019 12:46 am
by Qon
Yes. I've lost it before. Just start a new world and play with it until it disappears again...
Might be possible to disable CM, re-save your world, enable CM and re-save your world again to make CM think you added CM for the first time again. But you will lose all CM cheat entities that you have built since they can't exist without the mod.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sat Jun 08, 2019 9:32 am
by spinba11
I’m unwilling to start a new map, I’ve done what you’ve suggested on my testing map and on the menu that comes up when you first load it it says you can use a command to enable it if you press no. Any idea what the command is?

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sat Jun 08, 2019 3:00 pm
by MasterBuilder
spinba11 wrote:
Sat Jun 08, 2019 9:32 am
I’m unwilling to start a new map, I’ve done what you’ve suggested on my testing map and on the menu that comes up when you first load it it says you can use a command to enable it if you press no. Any idea what the command is?
In the zip: scripts/gui-menu.lua:

Code: Select all

-- Creates or destroys the Creative Mode main menu button for the given player according to the current state of Creative Mode and also the player's access rights.
-- Returns whether the button exists. If false is returned, it means the whole Creative Menu is removed for such player.
function gui_menu.create_or_destroy_main_menu_open_button_for_player(player)

-- Creates or destroys the Creative Mode main menu button for all players according to the current state of Creative Mode.
function gui_menu.create_or_destroy_main_menu_open_button_for_all_players()

-- Destroys the Creative Mode main menu for the given player if it is already opened.
function gui_menu.destroy_main_menu_for_player(player)
There are more in that file but my guess is one of these will work. Just make sure you have a backup first.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sat Jun 08, 2019 3:32 pm
by spinba11
Ive tried them all but it’s not working I’m guessing I’m doing something wrong as I hardly touch commands.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sat Jun 29, 2019 3:28 pm
by vanatteveldt
Feature request: might it be possible to add statistics counters on sources/sinks, so you can see exact number of items created/consumed in past minute / 10 minutes?

In a way this would be a workaround for the production screen not showing full accuracy, so you can't tell the difference between 1101 and 1190 items per minute.

Of course I can mimick this with circuitry, but it would be so much easier if it would just show in the source/sink.

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sun Jan 12, 2020 12:37 am
by MisterFister
Hey there. I visited the in-portal link for this Creative Mod that I'm enjoying. It's great to be able to run a test map to tweak and optimize builds and to perform troubleshooting.

I'm aware that this mod prompts you to choose, whether permanently or not, if you want to activate CM at time of gameplay or later on.

I cancelled that option at the time. How do I get back the chance to active this mod? Is there a hotkey, or a lua command I should be using?

Thanks

Re: [MOD 0.15.29+] Creative Mode 0.3.12 - Infinite resources

Posted: Sun Jan 12, 2020 6:42 pm
by DRY411S
Look at the Long Description in the very first post in this topic.