get Item's attributes menu

User Tag List

Results 1 to 6 of 6
  1. #1
    loeal's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [resolved] get Item's attributes (int)

    Hello,I am looking for a way to retrieve values ​​dexterity / intelligence / strength / vitality of objects.

    I can without difficulty retrieve information via:ObjectManager / ObjManStorage / AttribGroupsContainer / AttribGroup / AttribFormula.

    I get those strange values :
    type on item decimal hexa
    Code:
    vita	75	1117126656	0x42960000
    forc	138	1124728832	0x430A0000
    dext	69	1116340224	0x428A0000
    ...

    I notice the mask 0x42000000

    For attribute values ​​greater than 128 I find the value easily:
    when the 9th bit is 1, the lower bits gives a value that simply add to 128 and gives us the value of the attribute of the object. 9th bit make me think a bit of overflow; there data i used :
    ( i split the 8th first bit because they are all 0)
    Code:
    type	on item	hexa		binary
    vita	136	0x4308		0100 0011 0000 1000
    intel	137	0x4309		0100 0011 0000 1001
    force	138	0x430A		0100 0011 0000 1010
    intel	141	0x430D		0100 0011 0000 1101
    intel	158	0x431E		0100 0011 0001 1110
    intel	174	0x432E		0100 0011 0010 1110
    vita	181	0x4335		0100 0011 0011 0101
    intel	219	0x435B		0100 0011 0101 1011
    But for dexterity/ intel / dext / vita ​​less than 128 I get some really strange things and I can not understand how, here are the values ​​I used for my tests:

    ( i split the 8th first bit because they are all 0)
    Code:
    type	on item	hexa		binary
    dext	44	0x4230		0100 0010 0011 0000
    dext	69	0x428A		0100 0010 1000 1010
    force	71	0x428E		0100 0010 1000 1110
    vita	75	0x4296		0100 0010 1001 0110
    intel	80	0x42A0		0100 0010 1010 0000
    dext	84	0x42A8		0100 0010 1010 1000
    dext	97	0x42C2		0100 0010 1100 0010
    vita	112	0x42E0		0100 0010 1110 0000
    anyone have a clue ?

    PS : the only advantage for the moment is that I just sort my objects with stats above or below 128 ^ ^
    Last edited by loeal; 11-30-2012 at 05:18 AM.

    get Item's attributes
  2. #2
    loeal's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found the solution, the key is the 8th and 9th bit

    It takes only a bit less than the 8th (denoted by X):
    If you have one for 9th bit: X - 0x080
    If you have one for the 8th bit: X / 2
    Otherwise you have to take X / 4 + 0x020

  3. #3
    Evozer's Avatar Contributor
    Reputation
    150
    Join Date
    Jan 2011
    Posts
    214
    Thanks G/R
    1/15
    Trade Feedback
    9 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    floating point numbers

  4. #4
    loeal's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what suppose to mean ?

  5. #5
    Evozer's Avatar Contributor
    Reputation
    150
    Join Date
    Jan 2011
    Posts
    214
    Thanks G/R
    1/15
    Trade Feedback
    9 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sigh... read them as floats instead of integers

  6. #6
    loeal's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah I had not thought to test this way, when I watch it I would attack the other values ​​that objects can have.
    (Think about the future use full sentences, I have the impression to talk to someone)

Similar Threads

  1. how to get item attributes in 2.0.3 ?
    By virgil123 in forum Diablo 3 Memory Editing
    Replies: 0
    Last Post: 03-28-2014, 08:30 PM
  2. How to get items sold for badges
    By MegaNerd in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 02-06-2008, 10:34 PM
  3. How to get ITEMs with your low alt, by fighting with your high main!!
    By 41p32 in forum World of Warcraft Exploits
    Replies: 15
    Last Post: 12-25-2007, 04:44 AM
  4. How to get item ID's
    By Awesomesauce231 in forum WoW EMU Guides & Tutorials
    Replies: 5
    Last Post: 10-06-2007, 05:14 PM
  5. Easy way to get items to sell on AH.
    By Igsy in forum WoW Scam Prevention
    Replies: 7
    Last Post: 08-21-2007, 04:49 AM
All times are GMT -5. The time now is 11:47 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search