How to calculate AreaMap from GameObject Coordinates ? menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Alberto Pittaluga's Avatar Member
    Reputation
    1
    Join Date
    May 2015
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to calculate AreaMap from GameObject Coordinates ?

    Hello all

    in order to make some offline cleaning work on existing gameobjects (such as herbs, veins) I am looking at a method to determine onto which GAME AREA (such as Elwynn, Duskwood, etc) a certain Game Object falls.

    Of course I can get this info from the .GPS command in-game, but I want to do this outside the game, with a batch procedure.

    I dug around quite a bit and find our the various .DBC files contents.
    In particular, WorldAreaMap.DBC contains each world area "zone rectangle" coordinates. Problem is: those rectangles overlap each other BIG time, a "simple" overlaying rule such as "when you have an overlap, take the one with higher ID" simply does not work.

    Anyone can suggest how to do this?
    I could of course reverse-engineer the .gps command sourcecode but I'm not expert enough...

    Thanks in advance for any help!
    Ciao
    Alberto

    How to calculate AreaMap from GameObject Coordinates ?
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You're thinking about it wrong. GameObjects are a server side entity - no spawns are stored in the client. As such you won't find the data within the DBC's.

    You can retrieve the zone based on the coordinates from the server. This is all in the database.

    But the way you phrase your question makes me think you don't have access to the server resources you are trying to do this for?

  3. #3
    Alberto Pittaluga's Avatar Member
    Reputation
    1
    Join Date
    May 2015
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    You're thinking about it wrong. GameObjects are a server side entity - no spawns are stored in the client. As such you won't find the data within the DBC's.

    You can retrieve the zone based on the coordinates from the server. This is all in the database.

    But the way you phrase your question makes me think you don't have access to the server resources you are trying to do this for?
    Thanks for the quick answer.
    I have phrased it wrongly, let me be more precise.

    First of all, I do have my own mangozero server up, so I can access both server-side data (like gameobjects from the DB) and client-side data (like worldareamap coordinates from the relevant .DBC files, read and interpreted with the various tools you can find online).

    So I have
    - on one side, a nice list of "objects", each one with its own X, Y, Z ( +map ID ) coordinates-
    - on the other side, another nice list of "zones", each one described as a "rectangle", with its own left, right, top, bottom side coordinate.

    What I want is to "tag" each object with the name of the zone its coordinates fall into.

    Seems easy. It is not. Why? Because the "zones rectangles" are not adjacent to each-other, but they overlap.
    So I need another piece of info from somewhere else. But I don't know where from

    ciao
    A.

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    ZMP - WoWDev

    [18:37] <schmoeckwitz> stoneharry: there are client side objects since cata or mop, in a dbc.
    [18:41] <stoneharry> Oh, I see. Not looked at anything post-wotlk really.
    [18:42] <schmoeckwitz> nevertheless, that is an interesting issue, tbh.
    [18:42] <schmoeckwitz> The key might be the lesser known ZMP - WoWDev
    [18:48] <schmoeckwitz> Might be completely misleading.
    [18:48] <schmoeckwitz> in that case, sorry.

Similar Threads

  1. how do i get from version 2.1 to 2.0.12
    By mick105 in forum World of Warcraft General
    Replies: 3
    Last Post: 06-19-2007, 04:18 PM
  2. How to keep flying from place to another after logging out.
    By eldorien in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 03-09-2007, 02:40 PM
  3. How to Export Images from WoW Model Viewer.
    By Elites360 in forum Art & Graphic Design
    Replies: 4
    Last Post: 02-17-2007, 07:36 PM
  4. How to get unbanned from the test realm.
    By Sillientra in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 09-25-2006, 07:54 PM
  5. How to Keep Profits From Scam (Untested)
    By Shadowman2418 in forum World of Warcraft General
    Replies: 0
    Last Post: 07-02-2006, 06:02 AM
All times are GMT -5. The time now is 12:21 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