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.

Add gem in socket slot

Featured Replies

  • 1 year later...

hello, 

i am deeply sorry i was late, I've been busy with work and irl, here is what you are looking for ? Hope you and others enjoy.

function PickItemUp(SearchItemName)
    i=(SearchItemName)d=1 for x=0,4 do for 
        y=1,GetContainerNumSlots(x) do if (d>0) then 
            l=GetContainerItemLink(x,y) 
               if l and GetItemInfo(l)==i 
                   then PickupContainerItem(x,y) 
                     d=d-1 
                end 
            end 
        end 
    end
end

function GemSocketing(ItemSlotID, GemName, slotID)
    if ( not ItemSocketingFrame:IsShown() ) then
        SocketInventoryItem(ItemSlotID)
    end

    if (ItemSocketingFrame:IsVisible() == nil) then
        SocketInventoryItem(ItemSlotID)
    end
    PickItemUp(GemName)
    if ( CursorHasItem() ) then
        ClickSocketButton(slotID) 
    end
    AcceptSockets() 
    if ( ItemSocketingFrame:IsShown() ) then
        HideUIPanel(ItemSocketingFrame);
    end
end

GemSocketing(2, "Accurate Huge Citrine", 1)
		//armor slot number, Gem name, gem frame slot number
armor slots : 
0 = ammo
1 = head
2 = neck
3 = shoulder
4 = shirt
5 = chest
6 = belt
7 = legs
8 = feet
9 = wrist
10 = gloves
11 = finger 1
12 = finger 2
13 = trinket 1
14 = trinket 2
15 = back
16 = main hand
17 = off hand
18 = ranged
19 = tabard
20 = first bag (the rightmost one)
21 = second bag
22 = third bag
23 = fourth bag (the leftmost one)

 

Edited by TheSmokie

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.