best is go to the NPC try to align yourself at the exact spot he is standing at and use /position.
now go to your dbo.NPCResource and copy all of the data there to an Excel sheet, then use the Search and search for the coordinates you got by /position.
try to search with the first 4 or 3 digits and see the one you think it is, then take the x and y of it and teleport to that coordinate if you landed on that NPC then you got it and it's ID
I hope this was helpful. There is many methods, I just gave you one, (which I use). GL
use arcadia
select npc.id,st.value,st2.value,npc.x,npc.y,npc.local_flag,npc.contact_script
from npcresource npc join StringResource st on npc.text_id = st.code join StringResource st2 on npc.name_text_id = st2.code
where contact_script like '%NPC_Event_2011_xmas%' or contact_script like '%NPC_event_2012_Xmas%' order by st.value
best is go to the NPC try to align yourself at the exact spot he is standing at and use /position.
now go to your dbo.NPCResource and copy all of the data there to an Excel sheet, then use the Search and search for the coordinates you got by /position.
try to search with the first 4 or 3 digits and see the one you think it is, then take the x and y of it and teleport to that coordinate if you landed on that NPC then you got it and it's ID
I hope this was helpful. There is many methods, I just gave you one, (which I use). GL
USE Arcadia
GO
SELECT NPC.id, NPC.name_text_id, STRING.value, NPC.x, NPC.y, NPC.contact_script
FROM dbo.NPCResource as NPC
LEFT JOIN dbo.StringResource as STRING
ON npc.name_text_id = string.code
WHERE STRING.value like '%Asmond%'
For example, if i am looking for teleporter Asmond, I serch for Asmond.
If the npc's name is an empty string, then search for the id. (Empty String:105002005 means the name id is 105002005):
USE Arcadia
GO
SELECT NPC.id, NPC.name_text_id, STRING.value, NPC.x, NPC.y, NPC.contact_script
FROM dbo.NPCResource as NPC
LEFT JOIN dbo.StringResource as STRING
ON npc.name_text_id = string.code
WHERE NPC.name_text_id = 105002005
SELECT NPC.id, NPC.name_text_id, STRING.value, NPC.x, NPC.y, NPC.contact_script
FROM dbo.NPCResource as NPC
LEFT JOIN dbo.StringResource as STRING
ON npc.name_text_id = string.code
WHERE NPC.id = 2005