Boiians

 
Boiians

Autor Téma: Makra  (Přečteno 941 krát)

plus minus reset

0 uživatelů a 2 Hostů prohlíží toto téma.

Duben 04, 2011, 10:02:57 odpoledne
Odpověď #30
  • Moderátor
  • *****
  • Příspěvků: 185
  • Karma: 0
    • Zobrazit profil

ja mam problem s rayovatkem..... at menim v prvnich 5 řádcch jak měním, vůbec to nic neovlivnuje ap orad to chce castit pres shift, potreboval bych na ctrl.... kdepak je zakopan pes:?


Duben 05, 2011, 06:17:48 dopoledne
Odpověď #31
  • Boiians člen
  • *****
  • Příspěvků: 407
  • Karma: 5
    • Zobrazit profil
  • Hra: Darkfall
  • Nick: Nimrod Shardon

v autohotkey a win7:). stejny problem jako u me:), ale me to jede a mam pres to udelane jeste healy a aoe spely


Duben 05, 2011, 12:34:01 odpoledne
Odpověď #32
  • Moderátor
  • *****
  • Příspěvků: 185
  • Karma: 0
    • Zobrazit profil

no ono to jede, ale nechce se me menit ostatni bindy, aby se prizpusobily.   3 ruzne klikatka me uz prijdou celkem dost...stacilo by me jedno plne funkcni


Duben 05, 2011, 02:40:26 odpoledne
Odpověď #33
  • Boiians člen
  • *****
  • Příspěvků: 407
  • Karma: 5
    • Zobrazit profil
  • Hra: Darkfall
  • Nick: Nimrod Shardon

Ja musel k vuli tomu reyatku predelat pulku maker a prenastavit skoro cele nastaveni klaves ve hre.
Pokud chces, tak klido zkusim pomoct


Květen 24, 2011, 11:41:36 dopoledne
Odpověď #34
  • Boiians člen
  • *****
  • Příspěvků: 298
  • Karma: 5
  • Darkfall online
    • Zobrazit profil
  • Hra: Darkfall Online
  • Nick: Ledwulf Wentway

Tady je Pívasův ray script. Trochu jsem ho upravil. Teď vám před cástem sám nahodí vámi vybranou stavku. Úpravu ve scriptu jsem označil červeně a´t se vám to lépe hledá  ;)

Kód: [Vybrat]
[quote]SendMode Input
#ifWinActive, ahk_class SFMainWindow

;Rays
ray_k_1 = ^1 ;Pungeon Mist
ray_k_2 = ^2 ;Impale
ray_k_3 = ^3 ;Dragonbreath
ray_k_4 = ^4 ;Unholy Caress
ray_k_5 = ^5 ;Insect Swarm
;End of Rays

;--------------------Ray Script Global Variables------------------------
/*
Cooldowns and priorities are defined below.
The key bindings for this script are defined in the Key Bindings section at
the start of script.
*/

;Set the number of rays you have here
num_rays = 5

;Tweak cooldowns here
ray_cd_1 = 15000  ; Pungeon Mist
ray_cd_2 = 6500 ; Impale
ray_cd_3 = 14500 ; Dragonbreath
ray_cd_4 = 14500 ; Unholy Caress
ray_cd_5 = 13500 ; Insect Swarm

;Set your rays priority here, 1 being highest, 3 being lowest
ray_p_1 = 1 ;Pungeon Mist
ray_p_2 = 2 ;Impale
ray_p_3 = 3 ;Dragonbreath
ray_p_4 = 4 ;Unholy Caress
ray_p_5 = 5 ;Insect Swarm


;Initializes rays availability array to 1 (off cooldown)
While A_Index <= num_rays
{
r_ray_%A_Index% = 1
}
;----------------End of Ray Script Global Variables---------------------


;-----------------------------------------Ray

Script----------------------------------------

;Set your raying HotKey here (currently set to Middlebutton, you hold it in to

charge ray and release to fire it)
mbutton::
[color=red]
Send {NumpadDiv}
sleep 250[/color]

cur_ray := rayLogic(cur_ray, cur_key, cur_cool)
Send , %cur_key%
Sleep, 50

MouseClick, left,,, 1, 0, D ; Hold down the left mouse button.
KeyWait, mbutton ; Wait for the hotkey to be released.
MouseClick, left,,, 1, 0, U ; Release the mouse button.
sleep 1200

r_ray_%cur_ray% = 0
neg_cur_cool := -cur_cool
SetTimer , ray_%cur_ray% , %neg_cur_cool%
Return

;---------------Subroutine group to reset cooldowns--------------------

ray_1:
ray_2:
ray_3:
ray_4:
ray_5:
r_%A_ThisLabel% = 1
Return

;--------------End of subroutine group to reset cooldowns---------------

rayLogic(cur_ray, ByRef cur_key, ByRef cur_cool)
{
global

/*Initiates cur_ray to your highest priority ray
in the case of all rays being off cooldown
*/
cur_ray := ray_p_1

/*Assigns the value of cur_ray to the first available
ray according to priority
*/
While A_Index <= num_rays
{
ray_number := ray_p_%A_Index%
if (r_ray_%ray_number% = 1)
{
cur_ray := ray_number
Break
}
}

;Sets the ray's corresponding key and cooldown
cur_key := ray_k_%cur_ray%
cur_cool := ray_cd_%cur_ray%
Return cur_ray
}
Return

;-----------------------End raying script Script -----------------------[/quote]

Hodil sem ti to do tabulky, zabiral si moc mista :)
« Poslední změna: Květen 24, 2011, 09:26:53 odpoledne od Pivas »


Květen 25, 2011, 02:48:23 odpoledne
Odpověď #35
  • Boiians člen
  • *****
  • Příspěvků: 298
  • Karma: 5
  • Darkfall online
    • Zobrazit profil
  • Hra: Darkfall Online
  • Nick: Ledwulf Wentway

Tady je Pívasův ray script. Trochu jsem ho upravil. Teď vám před cástem sám nahodí vámi vybranou stavku. Úpravu ve scriptu jsem označil červeně a´t se vám to lépe hledá  ;)

Kód: [Vybrat]
[quote]SendMode Input
#ifWinActive, ahk_class SFMainWindow

;Rays
ray_k_1 = ^1 ;Pungeon Mist
ray_k_2 = ^2 ;Impale
ray_k_3 = ^3 ;Dragonbreath
ray_k_4 = ^4 ;Unholy Caress
ray_k_5 = ^5 ;Insect Swarm
;End of Rays

;--------------------Ray Script Global Variables------------------------
/*
Cooldowns and priorities are defined below.
The key bindings for this script are defined in the Key Bindings section at
the start of script.
*/

;Set the number of rays you have here
num_rays = 5

;Tweak cooldowns here
ray_cd_1 = 15000  ; Pungeon Mist
ray_cd_2 = 6500 ; Impale
ray_cd_3 = 14500 ; Dragonbreath
ray_cd_4 = 14500 ; Unholy Caress
ray_cd_5 = 13500 ; Insect Swarm

;Set your rays priority here, 1 being highest, 3 being lowest
ray_p_1 = 1 ;Pungeon Mist
ray_p_2 = 2 ;Impale
ray_p_3 = 3 ;Dragonbreath
ray_p_4 = 4 ;Unholy Caress
ray_p_5 = 5 ;Insect Swarm


;Initializes rays availability array to 1 (off cooldown)
While A_Index <= num_rays
{
r_ray_%A_Index% = 1
}
;----------------End of Ray Script Global Variables---------------------


;-----------------------------------------Ray

Script----------------------------------------

;Set your raying HotKey here (currently set to Middlebutton, you hold it in to

charge ray and release to fire it)
mbutton::
[color=red]
Send {NumpadDiv}
sleep 250[/color]

cur_ray := rayLogic(cur_ray, cur_key, cur_cool)
Send , %cur_key%
Sleep, 50

MouseClick, left,,, 1, 0, D ; Hold down the left mouse button.
KeyWait, mbutton ; Wait for the hotkey to be released.
MouseClick, left,,, 1, 0, U ; Release the mouse button.
sleep 1200

r_ray_%cur_ray% = 0
neg_cur_cool := -cur_cool
SetTimer , ray_%cur_ray% , %neg_cur_cool%
Return

;---------------Subroutine group to reset cooldowns--------------------

ray_1:
ray_2:
ray_3:
ray_4:
ray_5:
r_%A_ThisLabel% = 1
Return

;--------------End of subroutine group to reset cooldowns---------------

rayLogic(cur_ray, ByRef cur_key, ByRef cur_cool)
{
global

/*Initiates cur_ray to your highest priority ray
in the case of all rays being off cooldown
*/
cur_ray := ray_p_1

/*Assigns the value of cur_ray to the first available
ray according to priority
*/
While A_Index <= num_rays
{
ray_number := ray_p_%A_Index%
if (r_ray_%ray_number% = 1)
{
cur_ray := ray_number
Break
}
}

;Sets the ray's corresponding key and cooldown
cur_key := ray_k_%cur_ray%
cur_cool := ray_cd_%cur_ray%
Return cur_ray
}
Return

;-----------------------End raying script Script -----------------------[/quote]

Hodil sem ti to do tabulky, zabiral si moc mista :)

No jo ale už tam není vidět ta změna....