League of Legends Buff Timers

A Place For Programmers Of All Levels To Discuss Programming & Web Building.

Moderator: Community Moderator

Post Reply
User avatar
Wickster
GFX Team
GFX Team
Posts: 554
Joined: 06 Apr 2010, 09:27
Location: usa
Has thanked: 1 time
Been thanked: 4 times

League of Legends Buff Timers

Post 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!
Image
User avatar
ChattChitto
Site Admin
Site Admin
Posts: 13868
Joined: 20 Aug 2009, 06:20
Status: The Don
Location: The Fourth Dimension
Has thanked: 11 times
Been thanked: 38 times
Contact:

Re: League of Legends Buff Timers

Post by ChattChitto »

I never heard of that game but thanks!! :D
To err is human, to forgive is divine
We can't all be heroes, because somebody has to sit on the curb and applaud when they go by.

ChattChitto RG - Apps Upload List: http://chattchitto.com/forum/viewtopic.php?f=29&t=104
ChattChitto RG - Movies Upload List: http://chattchitto.com/forum/viewtopic.php?f=29&t=5092
ChattChitto RG - Music Upload List: http://chattchitto.com/forum/viewtopic.php?f=29&t=34836
User avatar
Wickster
GFX Team
GFX Team
Posts: 554
Joined: 06 Apr 2010, 09:27
Location: usa
Has thanked: 1 time
Been thanked: 4 times

Re: League of Legends Buff Timers

Post 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 :)
Image
Post Reply

Return to “Programming/Web Building Chat & Support”