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
11 days ago
0.16 - 2.0
26.4K

b [Fixed] Error with Editor Extensions

1 year, 9 months ago

A recent update has introduced an error when this mod is used with Editor Extensions (when leaving editor mode):

The mod Editor Extensions (1.13.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event EditorExtensions::ee-toggle-map-editor (ID 214)
The mod miniMAXIme: Character scaler and selector (1.1.20) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event minime::on_player_toggled_map_editor (ID 122)
minime/scripts/character.lua:1458: bad argument #1 of 2 to 'next' (table expected, got nil)
stack traceback:
[C]: in function 'next'
minime/scripts/character.lua:1458: in function 'event_handler'
minime/scripts/events.lua:241: in function <minime/scripts/events.lua:238>
stack traceback:
[C]: in function 'toggle_map_editor'
EditorExtensions/control.lua:165: in function <EditorExtensions/control.lua:159>

1 year, 9 months ago
(updated 1 year, 9 months ago)

Thanks for the report! Please try to open file scripts/character.lua and replace lines 1458/1459 with this:

minime.show("next(global.detached_characters)",  global.detached_characters and next(global.detached_characters))
      if not (global.detached_characters and next(global.detached_characters)) then

That should get rid of this error. Does that work or are there more crashes? (My main computer has already been shut down for the night, so I can't test this myself right now.)

1 year, 9 months ago

That did it! No more crashing,

1 year, 8 months ago

Fixed in version 1.1.21.

New response