Yoko

All sides of Injection
It is currently 2025-11-22 21:41:48

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Auto-explosion
PostPosted: 2010-01-14 14:58:46 
Offline

Joined: 2010-01-14 14:50:13
Posts: 7
Hello yoko guys!

I try play a explosion pot when miss one second, but doesnt works

Code:


sub test()
    #this shub works! but dont wait delay for explo potion
    uo.cast('Flame Strike', 'laststatus');
    wait(5)
    uo.usetype('0x0F0E','0x0015')
    #wait(2000)
    uo.waittargetobject('laststatus');
end sub

sub spellExplo()
    uo.cast('Flame Strike', 'laststatus');
    wait(5)
    uo.usetype('0x0F0E','0x0015')
    while not uo.InJournal('PlayerNick: 1')
        #crash?
    wend
    #wait(2000)
    uo.waittargetobject('laststatus');
    #uo.lclick(uo.getx('laststatus'), uo.gety('laststatus'))
end sub


Thx!


Top
   
 Post subject:
PostPosted: 2010-01-14 23:04:34 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
uo.cast("Flame Strike","lastattack")
uo.waittargetobject("lastattack")
wait(2000)
uo.usetype("0x0F0E","0x0015")

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2010-01-15 01:05:11 
Offline

Joined: 2010-01-14 14:50:13
Posts: 7
Dont work in my shard nmy, display:

autotarget cancelled

then

cast FS;
click explo
and dont launch explo pot (stay in bag)

sorry for english.


Top
   
 Post subject:
PostPosted: 2010-01-15 20:18:46 
Offline

Joined: 2010-01-06 17:18:40
Posts: 19
Code:
sub test()
    uo.cast("Flame Strike", "laststatus");
    wait(2000);if fails will stay in this idle time
    uo.waittargetobject("laststatus");
    uo.usetype("0x0F0E","0x0015")
    wait(3000);if fails will stay in this idle time
end sub


Top
   
 Post subject:
PostPosted: 2010-01-15 21:13:06 
Offline

Joined: 2010-01-14 14:50:13
Posts: 7
Fala xpree! Do u test this code?

Apparently, your code click and launch explo potion instant.
I want, click in pot, wait for 2 seconds and lauch in target. For the opponent no chance to dodge.


Top
   
 Post subject:
PostPosted: 2010-01-15 21:19:54 
Offline

Joined: 2010-01-06 17:18:40
Posts: 19
but the problem is, that the count timer on the pot, only starts after you aim you target, not the other way around.


Top
   
 Post subject:
PostPosted: 2010-01-15 21:34:30 
Offline

Joined: 2010-01-14 14:50:13
Posts: 7
Hm.. In my shard work different: Double click in explosion start a counter, if i dont aim something the pot explodes in my bag.


Top
   
 Post subject:
PostPosted: 2010-01-17 14:04:08 
Offline

Joined: 2010-01-06 17:18:40
Posts: 19
testa esse aew


Code:
sub test()
    var x,y,z
    uo.cast("Flame Strike", "laststatus");
    wait(2000)
    uo.usetype("0x0F0E","0x0015")
    wait(2000)
    x = uo.getx('laststatus')
    y = uo.gety('laststatus')
    z = uo.getz('laststatus')
    uo.1click(x,y,z)
end sub


Top
   
 Post subject: Re:
PostPosted: 2010-01-23 01:41:32 
Offline

Joined: 2010-01-23 01:37:04
Posts: 1
Xpree wrote:
testa esse aew


Code:
sub test()
    var x,y,z
    uo.cast("Flame Strike", "laststatus");
    wait(2000)
    uo.usetype("0x0F0E","0x0015")
    wait(2000)
    x = uo.getx('laststatus')
    y = uo.gety('laststatus')
    z = uo.getz('laststatus')
    uo.1click(x,y,z)
end sub

Вот это бред. что за команда uo.1click ? или ты имел ввиду lclick? причём тогда тут x y Z . у тебя на мониторе обьём есть? :D


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 2 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:  
Powered by phpBB® Forum Software © phpBB Limited