Bug: When joining multiple game rooms cannot toggle spectator status in the oldest room

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
Zageron
Posts: 22
Joined: 23 Oct 2011, 02:20
Contact:

Bug: When joining multiple game rooms cannot toggle spectator status in the oldest room

Postby Zageron » 14 Jun 2021, 06:21

1- 1.6.20

2-
- Join a non game room.
- Create a game room, be a player.
- Create a second room, be a spectator.
- Try to switch to be a spectator in the first game room.
The client calls server.switchPlayer, with the roomId we want to switch. The server doesn't reply with expected onPlayerChanged event at all.
If in the first game room the player is a spectator when at launch or if no younger rooms are open, N additional rooms can be toggled with freedom and spectating or becoming a player can be effectively restricted or allowed with custom logic. All events are sent and received. As soon as that oldest room is set to a player again, they cannot switch to spectator.

4- Copy and paste the SmartFoxClient debug output obtained by turning on the debug flag.
Haven't done this yet, production server.
User avatar
Zageron
Posts: 22
Joined: 23 Oct 2011, 02:20
Contact:

Re: Bug: When joining multiple game rooms cannot toggle spectator status in the oldest room

Postby Zageron » 15 Jun 2021, 05:30

Have confirmed that this bug is present in both 1.6.9 as well as 1.6.20.
(Also that the admin tool doesn't correctly respect playerId nor does it know about spectators.)

P.S. I understand 1.x is EOL, what are the chances of either a patch or OSS?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Bug: When joining multiple game rooms cannot toggle spectator status in the oldest room

Postby Lapo » 16 Jun 2021, 07:29

Hi,
we no longer support this product, sorry.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 42 guests