need uosteam script for train blacksmith

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

need uosteam script for train blacksmith

Post by Tayschrenn »

hi guys, would be cool if someone share his train blacksmith macro ty :D
MaZa
Posts: 102

Re: need uosteam script for train blacksmith

Post by MaZa »

BS 120

Code: Select all

////////////////////////////////////
// Uses hammers. This macro is //
// designed for training //
// blacksmithy from 30. //
// //
// Turn on loop and click play! //
// //
// ~~Made by Eventualis~~ //
//NEED TINKER TOOLS AND INGOTS IN RESTOCK BAG
if not @findobject 'Restock'
  promptalias 'Restock'
endif
if not @timerexists 'crafttime'
  @createtimer 'crafttime'
endif
// Craft Info
if not listexists 'BCCraftInfo'
  @createlist 'BCCraftInfo'
  // Ringmail
  @pushlist 'BCCraftInfo' 0x13eb //0 Gloves
  @pushlist 'BCCraftInfo' 0x13f0 //1 Leggins
  @pushlist 'BCCraftInfo' 0x13ee //2 Sleeves
  @pushlist 'BCCraftInfo' 0x13ec //3 Tunic
  // Chainmail
  @pushlist 'BCCraftInfo' 0x13bb //4 Coif
  @pushlist 'BCCraftInfo' 0x13be //5 Leggins
  @pushlist 'BCCraftInfo' 0x13bf //6 Tunic
  //Platemail
  @pushlist 'BCCraftInfo' 0x1410 //7Arms
  @pushlist 'BCCraftInfo' 0x1414 //8Gloves
  @pushlist 'BCCraftInfo' 0x1413 //9Gorget
  @pushlist 'BCCraftInfo' 0x1411 //10Legs
  @pushlist 'BCCraftInfo' 0x1415 //11(Tunic)
  @pushlist 'BCCraftInfo' 0x1c04 //12(Female)
  //Helmets
  @pushlist 'BCCraftInfo' 0x140c //13Bascinet
  @pushlist 'BCCraftInfo' 0x1408 //14Close helmet
  @pushlist 'BCCraftInfo' 0x140a //15Helmet
  @pushlist 'BCCraftInfo' 0x140e //16Norse helm
  @pushlist 'BCCraftInfo' 0x1412 //17Plate helm
  //Shields
  @pushlist 'BCCraftInfo' 0x1b73 //18Buckler
  @pushlist 'BCCraftInfo' 0x1b72 //19Bronze shield
  @pushlist 'BCCraftInfo' 0x1b76 //20Heater shield
  @pushlist 'BCCraftInfo' 0x1b7b //21Metal shield
  @pushlist 'BCCraftInfo' 0x1b74 //22Metall kite shield
  @pushlist 'BCCraftInfo' 0x1b79 //23Tear kite shield
  //Bladed
  @pushlist 'BCCraftInfo' 0x26bb //24Bone harvester
  @pushlist 'BCCraftInfo' 0xf5e //25Broadsword
  @pushlist 'BCCraftInfo' 0x26c1 //26Crescent blade
  @pushlist 'BCCraftInfo' 0x1441 //27Cutlass
  @pushlist 'BCCraftInfo' 0xf52 //28Dagger
  @pushlist 'BCCraftInfo' 0x13ff //29Katana
  @pushlist 'BCCraftInfo' 0x1401 //30Kryss
  @pushlist 'BCCraftInfo' 0xf61 //31Longsword
  @pushlist 'BCCraftInfo' 0x13b6 //32Scimitar
  @pushlist 'BCCraftInfo' 0x13b9 //33Viking sword
  //Axes
  @pushlist 'BCCraftInfo' 0xf49 //34Axe
  @pushlist 'BCCraftInfo' 0xf47 //35Battle axe
  @pushlist 'BCCraftInfo' 0xf4b //36Double axe
  @pushlist 'BCCraftInfo' 0xf45 //37Executioner's axe
  @pushlist 'BCCraftInfo' 0x13fb //38Large battle axe
  @pushlist 'BCCraftInfo' 0x1443 //39Two handed axe
  @pushlist 'BCCraftInfo' 0x13b0 //40War axe
  //Polearms
  @pushlist 'BCCraftInfo' 0xf4d //41Berdiche
  @pushlist 'BCCraftInfo' 0x26bd //42Bladed staff
  @pushlist 'BCCraftInfo' 0x26bf //43Double bladed staff
  @pushlist 'BCCraftInfo' 0x143e //44Halberd
  @pushlist 'BCCraftInfo' 0x26c0 //45Lance
  @pushlist 'BCCraftInfo' 0x26be //46Pike
  @pushlist 'BCCraftInfo' 0x1403 //47Short spear
  @pushlist 'BCCraftInfo' 0x26ba //48Scythe
  @pushlist 'BCCraftInfo' 0xf62 //49Spear
  @pushlist 'BCCraftInfo' 0x1405 //50War fork
  //Bashing
  @pushlist 'BCCraftInfo' 0x143d //51Hammer pick
  @pushlist 'BCCraftInfo' 0xf5c //52Mace
  @pushlist 'BCCraftInfo' 0x143b //53Maul
  @pushlist 'BCCraftInfo' 0x26bc //54Scepter
  @pushlist 'BCCraftInfo' 0x1407 //55War mace
  @pushlist 'BCCraftInfo' 0x1439 //56War hammer
  //Another
  @pushlist 'BCCraftInfo' 0x2b6e //57Circlet
  @pushlist 'BCCraftInfo' 0x2b6f //58Royalcirclet
endif
if not @findobject 'Restock'
  promptalias 'Restock'
endif
if diffweight 'self' < 20
  @movetype 0xeed 'backpack' 'Restock'
  pause 2000
endif
if @counttype 0x1bf2 0 'backpack' < 100
  if @movetype 0x1bf2 'Restock' 'backpack' 0 0 0 0 500
    pause 1500
  else
    sysmsg 'Out of ingots or Ingots is < 500!' 25
    @canceltarget
    stop
  endif
endif
if counttype 0x13e3 'any' 'backpack' <= 1
  usetype 0x1eb8 'any' 'backpack'
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 8
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 93
  waitforgump 0x38920abd 1500
  replygump 0x38920abd 0
  pause 500
endif
for 0 to 'BCCraftInfo'
  while @findtype BCCraftInfo[] 0 'backpack'
    if usetype! 0x13e3
      waitforgump 0x38920abd 1500
      @replygump 0x38920abd 14
      waitfortarget 1500
      if @findtype BCCraftInfo[] 0 'backpack'
        @target 'found'
      endif
      pause 500
    endif
  endwhile
endfor
if gumpexists 0x38920abd
  @settimer 'crafttime' 0
  if skill 'Blacksmithy' < 49.6
    //dagger
    replygump 0x38920abd 36
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 30
    while not @findtype BCCraftInfo[28] 'any' 'backpack'
      if timer 'crafttime' > 4000
        sysmsg 'break'
        break
      endif or timer 'crafttime' => 2000
    endwhile
  elseif skill 'Blacksmithy' < 64.5
    //mace
    replygump 0x38920abd 57
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 9
    while not @findtype BCCraftInfo[52] 'any' 'backpack'
      if timer 'crafttime' > 4000
        sysmsg 'break'
        break
      endif
    endwhile
  elseif skill 'Blacksmithy' < 86.7
    //Kryss
    replygump 0x38920abd 36
    waitforgump 0x38920abd 15000
    replygump 0x38920abd 44
    while not @findtype BCCraftInfo[30] 'any' 'backpack'
      if timer 'crafttime' > 4000
        sysmsg 'break'
        break
      endif
    endwhile
  elseif skill 'Blacksmithy' < 113.7
    //Circlet
    replygump 0x38920abd 22
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 93
    while not @findtype BCCraftInfo[57] 'any' 'backpack'
      if timer 'crafttime' > 4000
        sysmsg 'break'
        break
      endif
    endwhile
  elseif skill 'Blacksmithy' < 120
    //royal circlet
    replygump 0x38920abd 22
    waitforgump 0x38920abd 1500
    replygump 0x38920abd 100
    waitforgump 0x38920abd 1500
    while not @findtype BCCraftInfo[58] 'any' 'backpack'
      if timer 'crafttime' > 4000
        sysmsg 'break'
        break
      endif
    endwhile
  else
    headmsg 'Blacksmithy complete!'
    stop
  endif
else
  usetype 0x13e3 'any' 'backpack'
  waitforgump 0x38920abd 15000
endif
Tayschrenn
Posts: 6
Location: Peru

Re: need uosteam script for train blacksmith

Post by Tayschrenn »

tyvm :D
Post Reply