Re: [UOSteam] Add To Spell Caster's Keys
Posted: Tue Nov 18, 2014 11:46 pm
if I copy and paste all these scripts into one macro, will it go through all my keys and add whatever I have to whatever set if keys it goes too?
Code: Select all
if not @targettype! '0x3192' '0'
else
@targettype! '0x3192' '0'
waitfortarget '5000'
pause 600
endif
Code: Select all
//============================================================
//=------------------Opens Gem Box----------------=
//============================================================
if not @findtype! '0xe79' '2165' 'backpack'
sysmsg '*****No Gem Box*****' '2165'
stop
else
@usetype! '0xe79' '2165' 'backpack'
waitforgump 309845371 15000
replygump 0x1277dd7b 30
waitfortarget '5000'
pause 600
endif
//==============================================================
//=------------Checks for Gems---------=
//==============================================================
if not @targettype! '0x3195' '0'
else
@targettype! '0x3195' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf19' '0'
else
@targettype! '0xf19' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf15' '0'
else
@targettype! '0xf15' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf25' '0'
else
@targettype! '0xf25' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf26' '0'
else
@targettype! '0xf26' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0x3197' '0'
else
@targettype! '0x3197' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf2d' '0'
else
@targettype! '0xf2d' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf16' '0'
else
@targettype! '0xf16' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0x3193' '0'
else
@targettype! '0xf15' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf10' '0'
else
@targettype! '0xf10' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf13' '0'
else
@targettype! '0xf13' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0xf21' '0'
else
@targettype! '0xf21' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0x3194' '0'
else
@targettype! '0x3194' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0x3198' '0'
else
@targettype! '0x3198' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0x3199' '0'
else
@targettype! '0x3199' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0x3192' '0'
else
@targettype! '0x3192' '0'
waitfortarget '5000'
pause 600
endif
//==============================================================
//=--------Checks for Final Gem, Then closes the box------------=
//==============================================================
if not @targettype! '0x3492' '0'
replygump 0x1277dd7b 0
sysmsg '*****No Gems*****' '2165'
@canceltarget
stop
else
@targettype! '0x3492' '0'
waitfortarget '5000'
pause 600
endif
But i have a lot of logs in backpack.*****No Woods item*****
The item type for logs probably has to be added, I'm guessing they just did boards.Widmo wrote:Wood's Key won't work for me i see onlyBut i have a lot of logs in backpack.*****No Woods item*****
Code: Select all
if not @targettype! '0x1ea7' '0'
else
@targettype! '0x1ea7' '0'
waitfortarget '5000'
pause 600
endif
if not @targettype! '0x3196' '0'
else
@targettype! '0x3196' '0'
waitfortarget '5000'
pause 600
endif
Code: Select all
if not listexists 'spellcasterkeys'
createlist 'spellcasterkeys'
endif
@pushlist 'spellcasterkeys' '0xf7a' // BlackPearl
@pushlist 'spellcasterkeys' '0xf7b' // BloodMoss
@pushlist 'spellcasterkeys' '0xf84' // Garlic
@pushlist 'spellcasterkeys' '0xf85' // Ginseng
@pushlist 'spellcasterkeys' '0xf86' // MandrakeRoot
@pushlist 'spellcasterkeys' '0xf88' // NightShade
@pushlist 'spellcasterkeys' '0xf8c' // SulfurousAsh
@pushlist 'spellcasterkeys' '0xf8d' // SpidersSilk
@pushlist 'spellcasterkeys' '0xf78' // BatWing
@pushlist 'spellcasterkeys' '0xf8f' // GraveDust
@pushlist 'spellcasterkeys' '0xf7d' // DeamonBlood
@pushlist 'spellcasterkeys' '0xf8e' // NoxCrystal
@pushlist 'spellcasterkeys' '0xf8a' // PigIron
@pushlist 'spellcasterkeys' '0xf81' // FertileDirt
@pushlist 'spellcasterkeys' '0x26b7' // ZoogiFungus
@pushlist 'spellcasterkeys' '0x26b8' // TransPowder
@pushlist 'spellcasterkeys' '0xf7e' // Bones
@pushlist 'spellcasterkeys' '0xf80' // DemonBones
@pushlist 'spellcasterkeys' '0xef3' // BlankScrolls
@pushlist 'spellcasterkeys' '0xf0e' // Bottles
@pushlist 'spellcasterkeys' '0x11ea' // Sand
@pushlist 'spellcasterkeys' '0x1422' // BeesWax
@pushlist 'spellcasterkeys' '0xe24' // SpringWater
@pushlist 'spellcasterkeys' '0xe1f' // DestroyingAngel
@pushlist 'spellcasterkeys' '0x97a' // PetrifiedWood
@pushlist 'spellcasterkeys' '0xf8f' // EtheralPowder
@pushlist 'spellcasterkeys' '0x1f14' // Runes
for 0 to spellcasterkeys
while @findtype 'spellcasterkeys[]'
@setalias 'regs' 'found'
usetype '0x176b' '33' 'backpack'
waitforgump 1750433090 15000
replygump 0x68557d42 25
waitforgump 1750433090 15000
waitfortarget 15000
pause 250
@target 'regs'
waitforgump 1750433090 15000
endwhile
endfor
@replygump 0x68557d42 0
canceltarget
@removelist 'spellcasterkeys'
@unsetalias 'regs'
sysmsg 'Done with Spellcasters keys.'
Code: Select all
if not listexists 'metalkeys'
createlist 'metalkeys'
endif
@pushlist 'metalkeys' '0x1bf2' // All ingots share same ID
for 0 to metalkeys
while @findtype 'metalkeys[]'
@setalias 'ingots' 'found'
usetype '0x176b' '20' 'backpack'
waitforgump 4213074123 15000
replygump 0xfb1e68cb 15
waitforgump 4213074123 15000
waitfortarget 400
pause 400
@target 'ingots'
waitforgump 4213074123 15000
endwhile
endfor
@replygump 0xfb1e68cb 0
canceltarget
@removelist 'metalkeys'
@unsetalias 'ingots'
sysmsg 'Done with Metalworkers keys.'
the script does not include logs, add this to the script:guile007 wrote:it says i dont have any wood itens but im full of logs any ideia why?