Packet 0? And popup?

04/25/2014 13:43 Wolfy.#1
I got on player login unknown packet id or type how i it is 0. For the first time in ~2 weeks. Anyone has an idea for what is it used or...?

Also and how do should i code a popup like when you create character on real co when it says pay a visit etc...?
04/25/2014 14:42 Aceking#2
Only higher patches contain the pop up window.
Don't know what patch specifically, somewhere around the 5500~ mark. I could be off by a couple hundred (or more) xD
04/25/2014 18:43 Wolfy.#3
I think it is in 5165 maybe?
04/25/2014 19:41 InsomniacPro#4
Packet with type 0? It seems you could have received an empty buffer. We'd need a dump before we can really help out.
04/26/2014 02:07 Spirited#5
The client shouldn't be sending a packet type of zero. Make sure your receives are receiving the correct packet lengths (including the packet footer lengths).
04/26/2014 03:54 KraHen#6
As a side note, you could be handling your packet with the wrong endian mode, and reading the last bytes, which could actually be 0 without receiving an empty buffer.
04/26/2014 10:53 Wolfy.#7
Oh okay, thanks i will search a bit and see what i can do. About the popups were they implemented in approx. 5165?
04/26/2014 17:12 Super Aids#8
heck the endian and possible reverse the buffer.
04/27/2014 19:57 Wolfy.#9
About the popup someone maybe?><
04/27/2014 20:04 Spirited#10
Quote:
Originally Posted by Aceking View Post
Only higher patches contain the pop up window.
Don't know what patch specifically, somewhere around the 5500~ mark. I could be off by a couple hundred (or more) xD
Not to sound like I'm throwing you off a bridge, but this is completely incorrect. The popup window is a NPC dialog action type which has been in the game for quite a while (if not always, I would have to check). The action id should be 6, and I know it's definitely in patch 5165 (since I used it back then). Offset 8 should be the cancel option id, 10 the ok option id, 11 the action id, and 12 the length of the string followed by the string text being sent.
04/27/2014 21:12 Aceking#11
Quote:
Originally Posted by Spirited View Post
Not to sound like I'm throwing you off a bridge, but this is completely incorrect. The popup window is a NPC dialog action type which has been in the game for quite a while (if not always, I would have to check). The action id should be 6, and I know it's definitely in patch 5165 (since I used it back then). Offset 8 should be the cancel option id, 10 the ok option id, 11 the action id, and 12 the length of the string followed by the string text being sent.
Its not in 5065 its why I said it was a higher patch because I knew it was available in the 5500 range.
If it is available in 5065 and below, then I haven't figured out how and I have tried quite a few different ways.

But as I said in my original post, I could have been off on the patch by a couple hundred or more. I was only taking a guess at the patch.