ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object #3739

Open
opened 2023-05-17 22:39:15 +02:00 by kneekoo · 0 comments
Contributor

MineClone2 version: latest master

What happened?

When the players leave a server, we get the warnings below. The issue was previously reported in the Minetest issue tracker, and apparently fixed, so it might be worth taking a look if we do anything weird when players leave.

This never happens in local games.

2023-05-17 13:03:22: ACTION[Server]: [doc] Wrote player data into /home/nicu/.minetest/worlds/PR3727-protected-signs/doc.mt.
2023-05-17 13:03:22: ACTION[Server]: Tester leaves game. List of players: Nicu 
2023-05-17 13:03:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug.
2023-05-17 13:03:28: ACTION[Server]: [doc] Wrote player data into /home/nicu/.minetest/worlds/PR3727-protected-signs/doc.mt.
2023-05-17 13:03:28: ACTION[Server]: Nicu leaves game. List of players: 
2023-05-17 13:03:28: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug.
2023-05-17 13:03:29: ACTION[Main]: Server: Shutting down
2023-05-17 13:03:29: ACTION[Main]: [doc] Server shuts down. Player data is about to be saved.
2023-05-17 13:03:29: ACTION[Main]: [doc] Wrote player data into /home/nicu/.minetest/worlds/PR3727-protected-signs/doc.mt.

Steps to reproduce

Start a game with [x] Host Server, join it with a second client, and then exit both sessions.

MineClone2 version: latest master ### What happened? When the players leave a server, we get the warnings below. The issue was previously [reported](https://github.com/minetest/minetest/issues/11407) in the Minetest issue tracker, and apparently fixed, so it might be worth taking a look if we do anything weird when players leave. This never happens in local games. ``` 2023-05-17 13:03:22: ACTION[Server]: [doc] Wrote player data into /home/nicu/.minetest/worlds/PR3727-protected-signs/doc.mt. 2023-05-17 13:03:22: ACTION[Server]: Tester leaves game. List of players: Nicu 2023-05-17 13:03:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. 2023-05-17 13:03:28: ACTION[Server]: [doc] Wrote player data into /home/nicu/.minetest/worlds/PR3727-protected-signs/doc.mt. 2023-05-17 13:03:28: ACTION[Server]: Nicu leaves game. List of players: 2023-05-17 13:03:28: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. 2023-05-17 13:03:29: ACTION[Main]: Server: Shutting down 2023-05-17 13:03:29: ACTION[Main]: [doc] Server shuts down. Player data is about to be saved. 2023-05-17 13:03:29: ACTION[Main]: [doc] Wrote player data into /home/nicu/.minetest/worlds/PR3727-protected-signs/doc.mt. ``` ### Steps to reproduce Start a game with `[x] Host Server`, join it with a second client, and then exit both sessions.
kneekoo added the
bug
unconfirmed
multiplayer
labels 2023-05-17 22:39:15 +02:00
ancientmarinerdev added
code quality
and removed
unconfirmed
labels 2023-06-01 01:54:08 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#3739
No description provided.