Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 06:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Feature Analysis] Interface Items

Discussion on [Feature Analysis] Interface Items within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
[Feature Analysis] Interface Items

Hey everyone.
I know how hard it is to code features when you don't understand how the feature works or what packets you should be using, so here's my packet log and analysis for interface items:

Packet Log:
Code:
Packet 3 -- From: TQServer -- Length: 84 | Receive Length: 92 -- Type: 1108
54 00 54 04 A7 46 5E 0E 39 F6 16 00 00 00 00 00 ;   T TF^9     
29 10 02 00 77 0E 02 10 02 00 03 00 00 00 00 00 ;   ) w      
0D 00 00 00 00 00 00 00 00 05 00 00 47 00 00 00 ;   
          G   
00 00 00 00 00 00 01 00 09 00 00 00 28 00 00 00 ;          	   (   
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ;                   
00 00 00 00 54 51 53 65 72 76 65 72             ;       TQServer
My Analysis:
The interface item packet is similar to the item information packet (1008). It's used for multiple functions, such as updating equipment on the character and showing items in interface windows such as a shop in the market. This packet can be useful when coding features such as dyeing equipment. When the color is changed, instead of sending a large spawn packet to everyone in the shop, and instead of unequipping, sending an item packet, and sending the equip packet, you can send this packet. The packet starts with two identities (the item id and character/interface id - not particularly in that order). It then goes to the type of packet it is (what it'll be updating), and then finishes with the item's information. The client doesn't request it at any time from the server. It's the server that sends the packet (and that's it).

Picture:
Spirited is offline  
Thanks
6 Users
Old 08/20/2012, 22:10   #2
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
Not that I didn't already know what you said, but it's very nice to get a refresh.

Keep it up :P
_DreadNought_ is offline  
Old 08/20/2012, 23:07   #3
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by Fаng View Post
This packet can be useful when coding features such as dyeing equipment. When the color is changed, instead of sending a large spawn packet to everyone in the shop, and instead of unequipping, sending an item packet, and sending the equip packet, you can send this packet.
If I recall, you use the regular 1008 ItemInfo packet to update items.
nTL3fTy is offline  
Old 08/21/2012, 01:12   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by nTL3fTy View Post
If I recall, you use the regular 1008 ItemInfo packet to update items.
Not when it's on you as equipment. You use this packet instead because it can be sent to others around you as well.
Spirited is offline  
Old 08/21/2012, 11:36   #5


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
This packet has 4 subtypes and covers a variety of circumstances, updating, viewing, trading and the default which is typically used to notify the client of existing items on login.
Korvacs is offline  
Old 12/02/2019, 08:08   #6
 
elite*gold: 0
Join Date: Oct 2019
Posts: 1
Received Thanks: 0
Is it possible to change the item number of an already existing item?
-Very new, sorry for the dull question.
lifeofdavo is offline  
Reply


Similar Threads Similar Threads
[Feature Analysis] Whisper Details
07/03/2013 - CO2 Private Server - 16 Replies
Hey everyone. I know how hard it is to code features when you don't have a packet sniffer and such. Not just that, I know that analyzing the packet sniff might be difficult for some who don't know how the data is used. Here's my packet log for whisper details: Packet Log: Packet 1 -- From: TQClient -- Length: 25 | Receive Length: 33 -- Type: 1015 19 00 F7 03 00 00 00 00 1A 01 0C 53 6D 6F 6B 65 ; Smoke 54 68 65 42 6F 6D 62 00 00 54 51 43 6C 69 65 6E ; TheBomb TQClien 74 ...
[Feature Analysis] Ping Measurement
07/28/2012 - CO2 Private Server - 8 Replies
Hey everyone. I know how hard it is to code features when you don't have a packet sniffer and such. Not just that, I know that analyzing the packet sniff might be difficult for some who don't know how the data is used. Here's my packet log for sending ping: Packet Log: Packet 1 -- From: TQClient -- Length: 88 | Receive Length: 96 -- Type: 1009 58 00 F1 03 E7 CC 42 00 00 00 00 00 1B 00 00 00 ; X B  BE 8F 1F 0D 00 00 00 00 00 00 00 00 00 00 00 00 ; 



All times are GMT +1. The time now is 06:35.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.