<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Pakete auslesen]]></title><description><![CDATA[<p>Hallo,<br />
ich versuche gerade die kommunikation von einem client zu einem server und umgekehrt auszulesen. Es geht um ein Multiplayer Online Spiel.</p>
<p>Der Server schickt mir z.B. sowas hier:</p>
<pre><code>0000  00 19 21 49 04 5f 00 90  1a 41 04 26 88 64 11 00   ..!I._.. .A.&amp;.d..
0010  03 0c 02 42 00 21 45 00  02 40 e1 3a 40 00 6e 06   ...B.!E. .@.:@.n.
0020  f3 0b 79 80 85 1a 53 87  e4 4f 3d a3 cb f9 14 50   ..y...S. .O=....P
0030  41 34 84 81 66 07 50 18  ff d9 a6 42 00 00 12 02   A4..f.P. ...B....
0040  01 a1 00 00 01 15 12 00  53 52 4f 5f 47 6c 6f 62   ........ SRO_Glob
0050  61 6c 5f 54 65 73 74 42  65 64 00 01 41 00 04 00   al_TestB ed..A...
0060  58 69 61 6e 11 0d ac 0d  01 01 4a 00 04 00 41 65   Xian.... ..J...Ae
0070  67 65 f1 0b ac 0d 01 01  4c 00 04 00 54 72 6f 79   ge...... L...Troy
0080  dd 0b ac 0d 01 01 5e 00  06 00 41 74 68 65 6e 73   ......^. ..Athens
0090  2c 0c ac 0d 01 01 60 00  05 00 4f 61 73 69 73 4a   ,.....`. ..OasisJ
00a0  0b ac 0d 01 01 66 00 06  00 56 65 6e 69 63 65 46   .....f.. .VeniceF
00b0  0c ac 0d 01 01 6b 00 06  00 47 72 65 65 63 65 86   .....k.. .Greece.
00c0  0c ac 0d 01 01 71 00 04  00 41 6c 70 73 48 0b ac   .....q.. .AlpsH..
00d0  0d 01 01 72 00 07 00 4f  6c 79 6d 70 75 73 46 0c   ...r...O lympusF.
00e0  ac 0d 01 01 84 00 05 00  54 69 62 65 74 bf 0a ac   ........ Tibet...
00f0  0d 01 01 86 00 05 00 42  61 62 65 6c b2 0d ac 0d   .......B abel....
0100  01 01 96 00 06 00 52 65  64 53 65 61 50 0c ac 0d   ......Re dSeaP...
0110  01 01 97 00 04 00 52 6f  6d 65 40 0b ac 0d 01 01   ......Ro me@.....
0120  98 00 06 00 53 70 61 72  74 61 9d 0c ac 0d 01 01   ....Spar ta......
0130  9c 00 08 00 45 6c 64 6f  72 61 64 6f b1 0b ac 0d   ....Eldo rado....
0140  01 01 9f 00 07 00 50 61  63 69 66 69 63 a7 0b ac   ......Pa cific...
0150  0d 01 01 a2 00 09 00 41  6c 65 78 61 6e 64 65 72   .......A lexander
0160  bf 0b ac 0d 01 01 a5 00  06 00 50 65 72 73 69 61   ........ ..Persia
0170  c8 0b ac 0d 01 01 a6 00  04 00 5a 65 75 73 4b 0a   ........ ..ZeusK.
0180  ac 0d 01 01 ae 00 08 00  50 6f 73 65 69 64 6f 6e   ........ Poseidon
0190  e9 09 ac 0d 01 01 b2 00  08 00 48 65 72 63 75 6c   ........ ..Hercul
01a0  65 73 cf 09 ac 0d 01 01  b3 00 04 00 4f 64 69 6e   es...... ....Odin
01b0  db 08 ac 0d 01 01 b4 00  07 00 4d 65 72 63 75 72   ........ ..Mercur
01c0  79 d2 07 ac 0d 01 01 b5  00 04 00 4d 61 72 73 91   y....... ...Mars.
01d0  07 ac 0d 01 01 b6 00 0c  00 53 61 74 75 72 6e 20   ........ .Saturn 
01e0  28 4e 45 57 29 a4 08 ac  0d 01 01 b7 00 0b 00 56   (NEW)... .......V
01f0  65 6e 75 73 20 28 4e 45  57 29 d1 07 ac 0d 01 01   enus (NE W)......
0200  bb 00 0c 00 55 72 61 6e  75 73 20 28 4e 45 57 29   ....Uran us (NEW)
0210  f1 07 ac 0d 01 01 bc 00  0b 00 50 6c 75 74 6f 20   ........ ..Pluto 
0220  28 4e 45 57 29 58 07 ac  0d 01 01 be 00 0d 00 4e   (NEW)X.. .......N
0230  65 70 74 75 6e 65 20 28  4e 65 77 29 07 08 ac 0d   eptune ( New)....
0240  01 01 bf 00 0a 00 48 65  72 61 20 28 4e 65 77 29   ......He ra (New)
0250  5c 08 ac 0d 01 00                                  \.....
</code></pre>
<p>Man erkennt, dass das eine Serverliste ist.<br />
Weiter kommt sowas wie:</p>
<pre><code>0000  00 19 21 49 04 5f 00 90  1a 41 04 26 88 64 11 00   ..!I._.. .A.&amp;.d..
0010  03 0c 00 32 00 21 45 00  00 30 15 2b 40 00 6e 06   ...2.!E. .0.+@.n.
0020  c1 18 79 80 85 2d 53 87  e4 4f 3d a3 cc 41 7e 44   ..y..-S. .O=..A~D
0030  22 9f 32 44 a3 10 50 18  ff 73 fc fa 00 00 02 00   &quot;.2D..P. .s......
0040  f7 b2 00 00 03 01                                  ......
</code></pre>
<p>Der client sendet auch mal an server:</p>
<pre><code>0000  00 90 1a 41 04 26 00 19  21 49 04 5f 88 64 11 00   ...A.&amp;.. !I._.d..
0010  03 0c 00 30 00 21 45 00  00 2e 6f f0 40 00 80 06   ...0.!E. ..o.@...
0020  54 55 53 87 e4 4f 79 80  85 2d cc 41 3d a3 32 44   TUS..Oy. .-.A=.2D
0030  a3 2a 7e 44 27 5f 50 18  fd 20 aa 92 00 00 00 00   .*~D'_P. . ......
0040  02 20 4a 77                                        . Jw
</code></pre>
<p>Das Problem was ich jetzt habe:<br />
Warum bekomm ich nur solche zahlensalate ausgelesen? Ich hätte eher texte aus dem userchat, koordinaten von Mods (gegner) oder sowas erwartet und keine willkürliche aneinaderreihung von zahlen und buchstaben. Was kann ich tun?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/217686/pakete-auslesen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 06:02:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/217686.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jul 2008 23:22:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pakete auslesen on Wed, 09 Jul 2008 23:22:19 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich versuche gerade die kommunikation von einem client zu einem server und umgekehrt auszulesen. Es geht um ein Multiplayer Online Spiel.</p>
<p>Der Server schickt mir z.B. sowas hier:</p>
<pre><code>0000  00 19 21 49 04 5f 00 90  1a 41 04 26 88 64 11 00   ..!I._.. .A.&amp;.d..
0010  03 0c 02 42 00 21 45 00  02 40 e1 3a 40 00 6e 06   ...B.!E. .@.:@.n.
0020  f3 0b 79 80 85 1a 53 87  e4 4f 3d a3 cb f9 14 50   ..y...S. .O=....P
0030  41 34 84 81 66 07 50 18  ff d9 a6 42 00 00 12 02   A4..f.P. ...B....
0040  01 a1 00 00 01 15 12 00  53 52 4f 5f 47 6c 6f 62   ........ SRO_Glob
0050  61 6c 5f 54 65 73 74 42  65 64 00 01 41 00 04 00   al_TestB ed..A...
0060  58 69 61 6e 11 0d ac 0d  01 01 4a 00 04 00 41 65   Xian.... ..J...Ae
0070  67 65 f1 0b ac 0d 01 01  4c 00 04 00 54 72 6f 79   ge...... L...Troy
0080  dd 0b ac 0d 01 01 5e 00  06 00 41 74 68 65 6e 73   ......^. ..Athens
0090  2c 0c ac 0d 01 01 60 00  05 00 4f 61 73 69 73 4a   ,.....`. ..OasisJ
00a0  0b ac 0d 01 01 66 00 06  00 56 65 6e 69 63 65 46   .....f.. .VeniceF
00b0  0c ac 0d 01 01 6b 00 06  00 47 72 65 65 63 65 86   .....k.. .Greece.
00c0  0c ac 0d 01 01 71 00 04  00 41 6c 70 73 48 0b ac   .....q.. .AlpsH..
00d0  0d 01 01 72 00 07 00 4f  6c 79 6d 70 75 73 46 0c   ...r...O lympusF.
00e0  ac 0d 01 01 84 00 05 00  54 69 62 65 74 bf 0a ac   ........ Tibet...
00f0  0d 01 01 86 00 05 00 42  61 62 65 6c b2 0d ac 0d   .......B abel....
0100  01 01 96 00 06 00 52 65  64 53 65 61 50 0c ac 0d   ......Re dSeaP...
0110  01 01 97 00 04 00 52 6f  6d 65 40 0b ac 0d 01 01   ......Ro me@.....
0120  98 00 06 00 53 70 61 72  74 61 9d 0c ac 0d 01 01   ....Spar ta......
0130  9c 00 08 00 45 6c 64 6f  72 61 64 6f b1 0b ac 0d   ....Eldo rado....
0140  01 01 9f 00 07 00 50 61  63 69 66 69 63 a7 0b ac   ......Pa cific...
0150  0d 01 01 a2 00 09 00 41  6c 65 78 61 6e 64 65 72   .......A lexander
0160  bf 0b ac 0d 01 01 a5 00  06 00 50 65 72 73 69 61   ........ ..Persia
0170  c8 0b ac 0d 01 01 a6 00  04 00 5a 65 75 73 4b 0a   ........ ..ZeusK.
0180  ac 0d 01 01 ae 00 08 00  50 6f 73 65 69 64 6f 6e   ........ Poseidon
0190  e9 09 ac 0d 01 01 b2 00  08 00 48 65 72 63 75 6c   ........ ..Hercul
01a0  65 73 cf 09 ac 0d 01 01  b3 00 04 00 4f 64 69 6e   es...... ....Odin
01b0  db 08 ac 0d 01 01 b4 00  07 00 4d 65 72 63 75 72   ........ ..Mercur
01c0  79 d2 07 ac 0d 01 01 b5  00 04 00 4d 61 72 73 91   y....... ...Mars.
01d0  07 ac 0d 01 01 b6 00 0c  00 53 61 74 75 72 6e 20   ........ .Saturn 
01e0  28 4e 45 57 29 a4 08 ac  0d 01 01 b7 00 0b 00 56   (NEW)... .......V
01f0  65 6e 75 73 20 28 4e 45  57 29 d1 07 ac 0d 01 01   enus (NE W)......
0200  bb 00 0c 00 55 72 61 6e  75 73 20 28 4e 45 57 29   ....Uran us (NEW)
0210  f1 07 ac 0d 01 01 bc 00  0b 00 50 6c 75 74 6f 20   ........ ..Pluto 
0220  28 4e 45 57 29 58 07 ac  0d 01 01 be 00 0d 00 4e   (NEW)X.. .......N
0230  65 70 74 75 6e 65 20 28  4e 65 77 29 07 08 ac 0d   eptune ( New)....
0240  01 01 bf 00 0a 00 48 65  72 61 20 28 4e 65 77 29   ......He ra (New)
0250  5c 08 ac 0d 01 00                                  \.....
</code></pre>
<p>Man erkennt, dass das eine Serverliste ist.<br />
Weiter kommt sowas wie:</p>
<pre><code>0000  00 19 21 49 04 5f 00 90  1a 41 04 26 88 64 11 00   ..!I._.. .A.&amp;.d..
0010  03 0c 00 32 00 21 45 00  00 30 15 2b 40 00 6e 06   ...2.!E. .0.+@.n.
0020  c1 18 79 80 85 2d 53 87  e4 4f 3d a3 cc 41 7e 44   ..y..-S. .O=..A~D
0030  22 9f 32 44 a3 10 50 18  ff 73 fc fa 00 00 02 00   &quot;.2D..P. .s......
0040  f7 b2 00 00 03 01                                  ......
</code></pre>
<p>Der client sendet auch mal an server:</p>
<pre><code>0000  00 90 1a 41 04 26 00 19  21 49 04 5f 88 64 11 00   ...A.&amp;.. !I._.d..
0010  03 0c 00 30 00 21 45 00  00 2e 6f f0 40 00 80 06   ...0.!E. ..o.@...
0020  54 55 53 87 e4 4f 79 80  85 2d cc 41 3d a3 32 44   TUS..Oy. .-.A=.2D
0030  a3 2a 7e 44 27 5f 50 18  fd 20 aa 92 00 00 00 00   .*~D'_P. . ......
0040  02 20 4a 77                                        . Jw
</code></pre>
<p>Das Problem was ich jetzt habe:<br />
Warum bekomm ich nur solche zahlensalate ausgelesen? Ich hätte eher texte aus dem userchat, koordinaten von Mods (gegner) oder sowas erwartet und keine willkürliche aneinaderreihung von zahlen und buchstaben. Was kann ich tun?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544645</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544645</guid><dc:creator><![CDATA[eimal]]></dc:creator><pubDate>Wed, 09 Jul 2008 23:22:19 GMT</pubDate></item><item><title><![CDATA[Reply to Pakete auslesen on Thu, 10 Jul 2008 05:15:56 GMT]]></title><description><![CDATA[<p>Diese &quot;Aneinanderreihung von Zahlen&quot; wie du sie nennst, ist mit ziemlicher Sicherheit überhauptnicht willkürlich.<br />
Was du meinst, wäre ein Plaintext-Protokoll. Die meisten Protokolle für Chats, Spiele, etc. sind jedoch um einiges komplexer und laufen direkt auf der Ebene der Bits und Bytes.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544663</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544663</guid><dc:creator><![CDATA[JustSomeCoder]]></dc:creator><pubDate>Thu, 10 Jul 2008 05:15:56 GMT</pubDate></item><item><title><![CDATA[Reply to Pakete auslesen on Thu, 10 Jul 2008 08:08:39 GMT]]></title><description><![CDATA[<p>Ich habs dir doch schon im IRC gesagt: lern erstmal Programmieren und Netzwerkgrundlagen bevor du einen Game-Server hacken willst!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544761</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544761</guid><dc:creator><![CDATA[Wishmaster05]]></dc:creator><pubDate>Thu, 10 Jul 2008 08:08:39 GMT</pubDate></item><item><title><![CDATA[Reply to Pakete auslesen on Thu, 10 Jul 2008 14:35:07 GMT]]></title><description><![CDATA[<p>was haben den die punkte zu bedeuten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1545138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1545138</guid><dc:creator><![CDATA[EIMAL]]></dc:creator><pubDate>Thu, 10 Jul 2008 14:35:07 GMT</pubDate></item><item><title><![CDATA[Reply to Pakete auslesen on Thu, 10 Jul 2008 14:53:52 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>die Punkte sind Bytes, deren ASCII-Repräsentation keines der üblichen lesbaren ASCII-Zeichen (Groß-/Kleinbuchstaben, Ziffern, ausgewählte Sonderzeichen) ist.</p>
<p>Ansonsten aber:</p>
<blockquote>
<p>Ich habs dir doch schon im IRC gesagt: lern erstmal Programmieren und Netzwerkgrundlagen bevor du einen Game-Server hacken willst!</p>
</blockquote>
<p>Chris</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1545154</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1545154</guid><dc:creator><![CDATA[ChrisM]]></dc:creator><pubDate>Thu, 10 Jul 2008 14:53:52 GMT</pubDate></item></channel></rss>