autoloot update

Ask for help

Moderators: Murderator+, Murderator

Post Reply
4elovek
Posts: 19
Joined: 2008-01-02 12:01:17
Location: __
Contact:

autoloot update

Post by 4elovek »

Code: Select all

sub loottrup() 
var t,l
t=1100
dim LootingItem[78]
uo.Print('наченаем лутать...') 
LootingItem[1] = 0x35B6 ## - elf luk
LootingItem[2] = 0x13B1 ## - bow
LootingItem[3] = 0x1B7A ## - 6it s dereva
LootingItem[4] = 0x35B5 ## - knukle
LootingItem[5] = 0x1541 ## - sash
LootingItem[6] = 0x35B7 ## - savage
LootingItem[7] = 0x0DF0 ## - staf
LootingItem[8] = 0x144E ## brasleti
LootingItem[9] = 0x0F45 ## - zironik
LootingItem[10] = 0x13BC ## - poison nogi
LootingItem[11] = 0x1451 ## - bone helm
LootingItem[12] = 0x13BB ## - chanmail 6lem
LootingItem[13] = 0x13BF ## - chanmail grud
LootingItem[14] = 0x13BE ## - chanmail nogi
LootingItem[15] = 0x13DB ## - student grut'   
LootingItem[16] = 0x13DA ## - student nogi
LootingItem[17] = 0x13D4 ## - student ple4i
LootingItem[18] = 0x13D5 ## - student gloves
LootingItem[19] = 0x1DB9 ## - student 6lem
LootingItem[20] = 0x13D6 ## - student 6eja
LootingItem[21] = 0x13BD ## - full fire
LootingItem[22] = 0x1C08 ##
LootingItem[23] = 0x1B78 ##
LootingItem[24] = 0x171A ##
LootingItem[25] = 0x0DF2 ##
LootingItem[26] = 0x35B8 ##
LootingItem[27] = 0x1515 ## - full air
LootingItem[28] = 0x144F ##
LootingItem[29] = 0x1414 ##
LootingItem[30] = 0x1539 ##
LootingItem[31] = 0x170B ##
LootingItem[32] = 0x140E ##
LootingItem[33] = 0x35AB ##
LootingItem[34] = 0x0F60 ## - sword
LootingItem[35] = 0x13AF ## - war akse
LootingItem[36] = 0x13FE ## - katana
LootingItem[37] = 0x0F4B ## - duble axe
LootingItem[38] = 0x1404 ## - taksametr
LootingItem[39] = 0x0F51 ## - dager
LootingItem[40] = 0x3609 ## - pike
LootingItem[41] = 0x1400 ## - cryss
LootingItem[42] = 0x1406 ## - bone crusher
LootingItem[43] = 0x1416 ## - plate grut'     ARMOR plate
LootingItem[44] = 0x141A ## - platenogi
LootingItem[45] = 0x1410 ## - ple4i
LootingItem[46] = 0x1414 ## - ruki
LootingItem[47] = 0x1413 ## - 6eja
LootingItem[48] = 0x1412 ## - 6lem
LootingItem[49] = 0x1B76 ## - 6it heater
LootingItem[50] = 0x1C04 ## - siski
LootingItem[51] = 0x1B7B ## - kruglij 6it
LootingItem[52] = 0x13EC ## -  grut'       ringmail
LootingItem[53] = 0x13F0 ## -  nogi
LootingItem[54] = 0x13EE ## -  ple4i
LootingItem[55] = 0x13EB ## -  gloves
LootingItem[56] = 0x140E ## -  6lem
LootingItem[57] = 0x1B74 ## - kite 6eld       
LootingItem[58] = 0x170D ## - sandali
LootingItem[59] = 0x152E ## - pants
LootingItem[60] = 0x1451 ## - darkmagic
LootingItem[61] = 0x1EFD ## -
LootingItem[62] = 0x1713 ## -
LootingItem[63] = 0x1BC3 ## -
LootingItem[64] = 0x170F ## -
LootingItem[65] = 0x35A9 ## -
LootingItem[66] = 0x1F4C ## -
LootingItem[67] = 0x183E ## -
LootingItem[68] = 0x1F03 ## -
LootingItem[69] = 0x1087 ## - sergi
LootingItem[70] = 0x1086 ## - braslet
LootingItem[71] = 0x108A ## - kolco
LootingItem[72] = 0x1088 ## - neclas
LootingItem[73] = 0x0E24 ## - repear kristal
LootingItem[74] = 0x183A ## - reflecti
LootingItem[75] = 0x1F03 ## - roba
LootingItem[76] = 0x0E34 ## - scroli
LootingItem[77] = 0x183C ## - ar4 banki
LootingItem[78] = 0x3608 ## - bladed bow
for l=1 to 78

uo.FindType(LootingItem[l],"-1","lastcontainer")
if uo.FindCount()>0 and uo.GetDistance("lastcontainer")<=2 then
uo.Grab(1,"finditem")
uo.Print('opa-opa: '+str(uo.findcount()))
wait(t)
end if
next
uo.Print('ВСЁ!!!.')
end sub


нада чтобы когда шмот из массива в трупе заканчивался, скрипт лутал всё что осталось.
ADEPT_ABP
Posts: 223
Joined: 2006-05-12 08:03:45
Contact:

Post by ADEPT_ABP »

если хочешь, что бы скрипт лутал ВСЁ!!!, то тебе не нужен массив, а вместо

Code: Select all

uo.FindType(LootingItem[l],"-1","lastcontainer")
ставь

Code: Select all

uo.FindType("-1","-1","lastcontainer")

И ещё тебе надо заменить

Code: Select all

for l=1 to 78
на

Code: Select all

repeat
а строку

Code: Select all

next
на

Code: Select all

until uo.findcount()==0


Примерно так. :)
Играю на drw.ru
Использую инжект 505.18 VeNd0r
Начинающий скриптер.
Post Reply