Yoko

All sides of Injection
It is currently 2025-11-10 21:09:16

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Переплавка
PostPosted: 2005-08-19 12:52:41 
Offline
User avatar

Joined: 2005-08-06 15:45:16
Posts: 20
Дайте плз скрипт на переплавку и поясните плз, где для чего указывать тип..


Top
   
 Post subject:
PostPosted: 2005-08-19 12:54:42 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Code:
#################################### 
#############Smelting by evil_Gremlin, v 1.1
sub smelt_ground()
var r
var i,k=0
var max =((UO.Str*4)+30) #Calculating of max weight based on character strenght
DIM ore[4]
ore[1]=0x19B8
ore[2]=0x19B9
ore[3]=0x19BA
ore[4]=0x19B7
while k==0
r=0
If UO.Weight>=max-30 then
clean()
endif

for i=1 to 4
UO.FindType(ore[i],-1,'ground')
   If UO.FindCount()>0 then
      r=0
      UO.Exec('moveitem finditem 1')
            repeat
               wait(50)
          until Uo.ContainerOf('finditem')==UO.Getserial('backpack')
          UO.Useobject('finditem')
   else
   #UO.Print('Not Found')
   r=r+1
   endif
next
if r==4 then
k=1
Uo.Print('No ore to smelt')
endif
wend
endsub
#############Ingots dropping sub
sub Clean()
var i,t,l,col
DIM type[5]
type[1]=0x1BEF
type[2]=0x1BF5
type[3]=0x1BE3
type[4]=0x1BE9
UO.Print('Overload. Cleaning')
col=0
repeat
col=0
for t=1 to 4
Uo.FindType(type[t],'-1','backpack')
   If UO.FindCount()>0 then
   UO.Print('Found')
   l=0
      Uo.Exec('drophere finditem')
         repeat
         wait(100)
         until Uo.ContainerOf('finditem')<>Uo.GetSerial('backpack')
   else
   col=col+1
   endif
next
until col>=4
UO.Print('Cleaned....')
end sub


Top
   
 Post subject:
PostPosted: 2005-08-19 13:01:32 
Offline
User avatar

Joined: 2005-08-06 15:45:16
Posts: 20
Мне нужно катаны плавить, а не руду..


Top
   
 Post subject:
PostPosted: 2005-08-19 13:25:46 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Fen1xXx wrote:
Мне нужно катаны плавить, а не руду..


Сразу бы так и написал.
Code:
var katana='0x0FC1' #тут тип катаны
var forge='0x0FB1' #Тут тип форджи

sub main()     
while uo.count(katana)>0
uo.usefromground(forge)
uo.waittargettype(katana)
wait(200)
wend
endsub


Top
   
 Post subject:
PostPosted: 2005-08-19 16:40:14 
Offline
User avatar

Joined: 2005-08-06 15:45:16
Posts: 20
Leo wrote:
Сразу бы так и написал.
Code:
var katana='0x0FC1' #тут тип катаны
var forge='0x0FB1' #Тут тип форджи

sub main()     
while uo.count(katana)>0
uo.usefromground(forge)
uo.waittargettype(katana)
wait(200)
wend
endsub
Вооо.. сенке.. =)


Top
   
 Post subject:
PostPosted: 2005-08-20 02:27:15 
Offline
User avatar

Joined: 2005-08-12 14:24:46
Posts: 7
а мож у тя еще и скриптик на скупку завалялсе? :lol:


Top
   
 Post subject:
PostPosted: 2005-08-26 10:31:36 
Offline
User avatar

Joined: 2005-05-06 22:22:23
Posts: 8
Location: Израиль
Есть скрипт чтобы он брал армор из айрона например, плавил его, айрон складывал в сундук...


Top
   
 Post subject:
PostPosted: 2005-08-26 11:00:32 
Offline
User avatar

Joined: 2005-05-03 22:22:31
Posts: 15
A jesli eti katani u tebja nahodjatsa meshkah a meshkov mnogo i oni v sunduke :?: :?: :?:


Top
   
 Post subject:
PostPosted: 2006-04-23 22:45:09 
Offline

Joined: 2006-02-10 13:26:37
Posts: 173
Immortal wrote:
Есть скрипт чтобы он брал армор из айрона например, плавил его, айрон складывал в сундук...

Кинь в личку или сюда, плиз.


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

All times are UTC+02:00


Who is online

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