Object is chest? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    TrioxX's Avatar Sergeant
    Reputation
    11
    Join Date
    Aug 2010
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Object is chest?

    Hi,

    is there an easy way to determine, if an object is a lootable chest? Currently, i have to hard code the object id's, but it's a lot of work und the list may be updated on newer patches.

    Ty in advance.

    Object is chest?
  2. #2
    Empted's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2011
    Posts
    117
    Thanks G/R
    0/5
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello, try calling 57*4 in game object's VMT (it's like GetObjectName) and do something like if(name.Contains("chest")). It may work to some kind of chests. Not the best solution though because of localization.
    Another one is to call 24*4 VMT (GetModelFileName) and do same work. It won't be localization dependent then.
    And the best one is in this (How do you determine if a node is an herb or mine?) thread by Tom_Rus i guess.
    Last edited by Empted; 07-28-2012 at 07:45 AM.

  3. #3
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look up all id's at wowhead and compare it with object id :-)

  4. #4
    TrioxX's Avatar Sergeant
    Reputation
    11
    Join Date
    Aug 2010
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Empted View Post
    Hello, try calling 57*4 in game object's VMT (it's like GetObjectName) and do something like if(name.Contains("chest")). It may work to some kind of chests. Not the best solution though because of localization.
    Another one is to call 24*4 VMT (GetModelFileName) and do same work. It won't be localization dependent then.
    And the best one is in this (How do you determine if a node is an herb or mine?) thread by Tom_Rus i guess.
    Thank you

    Originally Posted by hamburger12 View Post
    Look up all id's at wowhead and compare it with object id :-)
    And how would u do that without hardcoding the ids? I wanna do this dynamically.

  5. #5
    ament's Avatar Member
    Reputation
    7
    Join Date
    Mar 2009
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    Empted's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2011
    Posts
    117
    Thanks G/R
    0/5
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Couldn't get this to work. Getting some weird values when i take ( bytes_1 >> 8 ) & 0xff
    Last edited by Empted; 07-29-2012 at 03:24 PM.

Similar Threads

  1. Is it possible to change a weapon (item) into a chest (game object)?
    By Jameswow123 in forum WoW ME Questions and Requests
    Replies: 8
    Last Post: 07-20-2010, 02:24 AM
  2. If you need to see herbs/mines/chests/rare spawns...KAM
    By Yano in forum World of Warcraft Bots and Programs
    Replies: 25
    Last Post: 08-01-2006, 06:54 PM
  3. Chest, a mistery?!
    By Simy in forum World of Warcraft General
    Replies: 4
    Last Post: 06-24-2006, 12:58 AM
  4. Get Arena Chests Fast
    By Matt in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 04-17-2006, 05:14 AM
  5. Dire Maul Chest Farming
    By Matt in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 04-15-2006, 01:45 AM
All times are GMT -5. The time now is 01:04 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