Unknown Packet 0xc8

Here you can discuss packets, implementation and design, and software related to the packet sniffing and such. This is not the place to post packages for POL, but rather discuss the packet side of them.

Moderator: POL Developer

Post Reply
RusseL
Forum Regular
Posts: 343
Joined: Fri Feb 20, 2009 8:30 pm

Unknown Packet 0xc8

Post by RusseL » Sun May 12, 2013 7:15 am

Code: Select all

Unknown packet type 0xc8: 2 bytes (IP:127.0.0.1, Account:admin)
0000: c8 12                                              ........ ........
I use client 7.0.18.0 now, and i get everytime after login this message. Everything works fine, but this message make me worries, where is the problem?

Yukiko
Distro Developer
Posts: 2480
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Unknown Packet 0xc8

Post by Yukiko » Mon May 13, 2013 5:19 am

I get the same error when I try logging in with Stygian Abyss Classic version 7.0.7.1. I have other problems as well such as the client freezing after taking three or four steps. One thing I do notice is that right after getting in game my character's paperdoll usually appears when I am using earlier clients but when using this client it doesn't appear. Double clicking on my character opens a health bar and some kind of overlay on my character but no paperdoll and my character's name doesn't appear in the health bar. It's just blank where the name should be. Could the 0xC* packet have something to do with the paperdoll not showing up? Sorry I can't offer any help but atleast you know it isn't just you getting the error. BTW I am using the latest SVN build for the POL server and the current "Distro" with mods made so it would compile properly.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

RusseL
Forum Regular
Posts: 343
Joined: Fri Feb 20, 2009 8:30 pm

Re: Unknown Packet 0xc8

Post by RusseL » Mon May 13, 2013 6:13 am

No, this packet has nothing to do with paperdoll. C8 is only 2 bytes length and used to set client view range. 1 byte is a packet id c8 and 1 byte is this range 0x12 = 18, but i cant understand why it's not available in pol.

For your problem: i think you have somewhere in logon.src SendPacket(who,"BD....") with old packet size, that is why your client freeze. Just remove this line and it would work

Yukiko
Distro Developer
Posts: 2480
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Unknown Packet 0xc8

Post by Yukiko » Tue May 14, 2013 4:16 am

Thanks. Will give it a try. Sorry I wasn't able to help with the 0xC8 packet issue.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Yukiko
Distro Developer
Posts: 2480
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Unknown Packet 0xc8

Post by Yukiko » Tue May 14, 2013 4:42 am

I couldn't find a SendPacket(who,"BD....") but I did find this one:

Code: Select all

SendPacket( mobile, "B9801B" );
I commented it out and the client no longer hangs. Thanks again for your help. Now I can play around with the "Distro" for a while.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

RusseL
Forum Regular
Posts: 343
Joined: Fri Feb 20, 2009 8:30 pm

Re: Unknown Packet 0xc8

Post by RusseL » Wed May 15, 2013 1:03 am

Yukiko wrote:I couldn't find a SendPacket(who,"BD....") but I did find this one:

Code: Select all

SendPacket( mobile, "B9801B" );
I commented it out and the client no longer hangs. Thanks again for your help. Now I can play around with the "Distro" for a while.
You can change it to SendPacket(character, "B90000801B"); for new clients

Yukiko
Distro Developer
Posts: 2480
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Unknown Packet 0xc8

Post by Yukiko » Wed May 15, 2013 4:11 am

Thanks. Worked perfectly.

Now if that odd 0xC8 packet error mystery could be solved...
Sorry I can't help with that one.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Yukiko
Distro Developer
Posts: 2480
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Unknown Packet 0xc8

Post by Yukiko » Wed May 15, 2013 4:31 am

I don't see a "typedef" for the C8 packet in the POL Core source code (\pol\network\packets.h). If I understand what I am seeing, and that is questionable since I don't know C, it looks like it was never implemented. I would imagine if it was added to the core there would be a definition in that file for it.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Tomi
POL Developer
Posts: 475
Joined: Tue Feb 21, 2006 5:08 pm

Re: Unknown Packet 0xc8

Post by Tomi » Wed May 22, 2013 4:34 pm

Youre correct Yukiko that has not been implemented yet.

It has most likely been put aside of more important stuff to implement, but I will take a look at that packet when I have again time to do something about UO and Pol

Yukiko
Distro Developer
Posts: 2480
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Unknown Packet 0xc8

Post by Yukiko » Thu May 23, 2013 4:17 am

Thanks Tomi. I understand about not having time. Glad to hear you're still working on the project.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Voicer
Neophyte Poster
Posts: 30
Joined: Fri Oct 06, 2006 8:30 am
Location: Poland

Re: Unknown Packet 0xc8

Post by Voicer » Sat Nov 22, 2014 11:49 pm

sorry to digging graves, but anyway:

it is enough to write a hook for this, if client got the reply from POL it will set the view range properly

adding pkg I am using for this.
Attachments
ViewRange.zip
(1000 Bytes) Downloaded 64 times

Post Reply