Page 1 of 1

League of Legends Buff Timers

Posted: 27 Apr 2013, 04:49
by Wickster
Hey everyone just a simple gui overlay on league to time the buffs of blue, red, dragon, and baron thought the family should have this because I know there are some league of legends players on here !

You will have to download autohotkey! (2.5MB)


Download Link:

Code: Select all

http://l.autohotkey.net/AutoHotkey_L_Install.exe

I fixed the code and updated it. AND I will include the sounds and pictures I used. Thanks to the original code to Razaz03!

Image

Download:669kb

Code: Select all

http://www.mediafire.com/?l34ru2d2idld1b0
_______________________________________________________________________________________________________________________________________

Controls = Numberpad 1, Blue Buff

Numberpad 2, Red Buff

Numberpad 4, Dragon

Numberpad 5, Baron Buff



The code itself without pictures:

http://www.autohotkey.net/paste/1angmlj

If you wish to move the Gui instead of where I have it mess with line 38 in the code reads like this:

Code: Select all

Gui, Show, w738 h115 x0 Y100
X and Y is all you have to change to get it where you want dont mess with W or H

_____________________________________________________________________________________________________________________

If you want the progress buttons for the other teams blue and red which I have removed add:

Code: Select all

Gui, Add, Progress, Range-0-299 x502 y0 w15 h90 cRed +Vertical vTheirBlueProgress
Gui, Add, Picture, x517 y0 w90 h90 , %A_ScriptDir%\changethistoyourpicture.png
Gui, Add, Text, y+3 w90 h20 cWhite +Center vTheirBlueTime, unset

Gui, Add, Progress, Range-0-299 x612 y0 w15 h90 cRed +Vertical vTheirRedProgress
Gui, Add, Picture, x627 y0 w90 h90 , %A_ScriptDir%\changethistoyourpicture.png
Gui, Add, Text, y+3 w90 h20 cWhite +Center vTheirRedTime, unset
Make sure its UNDER line 35!

and also add:

Code: Select all

Numpad7::
loop5_limit = 300
settimer, loop5, 1000

loop5:
loop5_count++
timer5_count := 301 - loop5_count
if (loop5_count >= loop5_limit) {
   settimer, loop5, off
   soundplay, %A_ScriptDir%\Changethistoyoursound.mp3
   loop5_count := 0
   GuiControl,, TheirBlueProgress, 0
}     
else
   GuiControl,, TheirBlueProgress, %loop5_count%
   GuiControl,, TheirBlueTime, %timer5_count%
return

Numpad8::
loop6_limit = 300
settimer, loop6, 1000

loop6:
loop6_count++
timer6_count := 301 - loop6_count
if (loop6_count >= loop6_limit) {
   settimer, loop6, off
   soundplay, %A_ScriptDir%\Changethistoyoursound.mp3
   loop6_count := 0
   GuiControl,, TheirRedProgress, 0
}     
else
   GuiControl,, TheirRedProgress, %loop6_count%
   GuiControl,, TheirRedTime, %timer6_count%
Make sure its UNDER line 112!

____________________________________________________________________________________________________________________________

WARNING!

Make sure you change the picture and sound if you want the timers I removed, you will have to supply your own sounds and pictures! I made it to where the script works out of the same folder. So just place the picture and sounds you want in the same folder as the script then change the coding to the pictures and sounds you have!

Re: League of Legends Buff Timers

Posted: 27 Apr 2013, 11:23
by ChattChitto
I never heard of that game but thanks!! :D

Re: League of Legends Buff Timers

Posted: 27 Apr 2013, 15:34
by Wickster
ChattChitto wrote:I never heard of that game but thanks!! :D

hahah your most welcome! hopefully it will be of some use to someone :)