Yoko

All sides of Injection
It is currently 2026-01-17 20:59:52

All times are UTC+02:00




Post new topic  Reply to topic  [ 24 posts ]  Go to page 1 2 Next
Author Message
PostPosted: 2004-12-28 23:33:10 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
Как уменьшить задержку если You hack at the tree for a while, but fail to produce any useable wood.
а то стоит полчаса


Top
   
 Post subject:
PostPosted: 2004-12-28 23:39:49 
Offline
Junior Expert
User avatar

Joined: 2004-11-13 00:43:55
Posts: 474
Location: Киберзадроцк
Вот тут :
Code:
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 200
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 0
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


Задача на дом... сделать правельную проверку под твой шард.... если зделаеш хорошо - поставлю 5с + )))


Top
   
 Post subject:
PostPosted: 2004-12-28 23:42:32 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
написано всё прально Yu hack at the tree for a while, but fail to produce any useable wood


Top
   
 Post subject:
PostPosted: 2004-12-28 23:48:54 
Offline
Junior Expert
User avatar

Joined: 2004-11-13 00:43:55
Posts: 474
Location: Киберзадроцк
krolik1989 wrote:
написано всё прально Yu hack at the tree for a while, but fail to produce any useable wood

Внимательно посмотри..., что может быть лишнего ?


Top
   
 Post subject:
PostPosted: 2004-12-28 23:50:41 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
У мя на шарде так You hack at the tree for a while but fail to produce any useable wood.


Top
   
 Post subject:
PostPosted: 2004-12-28 23:51:38 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
после цршду запятая


Top
   
 Post subject:
PostPosted: 2004-12-28 23:51:53 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
после while запятая


Top
   
 Post subject:
PostPosted: 2004-12-28 23:55:38 
Offline
Junior Expert
User avatar

Joined: 2004-11-13 00:43:55
Posts: 474
Location: Киберзадроцк
krolik1989 wrote:
после while запятая

нет, но ты где-то рядом... )


Top
   
 Post subject:
PostPosted: 2004-12-28 23:56:32 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
могу скрин дать, если не веришь что так?


Top
   
 Post subject:
PostPosted: 2004-12-29 00:03:22 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
так что вот я не знаю в чем трабла


Top
   
 Post subject:
PostPosted: 2004-12-29 00:03:51 
Offline
Junior Expert
User avatar

Joined: 2004-11-13 00:43:55
Posts: 474
Location: Киберзадроцк
krolik1989 wrote:
могу скрин дать, если не веришь что так?

Ненужно... с названием всё в порядке, там в коде скрипта посмотри... чем отличается текст 1 от остальных текстов...


Top
   
 Post subject:
PostPosted: 2004-12-29 00:05:26 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
хех,
я это пробовал(мусолил, мусолил) не помогает
+':
это сочетание как я только не пробовал


Top
   
 Post subject:
PostPosted: 2004-12-29 00:08:42 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
я вообще в этот скрипт не вьезжаю, просто скопировал и всё!


Top
   
 Post subject:
PostPosted: 2004-12-29 00:18:30 
Offline
Junior Expert
User avatar

Joined: 2004-11-13 00:43:55
Posts: 474
Location: Киберзадроцк
krolik1989 wrote:
я вообще в этот скрипт не вьезжаю, просто скопировал и всё!
Тогда пользуйся, какой дали... хотябы такой!


Top
   
 Post subject:
PostPosted: 2004-12-29 00:20:30 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
я спросил, а если ты не знаешь, то не надо остроумничать, если знаешь так помоги


Top
   
 Post subject:
PostPosted: 2004-12-29 09:51:15 
Offline
Expert!
User avatar

Joined: 2004-05-31 09:31:51
Posts: 838
krolik1989 wrote:
я спросил, а если ты не знаешь, то не надо остроумничать, если знаешь так помоги

проверь все точки препинания и пробелы.

_________________
Все просто.
BETEPAH ™


Top
   
 Post subject:
PostPosted: 2004-12-29 11:28:32 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
проверил сто раз всё ок((


Top
   
 Post subject:
PostPosted: 2004-12-29 11:31:30 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
var Text1=uo.GetName()+': You hack at the tree for a while, but fail to produce any useable wood.'
может после двоеточия пробел убрать??


Top
   
 Post subject:
PostPosted: 2004-12-29 11:43:30 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
krolik1989 wrote:
var Text1=uo.GetName()+': You hack at the tree for a while, but fail to produce any useable wood.'
может после двоеточия пробел убрать??
воопще ток You hack at the tree for a while оставь ;)


Top
   
 Post subject:
PostPosted: 2004-12-29 11:44:24 
Offline

Joined: 2004-12-28 23:31:43
Posts: 30
то есть так?
var Text1=uo.GetName()+': You hack at the tree for a while'


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 24 posts ]  Go to page 1 2 Next

All times are UTC+02:00


Who is online

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