Yoko

All sides of Injection
It is currently 2025-11-05 20:54:17

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: help me pliz Alchemy
PostPosted: 2006-03-18 02:40:01 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
Кароче надо зделать так чтобы если физл то он переделывал т.е начинал заного

Quote:
sub Alchemy(reagent, min_reg, choice)
while UO.Count('0x0F0E','0x0000')>0 AND UO.Count(reagent)>=min_reg
UO.DeleteJournal()
UO.Exec("waitmenu 'What sort of potion do you want to' "+choice)
UO.UseType(reagent)
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You toss the failed")
wait(300)
wend
wend
end sub

#==============================================================
# makega() - toss greater agility potion
#--------------------------------------------------------------
sub makega()
alchemy('0x0F7B', 3, "'Greater Agility'")
end sub


#==============================================================
# makedp() - toss deadly poison potion
#--------------------------------------------------------------
sub makedp()
alchemy('0x0F88', 8, "'Deadly Poison'")
end sub


#==============================================================
# makegp() - toss greater poison potion
#--------------------------------------------------------------
sub makegp()
alchemy('0x0F88', 4, "'Greater Poison'")
end sub


#==============================================================
# makeinvis() - toss invisibility potion
#--------------------------------------------------------------
sub makeinvis()
alchemy('0x0F91', 4, "'Invisibility'")
end sub


#==============================================================
# maketm() - toss total mana potion
#--------------------------------------------------------------
sub maketm()
alchemy('0x0F87', 6, "'Total Mana'")
end sub


#==============================================================
# makegh() - toss total mana potion
#--------------------------------------------------------------
sub makegh()
alchemy('0x0F85', 7, "'Greater Heal'")
end sub


#==============================================================
# makegc() - toss Greater Cure potion
#--------------------------------------------------------------
sub makegc()
alchemy('0x0F84', 6, "'Greater Cure'")
end sub


#==============================================================
# makess() - toss stoneskin potion
#--------------------------------------------------------------
sub makess()
alchemy('0x0F85', 1, "'Stoneskin'")
end sub


#==============================================================
# makens() - toss Night Sight potion
#--------------------------------------------------------------
sub makens()
alchemy('0x0F8D', 2, "'Nightsight'")
end sub


#==============================================================
# makeh() - toss Heal potion
#--------------------------------------------------------------
sub makeh()
alchemy('0x0F85', 5, "'(2)'")
end sub


#==============================================================
# maketr() - toss total refresh potion
#--------------------------------------------------------------
sub maketr()
alchemy('0x0F7A', 6, "'Total Refresh'")
end sub


#==============================================================
# makegs() - toss total refresh potion
#--------------------------------------------------------------
sub makegs()
alchemy('0x0F86', 5, "'Greater Strength'")
end sub


#==============================================================
# makege() - toss total mana potion
#--------------------------------------------------------------
sub makege()
alchemy('0x0F8C', 10, "'Greater Explosion'")
end sub

#==============================================================
# makege() - toss total mana potion
#--------------------------------------------------------------
sub makele()
alchemy('0x0F8C', 3, "'Lesser Explosion'")
end sub



Пожалуйсто помогите


Top
   
 Post subject: Re: help me pliz Alchemy
PostPosted: 2006-03-18 08:10:26 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
P wrote:
Кароче надо зделать так чтобы если физл то он переделывал т.е начинал заного

Quote:
sub Alchemy(reagent, min_reg, choice)
while UO.Count('0x0F0E','0x0000')>0 AND UO.Count(reagent)>=min_reg
UO.DeleteJournal()
UO.Exec("waitmenu 'What sort of potion do you want to' "+choice)
UO.UseType(reagent)
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You toss the failed")
wait(300)
wend
wend
end sub

#==============================================================
# makega() - toss greater agility potion
#--------------------------------------------------------------
sub makega()
alchemy('0x0F7B', 3, "'Greater Agility'")
end sub


#==============================================================
# makedp() - toss deadly poison potion
#--------------------------------------------------------------
sub makedp()
alchemy('0x0F88', 8, "'Deadly Poison'")
end sub


#==============================================================
# makegp() - toss greater poison potion
#--------------------------------------------------------------
sub makegp()
alchemy('0x0F88', 4, "'Greater Poison'")
end sub


#==============================================================
# makeinvis() - toss invisibility potion
#--------------------------------------------------------------
sub makeinvis()
alchemy('0x0F91', 4, "'Invisibility'")
end sub


#==============================================================
# maketm() - toss total mana potion
#--------------------------------------------------------------
sub maketm()
alchemy('0x0F87', 6, "'Total Mana'")
end sub


#==============================================================
# makegh() - toss total mana potion
#--------------------------------------------------------------
sub makegh()
alchemy('0x0F85', 7, "'Greater Heal'")
end sub


#==============================================================
# makegc() - toss Greater Cure potion
#--------------------------------------------------------------
sub makegc()
alchemy('0x0F84', 6, "'Greater Cure'")
end sub


#==============================================================
# makess() - toss stoneskin potion
#--------------------------------------------------------------
sub makess()
alchemy('0x0F85', 1, "'Stoneskin'")
end sub


#==============================================================
# makens() - toss Night Sight potion
#--------------------------------------------------------------
sub makens()
alchemy('0x0F8D', 2, "'Nightsight'")
end sub


#==============================================================
# makeh() - toss Heal potion
#--------------------------------------------------------------
sub makeh()
alchemy('0x0F85', 5, "'(2)'")
end sub


#==============================================================
# maketr() - toss total refresh potion
#--------------------------------------------------------------
sub maketr()
alchemy('0x0F7A', 6, "'Total Refresh'")
end sub


#==============================================================
# makegs() - toss total refresh potion
#--------------------------------------------------------------
sub makegs()
alchemy('0x0F86', 5, "'Greater Strength'")
end sub


#==============================================================
# makege() - toss total mana potion
#--------------------------------------------------------------
sub makege()
alchemy('0x0F8C', 10, "'Greater Explosion'")
end sub

#==============================================================
# makege() - toss total mana potion
#--------------------------------------------------------------
sub makele()
alchemy('0x0F8C', 3, "'Lesser Explosion'")
end sub



Пожалуйсто помогите


Попробуй:

Code:
sub Alchemy(reagent, min_reg, choice)
VAR regi, puziri
while not uo.dead()
regi = UO.FindType(reagent,-1,'backpack')
puziri = UO.FindType('0x0F0E',-1,'backpack')
while UO.Count(puziri,'0x0000')>0 AND UO.Count(regi)>=min_reg
UO.DeleteJournal()
UO.Exec("waitmenu 'What sort of potion do you want to' "+choice)
UO.UseType(reagent)
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You toss the failed")
wait(300)
wend
wend
wend
end sub


Top
   
 Post subject:
PostPosted: 2006-03-19 22:41:22 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
можешь мне в скрипт всавить я хз куда ! И в полонм обьёме выложи ок оч надо :(


Top
   
 Post subject:
PostPosted: 2006-03-20 07:17:31 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
P wrote:
можешь мне в скрипт всавить я хз куда ! И в полонм обьёме выложи ок оч надо :(


Вот лови свой скриптик:
Code:
sub Alchemy(reagent, min_reg, choice) 
VAR regi, puziri
while not uo.dead()
regi = UO.FindType(reagent,-1,'backpack')
puziri = UO.FindType('0x0F0E',-1,'backpack')
while UO.Count(puziri,'0x0000')>0 AND UO.Count(regi)>=min_reg
UO.DeleteJournal()
UO.Exec("waitmenu 'What sort of potion do you want to' "+choice)
UO.UseType(reagent)
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You toss the failed")
wait(300)
wend
wend
wend
end sub
#==============================================================
# makega() - toss greater agility potion
#--------------------------------------------------------------
sub makega()
alchemy('0x0F7B', 3, "'Greater Agility'")
end sub


#==============================================================
# makedp() - toss deadly poison potion
#--------------------------------------------------------------
sub makedp()
alchemy('0x0F88', 8, "'Deadly Poison'")
end sub


#==============================================================
# makegp() - toss greater poison potion
#--------------------------------------------------------------
sub makegp()
alchemy('0x0F88', 4, "'Greater Poison'")
end sub


#==============================================================
# makeinvis() - toss invisibility potion
#--------------------------------------------------------------
sub makeinvis()
alchemy('0x0F91', 4, "'Invisibility'")
end sub


#==============================================================
# maketm() - toss total mana potion
#--------------------------------------------------------------
sub maketm()
alchemy('0x0F87', 6, "'Total Mana'")
end sub


#==============================================================
# makegh() - toss total mana potion
#--------------------------------------------------------------
sub makegh()
alchemy('0x0F85', 7, "'Greater Heal'")
end sub


#==============================================================
# makegc() - toss Greater Cure potion
#--------------------------------------------------------------
sub makegc()
alchemy('0x0F84', 6, "'Greater Cure'")
end sub


#==============================================================
# makess() - toss stoneskin potion
#--------------------------------------------------------------
sub makess()
alchemy('0x0F85', 1, "'Stoneskin'")
end sub


#==============================================================
# makens() - toss Night Sight potion
#--------------------------------------------------------------
sub makens()
alchemy('0x0F8D', 2, "'Nightsight'")
end sub


#==============================================================
# makeh() - toss Heal potion
#--------------------------------------------------------------
sub makeh()
alchemy('0x0F85', 5, "'(2)'")
end sub


#==============================================================
# maketr() - toss total refresh potion
#--------------------------------------------------------------
sub maketr()
alchemy('0x0F7A', 6, "'Total Refresh'")
end sub


#==============================================================
# makegs() - toss total refresh potion
#--------------------------------------------------------------
sub makegs()
alchemy('0x0F86', 5, "'Greater Strength'")
end sub


#==============================================================
# makege() - toss total mana potion
#--------------------------------------------------------------
sub makege()
alchemy('0x0F8C', 10, "'Greater Explosion'")
end sub

#==============================================================
# makege() - toss total mana potion
#--------------------------------------------------------------
sub makele()
alchemy('0x0F8C', 3, "'Lesser Explosion'")
end sub


Top
   
 Post subject:
PostPosted: 2006-03-21 19:28:28 
Offline
User avatar

Joined: 2006-02-20 14:38:22
Posts: 54
неработает :?


Top
   
 Post subject:
PostPosted: 2006-03-21 20:09:19 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Скрипт изначально варит пока есть реги и ему пофиг на физлы. Если у тебя его клинит то надо сообщения переделать. Напиши сообщение которое выскакивает при физле.


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

All times are UTC+02:00


Who is online

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