Recall Making Macro Question

Wayside

Novice
I'm trying out two different recall making macros but I'm having issues resetting my containers. Am I missing something? I tried deleting the macro and resetting it up but it seems like the macro always remembers the original containers. Is there any way to reset the containers? I'll paste the macros below. Thanks in advance!

Macro #1 (Source: https://www.uoforum.com/threads/macro-index.68550/)

Code:
if not @listexists 'Scrolls'
createlist 'Scrolls'
pushlist 'Scrolls' 0x1f66
endif
if mana < 30
clearjournal
useskill 'meditation'
while mana < maxmana
endwhile
else
if @counttype 0xfbf 0x0 'backpack' < 2
movetype 0xfbf 'restock' 'backpack' 0 0 0 0x0 3
pause 1000
endif
if not @findtype 0xfbf 0x0 'backpack'
headmsg 'Get more Pens!'
stop
endif
if not @findobject 'Completed'
headmsg 'Select your Storage for Finished Goods'
promptalias 'Completed'
endif
if not @findobject 'restock'
headmsg 'Select the container with your materials'
promptalias 'restock'
useobject 'restock'
endif
if @counttype 0x1f66 0x0 'backpack' < 1
movetype 0x1f66 'restock' 'backpack' 0 0 0 0x0 10
pause 1000
endif
if @counttype 0xf88 0x0 'backpack' < 10
movetype 0xf88 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xf86 0x0 'backpack' < 10
movetype 0xf86 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xef3 0x0 'backpack' < 10
movetype 0xef3 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xf7b 0x0 'backpack' < 10
movetype 0xf7b 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if @counttype 0xf7a 0x0 'backpack' < 10
movetype 0xf7a 'restock' 'backpack' 0 0 0 0x0 50
pause 1000
endif
if skill 'Magery' < 88
headmsg 'Buy more skill!'
stop
elseif skill 'Magery' < 101
if usetype 0xfbf 0x0 'backpack'
waitforgump 0x38920abd 15000
replygump 0x38920abd 51
waitforgump 0x38920abd 15000
replygump 0x38920abd 51
waitforgump 0x38920abd 2000
endif
else
headmsg 'Out of Stock!'
stop
endif
if @counttype 0x1f4c 0x0 'backpack' > 10
movetype 0x1f4c 'backpack' 'Completed'
pause 1000
endif
endif
pause 600


Macro #2 (Source: https://github.com/her/uosteam/blob/master/resource/RecallScrollCraft.uos)

Code:
//you will need two containers one with regs,scrolls,pens one empty

if not @findobject 'restock'

  promptalias 'restock'

endif

if not @findobject 'finished recall'

  promptalias 'finished recall'

endif

if @counttype 0x1f4c 'any' 'backpack' >= 100

  if @movetype 0x1f4c 'backpack' 'finished recall'

    pause 1500

  endif

endif

if @counttype 0xfbf 'any' 'backpack' == 0

  if @movetype 0xfbf 'restock' 'backpack' 0 0 0 'any' 1

    pause 1500

  else

    sysmsg 'Out of pens!' 25

    @canceltarget

    stop

  endif

endif

if @counttype 0xef3 'any' 'backpack' == 0

  if @movetype 0xef3 'restock' 'backpack' 0 0 0 'any' 100

    pause 1500

  else

    sysmsg 'Out of scrolls!' 25

    @canceltarget

    stop

  endif

endif

if @counttype 0xf7b 'any' 'backpack' == 0

  if @movetype 0xf7b 'restock' 'backpack' 0 0 0 'any' 100

    pause 1500

  else

    sysmsg 'Out of blood moss!' 25

    @canceltarget

    stop

  endif

endif

if @counttype 0xf86 'any' 'backpack' == 0

  if @movetype 0xf86 'restock' 'backpack' 0 0 0 'any' 100

    pause 1500

  else

    sysmsg 'Out of mandrake!' 25

    @canceltarget

    stop

  endif

endif

if @counttype 0xf7a 'any' 'backpack' == 0

  if @movetype 0xf7a 'restock' 'backpack' 0 0 0 'any' 100

    pause 1500

  else

    sysmsg 'Out of black pearl!' 25

    @canceltarget

    stop

  endif

endif

if @usetype '0xfbf' 'any' 'backpack'

  waitforgump '0x38920abd' 5000

  replygump 0x38920abd 51

  pause '1250'

endif

if mana < 70

  useskill 'meditation'

  while not mana == maxmana

  endwhile

endif
 

the_bubba

Journeyman
You need to go into your Active Objects and clear those containers or clear all - depending on your other macros.

Macro #1 - 'Completed' and 'restock'

Macro #2 - 'restock' and 'finished recall'
 
Top