Loading...
 

PogamutUT2004


Yylex errors preventing bots from working.

Hi all,

I'm one of a group of students trying to work with Pogamut to implement a bot. This bot seeks out a CivilianBot before leading it to a predetermined waypoint.

However on ALL but one of our machines, our code starts returning the following warnings, seemingly when communication begins between bots.

(GuideBot-SPOSH) WARNING 20:45:28.104 State MSG_PLR unprocessed: {
(GuideBot-SPOSH) WARNING 20:45:28.172 State MSG_PLR unprocessed: C
(GuideBot-SPOSH) WARNING 20:45:28.172 State MSG_PLR unprocessed: r
(GuideBot-SPOSH) WARNING 20:45:28.172 State MSG_PLR unprocessed: o
(GuideBot-SPOSH) WARNING 20:45:28.172 State MSG_PLR unprocessed: u
(GuideBot-SPOSH) WARNING 20:45:28.172 State MSG_PLR unprocessed: c
(GuideBot-SPOSH) WARNING 20:45:28.172 State MSG_PLR unprocessed: h
(GuideBot-SPOSH) WARNING 20:45:28.173 State MSG_PLR unprocessed: e
(GuideBot-SPOSH) WARNING 20:45:28.672 State MSG_PLR unprocessed: d
(GuideBot-SPOSH) WARNING 20:45:28.672 State MSG_PLR unprocessed: F
(GuideBot-SPOSH) WARNING 20:45:28.672 State MSG_PLR unprocessed: a
(GuideBot-SPOSH) WARNING 20:45:28.672 State MSG_PLR unprocessed: l
(GuideBot-SPOSH) WARNING 20:45:28.672 State MSG_PLR unprocessed: s
(GuideBot-SPOSH) WARNING 20:45:28.672 State MSG_PLR unprocessed: e
(GuideBot-SPOSH) WARNING 20:45:28.672 State MSG_PLR unprocessed: }

(The above are not meant to be links, they are inside square brackets)

These clearly spell out {Crouched False} (the parser ignores whitespace), and the only place in the SVN I could find this is in /trunk/project/Main/PogamutUT2004/src/main/java/cz/cuni/amis/pogamut/ut2004/communication/messages/gbinfomessages/Player.java , where {Crouched False} was implemented in revision 4228 on the 26th May 2011.

We are completely at a loss as to what is causing this; we believe we are using up-to-date files, and the machine that is working should be using the same files as the others.

Is there a known workaround here?

Thanks,
Z
Hi!

Correct, what you can see are "ignored characters", it messes up logs but should not prevent the bot from working correctly.

The million dollar question is, which GameBots2004 are you using? The easiest trick would be to use some older version of GB2004
from SVN. Which package have you used to install Pogamut on your system?

Best,
Jakub
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.