Page 1 of 1

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

Posted: Fri Aug 26, 2016 11:30 pm
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.

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

Posted: Sat Aug 27, 2016 7:30 am
by Loewchen
Please upload the log.

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

Posted: Sat Aug 27, 2016 10:15 am
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.

[0.14.1] Ghost players in MP game

Posted: Sun Aug 28, 2016 12:38 pm
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

Re: [0.14.1] Ghost players in MP game

Posted: Sun Aug 28, 2016 12:54 pm
by Loewchen
I do :P

Try:

Code: Select all

/c game.removeofflineplayer()
or

Code: Select all

/c game.remove_offline_players

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

Posted: Mon Aug 29, 2016 7:15 pm
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).

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

Posted: Mon Aug 29, 2016 7:35 pm
by Loewchen

Re: [0.14.1] Ghost players in MP game

Posted: Tue Aug 30, 2016 2:09 pm
by Klonan
Merged topics and moved to confirmed

Re: [0.14.1] Ghost players in MP game

Posted: Fri Sep 02, 2016 11:17 pm
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.

Re: [0.14.1] Ghost players in MP game

Posted: Sun Sep 04, 2016 1:41 pm
by yfcz
Also I see that these ghosts are created when players connect after desyncs only (at least on my server).

Re: [0.14.1] Ghost players in MP game

Posted: Mon Sep 05, 2016 2:40 pm
by kovarex
I made a more rigid logic of assigning players to peers, so it shouldn't happen in 0.14.4

Re: [0.14.1] Ghost players in MP game

Posted: Wed Sep 07, 2016 6:38 pm
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.