Yoko

All sides of Injection
It is currently 2025-12-07 21:26:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: helo BS
PostPosted: 2007-11-25 20:29:28 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
под оском бс с переплавкой поделитесь пожалуйсто ( чтобы плавил снова брал молоток и продолжал кувать) пожалуйсто!


Top
   
 Post subject:
PostPosted: 2007-11-25 21:07:33 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Тебе сказачно повезло. Недавно был на оскоме, качал бс и правил под себя скрипт. Держи
Code:
################## 
# Black Smithing #
##################
#
# Ignots on the ground. Smith hammer on the right hand.
# We're standing near a forge, which we'll target and
# near ingots. If you can't find ingots - ,set finddistance 10
# When a quantity of produced item more than 20 -smelthing
# for ingots.
# 21.12.06 .Tested on shard Dragon World
#
sub BlackSmithingYMD()
 var IngType=0x1BF2 # Type of ignots to smith
 var IngColor=0x0000 # Color of ingots to smith
 var Item=0x1440 # Type of a produced item
 var hammer=0x13E3
 var k
 uo.AddObject('Forge')
 while uo.Targeting()
   wait(100)
 wend
 uo.AddObject('Sunduk')
 while uo.Targeting()
   wait(100)
 wend
 uo.UseObject('Sunduk')
 wait(1000)
  while uo.SkillVal('Blacksmithing','1') < 1000
    uo.DeleteJournal()
    uo.FindType(IngType,IngColor,'backpack')
    if not uo.FindCount() || uo.GetQuantity('finditem') < 50 then
      GetItem(IngType,IngColor,200,'Sunduk','backpack')
    end if
    k=0
    uo.waitmenu('Blacksmithing','Weapons','Weapons','Swords','Swords','cutlass')  # Change
    uo.UseObject('finditem')
    repeat
      k=k+1
      wait(100)
    until uo.InJournal('put') || uo.InJournal('íå ñìîãëè') || k>100
    if uo.InJournal('put') then
      uo.FindType(Item,'-1','backpack')
      if uo.FindCount() > 3 then
        while uo.FindCount() > 0
          uo.WaitTargetObject('finditem')
          uo.UseObject('Forge')
          wait(750)
          uo.FindType(Item,'-1','backpack')
        wend
      end if
      wait(50)
      uo.UseType(hammer)
      wait(750)
    end if
  wend
end sub

###########
# GetItem #
###########

sub GetItem(type, color, quantity, where , to)
  uo.FindType(type,'-1',where)
  if uo.FindCount() then
    uo.moveitem('finditem',quantity,to)
    wait(750)
  end if
end sub


Top
   
 Post subject:
PostPosted: 2007-11-28 13:50:51 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
опа хелло )) ещё не тестил но надеюсь скрипт имба? ))


Top
   
 Post subject:
PostPosted: 2007-11-30 18:30:44 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
LinE 39 PARSE ERORR


Top
   
 Post subject:
PostPosted: 2007-11-30 18:42:22 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
LINE 41


Top
   
 Post subject:
PostPosted: 2007-11-30 19:42:28 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
На 39ой и 41ой строках ошибки нет.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2007-11-30 19:51:16 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
а почему скрипт не работает у меня? мне надо кувать дагерры я менял мб чё то нето? поменяйте плиз по братскии


Top
   
 Post subject:
PostPosted: 2007-12-01 00:13:49 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
'Плиз по братски' это как то звучит...


Top
   
 Post subject:
PostPosted: 2007-12-01 01:11:17 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Самое интересное что скрипт копи/паст из своего автолода,-не понятно как я не заметил ошибки когда качал бс.


Top
   
 Post subject:
PostPosted: 2007-12-24 22:53:05 
Offline
User avatar

Joined: 2004-12-28 19:31:44
Posts: 143
все работает гуд , но висит таргет ненужный , не подскажите пожалуйста как его убрать ? (после переплавки вещей молоток падает из рук , кувать также можно нажав на инги)
шард оском


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited