Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Find NPC by ID (longer than visible range)

Featured Replies

I'm trying to find NPCs which are out of range, in other words no longer visible.

I know that in WotLK addons like NPCScan were able to locate mobs really FAR away, further than visible.

Is this something that can be done in vanilla?

I tried code below which works if the NPC is still within the visible range but right when I go step farther so that it disappears the NPC is no longer valid.

var guard = wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWUnit(wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(8147));
		if (guard.IsValid)
		{
			float distance = guard.GetDistance;
			string myString = distance.ToString(); 
			MessageBox.Show(myString);
		}
		else
		{
			MessageBox.Show("Not found");
		}

Also found a vanilla API call "TargetByName" which can reach as far as the above code.

Any ideas if this is a limitation of vanilla or if this can be managed somehow.

Thanks

14 minutes ago, Seminko said:

Any ideas if this is a limitation of vanilla or if this can be managed somehow.

Hello, this is a limitation from the server itself, other servers could also have a dynamic object scope(performance reasons).

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.