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.

Delete items with no value

Featured Replies

 

Greetings, I request the help of the community to try to guide me on a change that I want to make

My pj arrives at the seller, sells but he has some resetas in the bags that have no monetary value so they stay in the
 bags and accumulate and space is wasted, is there a way to erase those worthless items?
At the moment I am doing it with a macro, the plan is to be able to use that macro in C # code
Quote

/run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff1eff00") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

Modify a code that restarts the instances

 

 

Quote

 

using System.Diagnostics;
using System.ComponentModel;
using System;
using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using robotManager.Products;
using wManager.Plugin;
using wManager.Wow.Helpers;

public class Main : IPlugin
{
    private bool _isLaunched;
    private int _lastContinentId;

    public void Initialize()
    {
        _isLaunched = true;
        _lastContinentId = Usefuls.ContinentId;
        Logging.Write("[ResetInstances] Started.");

        while (_isLaunched && Products.IsStarted)
        {
            try
            {
                if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
                {
                    if (_lastContinentId != Usefuls.ContinentId)
                    {
                        Logging.Write("[ResetInstances] Contienent changed, reset instances.");
                        string instanceType = wManager.Wow.Helpers.Lua.LuaDoString<string>("local inInstance, instanceType = IsInInstance(); return instanceType;");

                        if (instanceType == "party")
                        {
                            Thread.Sleep(1000);
                            SendKeys.SendWait("(3)"); // esto simula que se preciono la tecla 3 y hay tengo una macro
                            Process.Start("C:\\Enviar Alt C\\Enviar Alt y C.exe");
                            SendKeys.SendWait("%(c)");
                            //System.Windows.MessageBox.Show("Estoy en masmorra ");
                        }
                        else
                        {
                            Lua.LuaDoString("ResetInstances();");
                            Lua.LuaDoString("SetDungeonDifficulty(1/2);");
                            //System.Windows.MessageBox.Show("No salio ni verga ");
                        }

                        _lastContinentId = Usefuls.ContinentId;
                    }
                }
            }
            catch (Exception e)
            {
                Logging.WriteError("[ResetInstances]: " + e);
            }
            Thread.Sleep(50);
        }
    }

    public void Dispose()
    {
        _isLaunched = false;
        Logging.Write("[ResetInstances] Stoped.");
    }

    public void Settings()
    {
        MessageBox.Show("No settings");
    }
}

 

I have a druid rotation to enter the instance in inviisible feline mode I enter Gundrak until I reach some of there when it touches
 water it transforms into a seal and it is where in combat it kills the fish and farms them since they drop a lot of armor, when ends
 it leaves the instance and goes to sell, that's why I want to add the macro to the C # code so as not to have to modify so many things,
 I'm trying to make the configuration that C # code

Image

Wow_MdVQKvMt70.png

Edited by coquitico1983
add more information

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.