Thread Tools Display Modes
08-03-09, 07:20 AM   #1
Cidwel
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 23
Get the subzone of a player

Hi all!

I need some info in order to get the Subzone of a player (anyone in the game). Could it be possible using the WoW Api without using any handler?

If it's not possible.. What is the best solution to do that? I mean, what lib will do the trick?

I've searched WoWApi too much times without any result.

Many thanks for the info >_<
  Reply With Quote
08-03-09, 07:25 AM   #2
Vyper
A Rage Talon Dragon Guard
 
Vyper's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 317
Not possible
  Reply With Quote
08-03-09, 07:25 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
I believe you would have to use the who lookup function to find people's location that are not in your raid/party or a close enough for you to target.

http://www.wowwiki.com/API_SendWho
http://www.wowwiki.com/API_GetWhoInfo
http://www.wowwiki.com/API_GetNumWhoResults
http://www.wowwiki.com/Events/W#WHO_LIST_UPDATE

However, it only stores the zone they are in and not the subzone so it is most likely that information isn't available to the general populace.

It might not be what you are after but as far as I am aware this is the only way you can access information on non-guildies, raid members etc

Edit: Or as Vyper said may not even be possible. I haven't tried the who approach myself as I haven't had the need to as of yet. But, I do recall there being a limit to how many requests you can do at a time.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 08-03-09 at 07:41 AM.
  Reply With Quote
08-03-09, 08:22 AM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
You must be in a group with the person to get the sub-zone.

Though if that person has an addon that transmit this information through the addon channel it is possible.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Get the subzone of a player


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off