Yoko

All sides of Injection
It is currently 2025-12-29 06:29:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Хелп скрипт
PostPosted: 2007-09-27 04:40:47 
Offline

Joined: 2007-07-09 18:48:42
Posts: 54
Code:
sub FISHING() 

DIM ULOVtype[7]

ULOVtype[0] = '0x09CC' #fish1

ULOVtype[1] = '0x09CD' #fish2

ULOVtype[2] = '0x09CE' #fish3

ULOVtype[3] = '0x09CF' #fish4

ULOVtype[4] = 'UUF' #heal

ULOVtype[5] = 'DMF' #ball

ULOVtype[6] = 'RVH' #sos Tattered Treasure map

VAR udochka = 'XHF'

VAR nozh = '0x0F51'

VAR NumTile = '6043'

VAR MaxWeigth = UO.STR*4

VAR i, x, y, k

wait(200)

UO.Equipt('Rhand', udochka)

start:

for x=-6 to 6

for y=-6 to 6

UO.Print("Hochu mnogo Unikov: " + str(x) + " " + str(y))

UO.DeleteJournal()

while not UO.InJournal("no fish here") and not UO.InJournal("location") and not UO.InJournal("far away") and not UO.InJournal("in water")and not UO.InJournal("Try fishing elsewhere")

k = 0

if UO.Weight > MaxWeigth then

goto finish

endif

UO.DeleteJournal()

UO.WaitTargetTile(NumTile, str(UO.GetX()+x), str(UO.GetY()+y), str(UO.GetZ()))

UO.UseType(udochka)

while not (UO.InJournal("in water") or UO.InJournal("far away") or UO.InJournal("but fail") or UO.InJournal("You pull") or UO.InJournal("no fish here") or UO.InJournal("location") or k==50)

k = k + 1

wait(100)

if UO.InJournal("Targeting Cancelled") then

goto start

endif

wend

#Horosho idet

if UO.InJournal("You put") then

for i=0 to 6

UO.FindType(ULOVtype[i], '-1', 'ground')

UO.MoveItem('finditem')

wait(50)

next

endif

wend

next

next

finish:

UO.Print("Nu vot v Pake Unik")

wait(1000)

#ne Pizti

UO.Print("A ti dumal ya noob")

for i=0 to 3

UO.WaitTargetType(ULOVtype[i])

UO.UseType(nozh)

wait(1000)

next

if UO.Weight < MaxWeigth-5 then

goto start

endif

UO.Print("Lovis ribka bolshay i malenkaya")

endsub


Мне надо что бы когда вылезал елем он писал комманду .Camp Heal и девал ужие, после того как убьет елема лутал его и дальше продолжал ловить!В скрипте поясниет где мне вписывать типы того что он будет лутать


Top
   
 Post subject:
PostPosted: 2007-09-29 02:03:20 
Offline

Joined: 2007-07-09 18:48:42
Posts: 54
Ребят ну неужели так тяжело? Ветеран хоть откликнись


Top
   
 Post subject:
PostPosted: 2007-10-05 07:23:41 
Offline

Joined: 2007-07-09 18:48:42
Posts: 54
Я не понимаю это разве сложно ? Ведь я подчти уверен что это пару строчек даже лут не так важен как просто что бы он одевал оружие и после убийства опять ловил


Top
   
 Post subject:
PostPosted: 2007-10-05 07:25:36 
Offline

Joined: 2007-07-09 18:48:42
Posts: 54
Я не понимаю это разве сложно ? Ведь я подчти уверен что это пару строчек даже лут не так важен как просто что бы он одевал оружие и после убийства опять ловил


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