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.

How to supress products like Gatherer ?

Featured Replies

Hello, I'm writing a plugin for Blood of Sargeras exchange and I want to use it in pair with Gatherer, but if I try to pause Gatherer product and make plugin go on a custom routine GoTo tasks do not work, is there a proper way to supress main product or insert a custom function into main Engine with priority higher than Gatherer? Thanks in advance.

Hello, you can subscribe to the movement events to block the movement. It could look like this(not tested):

    //call at initialize
    public void SubscribeEvents()
    {
        MovementEvents.OnMovementPulse += MovementEventsOnOnMovementPulse;
    }

    //call at dispose
    public void UnSubscribeEvents()
    {
        MovementEvents.OnMovementPulse -= MovementEventsOnOnMovementPulse;
    }


    private void MovementEventsOnOnMovementPulse(List<Vector3> path, CancelEventArgs cancelEventArgs)
    {
        if (DestinationTmp != Vector3.Empty
            && path.LastOrDefault()?.Action != "custom"
            )
        {
            cancelEventArgs.Cancel = true;
        }
    }





    public static Vector3 DestinationTmp = Vector3.Empty;
    public static void MoveTo(Vector3 destination)
    {
        List<Vector3> path = PathFinder.FindPath(ObjectManager.Me.Position, destination);
        var last = path.LastOrDefault();
        if (last != null)
            last.Action = "custom";
        DestinationTmp = MovementManager.CurrentPath.LastOrDefault() ?? ObjectManager.Me.Position;
        MovementManager.Go(path);
    }

    public static void GoBack()
    {
        List<Vector3> path = PathFinder.FindPath(ObjectManager.Me.Position, DestinationTmp);
        DestinationTmp = Vector3.Empty;
        MovementManager.Go(path);
    }

 

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.