Kraz bod filler with tinkering ingot types....

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
Post Reply
lordwolfx
Posts: 14

Kraz bod filler with tinkering ingot types....

Post by lordwolfx »

So basically, it keeps trying to use dull copper to craft either sewing kits or tinker tools, and for the life of me i cant find where in the script it says which ingot types to use =/

Code: Select all

//=====================================
//============init phase===============
if not findalias 'initialize'
  //  if skill 'tinkering' < 55
  //    sysmsg 'tinkering skill is to low'
  //   stop
  //  endif
  if not @findobject 'Bulk Source'
    promptalias 'Bulk Source'
  endif
  if not @findobject 'Bulk Destination'
    promptalias 'Bulk Destination'
  endif
  if not @findobject 'Restock'
    promptalias 'Restock'
  endif
  if not @findobject 'trash'
    promptalias 'trash'
  endif
  //checking for ingots
  if counttype 0x1bf2 0 'backpack' < 10
    movetype 0x1bf2 'Restock' 'backpack'[(0 0 0)] 0 45
    pause 650
  endif
  //crafting tinker tools
  while @counttype 0x1eb8 0 'backpack' < 2
    usetype! 0x1eb8
    waitforgump 0x38920abd 2000
    @replygump 0x38920abd 8
    waitforgump 0x38920abd 2000
    @replygump 0x38920abd 23
    waitforgump 0x38920abd 2000
  endwhile
  //crafting sewing kits
  while @counttype 0xf9d 0 'backpack' < 2
    pause 500
    usetype! 0x1eb8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 44
    waitforgump 0x38920abd 1500
  endwhile
  //checking for scissors
  while @counttype 0xf9f 0 'backpack' < 1
    pause 500
    usetype 0x1eb8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 2
    waitforgump 0x38920abd 1500
  endwhile
  @setalias 'initialize' 'self'
  while @counttype 0x1081 'any' 'backpack' > 0
    @movetype 0x1081 'backpack' 'Restock' 0 0 0 'any' 'any'
    pause 500
  endwhile
endif
//============end of init phase==========
//---------------------------------------
if not listexists 'Tailoriteminfo'
  @createlist 'Tailoriteminfo'
  pushlist 'Tailoriteminfo' 0x1db9 //Cap 0
  pushlist 'Tailoriteminfo' 0x13c7 //gorget 1
  pushlist 'Tailoriteminfo' 0x13c6 //gloves 2
  pushlist 'Tailoriteminfo' 0x13cd //sleeves 3
  pushlist 'Tailoriteminfo' 0x13cc //tunic 4
  pushlist 'Tailoriteminfo' 0x13cb //leggings 5
  pushlist 'Tailoriteminfo' 0x1c00 //shorts 6
  pushlist 'Tailoriteminfo' 0x1c08 //skirt 7
  pushlist 'Tailoriteminfo' 0x1c0a //leather bustier 8
  pushlist 'Tailoriteminfo' 0x1c02 //studded armor 9
  pushlist 'Tailoriteminfo' 0x1c0c //studded bustier 10
  pushlist 'Tailoriteminfo' 0x1c06 //female leather armor 11
  pushlist 'Tailoriteminfo' 0x13d6 //Studded gorget 12
  pushlist 'Tailoriteminfo' 0x13d5 //Studded gloves 13
  pushlist 'Tailoriteminfo' 0x13dc //Studded sleeves 14
  pushlist 'Tailoriteminfo' 0x13da //Studded leggings 15
  pushlist 'Tailoriteminfo' 0x13db //Studded tunic 16
  // Hats
  @pushlist 'Tailoriteminfo' 0x1544 // 17
  @pushlist 'Tailoriteminfo' 0x1540 // 18
  @pushlist 'Tailoriteminfo' 0x1713 // 19
  @pushlist 'Tailoriteminfo' 0x1715 // 20
  @pushlist 'Tailoriteminfo' 0x1714 // 21
  @pushlist 'Tailoriteminfo' 0x1716 // 22
  @pushlist 'Tailoriteminfo' 0x1717 // 23
  @pushlist 'Tailoriteminfo' 0x1718 // 24
  @pushlist 'Tailoriteminfo' 0x1719 // 25
  @pushlist 'Tailoriteminfo' 0x171a // 26
  @pushlist 'Tailoriteminfo' 0x171b // 27
  @pushlist 'Tailoriteminfo' 0x171c // 28
  @pushlist 'Tailoriteminfo' 0x2306 // 29
  // Shirts
  @pushlist 'Tailoriteminfo' 0x1f7b // 30
  @pushlist 'Tailoriteminfo' 0x1efd // 31
  @pushlist 'Tailoriteminfo' 0x2310 // 32
  @pushlist 'Tailoriteminfo' 0x1517 // 33
  @pushlist 'Tailoriteminfo' 0x1fa1 // 34
  @pushlist 'Tailoriteminfo' 0x1ffd // 35
  @pushlist 'Tailoriteminfo' 0x1f01 // 36
  @pushlist 'Tailoriteminfo' 0x1f00 // 37
  @pushlist 'Tailoriteminfo' 0x1515 // 38
  @pushlist 'Tailoriteminfo' 0x1f03 // 39
  @pushlist 'Tailoriteminfo' 0x1f9f // 40
  @pushlist 'Tailoriteminfo' 0x230a // 41
  @pushlist 'Tailoriteminfo' 0x230e // 42
  // Pants
  @pushlist 'Tailoriteminfo' 0x152e // 43
  @pushlist 'Tailoriteminfo' 0x1539 // 44
  @pushlist 'Tailoriteminfo' 0x1537 // 45
  @pushlist 'Tailoriteminfo' 0x1516 // 46
  // Miscellaneous
  @pushlist 'Tailoriteminfo' 0x1541 // 47
  @pushlist 'Tailoriteminfo' 0x153b // 48
  @pushlist 'Tailoriteminfo' 0x153d // 49
  @pushlist 'Tailoriteminfo' 0x2307 // 50
  @pushlist 'Tailoriteminfo' 0x1711 // Tigh boots 51
  @pushlist 'Tailoriteminfo' 0x170f // Shoes 52
  @pushlist 'Tailoriteminfo' 0x170d // sandals 53
  @pushlist 'Tailoriteminfo' 0x170b // Boots 54
endif
if not listexists 'leathertype'
  createlist 'leathertype'
endif
if not listexists 'Tailorcraft'
  createlist 'Tailorcraft'
endif
if not listexists 'IsThisFootwear'
  createlist 'IsThisFootwear'
endif
@clearlist 'IsThisFootwear'
//========searching for bod to fill======
if @findtype 0x2258 0x483 'backpack'
  @setalias 'bod' 'found'
  waitforproperties 'bod' 2500
  if property 'Large Bulk Order' 'bod'
    moveitem 'bod' 'Bulk Destination'
    pause 500
  endif
else
  if not property 'Deeds In Book: 0' 'Bulk Source'
    useobject 'Bulk Source'
    waitforgump 0x54f555df 1500
    replygump 0x54f555df 5
    pause 350
    if @findtype 0x2258 0x483 'backpack'
      @setalias 'bod' 'found'
      waitforproperties 'bod' 2500
      if property 'Large Bulk Order' 'bod'
        moveitem 'bod' 'Bulk Destination'
        pause 500
      endif
    endif
  else
    sysmsg 'No BODs to fill.' 64
    @unsetalias 'Bulk Source'
    @unsetalias 'Bulk Destination'
    @unsetalias 'initialize'
    stop
  endif
endif
usetype 0xf9d 0
//============= end of search=============
useobject 'bod'
waitforgump 0x5afbd742 1500
replygump 0x5afbd742 2
waitforgump 0x5afbd742 1500
waitfortarget 500
//======= setting correct leather =======
if @ingump 0x5afbd742 'spined'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2220
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 13
  waitforgump 0x38920abd 1500
  pause 550
elseif @ingump 0x5afbd742 'horned'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2117
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 20
  waitforgump 0x38920abd 1500
  pause 550
elseif @ingump 0x5afbd742 'barbed'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2129
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 27
  waitforgump 0x38920abd 1500
  pause 550
elseif @ingump 0x5afbd742 'studded' or @ingump 0x5afbd742 'leather'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2220
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 13
  waitforgump 0x38920abd 1500
elseif @ingump 0x5afbd742 'boots'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2220
  @clearlist 'IsThisFootwear'
  @pushlist 'IsThisFootwear' 1
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 13
  waitforgump 0x38920abd 1500
elseif @ingump 0x5afbd742 'sandals'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2220
  @clearlist 'IsThisFootwear'
  @pushlist 'IsThisFootwear' 1
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 13
  waitforgump 0x38920abd 1500
elseif @ingump 0x5afbd742 'shoes'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2220
  @clearlist 'IsThisFootwear'
  @pushlist 'IsThisFootwear' 1
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 13
  waitforgump 0x38920abd 1500
elseif @ingump 0x5afbd742 'thigh boots'
  @clearlist 'leathertype'
  @pushlist 'leathertype' 2220
  @clearlist 'IsThisFootwear'
  @pushlist 'IsThisFootwear' 1
  usetype! 0xf9d
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 7
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 13
  waitforgump 0x38920abd 1500
endif
//=========================================
//====checking for ingots ====
if counttype 0x1bf2 0 'backpack' < 10
  movetype 0x1bf2 'Restock' 'backpack'[(0 0 0)] 0 24
  pause 650
endif
//=== crafting tinker tools ===
while @counttype 0x1eb8 0 'backpack' < 2
  usetype 0x1eb8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 8
  waitforgump 0x38920abd 2000
  @replygump 0x38920abd 23
  waitforgump 0x38920abd 2000
endwhile
//crafting sewing kits
while @counttype 0xf9d 0 'backpack' < 2
  usetype 0x1eb8
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 8
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 44
  waitforgump 0x38920abd 1500
endwhile
//============crafting first item==========
@clearlist 'Tailorcraft'
if list 'IsThisFootwear' == 1
  if @counttype 0x1081 leathertype[0] 'backpack' < 50
    if @movetype 0x1081 'Restock' 'backpack' 0 0 0 leathertype[0] 100
      pause 1500
    else
      sysmsg 'Out of leathers!' 25
      @canceltarget
      stop
    endif
  endif
  usetype 0xf9d 0
  pause 250
  if @ingump 0x5afbd742 'thigh boots'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 51
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x1711
  elseif @ingump 0x5afbd742 'shoes'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 37
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x170f
  elseif @ingump 0x5afbd742 'sandals'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 30
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x170d
  elseif @ingump 0x5afbd742 'boots'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 44
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x170b
  endif
elseif @ingump 0x5afbd742 'leather' or @ingump 0x5afbd742 'studded'
  @setalias 'leatherfound' 'self'
  //===checking for leather =========
  if @counttype 0x1081 leathertype[0] 'backpack' < 50
    if @movetype 0x1081 'Restock' 'backpack' 0 0 0 leathertype[0] 100
      pause 1500
    else
      sysmsg 'Out of leathers!' 25
      @canceltarget
      stop
    endif
  endif
  //=========crafting the items==========
  usetype 0xf9d 0
  pause 250
  if @ingump 0x5afbd742 'leather gorget'
    replygump 0x38920abd 36
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 23
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x13c7
  elseif @ingump 0x5afbd742 'leather cap'
    replygump 0x38920abd 36
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 30
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1db9
  elseif @ingump 0x5afbd742 'leather gloves'
    replygump 0x38920abd 36
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 37
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x13c6
  elseif @ingump 0x5afbd742 'leather sleeves'
    replygump 0x38920abd 36
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 44
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x13cd
  elseif @ingump 0x5afbd742 'leather leggings'
    replygump 0x38920abd 36
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 51
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x13cb
  elseif @ingump 0x5afbd742 'leather tunic'
    replygump 0x38920abd 36
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 58
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x13cc
  elseif @ingump 0x5afbd742 'leather shorts'
    replygump 0x38920abd 50
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 2
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1c00
  elseif @ingump 0x5afbd742 'leather skirt'
    replygump 0x38920abd 50
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1c08
  elseif @ingump 0x5afbd742 'leather bustier'
    replygump 0x38920abd 50
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 16
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1c0a
  elseif @ingump 0x5afbd742 'studded bustier'
    replygump 0x38920abd 50
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 23
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1c0c
  elseif @ingump 0x5afbd742 'female leather armor'
    replygump 0x38920abd 50
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 30
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1c06
  elseif @ingump 0x5afbd742 'studded armor'
    replygump 0x38920abd 50
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 37
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1c02
  elseif @ingump 0x5afbd742 'studded gorget'
    replygump 0x38920abd 43
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 2
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x13d6
  elseif @ingump 0x5afbd742 'studded gloves'
    replygump 0x38920abd 43
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x13d5
  elseif @ingump 0x5afbd742 'studded sleeves'
    replygump 0x38920abd 43
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 16
    waitforgump 0x38920abd 1500
    pause 300
    @pushlist 'Tailorcraft' 0x13dc
  elseif @ingump 0x5afbd742 'studded leggings'
    replygump 0x38920abd 43
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 23
    waitforgump 0x38920abd 1500
    pause 300
    @pushlist 'Tailorcraft' 0x13da
  elseif @ingump 0x5afbd742 'studded tunic'
    replygump 0x38920abd 43
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 30
    waitforgump 0x38920abd 1500
    pause 300
    @pushlist 'Tailorcraft' 0x13db
  elseif @ingump 0x5afbd742 'thigh boots'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 51
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x1711
  elseif @ingump 0x5afbd742 'shoes'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 37
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x170f
  elseif @ingump 0x5afbd742 'sandals'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 30
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x170d
  elseif @ingump 0x5afbd742 'boots'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 44
    waitforgump 0x38920abd 15000
    pause 250
    @pushlist 'Tailorcraft' 0x170b
  endif
else
  //checking for cloth
  @unsetalias 'leatherfound'
  if @counttype 0x1766 'any' 'backpack' < 50 and @counttype 0x1767 'any' 'backpack' < 50
    if @movetype 0x1766 'Restock' 'backpack' 0 0 0 'any' 100 or @movetype 0x1767 'Restock' 'backpack' 0 0 0 'any' 100
      pause 1500
    else
      sysmsg 'Out of cloths!' 25
      @canceltarget
      stop
    endif
  endif
  //====checking for ingots ====
  if counttype 0x1bf2 0 'backpack' < 10
    movetype 0x1bf2 'Restock' 'backpack'[(0 0 0)] 0 24
    pause 650
  endif
  //=== crafting tinker tools ===
  while @counttype 0x1eb8 0 'backpack' < 2
    usetype 0x1eb8
    waitforgump 0x38920abd 2000
    @replygump 0x38920abd 8
    waitforgump 0x38920abd 2000
    @replygump 0x38920abd 23
    waitforgump 0x38920abd 2000
  endwhile
  //crafting sewing kits
  while @counttype 0xf9d 0 'backpack' < 2
    usetype 0x1eb8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 44
    waitforgump 0x38920abd 1500
  endwhile
  usetype 0xf9d 0
  pause 550
  if @ingump 0x5afbd742 'skullcap'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 2
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1544
  elseif @ingump 0x5afbd742 'bandana'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1540
  elseif @ingump 0x5afbd742 'floppy hat'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 16
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1713
  elseif @ingump 0x5afbd742 'cap'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 23
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1715
  elseif @ingump 0x5afbd742 'wide-brim hat'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 30
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1714
  elseif @ingump 0x5afbd742 'tall straw hat'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 44
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1716
  elseif @ingump 0x5afbd742 'straw hat'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 37
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1717
  elseif @ingump 0x5afbd742 "wizard's hat"
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 51
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1718
  elseif @ingump 0x5afbd742 'bonnet'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 58
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1719
  elseif @ingump 0x5afbd742 'feathered hat'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 65
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x171a
  elseif @ingump 0x5afbd742 'tricorne hat'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 72
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x171b
  elseif @ingump 0x5afbd742 'jester hat'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 79
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x171c
  elseif @ingump 0x5afbd742 'flower garland'
    replygump 0x38920abd 1
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 86
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x2306
    // Shirts
  elseif @ingump 0x5afbd742 'doublet'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 2
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1f7b
  elseif @ingump 0x5afbd742 'fancy shirt'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 16
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1efd
  elseif @ingump 0x5afbd742 'formal shirt'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 86
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x2310
  elseif @ingump 0x5afbd742 'shirt'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1517
  elseif @ingump 0x5afbd742 'tunic'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 23
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1fa1
  elseif @ingump 0x5afbd742 'surcoat'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 30
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1ffd
  elseif @ingump 0x5afbd742 'plain dress'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 37
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1f01
  elseif @ingump 0x5afbd742 'fancy dress'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 44
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1f00
  elseif @ingump 0x5afbd742 'cloak'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 51
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1515
  elseif @ingump 0x5afbd742 'robe'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 58
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1f03
  elseif @ingump 0x5afbd742 'jester suit'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 65
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1f9f
  elseif @ingump 0x5afbd742 'fur cape'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 72
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x230a
  elseif @ingump 0x5afbd742 'gilded dress'
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 79
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x230e
    // Pants
  elseif @ingump 0x5afbd742 'short pants'
    replygump 0x38920abd 15
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 2
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x152e
  elseif @ingump 0x5afbd742 'long pants'
    replygump 0x38920abd 15
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1539
  elseif @ingump 0x5afbd742 'kilt'
    replygump 0x38920abd 15
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 16
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1537
  elseif @ingump 0x5afbd742 'skirt'
    replygump 0x38920abd 15
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 23
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1516
    // Miscellaneous
  elseif @ingump 0x5afbd742 'body sash'
    replygump 0x38920abd 22
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 2
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x1541
  elseif @ingump 0x5afbd742 'half apron'
    replygump 0x38920abd 22
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x153b
  elseif @ingump 0x5afbd742 'full apron'
    replygump 0x38920abd 22
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 16
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x153d
    // Footwear
  elseif @ingump 0x5afbd742 'fur boots'
    replygump 0x38920abd 29
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    waitforgump 0x38920abd 1500
    pause 250
    @pushlist 'Tailorcraft' 0x2307
  endif
  pause 250
endif
//combining with bod
@findtype Tailorcraft[0]
pause 250
target 'found'
waitfortarget 1500
ignoreobject 'found'
//======crafting make last===========
while targetexists 'server'
  if @findalias 'leatherfound'
    //===checking for leather =========
    if @counttype 0x1081 leathertype[0] 'backpack' < 50
      if @movetype 0x1081 'Restock' 'backpack' 0 0 0 leathertype[0] 100
        pause 1500
      else
        sysmsg 'Out of leathers!' 25
        @canceltarget
        stop
      endif
    endif
  else
    //============== checking for cloth============
    if @counttype 0x1766 'any' 'backpack' < 50 and @counttype 0x1767 'any' 'backpack' < 50
      if @movetype 0x1766 'Restock' 'backpack' 0 0 0 'any' 100 or @movetype 0x1767 'Restock' 'backpack' 0 0 0 'any' 100
        pause 1500
      else
        sysmsg 'Out of cloths!' 25
        @canceltarget
        stop
      endif
    endif
  endif
  //====checking for ingots ====
  if counttype 0x1bf2 0 'backpack' < 10
    movetype 0x1bf2 'Restock' 'backpack'[(0 0 0)] 0 24
    pause 650
  endif
  //=== crafting tinker tools ===
  while @counttype 0x1eb8 0 'backpack' < 2
    usetype 0x1eb8
    waitforgump 0x38920abd 2000
    @replygump 0x38920abd 8
    waitforgump 0x38920abd 2000
    @replygump 0x38920abd 23
    waitforgump 0x38920abd 2000
    @replygump 0x38920abd 0
    pause 600
  endwhile
  //crafting sewing kits
  while @counttype 0xf9d 0 'backpack' < 2
    usetype 0x1eb8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 8
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 44
    waitforgump 0x38920abd 1500
    @replygump 0x38920abd 0
    pause 600
  endwhile
  waitforgump 0x38920abd 1500
  if not gumpexists 0x38920abd
    usetype 0xf9d 0
  endif
  replygump 0x38920abd 21
  pause 400
  @findtype Tailorcraft[0]
  target 'found'
  waitfortarget 1000
  ignoreobject 'found'
  if @property 'Contents' 'backpack' > 123
    clearignorelist
    for 0 to 'Tailoriteminfo'
      while @findtype Tailoriteminfo[] 'any' 'backpack'
        usetype 0xf9f
        waitfortarget 1000
        target 'found'
        if @injournal 'Scissors cannot be used' 'system'
          moveitem 'found' 'trash'
          pause 650
          clearjournal
        endif
      endwhile
    endfor
    break
  endif
  if not @injournal 'The item has been combined'
    sysmsg 'breaking from loop' 23
    pause 1000
    break
  endif
  clearjournal
endwhile
//===================================
//===checking if the bod has been filled===
useobject 'bod'
waitforgump 0x5afbd742 1500
replygump 0x5afbd742 2
waitforgump 0x5afbd742 1500
waitfortarget 500
if @injournal 'items have already' 'system'
  moveitem 'bod' 'Bulk Destination'
  clearjournal
  clearignorelist
  //=======cutting any excess items==========
  for 0 to 'Tailoriteminfo'
    while @findtype Tailoriteminfo[] 'any' 'backpack'
      usetype 0xf9f
      waitfortarget 1000
      target 'found'
      if @injournal 'Scissors cannot be used on that to produce anything'
        moveitem 'found' 'trash'
        pause 650
        clearjournal
      endif
    endwhile
  endfor
  replygump 0x5afbd742 0
  while @counttype 0x1081 'any' 'backpack' > 0
    @movetype 0x1081 'backpack' 'Restock' 0 0 0 'any' 'any'
    pause 500
  endwhile
endif
//===============================================
Excorsion
Posts: 157

Re: Kraz bod filler with tinkering ingot types....

Post by Excorsion »

in the macro where it says "checking for ingots" counttype 0x1bf2... the 0x1bf2 is prolly what you need to change by object inspecting the ingots you want to use and putting that number in there instead of what is there.


sorry for the necro thread but incase anyone else sees this and wants to know, that would be my guess.
Post Reply