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.

6 days ago
0.13 - 1.1
21289

g Character death bug

1 year, 8 months ago

Hello, I've got an error, I played as an avatar, and then my main character was killed, so when I pressed F2, there was an error that entity doesn't exist.
Here is a log.

420.827 Error MainLoop.cpp:1128: Exception at tick 18001: The mod Avatars caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Avatars::avatars_disconnect (ID 139)
Given entity doesn't exist anymore.
stack traceback:
Avatars/scripts.lua:465: in function 'loseAvatarControl'
Avatars/control.lua:253: in function <Avatars/control.lua:250>
stack traceback:
[C]: in function 'newindex'
__Avatars
/scripts.lua:465: in function 'loseAvatarControl'
Avatars/control.lua:253: in function <Avatars/control.lua:250

Author, thank you very much for mod btw, it's really cool.

1 year, 8 months ago

Had to go about it in a weird way, but it should be good now.

Basically, when your body dies I had to spawn a new one on top of it, swap you back, and kill you.

New response