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.

wierd ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(ID));

  • Version: All
  • Product: WRobot General
  • Type: Bug
  • Status: Not a Bug

im hear. near Hope's Landing Teleporter

BTvk4GY.png

Map name MPQ: Argus 1

My Position: -2931.751, 8803.34, -232.1103, "None"
My Position Vector: new Vector3(-2931.751, 8803.34, -232.1103, "None")
My Position XML: <Vector3 X="-2931.751" Y="8803.34" Z="-232.1103" Type="None" />
My Rotation: 4,698609

run this code in dev tools

		wManager.wManagerSetting.ClearBlacklistOfCurrentProductSession();
		var mobID = 125407;
		var all = ObjectManager.GetWoWUnitByEntry(mobID);
		var n = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(mobID));
		Logging.Write("SEARCH ID=" + mobID + " closest_name=" + n.Name + " valid=" + n.IsValid + " dist=" + n.GetDistance );
		foreach (var a in all)
		{
			Logging.Write("SEARCH ID=" + mobID + " foreach -> name=" + a.Name + " valid=" + a.IsValid + " dist=" + a.GetDistance);
		}

get this

20:15:12 - SEARCH ID=125407 closest_name= valid=False dist=9281,586
20:15:12 - SEARCH ID=125407 foreach -> name=Маяк озаренных valid=True dist=5,780092

whats wrong? me or wrobot ?

User Feedback

Recommended Comments

Hello, try to replace line 4 by 

var n = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(mobID), false);

Try also to active radar3d to check if is blacklisted

 

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.