Yoko

All sides of Injection
It is currently 2025-10-22 00:55:14

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2006-10-05 22:31:30 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
ВОТ СКРИПТ ХИЛ-Лут
Как его совместить что бы работало, как тока убью монстра сразу лут. и Хилялся сразу после слов *You put the bloody bandages in your pack* а не повремени!!!


Code:
sub heal()    
VAR X=0
repeat
   if uo.life < uo.str then   ;;; healing
   while uo.life < uo.str
      uo.exec("bandageself")
      uo.deletejournal()
      while not (X == 100 or uo.injournal("backpack") or uo.injournal ("reach that") or uo.injournal("current state") or uo.injournal("barely") or uo.injournal("mummy") or uo.injournal("target info"))
         wait(100)
         X=X+1
         if uo.injournal("reach that") or uo.injournal("current state") or uo.injournal("target info") then
            wait(1000)
         endif
         if uo.stamina < 50 then
            uo.usetype("0x0F0B") ;ïüåì ðåôðåøêó
         endif
      wend
   X=0
   wend
      uo.deletejournal()
endif
wait(100)
until uo.dead()
end sub



Это второй :) их наверно тут надо совместить :( И он почему то выключаеться когда отдельно лук используешь :( а мне надо чо бы всевремя работал :roll:
Code:
sub loot() 
## written by Nick :)
Dim loot[10]
loot[0] = '0x0EED' ; gold
loot[1] = '0x0F13' ; tickets
loot[2] = '0x0EF0' ; slots
loot[3] = '0x097A' ; windgems
loot[4] = '0x14EB' ; maps
loot[5] = '0x0DF2' ; wand
loot[6] = '0x0DF3' ; wand
loot[7] = '0x0DF4' ; wand
loot[8] = '0x0DF5' ; wand
loot[9] = '0x1078' ; hides
var h,i,j,k,l,m,n
var cutem = 1
If UO.Targeting() then
UO.CancelTarget()
EndIf
UO.SetReceivingContainer("catch")
i = 250
h = 500
FOR j = 0 To 9
UO.FindType(loot[j],"-1",'ground')
If UO.FindCount() > 0 then
UO.Grab(0, "finditem")
Wait(i)
UO.FindType(loot[j],"-1",'ground')
endIf
next
UO.FindType('0x0E75','0x0000',"ground")
If UO.FindCount() > 0 then
UO.AddObject("BPackg","finditem")
UO.Ignore("finditem")
UO.UseObject("BPackg")
Wait(i)
FOR m = 0 TO 9
UO.FindType(loot[m],"-1","BPackg","ground")
While UO.FindCount() > 0
UO.Grab(0, "finditem")
UO.Print("Found in a Backpack on the ground "+str(UO.FindCount()))
Wait(i)
UO.FindType(loot[m],"-1","BPackg","ground")
Wend
next
EndIf
If UO.GetQuantity('lastcorpse') then
UO.UseObject("lastcorpse")
wait(h)
If cutem==1 then
UO.SetArm('temp')
wait(i)
UO.Arm('2') ; Right handed bladed weapon use ",setarm 2"
Wait(h)
UO.WaitTargetObject('lastcorpse')
UO.UseObject(UO.Objatlayer("Rhand"))
wait(h)
UO.Arm('temp')
EndIf   
FOR n = 0 TO 9
UO.FindType(loot[n],"-1","lastcorpse")
While UO.FindCount() > 0
If loot[n] == '0x1078' then ; leather
UO.WaitTargetObject("finditem")
UO.UseType("0x0F9E") ; sissors
UO.Print("scissors")
wait(i)
Else
UO.Grab(0, "finditem")
wait(i)
UO.FindType(loot[n],"-1","lastcorpse")
Wend
EndIf
next
UO.FindType('0x0E75',"-1","lastcorpse") ;Backpack
If UO.FindCount() > 0 then
repeat
UO.AddObject("BP","finditem")
UO.Ignore("finditem")
UO.UseObject("BP")
Wait(h)
FOR l = 0 TO 9
UO.FindType(loot[l],"-1","BP","lastcorpse")
While UO.FindCount() > 0
UO.Grab(0, "finditem")
UO.Print("Found in a Backpack "+str(UO.FindCount()))
Wait(i)
UO.FindType(loot[l],"-1","BP","lastcorpse")
Wend
next
UO.FindType('0x0E75',"-1","lastcorpse") ;Backpack
until uo.findcount() == 0
EndIf
UO.FindType('0x0E76',"-1","lastcorpse") ;Bag
If UO.FindCount() > 0 then
UO.AddObject("Bag","finditem")
UO.Ignore("finditem")
UO.UseObject("Bag")
Wait(h)
UO.WaitTargetObject("Bag")
UO.Exec('emptycontainer 10')
EndIf
EndIf
UO.FindType('0x0F0E','0x0000',"lastcorpse") ;Bottles
If UO.FindCount() > 0 then
UO.Grab(0, "finditem")
EndIf
UO.UnsetReceivingContainer()
End Sub


Last edited by Shadowdancer on 2006-10-06 10:30:59, edited 4 times in total.

Top
   
 Post subject:
PostPosted: 2006-10-05 23:21:26 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Я ведь тебе писал - пости скрипты правильно, в тегах кода. Прочитай правила, там написано об этом. Это же легко, всего лишь надо выделить текст скрипта в окне и нажать кнопку Code выше.

_________________
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...


Top
   
 Post subject:
PostPosted: 2006-10-06 10:18:21 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Едгар тут наверно ненадо некакой код...

Это не тот скрипт тут тока совместить надо :)
Помоги пожалуйста, в это все долго вникать а у меня работа,семья,дети :!: :wink:


Top
   
 Post subject:
PostPosted: 2006-10-06 15:30:10 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
по журналу:
Code:
repeat
wait(250)
until uo.injournal('body')

Code:
repeat
wait(250)
until uo.injournal('fail|you put')

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


Top
   
 Post subject:
PostPosted: 2006-10-06 16:08:23 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Я тебя очень прошу вставь куда надо, а то я нешарю куда его вставлять! ЧАЙНИК !!! что бы весь скрипт что я скинул был вместе как его соединить я незнаю :((( я же в самом верху написал


Top
   
 Post subject:
PostPosted: 2006-10-06 16:29:02 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
sub looping()
uo.deletejournal()
while true
if uo.injournal('body') then
uo.deletejournal()
loot()
heal()
endif
wait(500)
wend
endsub


sub loot()
Dim loot[10]
loot[0] = '0x0EED' ; gold
loot[1] = '0x0F13' ; tickets
loot[2] = '0x0EF0' ; slots
loot[3] = '0x097A' ; windgems
loot[4] = '0x14EB' ; maps
loot[5] = '0x0DF2' ; wand
loot[6] = '0x0DF3' ; wand
loot[7] = '0x0DF4' ; wand
loot[8] = '0x0DF5' ; wand
loot[9] = '0x1078' ; hides
var h,i,j,k,l,m,n
var cutem = 1
If UO.Targeting() then
UO.CancelTarget()
EndIf
UO.SetReceivingContainer("catch")
i = 250
h = 500
FOR j = 0 To 9
UO.FindType(loot[j],"-1",'ground')
If UO.FindCount() > 0 then
UO.Grab(0, "finditem")
Wait(i)
UO.FindType(loot[j],"-1",'ground')
endIf
next
UO.FindType('0x0E75','0x0000',"ground")
If UO.FindCount() > 0 then
UO.AddObject("BPackg","finditem")
UO.Ignore("finditem")
UO.UseObject("BPackg")
Wait(i)
FOR m = 0 TO 9
UO.FindType(loot[m],"-1","BPackg","ground")
While UO.FindCount() > 0
UO.Grab(0, "finditem")
UO.Print("Found in a Backpack on the ground "+str(UO.FindCount()))
Wait(i)
UO.FindType(loot[m],"-1","BPackg","ground")
Wend
next
EndIf
If UO.GetQuantity('lastcorpse') then
UO.UseObject("lastcorpse")
wait(h)
If cutem==1 then
UO.SetArm('temp')
wait(i)
UO.Arm('2') ; Right handed bladed weapon use ",setarm 2"
Wait(h)
UO.WaitTargetObject('lastcorpse')
UO.UseObject(UO.Objatlayer("Rhand"))
wait(h)
UO.Arm('temp')
EndIf   
FOR n = 0 TO 9
UO.FindType(loot[n],"-1","lastcorpse")
While UO.FindCount() > 0
If loot[n] == '0x1078' then ; leather
UO.WaitTargetObject("finditem")
UO.UseType("0x0F9E") ; sissors
UO.Print("scissors")
wait(i)
Else
UO.Grab(0, "finditem")
wait(i)
UO.FindType(loot[n],"-1","lastcorpse")
Wend
EndIf
next
UO.FindType('0x0E75',"-1","lastcorpse") ;Backpack
If UO.FindCount() > 0 then
repeat
UO.AddObject("BP","finditem")
UO.Ignore("finditem")
UO.UseObject("BP")
Wait(h)
FOR l = 0 TO 9
UO.FindType(loot[l],"-1","BP","lastcorpse")
While UO.FindCount() > 0
UO.Grab(0, "finditem")
UO.Print("Found in a Backpack "+str(UO.FindCount()))
Wait(i)
UO.FindType(loot[l],"-1","BP","lastcorpse")
Wend
next
UO.FindType('0x0E75',"-1","lastcorpse") ;Backpack
until uo.findcount() == 0
EndIf
UO.FindType('0x0E76',"-1","lastcorpse") ;Bag
If UO.FindCount() > 0 then
UO.AddObject("Bag","finditem")
UO.Ignore("finditem")
UO.UseObject("Bag")
Wait(h)
UO.WaitTargetObject("Bag")
UO.Exec('emptycontainer 10')
EndIf
EndIf
UO.FindType('0x0F0E','0x0000',"lastcorpse") ;Bottles
If UO.FindCount() > 0 then
UO.Grab(0, "finditem")
EndIf
UO.UnsetReceivingContainer()
End Sub

sub heal()
while uo.life < uo.str
uo.deletejournal()
uo.bandageself()
repeat
wait(250)
until uo.injournal('you put|help')
wend
end sub


Code:
until uo.injournal('you put|help')
здесь отредактировать сообщения каторые появляются при хилинге...

удачи :roll:

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


Top
   
 Post subject:
PostPosted: 2006-10-06 16:45:30 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Все вырубает сразу тока ЛОПИНГ остаеться в скрипте оно раз хил и все, и лут раз и все вырубаеться (


Top
   
 Post subject:
PostPosted: 2006-10-06 16:53:39 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Shadowdancer wrote:
Все вырубает сразу тока ЛОПИНГ остаеться в скрипте оно раз хил и все, и лут раз и все вырубаеться (


запускать надо только лупинг!
надо убить кагота чтоб в журнале появился текст- боди, тогда он по идее должен лутать и хилится...

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


Top
   
 Post subject:
PostPosted: 2006-10-06 17:25:17 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Ладно, спасибо большое тебе. я уже подругому придумал :))


Top
   
 Post subject:
PostPosted: 2006-10-07 23:34:43 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Форест варз?

Вот тебе хил:

Code:
sub AutoHeal()
; (c) Edred
   VAR Success = 'You put the bloody bandage'
   VAR Fizzle = 'failed.'
   VAR bandag = '0x0E21'
   VAR k
   repeat
      If UO.GetHP() < UO.GetMaxHP() - 20 Then
         If UO.Count( Bandag ) > 0 Then
            DeleteJournal( Success )
            DeleteJournal( Fizzle )
            k = 0
            UO.Bandageself()
            repeat
               wait(50)
               k = k + 1
            until UO.InJournal( Success ) or UO.InJournal( Fizzle ) or k > 100
         Else
            return
         Endif
      Else
         wait(500)
      Endif
   until UO.Life == 0
endsub


Запускаешь, забываешь. А лутить лучше отдельным скриптом.

_________________
Ни один скрипт не работает? Пора обновить Инжект...

Все работает, но хочется большего? Пора переходить на стелс...


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: No registered users and 8 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