[UOSteam] Add To Spell Caster's Keys

If you make a Client-side script you can publish it here for other players to use
TyGeR
Passer by
Posts: 4
Joined: Thu Aug 21, 2014 11:26 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by TyGeR »

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?
Ethereal
Passer by
Posts: 2
Joined: Fri May 15, 2015 10:07 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Ethereal »

Hey guys, first post.

Adjusted one of these to work with the Gem Box....

I don't have every gem yet (missing White Pearl and Arcane Gem)

To add them manually just find the following code, copy it, and paste it right under itself. Modify the 0x---- numbers to match White Pearl, and another to match Arcane Gem. Use object inspector to get the 0x---- code (it's the graphic code). I'll update this later if I ever get both of those :D

Code: Select all

if not @targettype! '0x3192' '0'
else
  @targettype! '0x3192' '0'
  waitfortarget '5000'
  pause 600
endif
Here is the code for everything else though! Hope it helps you all!

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
Widmo
Novice Scribe
Posts: 9
Joined: Tue Jan 26, 2016 2:51 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Widmo »

Wood's Key won't work for me i see only
*****No Woods item*****
But i have a lot of logs in backpack.
RaeZon
Expert Scribe
Posts: 38
Joined: Mon Feb 04, 2013 9:38 pm
Location: Los Angeles, California

Re: [UOSteam] Add To Spell Caster's Keys

Post by RaeZon »

Widmo wrote:Wood's Key won't work for me i see only
*****No Woods item*****
But i have a lot of logs in backpack.
The item type for logs probably has to be added, I'm guessing they just did boards.
The Chosen One - Alt IGN: Thomas Marshal
Tattersail
Master Scribe
Posts: 57
Joined: Wed Nov 25, 2015 8:22 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by Tattersail »

White pearl and arcane gem...You have to spam it if you have more than 1 arcane gem, as these don't stack and the script only checks once for each type...As I only have 1 white pearl, I can't test if there is a similar problem with it...

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
User avatar
Sailor Jerry
Elder Scribe
Posts: 114
Joined: Sun Sep 06, 2015 7:31 pm
Location: WA USA
Contact:

Re: [UOSteam] Add To Spell Caster's Keys

Post by Sailor Jerry »

FYI gem box is drag and droppable... use UOS organize option... just add said gem to list once and it's done.
Full throttle, half-bottle, fun lovin, script huggin gamer nerd...
a Napa Valley 1 Percenter
User avatar
Incognito
Apprentice Scribe
Posts: 18
Joined: Fri Apr 01, 2016 3:45 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by Incognito »

Here this will shorten things up for you guys....

Spellcasters keys

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.'
Metal Workers 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.'
You can use these examples to shorten your other scripts up.
guile007
Passer by
Posts: 2
Joined: Mon Nov 14, 2016 3:18 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by guile007 »

it says i dont have any wood itens but im full of logs any ideia why?
User avatar
Gaara
Legendary Scribe
Posts: 890
Joined: Sun Sep 23, 2012 10:43 pm
Location: Sedona, AZ, USA

Re: [UOSteam] Add To Spell Caster's Keys

Post by Gaara »

guile007 wrote:it says i dont have any wood itens but im full of logs any ideia why?
the script does not include logs, add this to the script:

@pushlist 'woodkeys' '0x1bdd' // Logs

EDIT: oh right i'm using a different script from this thread http://www.uoex.net/forum/viewtopic.php?f=39&t=10706
Image
Locked