item usage packet

04/10/2014 19:03 kakamankoko#1
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 ?
04/11/2014 12:00 abdoumatrix#2
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 :D
04/11/2014 13:38 SteveRambo#3
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 :D
The correct terms are actually "ID" and "Type". Not "ID" and "UID".
04/11/2014 15:18 abdoumatrix#4
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@@ 
04/11/2014 15:26 SteveRambo#5
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".
.
04/11/2014 15:35 abdoumatrix#6
Quote:
Originally Posted by SteveRambo View Post
.
most use id , uid so i used to it :D
04/11/2014 19:43 hyperco#7
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).
04/11/2014 20:41 Aceking#8
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.
04/11/2014 20:49 SteveRambo#9
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 fucking morons here on epvp, geez ...
04/11/2014 21:15 hyperco#10
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 fucking 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).
04/11/2014 21:47 SteveRambo#11
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.
.
04/12/2014 01:01 InsomniacPro#12
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.
04/12/2014 01:27 Korvacs#13
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.
04/12/2014 06:07 hyperco#14
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
04/12/2014 11:57 SteveRambo#15
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 :o

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