miniMAXIme: Character scaler and selector

by Pi-C

The player stands like a giant near the vehicles. Now you can adjust the size of your character -- and you can change your appearance at any time if you've other mods that provide extra characters!

Tweaks
a day ago
0.16 - 2.0
28.2K

b [Fixed] v0.0.14 doesn't load

4 years ago

Hi,
i updated your mod and now i get the following error when starting the game:

12.261 Mods to disable:Failed to load mods: minime/data-updates.lua:32: attempt to index local 'box' (a nil value)
stack traceback:
minime/data-updates.lua:32: in main chunk

Mods to be disabled:
• minime (0.0.14)

hope that helps

4 years ago
(updated 4 years ago)

I, too, am unable to load a new game with just minime installed. However, I get a different error...

Error MainLoop.cpp:1207: Exception at tick 0: The mod More accurate player size compared to vehicles (0.0.14) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event minime::on_player_main_inventory_changed (ID 32)
minime/control.lua:399: attempt to index field '?' (a nil value)
stack traceback:
minime/control.lua:399: in function <minime/control.lua:397>

4 years ago
(updated 4 years ago)

@DukeAl: Thanks for the report!

12.261 Mods to disable:Failed to load mods: minime/data-updates.lua:32: attempt to index local 'box' (a nil value)

hope that helps

It does. Apparently, the corpse you use doesn't have a selection_box. Do you have any mods that add new characters? I didn't get the error while testing the mod, so I guess it's not "I, Robot" that would have caused the error. Anyway, I'll add some sanity checks and upload a fix later today.

4 years ago

@Arcani_Victus:

Error while running event minime::on_player_main_inventory_changed (ID 32)
minime/control.lua:399: attempt to index field '?' (a nil value)
stack traceback:
minime/control.lua:399: in function <minime/control.lua:397>

This looks like the event is triggered before your player_data have been initialized. I only wonder how that could happen! Could you provide a saved game, perhaps? Also, you could change line 34 of common.lua to

local debug_default = true

and reload your game. This will activate insane logging that shows what functions are called in what order. There should be a clue why the player isn't properly initialized.

4 years ago
(updated 4 years ago)

same stuff here , save doesnt load , only mod i use with new characters is bobs
well cant start new game too just error message is shorter
i can write both to you if you need

4 years ago

@trampek: Could you make the save file available somewhere?

4 years ago
(updated 4 years ago)
4 years ago

Thanks, I know what's wrong now: Bob's mods change the size of the character's main inventory!

Fighter: 125% health + healing rate, 75% inventory (-20 slots), 83% reach, 133% run speed.
Miner: 80% health + healing rate, 83% reach and 130% mining reach, 80% run speed, +mining speed, Can hand smelt.
Builder: 80% health and healing rate, 133% inventory space (+26 slots), 133% reach, 80% run speed, 200% build speed.

That's something I didn't take into account…

4 years ago

@Pi-C
I don't upload stuff normally. Could someone give me a hint where i could upload the save easy and secure?
Alternatively I could list my used mods since the error is during the start of Factorio and not while loading a save.

4 years ago

@DukeAI:
I don't upload stuff normally. Could someone give me a hint where i could upload the save easy and secure?

Not really, I'm not registered on social networks, and if I need to upload something for my customers, I upload it to my website and send them a link -- but I wouldn't use that publicly. :-)

Alternatively I could list my used mods since the error is during the start of Factorio and not while loading a save.

You could PM me on the forum. In case the saved game exceeds the size limit for attachements, I guess these files would do as well:

mod-list.json
mod-settings.dat

A saved game would still be easier to handle because I could sync my mods with it on loading and wouldn't have to fetch all mods manually.

4 years ago

you gonna fix this or i have to choose this or bobs ? got temporary solution mayby ? :)

4 years ago

well i just realised i can just use old version of this :) stupid me ...

4 years ago

I've been working at it until 4:30 am last night and am still at it right now. Just fixing the immediate crash was easy, but the crash has made me aware of some errors in the mod's logic (e.g. that other mods would make characters with an increased inventory size, or that players wouldn't expect to get their character automatically changed to the vanilla character when they add the mod to an existing game). I've also fixed a yet unreported crash that I found during tests with the saved game provided by DukeAl -- and added a corpse to "I, Robot" (which I consider a kind of showcase for this mod's character selector). I've also been sent a new locale (which already needs changing). So, please be patient a bit longer! The next version should be a bit more polished, and hopefully won't crash!

4 years ago

thats great , tnx for you work :) this mod is must have for me. With it and that one changing drones size game looks a lot better

4 years ago

Hej, i also get the error but i additionally use TjCustomPlayer_2.18.1 mod https://mods.factorio.com/mod/TjCustomPlayer

Cu, steinio.

4 years ago

Please try version 0.0.15!

@steinio: I don't think TJCustom_Player had anything to do with the crash, but thanks for the hint to check it out. :-)

4 years ago

Thank you, 0.0.15 starts without problems again.

4 years ago

Nice to read that! Except now it crashes if it's used to be as stand-alone mod, without extra characters. But we're getting somewhere, step by step … :-)

New response