<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/queried/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/queried/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 23 May 2010 15:06:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/queried/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Problems with HL2 Support</title><link>https://sourceforge.net/p/queried/bugs/2/</link><description>There seems to be a problem with HL2 support.

I think the problem may relate to the string termination byte being missed off from the commands being sent to the server. After having had a poke around rewriting the getDatagram packet function in Util.java seems to have fixed it. I haven't checked whether this breaks any other games.

public static DatagramPacket getDatagramPacket\(String request, InetAddress inet, int port\) \{

ByteBuffer Request = ByteBuffer.allocate\(1400\);

Charset charset = Charset.forName\("ISO-8859-1"\);

Request.putInt\(-1\);
Request.put\(charset.encode\(request\)\);

return new DatagramPacket\(Request.array\(\), 1400, inet, port\);
\}


The following includes are also now required:

import java.nio.charset.Charset;
import java.nio.\*;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mendez</dc:creator><pubDate>Sun, 23 May 2010 15:06:36 -0000</pubDate><guid>https://sourceforge.net2ab8f33ebd37813678c5e57adc884a2873142bbd</guid></item><item><title>BF2 player query not correct</title><link>https://sourceforge.net/p/queried/bugs/1/</link><description>When querying players for BF2, the wrong info is 
returned for the kill count.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 15 Jun 2005 04:39:34 -0000</pubDate><guid>https://sourceforge.net77e842818b8c741b48ac4213e5c42abd32577833</guid></item></channel></rss>