Packet type 1009(item) subtype 52

04/05/2011 00:38 kill_acvc#1
Does anyone know how to handle this packet? It's what makes this happen :

[Only registered and activated users can see links. Click Here To Register...]

Sending data back doesn't work. Help?
04/05/2011 05:12 pro4never#2
Fairly simple.

It requests the item info for an item with the UID inside the packet.


You respond with a view item packet (its the same or similar as the one sent for viewing equipment/trade/etc) for the item uid entered.

Now the trick is finding that item efficiently. Personally I'd just pull it from the database... if not you'd have to figure out who currently HAS the item (cause the user sending that request does not have it, they are requesting to view it) and then sending the packet based on that structure. Pulling it fresh from database would be the fastest/best solution unless I'm missing something.

Best of luck,
P4N
04/05/2011 20:47 kill_acvc#3
Quote:
Originally Posted by pro4never View Post
Fairly simple.

It requests the item info for an item with the UID inside the packet.


You respond with a view item packet (its the same or similar as the one sent for viewing equipment/trade/etc) for the item uid entered.

Now the trick is finding that item efficiently. Personally I'd just pull it from the database... if not you'd have to figure out who currently HAS the item (cause the user sending that request does not have it, they are requesting to view it) and then sending the packet based on that structure. Pulling it fresh from database would be the fastest/best solution unless I'm missing something.

Best of luck,
P4N
lol thanks again, you always have the answers. =P