Yoko

All sides of Injection
It is currently 2025-12-16 14:40:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Автолут на ID
PostPosted: 2009-03-17 14:51:38 
Offline

Joined: 2007-12-19 12:51:42
Posts: 83
ребята как сделать чтоб в обичном аутолуте добовлять предмети не по тайпу а по ID ??? пробывал вместо тайпа вставлять Айди но скрипт перестаёт работать норм.... вот мой скрипт

sub lut2()
var t,l,m
m=42 ## ?????????? ????? ??? ????
t=1700
dim LootingItem[42] ## ?????? ?????? ??? ????
LootingItem[1] = 0x1406 ## war mace
LootingItem[2] = 0x0B33 ## ID
LootingItem[3] = 0x0B33 ## ID
LootingItem[4] = 0x0B33 ## ID
LootingItem[5] = 0x0B33 ## ID
LootingItem[6] = 0x0B33 ## ID
LootingItem[7] = 0x0B33 ## ID
LootingItem[8] = 0x0B33 ## ID
LootingItem[9] = 0x0B33 ## ID
LootingItem[10] = 0x0B33 ## ID
LootingItem[11] = 0x0B33 ## ID
LootingItem[12] = 0x0B33 ## ID
LootingItem[13] = 0x0B33 ## ID
LootingItem[14] = 0x0B33 ## ID
LootingItem[15] = 0x0B33 ## ID
LootingItem[16] = 0x13FC ## xbow
LootingItem[17] = 0x143E ## stych
LootingItem[18] = 0x1400 ## kryss
LootingItem[19] = 0x108A ## ring
LootingItem[20] = 0x1415 ## plate chest
LootingItem[21] = 0x1411 ## plate legs
LootingItem[22] = 0x1410 ## plate arms
LootingItem[23] = 0x1412 ## plate helm
LootingItem[24] = 0x1414 ## plate gloves
LootingItem[25] = 0x1413 ## plate gorget
LootingItem[26] = 0x1BC3 ## devil shield
LootingItem[27] = 0x1BC4 ## angel shield
LootingItem[28] = 0x13B1 ## bow
LootingItem[29] = 0x0F60 ## sword
LootingItem[30] = 0x1406 ## war mace
LootingItem[31] = 0x13BA ## viking sword
LootingItem[32] = 0x143C ## hammer picka
LootingItem[33] = 0x0E76 ## kruglaja sumka
LootingItem[34] = 0x14EF ## check
LootingItem[35] = 0x144F ##
LootingItem[36] = 0x1415 ##
LootingItem[37] = 0x1412 ##
LootingItem[38] = 0x1410 ##
LootingItem[39] = 0x1413 ##
LootingItem[40] = 0x1414 ##
LootingItem[41] = 0x1411 ##
LootingItem[42] = 0x0EED ## bablo


uo.set("finddistance",4)
for l=1 to m
uo.findtype(LootingItem[l],"-1","1")
while uo.FindCount() > 0
uo.grab("0","finditem")
wait(t)
uo.findtype(LootingItem[l],"-1","1")
wend
next


if uo.GetSerial("lastcontainer") == uo.GetSerial(uo.ObjAtLayer('Bpack')) then
goto end
endif
for l=1 to m
uo.FindType(LootingItem[l],"-1","lastcontainer")
while UO.FindCount() > 0
uo.grab(0,"finditem")
wait(t)
uo.FindType(LootingItem[l],"-1","lastcontainer")
wend
next
end:
end sub


Top
   
 Post subject:
PostPosted: 2009-03-17 15:54:03 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Берете весь этот свой огромный скрипт и заменяете на:
Code:
uo.moveitem( "Ваш ID" )


PS: А вот нет у меня сегодня желания сказать, что то, что вы хотите кажется несколько бредовым.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2009-03-18 01:39:06 
Offline

Joined: 2007-12-19 12:51:42
Posts: 83
дестракт отпиши норм что да как


Top
   
 Post subject:
PostPosted: 2009-03-18 03:54:37 
Offline
User avatar

Joined: 2009-03-04 19:16:18
Posts: 54
скажи нам!!! ЗАЧЕМ тебе по айди лутать? ну вот зачем? чтоб 1 комплект откудато постоянно дёргать? зачем это?


Top
   
 Post subject:
PostPosted: 2009-03-18 13:23:23 
Offline

Joined: 2007-12-19 12:51:42
Posts: 83
да всё просто на шарде где я играю все тоскают ссобой много фейк итемов стоб сних быстро неслутили ценый шмот вот и всё


Top
   
 Post subject:
PostPosted: 2009-03-18 15:48:41 
Offline
User avatar

Joined: 2009-03-03 19:49:09
Posts: 6
ненадо тебе по ID тянуть он всегда новый для всего шмота на то он и ИД.... тебе в скрипте своём надо приоритет раставить что первым тянуть и всё.


Top
   
 Post subject:
PostPosted: 2009-03-18 16:01:25 
Offline
User avatar

Joined: 2009-03-04 19:16:18
Posts: 54
как я понял он перед каждой варкой будет тыкать в противника и вставлять айдишники.


Top
   
 Post subject:
PostPosted: 2009-03-18 16:38:59 
Offline

Joined: 2007-12-19 12:51:42
Posts: 83
вот вы флудерасты....... на моём серве не так много ценых шмоток каторые мне надо будет добавить по АЙДи мне просто надо стоб эксперт скрипт потправил


Top
   
 Post subject:
PostPosted: 2009-03-18 18:47:58 
Offline

Joined: 2008-03-12 14:35:20
Posts: 38
к сожалению сериал у каждого предмета свой. так что лутай по типу + цвету тогда уж.


Top
   
 Post subject:
PostPosted: 2009-03-18 20:00:12 
Offline

Joined: 2007-12-19 12:51:42
Posts: 83
блин вы чё себе посты набиваете? я ЗНАЮ что мне надо ! зачем флудить если подскозать толково неможете


Top
   
 Post subject:
PostPosted: 2009-03-18 22:45:45 
Offline

Joined: 2008-12-13 00:00:15
Posts: 174
zaelol wrote:
я ЗНАЮ что мне надо !

))

Code:
sub lut2()
var t,l,m
m=42 # массив
t=1700 # время
dim LootingItem[42]
LootingItem[1] = 0x14060000 ## war mace
LootingItem[2] = 0x0B330000## ID
...
LootingItem[41] = 0x14110000 ##
LootingItem[42] = 0x0EED0000 ## bablo

for l=1 to m
if uo.getdistance(LootingItem[l]) <= 3 then
uo.grab("0",LootingItem[l])
wait(t)
end if
next
end sub


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

All times are UTC+02:00


Who is online

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