|
From: Jorge S. S. <jsa...@gm...> - 2011-09-06 11:26:03
|
You are welcome!
mmm.... I'm curious about the warning
Can you replace the log call by:
logger.log (Level.WARNING,
"Uncompressed data size doesn't
match cells number: " + unzDataCount + " != " + cellsCount);
to see how different both values are?
Please report any other ploblems you find
Jorge
2011/9/6 Salvatore Famoso <ei...@gm...>:
> 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
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Java-player-users mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/java-player-users
>
|