Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

League of legends GG script


  • Please log in to reply
5 replies to this topic
Kaozking
  • Members
  • 1 posts
  • Last active: Jan 05 2013 12:09 AM
  • Joined: 03 Jan 2013

I saw that there was a topic about this before but there are some problems with it. It doesn't work but once i got it to work and it was too fast for the game? it could use some tweaking and I would like some help trying to fix it.

 

 

 

 

#persistent
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases_
#InstallKeybdHook
SendMode, Play
#UseHook
setkeydelay, 5, 5
 
/*
 GGGGGG 
    GG  GG
  GG
 GG  
 GG   GGGG
  GG    GG
   GG   GG
GGGGGGG
 
  GGGGGG 
    GG  GG
  GG
 GG  
 GG   GGGG
  GG    GG
   GG   GG
GGGGGGG
  */
 
 
return
 
f1::
Send, {enter}
Send, /all{space}{_ 6}{G 6}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 4}{G 2}{_ 7}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}{_ 7}{G 4}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}{_ 9}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 3}{G 2}{_ 8}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 5}{G 7}
Send, {enter}
send, {enter}/all{space}{_ 15}{enter}
Send, {enter}
Send, /all{space}{_ 6}{G 6}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 4}{G 2}{_ 7}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}{_ 7}{G 4}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}{_ 9}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 3}{G 2}{_ 8}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 5}{G 7}
Send, {enter}
 
 
return

I would like to try to have it like a shift enter and remove the /all like this

 

 

f1::
Send, +{enter}
Send, {space}{_ 6}{G 6}
Send, {enter}
Send, +{enter}
Send, l{space}{_ 4}{G 2}{_ 7}{G 2}

 

etc....


Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

add some Sleep, 25-50 between each Send see if the game handles it


Check out ALL My Scripts  ;)


Neverlevel
  • Members
  • 268 posts
  • Last active: Aug 18 2014 07:25 AM
  • Joined: 28 Jan 2008

i wrote that script..the problem is with LOL..it doesnt like the speed at all..making it run much slower defeats the purpose of the script..your GG will get interupted by others chat and looks stupid doing one line every second..if it takes 10 seconds to scroll..the game will be over before it finishes...also..LOL will miss keystrokes.  the send enter especially...which makes the script lose lines of the ascii GG.. this is due to the fact that LOL polls keypresses 60 times a second..ahk sends and releases much faster than this...it worked well in a solo custom game but with 10 players the game lags and the script suffers...even with a good computer..i gave up on perfecting it but if you manage to get it to work please post it here.


The early bird gets the worm but the second rat gets the cheese!

Arael
  • Members
  • 47 posts
  • Last active: Feb 11 2013 05:51 AM
  • Joined: 03 Dec 2012

You'd need to do as Sanctusz said and add sleep between the sends, otherwise the game won't be able to keep up.

 

Either way, it's rather obnoxious to spam chat with something excessive like that. A simple "Good Game!" would be better...



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012
You'd need to do as Sanctusz said and add sleep between the sends, otherwise the game won't be able to keep up.

 

Either way, it's rather obnoxious to spam chat with something excessive like that. A simple "Good Game!" would be better...

This. I hate spam scripts ingame :)


Check out ALL My Scripts  ;)


DiaX
  • Members
  • 5 posts
  • Last active: Apr 05 2013 01:32 AM
  • Joined: 24 Feb 2013

This Topic is the exact same thing

http://www.autohotke...f-legends-chat/

 

 

Here is my code, I feel that it requires less work, but really, I don't like spamming either and so I wrote a small spam, AHK is such a great tool I'm learning a lot.

 


f1::
	Send, {enter}
	j:=1

	Loop:
		if (j==1)
					Send, ...(\__/)...
		if (j==2)
					Send, ...(+ '.' +)...
		if (j==3)
					Send, ..(")_(")..
		if (j==4)
					{
					; I put this code inside of the ending brackets
					; thinking about it, I hope it doesn't confuse any1
					Send, ...PIKA....
					Sleep, 10
					Send, {Enter}
					j:=0
					return
					}

		; This is the part of the code to be repeated
		; I though it took to long to write it over and over again so here it is
		Sleep, 10
		Send, {Enter}
		Sleep, 10
		Send, {Enter}
		Sleep, 10
		
		; Loop Back
		; I didn't think this through so much so I'm not sure if its the most
		; efficient way to do it, but the Goto cammand was there so yeah
		j+=1
		Goto, Loop
return