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 clean the move manager stuck count?

Featured Replies

I use the move manager stuck count to detected stuck or not, if stuck count >n then execute recovery step in the quester step, but after step execute the stuck count always there, the quester always do the recovery step, anyone has idea about this?

Hello,

 Direct access (simple but not ideal) :

// You can reset the counter to 0 directly
wManager.Wow.Helpers.StuckResolver.StuckCount = 0;

Differential approach :

// At the beginning of your recovery step, save the current value
int initialStuckCount = wManager.Wow.Helpers.StuckResolver.StuckCount;

// ... your recovery logic ...

// After recovery, calculate how many new stuck events occurred
int newStuckEvents = wManager.Wow.Helpers.StuckResolver.StuckCount - initialStuckCount;

// Reset the counter to what it was initially plus any new events
wManager.Wow.Helpers.StuckResolver.StuckCount = initialStuckCount;

Local counter with events :

var localStuckCounter = 0;

wManager.Events.MovementEvents.OnPulseStuckResolver += cancelable =>
{
    localStuckCounter++;
    // cancelable.Cancel(); // if you want to cancel the automatic unstuck
};

// Use localStuckCounter instead of StuckResolver.StuckCount
// Reset localStuckCounter = 0 after your recovery

 

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.