Observer can't get visible players Posted by bulent on Mon 10 of Jan, 2011 22:34 CET 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);
Posted by jakub.gemrot on Tue 11 of Jan, 2011 08:50 CET 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
Posted by michal.bida on Tue 11 of Jan, 2011 23:23 CET Hi, the bug is fixed. It was in GameBots. To get latest GameBots follow following guide. Checkout from svn svn://artemis.ms.mff.cuni.cz/pogamut/trunk/project/gamebots copy GameBots2004 folder to your UT2004 folder and overwrite all files copy GameBots2004.u file to UT2004/System folder and overwrite the file You now have the latest GameBots2004 version without the bug Best, Michal
Posted by bulent on Wed 12 of Jan, 2011 00:49 CET That worked perfectly Thanks for fixing the problem.
Posted by bulent on Mon 17 of Jan, 2011 21:48 CET 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
Posted by jakub.gemrot on Mon 17 of Jan, 2011 22:00 CET 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