[HELP] Use Skill after Cooldown - Script?

11/10/2014 13:19 Steamstore#1
Hi Guys,

First and foremost I am a nub at coding but I am willing to learn much and spend TIME on it.

As the title states I am trying to create a script for SRO.

What I have planned for personal uses is to use a script which contains the use of a Skill and as soon as this skill is on cooldown it should use another skill. How can i do that? I don't want to just have a script which spams those keys since the skills in SRO are kinda difficult for example weapon skills activate much much slower while the IMBUE skill can be activated instantly.

Kudos in Advance! Anyone who can help me will get a Paypal Donation of 10€ :))

Add me in Skype pls: Eldoqt
11/10/2014 14:30 theking200051#2
Quote:
Originally Posted by Steamstore View Post
Hi Guys,

I am willing to learn much and spend TIME on it.
thats the important rule if u wanna be good sro coder .

what kind of script u wanna to code ?

1- a script that hits keyboard keys like (1,2,3,.........)------> (the easy way)

2- a packet base program that send skills packets. -------->(the hard way)

if u use autoit i can help u (i am not professional coder put i think i can help u in this task ,sure for free :D ).
11/10/2014 14:49 Steamstore#3
Quote:
Originally Posted by theking200051 View Post
thats the important rule if u wanna be good sro coder .

what kind of script u wanna to code ?

1- a script that hits keyboard keys like (1,2,3,.........)------> (the easy way)

2- a packet base program that send skills packets. -------->(the hard way)

if u use autoit i can help u (i am not professional coder put i think i can help u in this task ,sure for free :D ).
Hey add me on skype pls :)
11/10/2014 15:35 theking200051#4
here an example :- assume u are use glaive or spear
u put imbue in slot "1"
and soul spear in slot "2"
and fly spear in slot "3"

Hint :- it will not work with isro or private server with a hack shield program

Code:
; Script Start - Add your code below here

 $t=WinGetHandle("SRO_Client")

 global $imbue=TimerInit()                                     ;start timer for skills
 global $soulspear=TimerInit()
 global $flyspear=Timerinit()

while 1                                    ; loop them
 $imbueCD= TimerDiff($imbue)                                        ; timer value for skills in msec
 $soulspearCD=timerdiff($soulspear)
$flyspearCD=TimerDiff($flyspear)

if $imbueCD > "5000" Then                                           ; if its exceeds the 5 sec (skill CD )
ControlSend($t,"","","1")                                           ; hit key (1)
$imbue=TimerInit()                                                  ;restet timer
sleep(100)                                                          ;delay after used skill (dont push any keys in .1 sec)
EndIf

if $soulspearCD > "6000" Then
ControlSend($t,"","","2")
$soulspear=TimerInit()
sleep(2000)
EndIf

if $flyspearCD > "5000" Then
ControlSend($t,"","","3")
$flyspear=TimerInit()
sleep(2400)
EndIf

sleep(10)
WEnd
11/12/2014 21:38 Muhab*#5
Steamstore add me on skype : mohabkhamess
i will help you as much as i can.
11/12/2014 21:48 ​Exo#6
The problem is the purpose of the script, it's going to be used for abusing skills aka PvP animation canceling bug.
11/16/2014 22:35 [NoReason]#7
Quote:
Originally Posted by xExorcist View Post
The problem is the purpose of the script, it's going to be used for abusing skills aka PvP animation canceling bug.
xExorcist aka el 5wl
11/17/2014 23:43 Pci#8
gz