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.

item not detected

Featured Replies

  • Author

 

Just now, Droidz said:

Hello, sorry I never found how to detect keys on vanilla (if someone have lua code for that)

when i move key from keyring to backpack everything works fine

https://github.com/MOUZU/Blizzard-WoW-Interface/blob/d162a4c0d198a4381b5b6573d975635ed7316702/1.12.1/FrameXML/ContainerFrame.lua#L52

Not tested, but try:

local itemIdSearch = 3467;
local bag = KEYRING_CONTAINER;
for slot = 1,MAX_CONTAINER_ITEMS do
	local itemLink = GetContainerItemLink(bag,slot);
	local _, itemCount = GetContainerItemInfo(bag,slot);
	if itemLink and itemCount then
		local _,_,itemId = string.find(itemLink, '.*|Hitem:(%d+):.*');
		if itemId and tonumber(itemId) == itemIdSearch then 
			print("Key found");
			return
		end
	end
end
print("Key no found");

 

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.