Forum: PogamutUT2004

Observer can't get visible players

Hi all

When I try to get the visible players, the observer class returns all the players in the game. Isn't it supposed to return only visible players?
observer.getWorldView().getVisible(Players.class);

Hi!

I'm awfully sorry that things has slowed down at our side. We're writing two papers right now and the bugfixing work is on hold for a few days now (also due to my parents's flat that needs reprinting and new carpets so I can't truly work t weekends).

Please be patient for pneumonia more week and we will get into those issues.

Best, Jimmy
Hi, the bug is fixed. It was in GameBots. To get latest GameBots follow following guide.


Best,
Michal
That worked perfectly
Thanks for fixing the problem.
Hi,
I noticed after the update, the location, firing or weapon information are not updated if the player is not visible. Is there a way the player info would still be sent but the visibility info would be set as 'false' when the player is not visible.
Thanks
Hi!

That is not the case of the observer, to observer all players. Observer should receive only messages that the bot can receive.

To observe all players use UT2004Server, issue StartPlayers command (see http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/gamebots/ch06.html) and observe Players updated in the worldview as usually used by bots/observer.

Cheers!
Jimmy
Ok, it makes sense. Thanks for the clarification