Yoko

All sides of Injection
It is currently 2025-11-10 13:31:29

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2006-04-23 22:05:04 
Offline
User avatar

Joined: 2005-04-23 20:18:57
Posts: 362
Шард ДрВ.
вобщем скрипт на стены.
как я понял должен дейстовать по ласт статусу но ставит на себя.
Code:
sub st()
uo.deletejournal()
VAR x1,x2,y1,y2,sx,sy,limit

x1=0
x2=0
y1=0
y2=0

uo.Set('finddistance','8')
na:
uo.findtype('0x0080',-1,'ground')
if uo.findcount()>0 then
sx=str(uo.getx('finditem'))
sy=str(uo.gety('finditem'))
if x1==1 and x2==1 or y1==1 and y2==1 then
GOTO pox
endif
if sx==str(uo.getx('laststatus')+1) and sy==str(uo.gety('laststatus')) then
x1=1
endif

if sx==str(uo.getx('laststatus')-1) and sy==str(uo.gety('laststatus')) then
x2=1
endif

if sx==str(uo.getx('laststatus')) and sy==str(uo.gety('laststatus')+1) then
y1=1
endif

if sx==str(uo.getx('laststatus')) and sy==str(uo.gety('laststatus')-1) then
y2=1
endif

uo.ignore('finditem')
GoTo na
endif

pox:
uo.ignorereset()

uo.print(str(x1)+str(x2)+str(y1) + str(y2))
if x1==0 and x2==0 and y1==0 and y2==0 then

 uo.waittargettile("400",str(uo.getx('laststatus')),str(uo.gety('laststatus')),str(uo.getz('laststatus')))
uo.cast("Wall of Stone")
endif
if y1==1 and y2==1 then

   if str(uo.getx())>str(uo.getx('laststatus')) then
       uo.waittargettile("400",str(uo.getx('laststatus')+1),str(uo.gety('laststatus')),str(uo.getz('laststatus')))
uo.cast("Wall of Stone")
else
 uo.waittargettile("400",str(uo.getx('laststatus')-1),str(uo.gety('laststatus')),str(uo.getz('laststatus')))
uo.cast("Wall of Stone")
   endif
endif

if x1==1 and x2==1 then

  if str(uo.gety())>str(uo.gety('laststatus')) then
       uo.waittargettile("400",str(uo.getx('laststatus')),str(uo.gety('laststatus')+1),str(uo.getz('laststatus')))
uo.cast("Wall of Stone")
else
 uo.waittargettile("400",str(uo.getx('laststatus')),str(uo.gety('laststatus')-1),str(uo.getz('laststatus')))
uo.cast("Wall of Stone")
   endif
endif
limit=0
#or not uo.injournal('Target is not') or not uo.injournal('sufficient mana')
while not uo.injournal('In Sanct Ylem')
wait(100)
limit=limit+1
if limit==100 then
goto end
endif
wend
uo.msg('       ')
wait(50)
uo.msg('        ')
wait(50)
uo.msg('       ')
end:
end sub

_________________
Dragon World. [since 2004]


Top
   
 Post subject:
PostPosted: 2006-04-23 22:14:31 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
Совет первый: format c:
Второй: Ставь линукс.
Третий: Выпей пива
:lol: :lol: :lol:


Top
   
 Post subject:
PostPosted: 2006-04-23 22:33:27 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Вруби Трек Ворлд Айтемс.


Top
   
 Post subject:
PostPosted: 2006-04-23 23:31:44 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Der wrote:
Совет первый: format c:
Второй: Ставь линукс.
Третий: Выпей пива
:lol: :lol: :lol:


Ты специально стремишься отпоститься в любой теме? Подумай, твои "умные" ответы никакого авторитета тебе не добавят. Если не понимаешь о чем идет речь - лучше промолчать.


Top
   
 Post subject:
PostPosted: 2006-04-24 12:23:32 
Offline
User avatar

Joined: 2005-04-23 20:18:57
Posts: 362
flake wrote:
Вруби Трек Ворлд Айтемс.


мне об этом говорили...
но то что я буду вечно видеть каких-то зомбей када кто-то портуется это неизбежно?

_________________
Dragon World. [since 2004]


Top
   
 Post subject:
PostPosted: 2006-04-24 12:45:01 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Если есть проблема с зомби - поиграйся с флажком Status bar fix


Top
   
 Post subject:
PostPosted: 2006-04-24 18:35:46 
Offline
User avatar

Joined: 2005-04-23 20:18:57
Posts: 362
СПс норм.
но с трек ворлд айтемс краши чащще

_________________
Dragon World. [since 2004]


Top
   
 Post subject:
PostPosted: 2006-04-24 18:39:59 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Лучше отрубать перед тем, как телепортируешся в места сильного скопления народа.


Top
   
 Post subject:
PostPosted: 2006-04-24 18:41:10 
Offline
User avatar

Joined: 2005-04-23 20:18:57
Posts: 362
flake wrote:
Лучше отрубать перед тем, как телепортируешся в места сильного скопления народа.


ясн.
спс.

_________________
Dragon World. [since 2004]


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 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