Yoko

All sides of Injection
It is currently 2026-01-17 19:13:35

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2004-12-27 11:13:23 
Offline

Joined: 2004-12-19 19:41:46
Posts: 17
Ты повесила переделаную функцыю что если чар вырубил все с 1-2 раза то переходит к другому дереву ,у мя не идет всеравно ,если стоит 8 ударов по дереву ,то он с 1-2 раза вырубит и стоит 5 раз стукает по пустому дереву ,вот ета переделка которая у мя не идет

sub WaitForChange()
var Text1=uo.GetName()+': You hack at the tree for a while, but fail to produce any useable wood.'
var Text2='There are no logs here to chop.'
var Text3="You can't reach this."
var Text4="That is too far away."
var Text5="You can't do much in your current state."
var mess
for var i=0 to 172
mess=uo.Journal(0)
if uo.Journal(0)==Text2 or uo.Journal(0)==Text3 or uo.Journal(0)==Text4 then
return 1
end if
if uo.Journal(0)==Text1 then
return 1
end if
if mess[0]=='Y' and mess[1]=='o' and mess[2]=='u' and mess[4]=='p' and mess[5]=='u' and mess[6]=='t' then
return 0
end if
wait(50)
next
return 0
end sub

Посмотри пожалуста я ненаю чо делать уже сам пробовал но всеровно не получаеться!


Top
   
PostPosted: 2004-12-27 11:17:02 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
BAGRAM wrote:
Ты повесила переделаную функцыю что если чар вырубил все с 1-2 раза то переходит к другому дереву ,у мя не идет всеравно ,если стоит 8 ударов по дереву ,то он с 1-2 раза вырубит и стоит 5 раз стукает по пустому дереву ,вот ета переделка которая у мя не идет

sub WaitForChange()
var Text1=uo.GetName()+': You hack at the tree for a while, but fail to produce any useable wood.'
var Text2='There are no logs here to chop.'
var Text3="You can't reach this."
var Text4="That is too far away."
var Text5="You can't do much in your current state."
var mess
for var i=0 to 172
mess=uo.Journal(0)
if uo.Journal(0)==Text2 or uo.Journal(0)==Text3 or uo.Journal(0)==Text4 then
return 1
end if
if uo.Journal(0)==Text1 then
return 1
end if
if mess[0]=='Y' and mess[1]=='o' and mess[2]=='u' and mess[4]=='p' and mess[5]=='u' and mess[6]=='t' then
return 0
end if
wait(50)
next
return 0
end sub

Посмотри пожалуста я ненаю чо делать уже сам пробовал но всеровно не получаеться!

А пол-то зачем мне поменял ??? Это во первых !!!
Во вторых напиши по крайней мере фразу которую чар говорит когда бесполезно тыкает по дереву ???

_________________
Сделал дело - флуди смело !!!


Top
   
PostPosted: 2004-12-27 11:25:02 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
пипец, вот и отвечай людЯм...


Top
   
PostPosted: 2004-12-27 11:26:49 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
[quote="BAGRAM"][/quote]
http://yoko.netroof.net/forum/viewtopic.php?t=2383

_________________
Сделал дело - флуди смело !!!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited