Очередной бред )))

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
u0rypT
Posts: 175
Joined: 2004-12-30 18:13:16
Location: Russia
Contact:

Очередной бред )))

Post by u0rypT »

ммм,мона сделать так типо :
прицел ->
тык на итем
тык на итем
тык на итем
....
тык на себя
И все ето вылетело бы в окошке info
с виде массива :)


ы ?
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

addobject addobject addobject
clear
for i=0 to addobjectcount
waittargetobject('addobject[i]')
info
next
u0rypT
Posts: 175
Joined: 2004-12-30 18:13:16
Location: Russia
Contact:

Post by u0rypT »

мммм чот я не тестил, так на взгляд посмотрел)) а куды тут массив пишецо ?)

мне надо вида :



Code: Select all

DIM test[n]#Сдесь типо сколько я натыкаю столько и буид :D 

test[1]='0x00000000'
....
test[10]='0x00000000'


И все ето фигачилось в инфо текст)
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Code: Select all

sub main()
var i = 0
repeat
   uo.addObject( "obj" )
   while uo.targeting()
      wait( 100 )
   wend
   if not uo.getserial( "obj" ) == "0x00000000" then
      if uo.getName( "obj" ) == "" then
         uo.click( "obj" )
         repeat
            wait( 100 )
         until Not uo.getName( "obj" ) == ""
      endif
      uo.textprint( "arr[" + str( i ) + "] = '" + uo.getserial( 'obj' ) + "' ; " + uo.getName( obj ) )
      i = i + 1
   endif
until uo.getserial( "obj" ) == "0x00000000"
uo.textprint( "Items Count: " + str( i ) )
endsub


IMHO - зачётный скрипт в окне ответа написал :)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
u0rypT
Posts: 175
Joined: 2004-12-30 18:13:16
Location: Russia
Contact:

Post by u0rypT »

Destruction wrote:
IMHO - зачётный скрипт в окне ответа написал :)


Я тебя люблю :mrgreen:
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc
u0rypT
Posts: 175
Joined: 2004-12-30 18:13:16
Location: Russia
Contact:

Post by u0rypT »

Вру =\ не люблю ))))


Code: Select all

sub del()
uo.print('Obj')
uo.exec('addobject obj')
while uo.targeting()
wait(100)
wend
UO.TextOpen()
uo.textprint('A[n] = '+uo.getserial( "obj" ))
end sub

Ну ет так, набросок, но пашет :D теперь буду доделавать))

Твой кстате чот не пахал ) ну я не разбирался пачму, начал сразу свой писать :-p.
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc
Post Reply