Yoko

All sides of Injection
It is currently 2025-12-03 22:08:36

All times are UTC+02:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
PostPosted: 2006-12-20 22:25:11 
Offline
User avatar

Joined: 2006-04-02 11:33:38
Posts: 91
Здравствуйте, возможно, ли дописать к скрипту что бы он сам брал из определенного мешка свинью, зажаренную раз в день и ел ее?

Code:
sub main() 
var mx, my, mz, i, j
var ismining, ixx, isheavy
mx = UO.GetX("self")
my = UO.GetY("self")
mz = UO.GetZ("self")

wait(1000)
UO.Exec('terminate Reconnector')
wait(1000)
UO.Exec('exec Reconnector')
wait(1000)
uo.setcatchbag('0x40251781')

While not UO.Dead()
UO.DeleteJournal()


for i = mx-4 to mx+4
for j = my -4 to my+2
UO.Print("Now Mining In: "+str(mx-i)+" "+str(my-j))
ismining = 1
while not UO.InJournal("no ore here") and not UO.InJournal("location") and not UO.InJournal("far away") and not UO.InJournal("in rock") and ismining

UO.DeleteJournal()
hide()
UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.Usetype('0x0F39')
ixx = 0
ismining=1
while not UO.InJournal("You put") and not UO.InJournal("location")and not UO.InJournal("but fail") and not UO.InJournal("no ore") and not UO.InJournal("far away") and not UO.InJournal("in rock") and ixx <= 100
wait (1500)
ixx = ixx + 1
wend
while UO.InJournal("but fail")
Wait (3000)
UO.DeleteJournal()
wend




if uo.injournal("Dull Copper") then
ismining = 0
endif

if not ismining then
uo.print("Not mining here")
endif
wend
UO.DeleteJournal()
next
next
wend
end sub

sub hide()     
     while not UO.Hidden()
          UO.Warmode("0")
          UO.UseSkill("Hiding")
          wait(4000)
     wend
end sub
 

sub CheckLag()
UO.DeleteJournal()
UO.Click('backpack')

repeat
wait(500)
until UO.InJournal('backpack')
end sub

Sub Reconnector()
var RFlag
RFlag = 1
Repeat
While (UO.ObjAtLayer('Bpack') == '')
if RFlag Then
RFlag = 0
endif
Wait(20000)
UO.Say('')
Wait(3000)
UO.Say('')
Wait(3000)
UO.Say('')
Wait(3000)
UO.LDblClick(357,164)
UO.LClick(616,459)
Wait(3000)
WEnd
Wait(3000)
if (RFlag == 0) Then
UO.Exec('terminate main')
wait(1000)
UO.Exec('exec main')
wait(1000)
RFlag = 1
endif
Until false
end sub


Top
   
 
 Post subject:
PostPosted: 2006-12-21 01:08:42 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
есть разные варианты, проверять голоден ли ты или просто брать, кусать, если что- положить обратно...

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 
 Post subject:
PostPosted: 2006-12-21 07:17:37 
Offline
User avatar

Joined: 2006-04-02 11:33:38
Posts: 91
Ну что поможешь впишешь в скрипт что бы он ел? :lol: :oops:


Top
   
 
 Post subject:
PostPosted: 2006-12-22 12:49:35 
Offline
User avatar

Joined: 2006-04-02 11:33:38
Posts: 91
народ ну помогите пилззз


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited