Trying to handle items entierly menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Pixion's Avatar Member
    Reputation
    59
    Join Date
    Jan 2008
    Posts
    289
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trying to handle items entierly

    Hello !

    I wanted to create some items manager in my BOT.
    So, I read this post : http://www.mmowned.com/forums/wow-me...formation.html

    I can handle without any problem items loaded in the TLS. Right.
    I can get back GUID, Durability, MaxDurability...
    But I don't know what give back for example :
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_0 = 0x104
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_PROPERTIES = 0x111
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_SEED = 0x112


    So, imagine, i want to know ONLY what are the items that I am wearing.
    Comparing datas from ITEM_FIELD and PLAYER_VISIBLE_ITEM, i didn't manage to know where is the item...in bags, or as clothes.

    Could you bright me some light ?
    Thanks you very much.

    PS: I didn't find any post on it, expepted this one: http://www.mmowned.com/forums/wow-me...highlight=item
    Last edited by Pixion; 02-26-2009 at 08:25 AM.

    Trying to handle items entierly
  2. #2
    korknob's Avatar Active Member
    Reputation
    29
    Join Date
    May 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Get item GUID from player struct, scan items for GUID and find a match then you get access to the rest of the item info.
    Then you can take it a step further if you want by parsing the item cache file, find item by ID then pull the rest of info such as stat bonuses, etc.
    Then it comes to be that the soothing light at the end of your tunnel
    Was just a freight train coming your way

  3. #3
    Pixion's Avatar Member
    Reputation
    59
    Join Date
    Jan 2008
    Posts
    289
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree, i tried to do so, but where is the GUID in the PlayerStruct as there are only those descriptors :
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_CREATOR = 0x102
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_0 = 0x104
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_PROPERTIES = 0x111
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_SEED = 0x112
    [07:14:50]: PLAYER_VISIBLE_ITEM_1_PAD = 0x113
    Is one of them the GUID of the VISIBLE_OBJECT ?

  4. #4
    korknob's Avatar Active Member
    Reputation
    29
    Join Date
    May 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    int GetEquipmentID(int slot)
    {
    	int offset = PlayerStruct + OBJECT_FIELD_PADDING + UNIT_FIELD_PADDING + 8 + PLAYER_VISIBLE_ITEM_1_0 + ( slot * 0x48);
    	int read = 0;
    	int id;
    	ReadProcessMemory(hProc, (LPCVOID)(offset), &id, 8, (SIZE_T*)&read);
    	return id;
    }
    That's what I use. GUID is int64, after you have it, you can find the item struct for it, and then get the int32 ID (http://thottbot.com/iIDNUMBER).
    Then it comes to be that the soothing light at the end of your tunnel
    Was just a freight train coming your way

  5. #5
    Pixion's Avatar Member
    Reputation
    59
    Join Date
    Jan 2008
    Posts
    289
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I'll take a look.

Similar Threads

  1. [Selling] Quad and Tri fectat items -Powerlvling Service - Paragon Lvling - LegenRuns- HANDMADE
    By supositorio666 in forum Diablo 3 Buy Sell Trade
    Replies: 0
    Last Post: 04-20-2014, 04:19 PM
  2. [Error/crash] trying to open C/Hover over an item.
    By A2C in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 06-22-2008, 06:38 AM
  3. Get disconnected when im trying to buy items :s
    By armoryh in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 01-22-2008, 08:35 AM
  4. Double Disenchant items MAKE TONS OF GOLD
    By Matt in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 04-05-2006, 03:07 AM
  5. Replies: 1
    Last Post: 03-20-2006, 12:16 AM
All times are GMT -5. The time now is 07:23 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search