Yoko

All sides of Injection
It is currently 2025-10-14 23:12:39

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2005-01-26 18:45:59 
Offline

Joined: 2005-01-26 18:08:48
Posts: 2
Location: russia
sub taylor()
While uo.life>0
script:
UO.exec("useobject '^0x0F9D'")
UO.exec("waittargetobject '^0x1766'") # ткань
UO.exec("waitmenu 'Choose' 'carpets' 'What' 'carpet1' 'What' 'carpet corner - takes 10 cloth'")
wait(10000)
UO.exec("waittargetobject '^0x0AC2'") # то, что изготавнивает
UO.exec("useobject '^0x0F9E'")

wait(3000)
wend
end sub

когда выходит меню дальше не идет почему то ? и еще задержку на сохранение мира а то задолбался при схранении всю ткань на бинты режет

или выложите свой скрипт чтоб делал CARPET CORNER
а так же выложите 2 скрипта ТИНКЕРИНГ 1-чтоб делал Globe 2чтоб делал HARP
помогите пжалуста а то задолбался у самого скрипты переделать не получается когда просто меняешь тип предмета не хочет работать играю на шарде Middle-earth


Top
   
PostPosted: 2005-01-26 21:47:39 
Offline
User avatar

Joined: 2004-07-10 00:38:43
Posts: 203
Location: From DrW
noksik wrote:
задолбался у самого скрипты переделать не получается

Все помоему так в начале мучаются... :roll:


Top
   
PostPosted: 2005-01-26 22:04:47 
Offline

Joined: 2005-01-21 21:24:18
Posts: 1
noksik wrote:
sub taylor()
While uo.life>0
script:
UO.exec("useobject '^0x0F9D'")
UO.exec("waittargetobject '^0x1766'") # ткань
UO.exec("waitmenu 'Choose' 'carpets' 'What' 'carpet1' 'What' 'carpet corner - takes 10 cloth'")
wait(10000)
UO.exec("waittargetobject '^0x0AC2'") # то, что изготавнивает
UO.exec("useobject '^0x0F9E'")

wait(3000)
wend
end sub




строку UO.exec("waitmenu" '', '' ) надо поменять(на разных шардах она выглядит по разному ... )
пример для бланков ... :
UO.Exec("waitmenu 'Select an Item' 'Paper items' 'Choose an Item' 'Blank Scroll'")


Top
   
 Post subject:
PostPosted: 2005-01-27 16:52:07 
Offline
Junior Expert

Joined: 2004-09-18 15:12:06
Posts: 138
Команды типа wait* должны идти ПЕРЕД командами типа use*.

PS: если у меня будет время и желание, я, может быть, напишу скрипт на ковры...


Top
   
 Post subject:
PostPosted: 2005-01-27 18:00:12 
Offline
Junior Expert

Joined: 2004-09-18 15:12:06
Posts: 138
Превозмог свою лень :)
Получилось что-то типа этого:
Code:
sub TailorCarpet() 
  var carpetCornerType = 0x0AC2
  var clothType = 0x1766
  var sewingKitType = 0x0f9d
  var scissorsType = 0x0F9E
 
  while UO.Count(clothType) > 10
    UO.WaitMenu('Choose', 'carpets', 'Select', 'carpet1', 'Select', 'carpet corner')
    UO.WaitTargetType(clothType)
    UO.UseType(sewingKitType)

    wait(10000)

    UO.WaitTargetType(carpetCornerType)
    UO.UseType(scissorsType)

    wait(5000)
  wend
end sub


ВНИМАНИЕ: скрипт для шарда Middle-Earth. На других шардах может не работать.


Top
   
 Post subject:
PostPosted: 2005-02-06 03:11:39 
Offline
User avatar

Joined: 2005-01-15 14:34:26
Posts: 41
sub bolt()
VAR LastTimer
VAR Sunduk = '0x41780942' ; Сундук
VAR Pr = '0x40652705' ; Прялка
VAR nit = '0x0FA0'
repeat
hid()
uo.findtype(nit,-1,Sunduk)
if uo.FindCount() then
UO.Grab('100','finditem')
repeat
hid()
UO.Waittargetobject(Pr)
wait(500)
UO.UseType(nit)
LastTimer=UO.Timer()
repeat
wait(500)
until UO.InJournal('You put the bolt')OR UO.Timer()>LastTimer+200
wait(1000)
until UO.Count(nit)<1
UO.FindType( '0x0F95', -1, -1 )
UO.MoveItem( 'finditem' , 0, Sunduk )
else
uo.exec('terminate all')
endif
wait( 1000 )
until uo.dead()
end sub

sub Hid()
while not uo.Hidden()
UO.Exec("warmode 0")
uo.Print('Hiding...')
uo.UseSkill('Stealth')
wait(4000)
wend
wait(100)
end sub
###############################################

Почему то не берёт нитки помогите разобраться

_________________
Very Old Player


Top
   
 Post subject:
PostPosted: 2005-02-06 10:27:33 
Offline
Expert!
User avatar

Joined: 2004-05-31 09:31:51
Posts: 838
VAR nit = '0x0FA0'
ты уверен что нитки этого типа.....и уверен что они лежат в сундуке ...еще поробуй открыть сундук заранее.

_________________
Все просто.
BETEPAH ™


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 6 guests


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