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.

Avvi

Members
  • Joined

  • Last visited

Solutions

  1. Avvi's post in Error while trying to get distance from Object (Ship) was marked as the answer   
    I think it might be crashing  because FirstOrDefault is not returning an instance of an object. So, you'll need to check if the object returned is null or not before checking its distance property.
    For example:
    var tram = ObjectManager.GetWoWGameObjectByyId(176082).FirstOrDefault(); if(tram!=null){ var distance = tram.GetDistance(); if(distance<=25){ Logging.Write("Tram is within 25 units"); } else{ Logging.Write("Tram is farther than 25 units"); } } else{ Logging.Write("Tram is null"); }  
    Also, to be safe, you can wrap the entire thing in a try catch block. This will prevent WRobot from crashing.
    try{ var tram = ObjectManager.GetWoWGameObjectByyId(176082).FirstOrDefault(); if(tram!=null){ var distance = tram.GetDistance(); if(distance<=25){ Logging.Write("Tram is within 25 units"); } else{ Logging.Write("Tram is farther than 25 units"); } } else{ Logging.Write("Tram is null"); } } catch(Exception e){ Logging.Write("Uh oh... something happened:"+ e.ToString()); }  
     
     
  2. Avvi's post in Difference between RunMacroLua and Ingame Chat? was marked as the answer   
    One thing you can try:
            wManager.Wow.Helpers.Lua.RunMacroText("/click MultiBarBottomLeftButton1");
     
    The macro needs to be here:

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.