GetBagsAndSlots [TBC 2.5.3 42.083] menu

User Tag List

Results 1 to 7 of 7
  1. #1
    moped_coder's Avatar Member
    Reputation
    1
    Join Date
    Feb 2022
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GetBagsAndSlots [TBC 2.5.3 42.083]

    Hello, i am trying to get contents of container slots and found a thread on this forum it used GetBagsAndSlot and mentioned return address spoof, I reversed this function , called it with spoof but it returns 0x0 to me , even if my containers are full. Imgur: The magic of the Internet
    I will be glad for any help.
    the signature I use to find the function is E8 ? ? ? ? 48 8B 5C 24 ? 84 C0 74 3D

    GetBagsAndSlots [TBC 2.5.3 42.083]
  2. #2
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Never used this function, so I can't really answer your question. But have you tried simply looking at the info available in descriptors? The player descriptors contain a list of guids in the backpack as well as the guid of each equipped bag. From the bag item's descriptors you can get the list of guids of each item it contains. You should be able to traverse the player inventory just with this info.

  3. Thanks moped_coder, goblin2kx (2 members gave Thanks to Jadd for this useful post)
  4. #3
    ChrisIsMe's Avatar Contributor
    Reputation
    164
    Join Date
    Apr 2017
    Posts
    210
    Thanks G/R
    67/100
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    aaaaaaaaaaaaaaaaaaaa
    Last edited by ChrisIsMe; 11-01-2023 at 05:04 PM.

  5. Thanks moped_coder (1 members gave Thanks to ChrisIsMe for this useful post)
  6. #4
    moped_coder's Avatar Member
    Reputation
    1
    Join Date
    Feb 2022
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisIsMe View Post
    Code:
    I think you're calling 
    
    CGContainerInfo::GetLuaBagAndSlot (who's first parameter is a lua_state pointer 
    
    When you want to call
    
    CGBag_C::GetItemPointer
    
    Which is really just 
    
    itemGUID = *(uintptr_t *)(*(uintptr_t *)(bagPtr + 8) + 0x10LL * slot);
    
    itemPtr = ClntObjMgrObjectPtr(&itemGUID);

    Thank you for your answer,
    Where i can find offset / signature for GetLuaBagAndSlot?
    I really wish to try this function in my code, but the last mention of GetLua offset was in 2011
    Last edited by moped_coder; 02-08-2022 at 03:28 AM.

  7. #5
    moped_coder's Avatar Member
    Reputation
    1
    Join Date
    Feb 2022
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    Never used this function, so I can't really answer your question. But have you tried simply looking at the info available in descriptors? The player descriptors contain a list of guids in the backpack as well as the guid of each equipped bag. From the bag item's descriptors you can get the list of guids of each item it contains. You should be able to traverse the player inventory just with this info.
    Thanks for your answer, the WoW engine is something new to me and it's hard for me to work with it now, it would be really cool if you could share the code

  8. #6
    ChrisIsMe's Avatar Contributor
    Reputation
    164
    Join Date
    Apr 2017
    Posts
    210
    Thanks G/R
    67/100
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    aaaaaaaaaaaaaaaaaaaa
    Last edited by ChrisIsMe; 11-01-2023 at 05:04 PM.

  9. #7
    moped_coder's Avatar Member
    Reputation
    1
    Join Date
    Feb 2022
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisIsMe View Post
    It's in Script_GetContainerItemID search for the lua error string containing "GetContainerItemID(index, slot)"
    Thanks for your answer, I solved my problem.

Similar Threads

  1. New Instance GUIDE FOR TBC!
    By Datonking in forum World of Warcraft Exploits
    Replies: 45
    Last Post: 09-23-2006, 03:55 PM
  2. dont download TBC!!!
    By avester in forum Community Chat
    Replies: 15
    Last Post: 09-16-2006, 02:17 PM
  3. lmao, glider in TBC?
    By Avianar47 in forum World of Warcraft General
    Replies: 5
    Last Post: 09-16-2006, 07:29 AM
  4. Can sum u plz post link to DL TBC sandbox
    By Arimous in forum Community Chat
    Replies: 0
    Last Post: 09-02-2006, 02:53 PM
  5. WoW TBC movie
    By Holyblade in forum World of Warcraft General
    Replies: 0
    Last Post: 09-02-2006, 02:12 PM
All times are GMT -5. The time now is 07:04 AM. 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