Back to "itemid" tags

Bag Identifier (with ItemID Skill) by demogorii

Related: ItemID

Description: Modified from :

#SUPER ID-Recycler-while-farming ver.2.00

#Made by @dennozz on discord.

ID all items in a target bag using item id.

1#-- Set your wait times depending on your ping
2
3@setvar! maxwaittimeinms 700
4@setvar! itemusewaittimeinms 200
5removelist loot_items
6createlist loot_items
7setlasttarget 
8
9#**********  DO NOT EDIT FROM HERE  ********** 
10
11sysmsg "Scanning All Armor..." 11
12
13#Armor - all serials:
14while findtype 5056|5059|5060|5061|5063|5070|5074|5075|5076|5078|5085|5089|5090|5101|5103|5105|5106|5129|5131|5132|5135|5138|5139|5142|5143|5144|5146|5201|5203|5204|5205|5207|7169|7170|7173|7175|7177|7179|7181|7610|7947|31003|31004|31005|31006|31007|31008|31009|31010|31011|31012|31015|31191 lasttarget as itemzy
15    
16    getlabel itemzy itemDesc
17    
18    if "aspect" in itemDesc or "exceptional" in itemDesc
19        #sysmsg "item not added : {{itemDesc}}" 44
20    else 
21        pushlist loot_items itemzy
22    endif
23  
24    @ignore itemzy
25endwhile
26
27#********** SCAN ALL ARCANES, STAFF, SPELLBOOKS  **********  
28
29sysmsg "Scanning Arcane Staffs, Spellbooks..." 11
30
31#Arcane Staffs, Spellbook - all serials:
32while findtype 31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|3834 lasttarget as itemzy
33   
34    getlabel itemzy itemDesc
35    
36    if "aspect" in itemDesc or "exceptional" in itemDesc
37        #sysmsg "item not added : {{itemDesc}}" 44
38    else 
39        pushlist loot_items itemzy
40    endif
41
42    @ignore itemzy
43endwhile
44
45#********** SCAN ALL SHIELDS & INSTRUMENTS  **********  
46
47sysmsg "Scanning Shields & Instruments..." 11
48
49#Instruments, Shields - all serials:
50while findtype 3740|3742|3762|3763|10245|20006|20008|20010|20012|20014|20016|7026|7027|7029|7031|7033|7034|7035|7107|7109|31002|31130 lasttarget as itemzy
51    
52    getlabel itemzy itemDesc
53    
54    if "aspect" in itemDesc or "exceptional" in itemDesc
55        #sysmsg "item not added : {{itemDesc}}" 44
56    else 
57        pushlist loot_items itemzy
58    endif
59    
60    @ignore itemzy
61endwhile
62
63#********** SCAN ALL MELEE WEAPONS  **********  
64
65sysmsg "Scanning Dexxers Weapons..." 11
66
67#Archery, Fencing, Mace Fighting, Swordsmanship, Wrestling - all serials:
68while findtype 3920|5042|5117|30990|30993|30994|30995|31184|31186|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190|22187|31141|31142|31169|31172 lasttarget as itemzy
69    
70    getlabel itemzy itemDesc
71    
72    if "aspect" in itemDesc or "exceptional" in itemDesc
73        #sysmsg "item not added : {{itemDesc}}" 44
74    else 
75        pushlist loot_items itemzy
76    endif
77    
78    @ignore itemzy
79endwhile
80
81clearignore
82
83#********** START IDENTIFYING ITEMS  **********  
84
85sysmsg "Identiying all items..." 11
86
87removelist identified_items
88createlist identified_items
89
90foreach loot in loot_items
91
92    if targetexists
93        hotkey 'cancel current target'
94    endif
95    
96    getlabel loot lootLabel
97    
98    if skill 'item identification' >= 80
99        if "unidentified" in lootLabel
100            while "unidentified" in lootLabel
101                if index != 0
102                    poplist identified_items loot
103                endif
104                overhead "Slowly identifying with skill..." 10
105                wait 1200
106                skill 'itemidentification'
107                waitfortarget maxwaittimeinms
108                
109                while not targetexists
110                    skill 'itemidentification'
111                    waitfortarget maxwaittimeinms
112                endwhile
113                
114                target loot
115                pushlist identified_items loot 
116                getlabel loot lootLabel
117            endwhile  
118        else 
119            pushlist identified_items loot 
120        endif 
121    endif
122endfor
123
124overhead "Identification Finished!" 65