Download
(8 Kb)
Download
Updated: 04/18/14 06:31 PM
Addon for:
Merchants.
Pictures
File Info
Compatibility:
Live (1.0)
Updated:04/18/14 06:31 PM
Created:04/13/14 12:57 PM
Monthly downloads:50
Total downloads:6,068
Favorites:6
MD5:
NPC Reticle Scan  Popular! (More than 5000 hits)
Version: 100003.4
by: Mitsarugi [More]
NPC Reticle Scan is a nice little addon that SkOODaT put together to help me create my DataBase for Merchants.
I'm uploading it so that people from other factions and from the Ebonheart pact can help me create a complete DataBase.
just put it into your addons and activate both Merchants & NPC Reticle Scan.
NPC Reticle Scan will scan for any Merchant/Vendor NPC near you (Melee distance*) that is not in the Merchants DataBase and add them to a new File in "Elder Scrolls Online/liveeu/SavedVariables/NPCReticleScan.lua" share this file in the comments section and they will be added to the next update

*Distance has been set to 1 instead of 15 as 15 would add the wrong coordinates, 1 is making you have to be very close for the npc to be added, interaction seems to be needed at some times but this does give the best result
100003.4 - Changed & Added some code
100003.3 - Made distance player is from NPC a lot stricter for more precision of coordinates
Cleaned some code
100003.2 - Small bug fix with merchants not adding to the database file
Archived Files (3)
File Name
Version
Size
Uploader
Date
100003.3
8kB
Mitsarugi
04/14/14 11:05 AM
100003.2
7kB
Mitsarugi
04/13/14 02:39 PM
100003.1
8kB
Mitsarugi
04/13/14 12:57 PM


Post A Reply Comment Options
Unread 04/16/14, 03:04 PM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
Re: Re: Re: Error when changing targets

Originally Posted by Dawnbreeze
Originally Posted by Mitsarugi
Originally Posted by Dawnbreeze
Hi guys!

Since the last update of Merchants I get the following error when changing targets:

user:/AddOns/NPCReticleScan/NPCReticleScan.lua:62: operator # is not supported for # nil stack traceback:
user:/Addons/NPCReticleScan/NPCReticleScan.lua:62: in function 'TargetChanged'

I had to disable it for now, because it obviously made the game unplayable with it enabled. Anyone know what could be the problem?
What Faction, Town, NPC does it happen on?

I'll go and test the latest version myself as i uploaded it late (early in the morning) last night
It seems to happen anywhere, regardless of location or NPC merchant. Though I have only tried it in Mournhold, Deshaan. Every merchant seems to be affected. Changing targets between bankers is causing an error too.
Very odd im using it myself and it works fine some members in my guild use it too and no problems at all :/

What language is your client?
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 11:02 AM  
Dawnbreeze

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Error when changing targets

Originally Posted by Mitsarugi
Originally Posted by Dawnbreeze
Hi guys!

Since the last update of Merchants I get the following error when changing targets:

user:/AddOns/NPCReticleScan/NPCReticleScan.lua:62: operator # is not supported for # nil stack traceback:
user:/Addons/NPCReticleScan/NPCReticleScan.lua:62: in function 'TargetChanged'

I had to disable it for now, because it obviously made the game unplayable with it enabled. Anyone know what could be the problem?
What Faction, Town, NPC does it happen on?

I'll go and test the latest version myself as i uploaded it late (early in the morning) last night
It seems to happen anywhere, regardless of location or NPC merchant. Though I have only tried it in Mournhold, Deshaan. Every merchant seems to be affected. Changing targets between bankers is causing an error too.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 07:53 AM  
choekstr
 
choekstr's Avatar

Forum posts: 14
File comments: 391
Uploads: 0
Originally Posted by Mitsarugi
Originally Posted by choekstr
...
Originally Posted by SkOODaT
...
Ok i added all to the database, some are still missing tho from the scans you posted far as what i see on my map ( i cant go there but i can see its map )
ExtraInfo is missing as well but that has to be added to the scanner somehow or manually by the player, i often copy the scanned data to a new file and add comments next to them.
It's tough finding all the merchants the map says are there. I first started with the important ones then tried to do a full comprehensive list but invariably there will be some that can't be found and/or missed.

Have you thought of an alternate way of collecting data other than the forum? The limited post size is going to be a factor very quickly as the data collected grows and it becomes harder and harder to weed out just the new entries. In the interim have the data show up real-time through merchants but longer term we almost need a data collection mechanism like esohead has for collecting the .lua files with the data in it. Too bad the API won't allow network transmission so it could report back itself on the diffs...
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 05:45 AM  
MartinL

Forum posts: 5
File comments: 98
Uploads: 0
Getting the same problem, but its not line 62 its 63 for me

user:/AddOns/NPCReticleScan/NPCReticleScan.lua:63: operator # is not supported for # nil stack traceback:
user:/Addons/NPCReticleScan/NPCReticleScan.lua:63: in function 'TargetChanged'

Map / Location: Riften, its any Merchant / bank.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 04:31 AM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
Re: Error when changing targets

Originally Posted by Dawnbreeze
Hi guys!

Since the last update of Merchants I get the following error when changing targets:

user:/AddOns/NPCReticleScan/NPCReticleScan.lua:62: operator # is not supported for # nil stack traceback:
user:/Addons/NPCReticleScan/NPCReticleScan.lua:62: in function 'TargetChanged'

I had to disable it for now, because it obviously made the game unplayable with it enabled. Anyone know what could be the problem?
What Faction, Town, NPC does it happen on?

I'll go and test the latest version myself as i uploaded it late (early in the morning) last night
Last edited by Mitsarugi : 04/16/14 at 04:32 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 03:41 AM  
Dawnbreeze

Forum posts: 0
File comments: 3
Uploads: 0
Error when changing targets

Hi guys!

Since the last update of Merchants I get the following error when changing targets:

user:/AddOns/NPCReticleScan/NPCReticleScan.lua:62: operator # is not supported for # nil stack traceback:
user:/Addons/NPCReticleScan/NPCReticleScan.lua:62: in function 'TargetChanged'

I had to disable it for now, because it obviously made the game unplayable with it enabled. Anyone know what could be the problem?
Last edited by Dawnbreeze : 04/16/14 at 03:42 AM.
Report comment to moderator  
Reply With Quote
Unread 04/15/14, 08:00 PM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
Originally Posted by choekstr
...
Originally Posted by SkOODaT
...
Ok i added all to the database, some are still missing tho from the scans you posted far as what i see on my map ( i cant go there but i can see its map )
ExtraInfo is missing as well but that has to be added to the scanner somehow or manually by the player, i often copy the scanned data to a new file and add comments next to them.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 10:45 PM  
choekstr
 
choekstr's Avatar

Forum posts: 14
File comments: 391
Uploads: 0
Ok, ignore my comments about distance. Something was up with my range meter that was telling me 1m was in their face or so close I was looking at their chest. 1m seems fine or even 2m would be decent. It is back to what I would consider appropriate distances (perhaps just the town I was in).

Anyway, here are a couple more cities in AD (I had to strip out previous entries because the forum said post was too long; also the formatting is getting squashed when I post part so hopefully it can be merged properly still):
["data"] =
[19] =
{
[1] = [[0.74, 0.7, "Nadya", 41]],
[2] = [[Nadya]],
[3] = [[Stablemaster]],
[4] = [[Woodhearth]],
},
[20] =
{
[1] = [[0.64, 0.61, "Araneth Food-Finder", 25]],
[2] = [[Araneth Food-Finder]],
[3] = [[Grocer]],
[4] = [[Woodhearth]],
},
[21] =
{
[1] = [[0.64, 0.61, "Firuin", 33]],
[2] = [[Firuin]],
[3] = [[Chef]],
[4] = [[Woodhearth]],
},
[22] =
{
[1] = [[0.56, 0.54, "Dondrothel", 36]],
[2] = [[Dondrothel]],
[3] = [[Innkeeper]],
[4] = [[Woodhearth]],
},
[23] =
{
[1] = [[0.49, 0.67, "Earnona", 29]],
[2] = [[Earnona]],
[3] = [[Pack Merchant]],
[4] = [[Woodhearth]],
},
[24] =
{
[1] = [[0.48, 0.7, "Adaishir", 27]],
[2] = [[Adaishir]],
[3] = [[Merchant]],
[4] = [[Woodhearth]],
},
[25] =
{
[1] = [[0.45, 0.67, "Puzhbar-jo", 28]],
[2] = [[Puzhbar-jo]],
[3] = [[Mystic]],
[4] = [[Woodhearth]],
},
[26] =
{
[1] = [[0.44, 0.71, "Shashara", 33]],
[2] = [[Shashara]],
[3] = [[Chef]],
[4] = [[Woodhearth]],
},
[27] =
{
[1] = [[0.43, 0.71, "Pulaya", 34]],
[2] = [[Pulaya]],
[3] = [[Brewer]],
[4] = [[Woodhearth]],
},
[28] =
{
[1] = [[0.51, 0.74, "Rolindor", 21]],
[2] = [[Rolindor]],
[3] = [[Alchemist]],
[4] = [[Woodhearth]],
},
[29] =
{
[1] = [[0.51, 0.74, "Melledh", 35]],
[2] = [[Melledh]],
[3] = [[Enchanter]],
[4] = [[Woodhearth]],
},
[30] =
{
[1] = [[0.56, 0.65, "Hanriian", 30]],
[2] = [[Hanriian]],
[3] = [[Tailor]],
[4] = [[Woodhearth]],
},
[31] =
{
[1] = [[0.57, 0.54, "Famronion", 26]],
[2] = [[Famronion]],
[3] = [[Leatherworker]],
[4] = [[Woodhearth]],
},
[32] =
{
[1] = [[0.46, 0.36, "Nilas Oran", 28]],
[2] = [[Nilas Oran]],
[3] = [[Mystic]],
[4] = [[Woodhearth]],
},
[33] =
{
[1] = [[0.46, 0.36, "Erthaenir", 37]],
[2] = [[Erthaenir]],
[3] = [[Magus]],
[4] = [[Woodhearth]],
},
[34] =
{
[1] = [[0.43, 0.39, "Vilbjorn the Wolf", 40]],
[2] = [[Vilbjorn the Wolf]],
[3] = [[Armsman]],
[4] = [[Woodhearth]],
},
[35] =
{
[1] = [[0.44, 0.38, "Anirmelda", 40]],
[2] = [[Anirmelda]],
[3] = [[Armsman]],
[4] = [[Woodhearth]],
},
[36] =
{
[1] = [[0.24, 0.42, "Zaheida", 27]],
[2] = [[Zaheida]],
[3] = [[Merchant]],
[4] = [[Woodhearth]],
},
[37] =
{
[1] = [[0.23, 0.49, "Azarg", 39]],
[2] = [[Azarg]],
[3] = [[Carpenter]],
[4] = [[Woodhearth]],
},
[38] =
{
[1] = [[0.65, 0.46, "Morna", 31]],
[2] = [[Morna]],
[3] = [[Weaponsmith]],
[4] = [[Woodhearth]],
},
[39] =
{
[1] = [[0.66, 0.47, "Ingamircil", 23]],
[2] = [[Ingamircil]],
[3] = [[Blacksmith]],
[4] = [[Woodhearth]],
},
[40] =
{
[1] = [[0.64, 0.4, "Earanyon", 22]],
[2] = [[Earanyon]],
[3] = [[Armorer]],
[4] = [[Woodhearth]],
},
[41] =
{
[1] = [[0.65, 0.39, "Naalielir", 24]],
[2] = [[Naalielir]],
[3] = [[Clothier]],
[4] = [[Woodhearth]],
},
[42] =
{
[1] = [[0.39, 0.5, "Aesmer", 24]],
[2] = [[Aesmer]],
[3] = [[Clothier]],
[4] = [[Velyn Harbor]],
},
[43] =
{
[1] = [[0.38, 0.52, "Iruzda", 31]],
[2] = [[Iruzda]],
[3] = [[Weaponsmith]],
[4] = [[Velyn Harbor]],
},
[44] =
{
[1] = [[0.39, 0.52, "Rolandor", 32]],
[2] = [[Rolandor]],
[3] = [[Woodworker]],
[4] = [[Velyn Harbor]],
},
[45] =
{
[1] = [[0.39, 0.5, "Tutorius Asellio", 39]],
[2] = [[Tutorius Asellio]],
[3] = [[Carpenter]],
[4] = [[Velyn Harbor]],
},
[46] =
{
[1] = [[0.4, 0.51, "Sarfinaire", 23]],
[2] = [[Sarfinaire]],
[3] = [[Blacksmith]],
[4] = [[Velyn Harbor]],
},
[47] =
{
[1] = [[0.31, 0.59, "Monennor", 41]],
[2] = [[Monennor]],
[3] = [[Stablemaster]],
[4] = [[Velyn Harbor]],
},
[48] =
{
[1] = [[0.26, 0.51, "Imriel", 38]],
[2] = [[Imriel]],
[3] = [[Banker]],
[4] = [[Velyn Harbor]],
},
[49] =
{
[1] = [[0.34, 0.47, "Muramil", 26]],
[2] = [[Muramil]],
[3] = [[Leatherworker]],
[4] = [[Velyn Harbor]],
},
[50] =
{
[1] = [[0.34, 0.47, "Sorfinilon", 30]],
[2] = [[Sorfinilon]],
[3] = [[Tailor]],
[4] = [[Velyn Harbor]],
},
[51] =
{
[1] = [[0.35, 0.47, "Bishanti", 22]],
[2] = [[Bishanti]],
[3] = [[Armorer]],
[4] = [[Velyn Harbor]],
},
[52] =
{
[1] = [[0.36, 0.46, "Ethad-sa", 25]],
[2] = [[Ethad-sa]],
[3] = [[Grocer]],
[4] = [[Velyn Harbor]],
},
[53] =
{
[1] = [[0.44, 0.42, "Marantar", 21]],
[2] = [[Marantar]],
[3] = [[Alchemist]],
[4] = [[Velyn Harbor]],
},
[54] =
{
[1] = [[0.39, 0.44, "Dailirwen", 37]],
[2] = [[Dailirwen]],
[3] = [[Magus]],
[4] = [[Velyn Harbor]],
},
[55] =
{
[1] = [[0.34, 0.42, "Hamira", 35]],
[2] = [[Hamira]],
[3] = [[Enchanter]],
[4] = [[Velyn Harbor]],
},
[56] =
{
[1] = [[0.4, 0.64, "Fimaz-ra", 40]],
[2] = [[Fimaz-ra]],
[3] = [[Armsman]],
[4] = [[Velyn Harbor]],
},
},
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 05:24 PM  
choekstr
 
choekstr's Avatar

Forum posts: 14
File comments: 391
Uploads: 0
Excellent. I didn't know if add-ons could cross communicate or update other add-on's files. As it stands I just manually added a couple to the appropriate .lua file and I like it. Really like having them on the map and it will be great when you have different icons per vendor type and even color coding if you are going to work on that.

Excellent job so far! Really applaud the effort.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 04:17 PM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
Originally Posted by choekstr
...
This is what it did at 15, ill test it at 5 to see what happens, and i'm already looking into adding an auto database updater
Last edited by Mitsarugi : 04/14/14 at 04:17 PM.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 03:55 PM  
choekstr
 
choekstr's Avatar

Forum posts: 14
File comments: 391
Uploads: 0
Another suggestion is to populate the data live on the map and minimap after it is collected (assuming merchants is installed). It would be nice to have the data available for other areas without having to wait for a new version (of merchants) to come out that has the hard coded data in it. Very similar to harvestmap (aka esohead markers) where it dynamically populates the maps with collection data.

I think this is the full suite of AD Marbruk vendors:
Code:
["data"] = 
                    {
                        [1] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.53, 0.76, "Talqua", 38]],
                            [2] = [[Talqua]],
                            [3] = [[Banker]],
                        },
                        [2] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.53, 0.56, "Mendreval", 26]],
                            [2] = [[Mendreval]],
                            [3] = [[Leatherworker]],
                        },
                        [3] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.62, 0.53, "Sarirna", 39]],
                            [2] = [[Sarirna]],
                            [3] = [[Carpenter]],
                        },
                        [4] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.56, 0.49, "Gloraneth", 29]],
                            [2] = [[Gloraneth]],
                            [3] = [[Pack Merchant]],
                        },
                        [5] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.52, 0.55, "Ilmure", 22]],
                            [2] = [[Ilmure]],
                            [3] = [[Armorer]],
                        },
                        [6] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.52, 0.56, "Nalyarie", 30]],
                            [2] = [[Nalyarie]],
                            [3] = [[Tailor]],
                        },
                        [7] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.76, 0.56, "Kasafia", 23]],
                            [2] = [[Kasafia]],
                            [3] = [[Blacksmith]],
                        },
                        [8] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.76, 0.59, "Wilbern", 24]],
                            [2] = [[Wilbern]],
                            [3] = [[Clothier]],
                        },
                        [9] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.81, 0.37, "Nimare", 41]],
                            [2] = [[Nimare]],
                            [3] = [[Stablemaster]],
                        },
                        [10] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.5, 0.43, "Eldumoril", 34]],
                            [2] = [[Eldumoril]],
                            [3] = [[Brewer]],
                        },
                        [11] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.49, 0.43, "Ancarive", 36]],
                            [2] = [[Ancarive]],
                            [3] = [[Innkeeper]],
                        },
                        [12] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.48, 0.4, "Braghul", 33]],
                            [2] = [[Braghul]],
                            [3] = [[Chef]],
                        },
                        [13] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.32, 0.28, "Corelanya", 35]],
                            [2] = [[Corelanya]],
                            [3] = [[Enchanter]],
                        },
                        [14] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.25, 0.37, "Nulion", 37]],
                            [2] = [[Nulion]],
                            [3] = [[Magus]],
                        },
                        [15] = 
                        {
                            [4] = [[Marbruk]],
                            [1] = [[0.23, 0.45, "Farcaano", 21]],
                            [2] = [[Farcaano]],
                            [3] = [[Alchemist]],
                        },
                        [16] = 
                        {
                            [1] = [[0.65, 0.35, "Ardorin", 40]],
                            [2] = [[Ardorin]],
                            [3] = [[Armsman]],
                            [4] = [[Marbruk]],
                        },
                        [17] = 
                        {
                            [1] = [[0.63, 0.36, "Tarak", 32]],
                            [2] = [[Tarak]],
                            [3] = [[Woodworker]],
                            [4] = [[Marbruk]],
                        },
                        [18] = 
                        {
                            [1] = [[0.64, 0.43, "Drivas", 31]],
                            [2] = [[Drivas]],
                            [3] = [[Weaponsmith]],
                            [4] = [[Marbruk]],
                        },
                    },
Last edited by choekstr : 04/14/14 at 03:59 PM.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 03:36 PM  
choekstr
 
choekstr's Avatar

Forum posts: 14
File comments: 391
Uploads: 0
Originally Posted by Mitsarugi
Originally Posted by choekstr
...
Yes i haven't written it in the description yet, thanks i forgot
The updated version has the scan distance set to 1 instead of 15 as 15 would add the wrong coordinates, 1 is making you have to be very close for the npc to be added, interaction seems to be needed at some times tho but this does give the best result , a popup window might be added for players to add extra info, maybe even checkboxes
I installed a range meter to see how close 1m is. Wow, that is touching. There are several vendors that are behind a counter that put them about 3m away. I had to jump over the counter and be inside the pack merchant booth on top of a basket in order to get it to register. I personally think you can sacrifice resolution a bit by having say 3m or maybe 5m and it gets you close. The interact become available at 7m btw.

Also, regarding the interact, the UI can get vendor role as I see it on my target reticule , so we can determine the role without interacting. Could you perhaps have a persistent (with wait states so it doesn't stutter) polling and the closest meter value (ie lowest meter value) use as the coords? Or better yet, be collecting merchant info in memory but only write out if the reticule is pointed at the merchant and distance is <=3m? That way collection of data could be achieved just while running around in a market place and happen to glance at a vendor!
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 01:02 PM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
Originally Posted by choekstr
...
Yes i haven't written it in the description yet, thanks i forgot
The updated version has the scan distance set to 1 instead of 15 as 15 would add the wrong coordinates, 1 is making you have to be very close for the npc to be added, interaction seems to be needed at some times tho but this does give the best result , a popup window might be added for players to add extra info, maybe even checkboxes
Last edited by Mitsarugi : 04/14/14 at 01:06 PM.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 11:59 AM  
choekstr
 
choekstr's Avatar

Forum posts: 14
File comments: 391
Uploads: 0
I think it's worthy to mention that you must actually *interact* with the NPC otherwise it isn't recorded. I tested this by going to 3 different vendors and getting in their face and interacting with 2 of them and just in their face for a few moments on the 3rd. Only 2 were recorded. here is what I captured just now but I will be submitting more after i start playing and gathering more data. This is AD:

Code:
["data"] = 
                    {
                        [1] = 
                        {
                            [1] = [[0.53, 0.76, "Talqua", 38]],
                            [2] = [[Talqua]],
                            [3] = [[Banker]],
                            [4] = [[Marbruk]],
                        },
                        [2] = 
                        {
                            [1] = [[0.53, 0.56, "Mendreval", 26]],
                            [2] = [[Mendreval]],
                            [3] = [[Leatherworker]],
                            [4] = [[Marbruk]],
                        },
                    },
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 02:21 PM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
Originally Posted by SkOODaT
...
Nice Thanks i send you a PM about the plugin
Last edited by Mitsarugi : 04/14/14 at 01:06 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: