Yoko

All sides of Injection
It is currently 2026-01-17 14:32:43

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2009-03-06 21:53:56 
Offline
User avatar

Joined: 2009-03-06 21:52:25
Posts: 89
Начел играть на пвп серваке, а там команда .sac и вот написал скрипт чтобы он разрезал труп с командой .sac но вот некак немогу сделать чтобы он ешё с него сначала денги забирал, а потом резал кто может помочь заранее спасибо! Совместил два скрипта но всёравно денги не лутит! Вот скриптуля!

Quote:
sub sacLoot()
var i,n
Dim Loot[1]
Loot[1]=0x0EED; gold
i = 500
FOR n=1 TO 1
uo.findtype(Loot[n],"-1","lastcontainer")
if uo.findcount() > 0 then
UO.grab(0, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
next
var corps=0x2006
UO.print(".sac script by spy")
wait(100)
while (i < 10000)
if UO.CountGround("0x2006") > 0 then
wait(100)
wait(100)
uo.say(".sac")
uo.waittargetground("0x2006")
i = i+1
endif
wend
end sub
end sub


Top
   
 Post subject:
PostPosted: 2009-03-06 22:21:22 
Offline

Joined: 2008-12-13 00:00:15
Posts: 174
sub sacLoot()
var i
i = 500
uo.findtype('0x0EED',-1,'lastcorpse')
if uo.findcount() then
UO.grab(0, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
var corps=0x2006
UO.print(".sac script by spy")
wait(100)
while (i < 10000)
if UO.CountGround(corps) > 0 then
wait(100)
uo.say(".sac")
uo.waittargetground(corps)
i = i+1
endif
wend
end sub


Last edited by Successful on 2009-03-07 11:31:55, edited 3 times in total.

Top
   
 Post subject:
PostPosted: 2009-03-07 01:44:23 
Offline
User avatar

Joined: 2009-03-06 21:52:25
Posts: 89
Неработает также режыт труп и денги не берёт, только ешё таргет появился (((


Top
   
 Post subject:
PostPosted: 2009-03-07 11:32:11 
Offline

Joined: 2008-12-13 00:00:15
Posts: 174
поправил %)


Top
   
 Post subject:
PostPosted: 2009-03-07 15:26:42 
Offline
User avatar

Joined: 2009-03-06 21:52:25
Posts: 89
Незнаю бред какойто всёравно не собирает...
Выдаёт вон что! Image

Successful wrote:
поправил %)


Top
   
 Post subject:
PostPosted: 2009-03-08 00:14:27 
Offline

Joined: 2008-12-13 00:00:15
Posts: 174
а где на картинке труп?:)


Top
   
 Post subject:
PostPosted: 2009-03-08 14:10:55 
Offline
User avatar

Joined: 2009-03-06 21:52:25
Posts: 89
Да всё я уже сделал скрипт... (=

Successful wrote:
а где на картинке труп?:)


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

All times are UTC+02:00


Who is online

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