Register for your free account! | Forgot your password?

You last visited: Today at 20:52

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

Advertisement



item usage packet

Discussion on item usage packet within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
item usage packet

hey guys i have a problem to find the item usage packet item uid i log this packet whis i use the SerenityPill which have the uid 725066 but when i log the packet
Code:
5C 00 F1 03 EA ED A3 06 7F 9A D9 05 00 00 00 00      ;\ ñêí£šÙ    
04 00 00 00 F1 20 B3 06 00 00 00 00 00 00 00 00      ;   ñ ³        
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00      ;                
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00      ;                
00 00 00 00 00 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 43 6C      ;            TQCl
69 65 6E 74                                          ;ient
and search in offset 8 which should have the uid cant find my item uid i searched in all the offsets too anyone know why ?
kakamankoko is offline  
Old 04/11/2014, 12:00   #2
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by kakamankoko View Post
hey guys i have a problem to find the item usage packet item uid i log this packet whis i use the SerenityPill which have the uid 725066 but when i log the packet
Code:
5C 00 F1 03 EA ED A3 06 7F 9A D9 05 00 00 00 00      ;\ ñêí£šÙ    
04 00 00 00 F1 20 B3 06 00 00 00 00 00 00 00 00      ;   ñ ³        
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00      ;                
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00      ;                
00 00 00 00 00 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 43 6C      ;            TQCl
69 65 6E 74                                          ;ient
and search in offset 8 which should have the uid cant find my item uid i searched in all the offsets too anyone know why ?
id = 725066
not uid

id is item no in client
uid is the item no of the selected charachter so server could get its info

u could have many item with same id but every item has specific uid

PS : u will need some explaination for this explaination
abdoumatrix is offline  
Old 04/11/2014, 13:38   #3
 
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
Quote:
Originally Posted by abdoumatrix View Post
id = 725066
not uid

id is item no in client
uid is the item no of the selected charachter so server could get its info

u could have many item with same id but every item has specific uid

PS : u will need some explaination for this explaination
The correct terms are actually "ID" and "Type". Not "ID" and "UID".
SteveRambo is offline  
Thanks
1 User
Old 04/11/2014, 15:18   #4
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by SteveRambo View Post
The correct terms are actually "ID" and "Type". Not "ID" and "UID".

Quote:
Originally Posted by kakamankoko View Post
SerenityPill uid 725066

offset 8
item.UID
7F 9A D9 05
0x05d99a7f
98146943
PHP Code:
 public uint UID
        
{
            
get { return BitConverter.ToUInt32(Buffer8); }
            
set WriteUInt32(value8Buffer); }
        } 
item ID
PHP Code:
725066@@SerenityPill@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@1221141@@0@@0@@0@@0@@0@@0@@5000@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@5@@0@@0@@0@@0@@0@@Potion@@Restores~5000~MP.@@5@@0@@0@@ 
abdoumatrix is offline  
Old 04/11/2014, 15:26   #5
 
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
Quote:
Originally Posted by abdoumatrix View Post
item.UID
7F 9A D9 05
0x05d99a7f
98146943
PHP Code:
 public uint UID
        
{
            
get { return BitConverter.ToUInt32(Buffer8); }
            
set WriteUInt32(value8Buffer); }
        } 
item ID
PHP Code:
725066@@SerenityPill@@0@@0@@0@@0@@0@@0@@0@@0@@8@@0@@0@@1221141@@0@@0@@0@@0@@0@@0@@5000@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@5@@0@@0@@0@@0@@0@@Potion@@Restores~5000~MP.@@5@@0@@0@@ 
Quote:
Originally Posted by SteveRambo View Post
The correct terms are actually "ID" and "Type". Not "ID" and "UID".
.
SteveRambo is offline  
Old 04/11/2014, 15:35   #6
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by SteveRambo View Post
.
most use id , uid so i used to it
abdoumatrix is offline  
Old 04/11/2014, 19:43   #7
 
hyperco's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 112
Received Thanks: 12
I think it can't be more clearer than this:

'ID' is the Itemtype ID of the item.

'UID' is the Unique ID of the item stored in the server's Database (like cq_items).
hyperco is offline  
Old 04/11/2014, 20:41   #8
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
You guys aren't getting the point....

The reason you can't find the item ID of 725066 in the packet is simply because it isn't there.

Offset 4 is the UID of the player using the item.

And offset 8 is the Unique ID of the item being used.
I might have these backwards, don't have access to a source right now.

When using an item, they do not use the item ID of the item because you clicked
on a specific item in your inventory.
Therefore they use that items Unique ID in order to locate it and use that specific one.

So the server takes that items Unique ID, and searches your inventory list for an item that contains that, and then does whatever with it.

Hope that clarifies it.
Aceking is offline  
Old 04/11/2014, 20:49   #9
 
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
Quote:
Originally Posted by hyperco View Post
I think it can't be more clearer than this:

'ID' is the Itemtype ID of the item.

'UID' is the Unique ID of the item stored in the server's Database (like cq_items).
Why do you think the file that stores information about specific item types is called itemTYPE.dat and not itemUID.dat?

"ID" already implies uniqueness. These ******* morons here on epvp, geez ...
SteveRambo is offline  
Thanks
1 User
Old 04/11/2014, 21:15   #10
 
hyperco's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 112
Received Thanks: 12
Quote:
Originally Posted by SteveRambo View Post
Why do you think the file that stores information about specific item types is called itemTYPE.dat and not itemUID.dat?

"ID" already implies uniqueness. These ******* morons here on epvp, geez ...
Actually you can have a lot of items with ID (or TYPE) 1088000 (it's not an exclusivity at all), but every one will have an Unique ID (UID).
hyperco is offline  
Old 04/11/2014, 21:47   #11
 
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
Quote:
Originally Posted by hyperco View Post
Actually you can have a lot of items with ID (or TYPE) TYPE 1088000, but every one will have an ID.
.
SteveRambo is offline  
Old 04/12/2014, 01:01   #12
 
InsomniacPro's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
Quote:
Originally Posted by hyperco View Post
Actually you can have a lot of items with ID (or TYPE) 1088000 (it's not an exclusivity at all), but every one will have an Unique ID (UID).
Are you dense?
Type, is going to be the static ID of the item in itemTYPE

While ID is the unique identifier.
InsomniacPro is offline  
Old 04/12/2014, 01:27   #13


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Ok, just to be perfectly clear:

Unique ID (UID): 79801723
Static ID (ID): 1088000

While TQ do use the name ItemType.dat for the file which lists the item information, I do not agree that the Static ID and Type are the same, since the name Type would in my mind mean Sword, Blade, Gem, Shield, Consumable which relates to the first 3 digits of the item's Static ID. So that is the item's Type, not the Static ID as a whole.
Korvacs is offline  
Thanks
1 User
Old 04/12/2014, 06:07   #14
 
hyperco's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 112
Received Thanks: 12
Quote:
Originally Posted by Korvacs View Post
Ok, just to be perfectly clear:

Unique ID (UID): 79801723
Static ID (ID): 1088000

While TQ do use the name ItemType.dat for the file which lists the item information, I do not agree that the Static ID and Type are the same, since the name Type would in my mind mean Sword, Blade, Gem, Shield, Consumable which relates to the first 3 digits of the item's Static ID. So that is the item's Type, not the Static ID as a whole.
Agree
hyperco is offline  
Old 04/12/2014, 11:57   #15
 
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
Quote:
Originally Posted by Korvacs View Post
Ok, just to be perfectly clear:

Unique ID (UID): 79801723
Static ID (ID): 1088000

While TQ do use the name ItemType.dat for the file which lists the item information, I do not agree that the Static ID and Type are the same, since the name Type would in my mind mean Sword, Blade, Gem, Shield, Consumable which relates to the first 3 digits of the item's Static ID. So that is the item's Type, not the Static ID as a whole.
That's the item SORT

I partly agree with the "static ID", but why not go all the way and just be precise and call it: Type ID
SteveRambo is offline  
Reply


Similar Threads Similar Threads
Inventory Packet , type , usage id ??
05/24/2012 - CO2 Private Server - 12 Replies
Hello guys , dose there any packet or usage type or ID for Inventories source 5017 ? i searched all sources but found nothing , most using Dictionary for and 40 solts . Lol i would like to know if there a packet or anything else for the Inventory , i also checked ConquerWiki , but nothing was helpfully there with what i am looking for.
Item usage wie in Infiltration?
12/26/2011 - Flyff - 0 Replies
Hey Leute, habe ne Frage an die, die Infiltration kennen oder damals benutzt haben. Gibt es ne Möglichkeit die Funktion "item usage" was lediglich benutzt werden soll um schneller zu erwecken als einzelnes Programm zu coden, und wenn ja wie macht man es dann am besten? Ich denke viele sind daran interessiert und wäre auch ein nützlicher "Hack". THX.
[Problem]Excessive Item Usage
07/28/2011 - Flyff Private Server - 0 Replies
hat sich geklärt funz jetzt alles! mfg NiGHT
Item Packet
06/01/2011 - CO2 Private Server - 5 Replies
Which offset in the item packet holds the hidden value for poison blade, mana backsword, etc.?
Item/NPC Usage
05/21/2008 - EO PServer Hosting - 1 Replies
Well, me and some friends are starting up our own p-server and it works good:) the only thing that bugs us is the fact that: -we cant use items..:S right-click, hotkey, we've tried it all, doesnt work. -we cant talk to npc's, when u click on it, they don't talk to u..:S Can anyone help us:S plz.



All times are GMT +1. The time now is 20:53.


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.