Thread Tools Display Modes
04-11-09, 04:42 PM   #1
Tastyfrog
A Deviate Faerie Dragon
Join Date: Mar 2009
Posts: 15
How do you get the number of mining nodes on the minimap?

I'm kinda new at lua, and im not sure how to find out how many nodes there are.
  Reply With Quote
04-11-09, 06:16 PM   #2
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
You can't query this.
  Reply With Quote
04-11-09, 06:20 PM   #3
Tastyfrog
A Deviate Faerie Dragon
Join Date: Mar 2009
Posts: 15
ok... how does gatherer recognize them..
  Reply With Quote
04-11-09, 06:48 PM   #4
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar
Join Date: Dec 2006
Posts: 341
gatherer uses a data base that was built and merely places icons of where you can expect to find ore/herbs/treasure chests (been awhile since ive used it not sure if it still does treasure) thus allowing you to make a route and sometimes the ore is there and other times it's not.
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
  Reply With Quote
04-11-09, 09:30 PM   #5
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Not exactly true.

Gatherer monitors the game, watching where you've mined before, and then marks them as expected points in the future. It is possible to load a database of known items ahead of time, as well, but this is not required. How gatherer tracks this is beyond my knowledge just because I've never actually looked at the code, however I would guess that it watches for the "Mining" spell cast start event and then records the player's current location.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/
  Reply With Quote
04-11-09, 10:26 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
so... what is "not exactly true" in response to?...
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » How do you get the number of mining nodes on the minimap?


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