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.

Leave our Mark

Featured Replies

I am trying to create a quester profile for the quest Leave our mark:

https://www.wowhead.com/quest=12995/leave-our-mark

 

I have been trying to use the "Use item on dead mob ( after looting)" from Snippets codes for quest profiles. I created the quest profile as KillAndLoot with proper hotspots and mobIds. So far I have this as the quest order:

PickUp > LeaveOurMark (works fine)

RunCode >

Thread t = new Thread(() =>
{
    uint itemId = 42480;
    int questId = 12995;
    while (robotManager.Products.Products.IsStarted)
    {
        if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
        {
            if (!Quest.HasQuest(questId))
                break;
            if (ObjectManager.Target.IsValid && ObjectManager.Target.IsDead)
            {
                ItemsManager.UseItem(itemId);
            }
        }
        Thread.Sleep(500);
    }
});
t.Start();

Pulse > LeaveOurMark

TurnIn > LeaveOurMark

 

The profile just goes to the hotspots, kills the mobs, loots, and moves to next mob. What am I missing here?

Hello, try to add log to check if he try to use item or not (before "ItemsM anage r.UseItem (itemId);")

You can also try to use lower "Thread.Sleep" if loot is very fast on your server.

Or you can try this code (not tested):

        wManager.Events.LootingEvents.OnLootSuccessful += delegate(WoWUnit unit)
        {
            uint itemId = 42480;
            int questId = 12995;
            if (Quest.HasQuest(questId))
            {
                ItemsManager.UseItem(itemId);
                Thread.Sleep(50);
                Usefuls.WaitIsCastingAndLooting();
            }
        };

 

  • Author

I solved it by creating two quests. One KillAndLoot to kill the NPCs and one InteractWithNPC to use the item on the dead mobs. I pulse them both and it works.

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.