Yoko

All sides of Injection
It is currently 2024-03-29 00:03:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2006-12-09 12:35:28 
Offline
User avatar

Joined: 2006-07-29 19:08:18
Posts: 91
Будет в нём когда-нибудь команда, переместится в координату?

_________________
For flood and honour. Хорошо флудить - это тоже искусство.
В стадии разработки: http://uorpg.net


Top
   
PostPosted: 2006-12-09 12:47:34 
Offline
User avatar

Joined: 2005-04-23 20:18:57
Posts: 362
wap2 wrote:
Будет в нём когда-нибудь команда, переместится в координату?


прикольная должно быть команда)

_________________
Dragon World. [since 2004]


Top
   
PostPosted: 2006-12-09 12:48:45 
Offline
User avatar

Joined: 2006-07-29 19:08:18
Posts: 91
CONDOMchick wrote:
wap2 wrote:
Будет в нём когда-нибудь команда, переместится в координату?


прикольная должно быть команда)
В изиУО такая, например, есть...

_________________
For flood and honour. Хорошо флудить - это тоже искусство.

В стадии разработки: http://uorpg.net


Top
   
 Post subject:
PostPosted: 2006-12-09 13:18:12 
Offline
User avatar

Joined: 2005-07-06 18:17:24
Posts: 228
Code:
sub hodilka()
var x,y,cx,cy,tmp,i=0, temp
x = 1458 ;//Координата x-назначения.
y = 861 ;//Координата y-назначения.
x = -(uo.getx() - x)
y = -(uo.gety() - y)
cx = x
cy = y
if cx <= 0 then
   cx = -cx
endif
if cy <= 0 then
   cy = -cy
endif
tmp = str(cx+cy)
if val(tmp) then
   DIM step[val(tmp)]
   repeat
      i=i+1
      if x>0 && y>0 && x==y  then
         x=x-1
         y=y-1
         cx=x
         cy=y
         step[i]=2
      endif
      if x>0 && cx>cy then
         x=x-1
         cx=x
         step[i]=3
      endif
      if x>0 && y<0 && cx==cy then
         x=x-1
         y=y+1
         cx=x
         cy=-y
         step[i]=6
      endif
      if y<0 && cy>cx then
         y=y+1
         cy=-y
         step[i]=9
      endif
      if x<0 && y<0 && x==y then
         x=x+1
         y=y+1
         cx=-x
         cy=-y
         step[i]=8
      endif
      if x<0 && cx>cy then
         x=x+1
         cx=-x
         step[i]=7
      endif
      if x<0 && y>0 && cx==cy then
         x=x+1
         y=y-1
         cx=-x
         cy=y
         step[i]=4
      endif
      if y>0 && cy>cx then
         y=y-1
         cy=y
         step[i]=1
      endif
      if x==-0 then
         x=0
      endif
      if y==-0 then
         y=0
      endif
   until cx==0 && cy==0
   temp=i
   tmp=''
   for i=1 to temp
      tmp=tmp+str(step[i])
   next
   uo.addstep(tmp)
endif
uo.resend()
endsub


Top
   
 Post subject:
PostPosted: 2006-12-09 13:20:42 
Offline
User avatar

Joined: 2006-07-29 19:08:18
Posts: 91
Bangbuss wrote:
Code:
(...)
Ну я про ходилки знаю, мне просто интересно, планируется ли ввести команду, чтобы инжект сам это делал, без всяких ходилок...

_________________
For flood and honour. Хорошо флудить - это тоже искусство.

В стадии разработки: http://uorpg.net


Top
   
 Post subject:
PostPosted: 2006-12-09 14:07:36 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Смотри мой топик: viewtopic.php?t=10401


Top
   
 Post subject:
PostPosted: 2006-12-09 19:19:29 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
wap2 wrote:
Bangbuss wrote:
Code:
(...)
Ну я про ходилки знаю, мне просто интересно, планируется ли ввести команду, чтобы инжект сам это делал, без всяких ходилок...

Смотри Пинжект.

_________________
DerMeister сейчас на нейрале!


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

All times are UTC+02:00


Who is online

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