[Rseding91] [2.0.23] Cant swap player with player in remote view

This subforum contains all the issues which we already resolved.
root
Burner Inserter
Burner Inserter
Posts: 18
Joined: Fri May 06, 2016 8:58 pm
Contact:

[Rseding91] [2.0.23] Cant swap player with player in remote view

Post by root »

Code: Select all

/swap-players
command does not work if you or the player to swap is currently in remote view.
The command returns an error:

Code: Select all

Cannot swap players: Character does not have a controller.
I believe that the command should work regardless of the player's viewing mode.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3855
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.23] Cant swap player with player in remote view

Post by boskid »

This is quite funny because the "swap-players" command internally is handled by a function called swapCharacters and a player that is in remote view obviously has no character.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15489
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.23] Cant swap player with player in remote view

Post by Rseding91 »

Thanks for the report however I don't believe we will be doing anything about this. This command exists as a helper for post-banned players and or people who have changed their username and want to get their old items back. There are many combinations of cases where it won't work and as a simplification to implementing it, it simply rejects the swap if it's not the simple case.
If you want to get ahold of me I'm almost always on Discord.
root
Burner Inserter
Burner Inserter
Posts: 18
Joined: Fri May 06, 2016 8:58 pm
Contact:

Re: [2.0.23] Cant swap player with player in remote view

Post by root »

It was very useful command. Usually griefer select all on the map and mark for deconstruct. I ban them but cant

Code: Select all

swap-players
to undo deconstruct because they banned in remove view.
Samuel2507
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sun Aug 05, 2018 8:38 am
Contact:

Re: [2.0.23] Cant swap player with player in remote view

Post by Samuel2507 »

Agree on this, this was very useful to post deal with griefers and just ctrl + z anything they did.
Would be really nice to implement the edge case to be able to swap with players again that are offline (/banned) while in remote view.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15489
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.23] Cant swap player with player in remote view

Post by Rseding91 »

OK. I'll make it work with remote view and leave the other edge cases unhandled.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”