Yoko

All sides of Injection
It is currently 2025-12-29 13:33:07

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2005-06-13 08:33:42 
Offline
User avatar

Joined: 2005-06-02 11:56:46
Posts: 4
Вот скрипт на котором я качаю БС:

Code:
sub bs() 
VAR Exit=0, LastTimer, Forge='0x412787C1', Cont='0x414E3335', ingots='0x1BF2' 
while Exit<>1
UO.DeleteJournal()
LastTimer=UO.Timer()
UO.AutoMenu('Blacksmithing','Weapons');
UO.AutoMenu('Weapons','Swords');
UO.AutoMenu('Swords','katana');
UO.UseType(ingots)
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You have failed")
wait(100)
wend
If UO.InJournal("You have failed") then
repeat
wait(100)
until UO.Timer()>=LastTimer+100
EndIf
wend
end sub

И у меня очень часто в отдельном окошке вылетает ошибка "Unhandled exception in parser", можно ли как-нибудь исправить ее? А то нормально не могу покачать БС, так как она вылетает постоянно.. =(


Top
   
 Post subject:
PostPosted: 2005-06-13 08:36:21 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
пробуй...
устанавливать меню больше одного раза нет смысла.
Code:
sub bs()
VAR Exit=0, LastTimer, ingots='0x1BF2'
UO.AutoMenu('Blacksmithing','Weapons');
UO.AutoMenu('Weapons','Swords');
UO.AutoMenu('Swords','katana');
while Exit<>1
   UO.DeleteJournal()
   LastTimer=UO.Timer()   
   UO.UseType(ingots)
   while NOT UO.InJournal("You put") AND NOT UO.InJournal("You have failed")
      wait(100)
   wend
   If UO.InJournal("You have failed") then
      repeat
         wait(100)
      until UO.Timer()>=LastTimer+100
   EndIf
wend
end sub


Top
   
 Post subject:
PostPosted: 2005-06-13 08:45:46 
Offline
User avatar

Joined: 2005-06-02 11:56:46
Posts: 4
2 Sfagnum: сенк вроде помогло.. =)
Может вы тогда мне еще поможете, допишите скрипт, чтобы он реколился по руне, продавал однотипные предметы(катаны), возвращался, брал определенное кол-во ингов (500) и кувал дальше и чтобы это все повторялось, пока с сундуке не закочатся инги..


Top
   
 Post subject:
PostPosted: 2005-06-13 09:02:58 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
FenixXx wrote:
2 Sfagnum: сенк вроде помогло.. =)
Может вы тогда мне еще поможете, допишите скрипт, чтобы он реколился по руне, продавал однотипные предметы(катаны), возвращался, брал определенное кол-во ингов (500) и кувал дальше и чтобы это все повторялось, пока с сундуке не закочатся инги..
забесплатно - нет.
на игру времени не хватает :(


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 0 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