Avatars


This mod allows players to create and remotely control Avatars. Avatars act like players, with a few minor exceptions. The mod also includes a few custom entities to control and create the Avatars.

a month ago
0.13 - 1.1
10.7K

b Refresh button results in crash during Space Exploration's uplink

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

To reproduce enter an avatar control center then switch to uplink and click on the refresh button of the interface.

Hiding the interface during uplink would be a good idea.

Here is the crash output:

The mod Avatars (0.5.23) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Avatars::on_gui_click (ID 1)
__Avatars__/scripts/sort.lua:8: attempt to index field 'vehicle' (a nil value)
stack traceback:
        __Avatars__/scripts/sort.lua:8: in function 'getSortedTable'
        __Avatars__/scripts/gui.lua:108: in function 'draw'
        __Avatars__/scripts/gui.lua:275: in function 'update'
        __Avatars__/scripts/gui.lua:72: in function 'update'
        __Avatars__/control.lua:95: in function <__Avatars__/control.lua:65>
1 year, 2 months ago

I don't believe I can remove the UI when the uplink is used (at least I couldn't find an event emitted by SE when it is clicked). My compromise is that now the UI will just close when interacted with after clicking the uplink. This should handle any other mod that allows the same effect.

This should be fixed in 0.5.24.

New response