It is currently 28 Mar 2024, 12:54

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 09 Dec 2018, 20:24 
Offline
Начинающий игрок

Joined: 14 Mar 2018, 02:13
Posts: 26
sub rez()
UO.UseType('0x0EC4')
UO.WaitTargetObject('lastcorpse')
wait(500)
loot()
end sub

sub loot()
DIM R[16]
var a
R[1] = '0x0EED'; Gold coints
R[2] = '0x14EF'; Enchant
R[3] = '0x14ED'; Treasure Map
R[4] = '0x0FBD'; About Book
R[5] = '0x175D'; Cloth
R[6] = '0x14EB'; Open Treasure Map
R[7] = '0x11F4'; Furs
R[8] = '0x0F78'; Batwings
R[9] = '0x0F8E'; Nox Crystal
R[10] = '0x1078'; Standart Hide
R[11] = '0x0F7E'; Bones
R[12] = '0x11F6'; Furs2
R[13] = '0x1010'; Keys
R[14] = '0x0F87'; Eyes Of Newt
R[15] = '0x0F3F'; Arrows
R[16] = '0x1BFB'; Crossbow bolt

UO.UseObject('lastcorpse')
wait(500)
for a=1 to 16
uo.findtype(R[a],"-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(1500)
end if
wait(10)
next
wait(300)
end sub

для нормальной работы необходимо прописать в инжекте в хоткеях
exec __runonce#rez и назначаем кнопку
примерно как на скрине
Attachment:
инжект.png
инжект.png [ 32.46 KiB | Viewed 1230 times ]



тоесть для нормальной работы
1 прописываем в хоткеях команду exec __runonce#rez назначаем кнопку
2 запускаем скрипт (если через файлы инжект не видит...выбираем все файлы там видно все)
3 убили моба нажали кнопочку весь лут за некоторым исключением собрался в бетпак (что не собралось то ручками)
4 наслаждаемся игрой


Top
 Profile  
 
PostPosted: 09 Dec 2018, 22:35 
Offline
Игрок

Joined: 16 Nov 2018, 18:45
Posts: 236
Вместо sub loot()
sub Lootall()
var n = 0, ok, corpse, i, container = 'backpack' ; Êîíòåéíåð-ïðèåìíèê
dim ignore[14] ; Îáùåå êîë-âî ýëåìåíòîâ â ìàññèâå
ignore[0] = '0x1234'
ignore[1] = '0x1234'
ignore[2] = '0x1234'
ignore[3] = '0x1234'
ignore[4] = '0x0F0B'
ignore[5] = '0x09B0'
ignore[6] = '0x0E76'
ignore[7] = '0x0EFC'
ignore[8] = '0x0F0E'
ignore[9] = '0x1847'
ignore[10] = '0x0E21'
ignore[11] = '-1 0x0837'
ignore[12] = '0x1363'
ignore[13] = '0x09F1'

if uo.getserial(container) <> uo.getserial('lastcontainer') and uo.getserial('backpack') <> uo.getserial('lastcontainer') then
uo.ignorereset()
corpse=uo.getserial('lastcontainer')
uo.findtype(-1,-1,corpse)
repeat
uo.findtype(-1,-1,corpse)
if uo.findcount() then
ok = 1
for i = 0 to 13 ; Îáùåå êîë-âî ýëåìåíòîâ â ìàññèâå ìèíóñ îäèí
if uo.getgraphic('finditem') == ignore[i] then
ok = 0
endif
next
if n==uo.getserial('finditem') or not ok then
uo.ignore('finditem')
else
n=uo.getserial('finditem')
uo.moveitem('finditem',0,container)
uo.print(' item '+str(uo.findcount()))
wait(1100)
endif
endif
until not uo.findcount()
endif
uo.print(' -= Done =- ')
endsub
Лутать всё, наслаждаться жизнью. В массив то, что лутать не хотите.


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

All times are UTC + 2 hours [ DST ]


Who is online

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