[0.14.1] Ghost players in MP game

This subforum contains all the issues which we already resolved.
yfcz
Inserter
Inserter
Posts: 47
Joined: Mon Jul 04, 2016 7:27 pm
Contact:

[0.14.0][MP] Player cannot be kicked or banned

Post by yfcz »

Hello,

I tried to kick and ban player. But both commands failed. Player I tried to kick is AFK for hours and his figure is running to the east all the time. He is stuck but still running.
Maybe player is not connected for real to server and his

On attached screenshot you can see that kick command was executed but you can see that player is still in the game (top right part of map). This is not due to missing admin rights.
Attachments
Clipboard019.jpg
Clipboard019.jpg (178.91 KiB) Viewed 4565 times
Loewchen
Global Moderator
Global Moderator
Posts: 9287
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.14.0][MP] Player cannot be kicked or banned

Post by Loewchen »

Please upload the log.
yfcz
Inserter
Inserter
Posts: 47
Joined: Mon Jul 04, 2016 7:27 pm
Contact:

Re: [0.14.0][MP] Player cannot be kicked or banned

Post by yfcz »

The first kick command was performed between server time 6851 and 6861.

Log is attached.

-----------------

Today I found out that other players (except Organist) who can be seen on screenshot above are „hanging“ in the game.

They are not connected for sure but their characters are visible.
When I type /p command it marks them as online. But server description in public game browser does'n count them.
Attachments
factorio-current.log
(1.33 MiB) Downloaded 104 times
illmaren
Long Handed Inserter
Long Handed Inserter
Posts: 78
Joined: Mon Jun 27, 2016 3:25 pm
Contact:

[0.14.1] Ghost players in MP game

Post by illmaren »

Image

Kind of funny...i´m seeing myself....the character is there standing too...its not just on the map.

AlwaysMoving is not online too.

Lg.

edit:/ huch who renames thread titles here? xD
Loewchen
Global Moderator
Global Moderator
Posts: 9287
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.14.1] Ghost players in MP game

Post by Loewchen »

I do :P

Try:

Code: Select all

/c game.removeofflineplayer()
or

Code: Select all

/c game.remove_offline_players
yfcz
Inserter
Inserter
Posts: 47
Joined: Mon Jul 04, 2016 7:27 pm
Contact:

Re: [0.14.0][MP] Player cannot be kicked or banned

Post by yfcz »

I see it quite common on my server that players leave the server but their characters remain visible. Currently there is like nine such „ghosts“.

It also happened that such ghost player connected back and there were two players with same nick (ghost was idle after his connection).
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5290
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.14.1] Ghost players in MP game

Post by Klonan »

Merged topics and moved to confirmed
yfcz
Inserter
Inserter
Posts: 47
Joined: Mon Jul 04, 2016 7:27 pm
Contact:

Re: [0.14.1] Ghost players in MP game

Post by yfcz »

Loewchen wrote:I do :P

Try:

Code: Select all

/c game.removeofflineplayer()
or

Code: Select all

/c game.remove_offline_players
If I try to execute these commands, error is displayed. Same with this command: /c game.removeofflineplayer("username")

Error is:
Cannot execute command. Error: LuaGameScript doesn't contain key removeofflineplayer.
yfcz
Inserter
Inserter
Posts: 47
Joined: Mon Jul 04, 2016 7:27 pm
Contact:

Re: [0.14.1] Ghost players in MP game

Post by yfcz »

Also I see that these ghosts are created when players connect after desyncs only (at least on my server).
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.14.1] Ghost players in MP game

Post by kovarex »

I made a more rigid logic of assigning players to peers, so it shouldn't happen in 0.14.4
yfcz
Inserter
Inserter
Posts: 47
Joined: Mon Jul 04, 2016 7:27 pm
Contact:

Re: [0.14.1] Ghost players in MP game

Post by yfcz »

kovarex wrote:I made a more rigid logic of assigning players to peers, so it shouldn't happen in 0.14.4
After update to 0.14.4 I see two ghost players on my server.
Post Reply

Return to “Resolved Problems and Bugs”