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 can I tell the relogger stop profile, when bags is full

Featured Replies

How can I tell the relogger to stop the profile when the bags are full? When I use gathering profiles, I set the time to 10-12 hours, but the bags may fill up earlier. How can I configure the relogger to stop the profile when the bags are full?

Hello, try this WRobot plugin :

using System;
using robotManager.Helpful;
using wManager.Plugin;
using wManager.Wow.Helpers;

public class Main : IPlugin
{
    private bool _isLaunched;
    
    public void Initialize()
    {
        _isLaunched = true;
        while (_isLaunched)
        {
            CheckBags();
        }
    }

    private void CheckBags()
    {
        if (Conditions.InGameAndConnectedAndProductStartedNotInPause &&
            !Conditions.IsAttackedAndCannotIgnore &&
            Bag.GetContainerNumFreeSlots == 0)
        {
            Logging.Write("Bags are full, stopping profile.");
            wManager.Wow.Memory.WowMemory.CloseHookedProcess(); // Close game
            Environment.Exit(-20); // Exit code -20 stops relogger profile
        }
    }

    public void Dispose()
    {
        _isLaunched = false;
    }

    public void Settings()
    {
        Logging.Write("No settings available.");
    }
}

 

Main.cs

  • 2 weeks later...
  • Author

@DroidzHello, I have a little problem with plugin, log from relogger. I don't know, how can I fix that, because launch Wrobot as a administrator, but it doesn't help

E] 10:41:30 - ReloggerProfile > KillWRobotProcess(): System.ComponentModel.Win32Exception (0x80004005): Access Denied
   in System.Diagnostics.Process.Kill()
   in Relogger.Classes.ReloggerProfile.KillWRobotProcess()

 

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.