From: Salvatore F. <ei...@gm...> - 2011-09-06 07:48:13
|
Thanks! Changed PLAYER_USE_COMPRESED_DATA, and i don't get that exception anymore. Now, i only get a warning (see below) . I have a couple of other things not working the way i'd like them to (no exceptions for the moment), but i think i'll go over them some more before posting to the list about it. Anyway, once again, you ware a lifesaver! (definitely a timesaver anyway…) Sep 04, 2011 6:01:44 AM javaclient3.MapInterface handleResponse WARNING: Uncompressed data size doesn't match cells number Sep 04, 2011 6:01:44 AM javaclient3.MapInterface handleResponse INFO: Map decompress: 250000 bytes > From: Jorge Santos Sim?n <jsa...@gm...> > Subject: Re: [Java-player-users] DataFormatException > To: jav...@li... > Message-ID: > <CAB...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hello Salvatore, > > I think the problem is that your player server is sending uncompressed maps > to javaclient, but javaclient expects compressed ones by default. Just try > to set the first constant on javaclient/structures/PlayerConstants.java as > false > > /** > * Informs Javaclient interfaces whether to expect compressed or > * uncompressed data from Player server. > * This is Java counterpart to the HAVE_Z playerc configuration flag. > */ > public static final boolean PLAYER_USE_COMPRESED_DATA = false; // true; > > Please check also if you have configured player with the CMake > variable HAVE_Z unset or set as false. > > Hope this helps! > Jorge |