Compilation of most useful CS:GO scripts- Post yours here!

Post gaming related scripts
negusp

Compilation of most useful CS:GO scripts- Post yours here!

25 Dec 2015, 11:19

Hi everyone, this is my first post. I have played around with Autohotkey and found and compiled some really useful scripts for CS:GO. Below are some of the most useful scripts to be used in CS:GO.


Remember, AHK Scripts are NOT VAC BANNABLE! Accusing me of getting VAC banned would be completely unfounded and ridiculous!

HOWEVER, OVERWATCH MAY NOT TAKE YOUR USE OF ANY OF THESE SCRIPTS LIKELY! USE AT YOUR OWN RISK!


Counterstrafing Script:
This script is immensely useful- for noobs who do not know what counter-strafing is, it is essentially pressing the "opposite key" (ex: let go of "w", press "s" rapidly) to mitigate the stopping delay in accuracy in CS:GO- there is a delay before your weapon returns to full accuracy if you simply release the movement keys. If you aren't a pro at counter-strafing, this script will improve your first shot accuracy after stopping greatly. Depending on the delay, you may have trouble with camping exactly on a wall or corner. There may be small glitches here and there as well.

This script is remarkably useful for One-Deaging as the Desert Eagle's moving accuracy delay is horrendous for noob-intermediate players! Rejoooice!
Oh, this mainly makes sure that your first shot upon stopping is accurate with guns like the AK-47 or M4A4- adding 20/30+ damage to your first bursts, or making that one-tap way easier!
Also great for learning to tap with pistols.


I simply compiled base code kindly taken from Exascrys (9/10 of credit goes to him!), and I simply compiled it for all WASD keys and added a toggle on/off button replete with sounds. Toggle is F7.
Feel free to edit the delays in order to suit your needs. I set the delay to 120, but 100 might be more preferable.
ScriptActive = 1

~*w up::
If ScriptActive = 1
{
if(GetKeyState("s","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {s down}
While (!GetKeyState("s","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("s","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {s up}
}
return

~*a up::
If ScriptActive = 1
{
if(GetKeyState("d","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {d down}
While (!GetKeyState("d","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("d","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {d up}
}
return

~*d up::
If ScriptActive = 1
{
if(GetKeyState("a","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {a down}
While (!GetKeyState("a","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("a","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {a up}
}
return

~*s up::
If ScriptActive = 1
{
if(GetKeyState("w","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {w down}
While (!GetKeyState("w","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("w","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {w up}
}
return


~F7::
If ScriptActive = 1
{
ScriptActive = 0
SoundBeep, 400, 400
}
else if ScriptActive = 0
{
ScriptActive = 1
SoundBeep, 1000, 100
SoundBeep, 1000, 100
}
return
Autofire Script- Spams mouse button.
Really quite OP when used with Tec-9, fiVe-seVen or Dualies. Really turns the Tec-9 especially into an SMG.
As with Bhop scripts, do watch out when you use this script- Overwatch will not take this lightly!
Full Credit goes to JumBo` on MPGH!
Toggle is F6.
BTW: Adjusting the keypress/release delay is effective for lowering the fire-rate of automatic rifles, thus making them more accurate at longer ranges.
#NoEnv
#SingleInstance force
SendMode Input

ScriptActive = 1

FixAmount = 0.00000000000000000001


RecoilFix(amount)
{
DllCall("mouse_event",uint,1,int,x,int,amount,uint ,0,int,0)
}


IfWinActive, Call of Duty 4
{
~Lbutton::
If ScriptActive = 1
{
RecoilFix(FixAmount)
Loop
{
GetKeyState, state, Lbutton, P
if state=U
break
Sendinput {Click down}
Sleep 20
Sendinput {Click up}
Sleep 20
RecoilFix(FixAmount)
}
}
return


;Pauses AutoHotKey Script.

~F6::
If ScriptActive = 1
{
ScriptActive = 0
SoundBeep, 400, 400
}
else if ScriptActive = 0
{
ScriptActive = 1
SoundBeep, 1000, 100
SoundBeep, 1000, 100
}
return


~NumpadAdd::
++FixAmount
SoundBeep, 700, 100
SoundBeep, 700, 100
clipboard = %FixAmount%
return


~NumpadSub::
--FixAmount
SoundBeep, 700, 100
clipboard = %FixAmount%
return

~NumpadDiv::
FixAmount-=0.1
SoundBeep, 600, 100
clipboard = %FixAmount%
return

~NumpadMult::
FixAmount+=0.1
SoundBeep, 600, 100
SoundBeep, 600, 100
clipboard = %FixAmount%
return
}

;M9 = FixAmount 1
;G3 = FixAmount 0.700000
Bhop Script: Simply put, a Bunnyhop script. This will not exactly prove useful until you get the hang of actually controlling WASD to Bhop. I myself cannot Bhop.
F11 to toggle. Overwatch does not take Bhopping in competitive lightly! Use at your own risk!
All credit goes to enHanced+ on GameBanana
;Improved Bhop by enHanced+
;Press F11 to toggle
;End key to close the application
;This NEVER will be detected by VAC

F11:: Hotkey, *~$Space, Toggle

End::
ExitApp

*~$Space::
Sleep 5
Loop
{
GetKeyState, SpaceState, Space, P
If SpaceState = U
break
Sleep 1
Send, {Blind}{Space}
}
Return
Please post any other useful AHK scripts below and I will compile them on this post. If you have any edits feel free to suggest!
EpicnessCoding
Posts: 31
Joined: 19 Jan 2015, 01:23

Re: Compilation of most useful CS:GO scripts- Post yours here!

31 Dec 2015, 14:18

Haha well please put my CSGO multiscript up there :D it contains all the functions right there :D + norecoil
negusp

Re: Compilation of most useful CS:GO scripts- Post yours here!

03 Jan 2016, 10:08

Thanks for the input! However, I do not deem "norecoil" useful as it does not compensate for differing ranges. However, Tap and Burst fire modes are extremely useful. I will incorporate that into my post! Additionally, if you wish, Counterstrafing is immensely useful and you should prolly incorporate it into your Multi-Script. Cheers!
Lucid

Re: Compilation of most useful CS:GO scripts- Post yours here!

02 Feb 2016, 09:23

I got the bhop script and it does not toggle when I am in game if i hit f11 but it does toggle if im out of csgo. Any way to fix it?
negusp

Re: Compilation of most useful CS:GO scripts- Post yours here!

12 Feb 2016, 10:39

I have recently coded another, I think, fairly useful script.
This is a Juan Deag Script- What this does is quickswitch (switch to knife and back) immediately after your shot. Upon release of the left mouse button, it fires. There are some glitches with switching and such, but is great for those who love to practice with the Deagle.

It is also great for the Awp, as additional pressing for switching isn't great. TOGGLE IS F6
This script is terrible for rifles (unless you spray), as it switches the moment you let go of the Left Mouse Button. It is even worse for semi-auto pistols.
But, if you're like me, who doesn't care at all for the game really anymore and likes to derp, this script is for you.

Prerequisites:
MUST HAVE AN AUTOEXEC FILE WITH THIS SCRIPT:
IF YOU DO NOT WANT TO BIND E TO THIS SCRIPT PICK A DIFFERENT KEY, BUT REMEMBER THIS HOTKEY!!!!!! THIS IS YOUR QUICKSWITCH HOTKEY!!!

Additionally, bind some key to "Last Weapon Used". The default is q.
TO USE THIS SCRIPT, COPY THE CODE BELOW AND THEN FOLLOW THE INSTRUCTIONS LEFT BY THE COMMENTS!!!!!!!!


Code here:
Spoiler
negusp

Re: Compilation of most useful CS:GO scripts- Post yours here!

12 Feb 2016, 10:40

Lucid wrote:I got the bhop script and it does not toggle when I am in game if i hit f11 but it does toggle if im out of csgo. Any way to fix it?
Regarding this, try to run AutoHotkey as Admin, and run CSGO as Fullscreen Windowed. It works great for me. Do you have anything else bound to spacebar in CS:GO?
negusp

Re: Compilation of most useful CS:GO scripts- Post yours here!

09 Mar 2016, 19:19

NEW UPDATE FOR COUNTERSTRAFE SCRIPT!!!!

This is perfectly designed for BHOP scripts! When you hold the SpaceBar counterstrafe is turned off until you let go, allowing for those sick MLG Bhops + those sick MLG OneTaps!
Sorry, no more beep sound.

Code: Select all

ScriptActive = 1

If ScriptActive = 1
{
$Space::
  While GetKeyState("Space","P")
  {
	ScriptActive = 0
	Send {Space}
	Sleep, 50
  }
ScriptActive = 1
Return
}	

~*w up::
If ScriptActive = 1 
{
if(GetKeyState("s","P")) ; if w is pressed, do not perform sub
   return
start:=A_TickCount
start+=110
Send {s down}
While (!GetKeyState("s","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
   Sleep 10
If !GetKeyState("s","P") ; if you are holding w down physically, you don't want to send a w up keystroke
   Send {s up}
}
return

~*a up::
If ScriptActive = 1
{
if(GetKeyState("d","P")) ; if w is pressed, do not perform sub
   return
start:=A_TickCount
start+=110
Send {d down}
While (!GetKeyState("d","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
   Sleep 10
If !GetKeyState("d","P") ; if you are holding w down physically, you don't want to send a w up keystroke
   Send {d up}
}
return

~*d up::
If ScriptActive = 1
{
if(GetKeyState("a","P")) ; if w is pressed, do not perform sub
   return
start:=A_TickCount
start+=110
Send {a down}
While (!GetKeyState("a","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
   Sleep 10
If !GetKeyState("a","P") ; if you are holding w down physically, you don't want to send a w up keystroke
   Send {a up}
}
return

~*s up::
If ScriptActive = 1
{
if(GetKeyState("w","P")) ; if w is pressed, do not perform sub
   return
start:=A_TickCount
start+=110
Send {w down}
While (!GetKeyState("w","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
   Sleep 10
If !GetKeyState("w","P") ; if you are holding w down physically, you don't want to send a w up keystroke
   Send {w up}
}
return

~F7::
SoundBeep, 400, 400
Suspend Toggle
return
KillAndDip
Posts: 9
Joined: 06 Jun 2016, 16:38

Re: Compilation of most useful CS:GO scripts- Post yours here!

30 Jun 2016, 19:35

Some reason the bhop script crashes? Any ideas?
Antles

Re: Compilation of most useful CS:GO scripts- Post yours here!

13 Oct 2016, 02:02

What do you have to change to change the hold key
anomous

Re: Compilation of most useful CS:GO scripts- Post yours here!

14 Nov 2016, 17:48

to use them you MUST PRESS F6 WHEN YOU ARE LOADING INTO COUNTER STRIKE TO ACTIVATE THEM and if it fails then just try again and it will work

i didn't think that this was a thing however these are walls yes like the thing where you can see thru walls it only works on some maps like dust 2 mirage inferno and a few others and it also only shows you people in Ur region so like so if im on A site on dust 2 then i can only see thru walls like cat and long and i cant see all the way to B site

be careful if Ur obvious with it you will get over watched


; <COMPILER: v1.0.48.5>
F6::

Process = csgo.exe
DllName = client.dll
msgbox, [Undetected, Stable] Updating...

Process, Exist, %Process%
PID = %ErrorLevel%
SetFormat, Integer, Hex
Base := GetDllBase(DllName, PID)

start:=0x00000000
loop {
start:=start+0x1000
check:=ReadMemory(start+0x4,"Counter-Strike: Global Offensive")
check2:=ReadMemory(check,"Counter-Strike: Global Offensive")

if (check2==0x6574616D)


{

break
}
if (start>0xDDDDDDDD)
{
msgbox, Something went wrong O.o
}

}
offset:=start+0x550
end:=start+0x2000

loop
{
offset:=offset+0x4
check:=ReadMemory(offset,"Counter-Strike: Global Offensive")
checka:=check+0x1c
check2:=ReadMemory(check+0x1c,"Counter-Strike: Global Offensive")
if (check2==0x72617065)
{
break
}
if (offset>end)
{
msgbox, something went wrong OMG
}
}

msgbox, Cheat successfully injected... Press F6 In main menu...

offsets3:=offset

t1:=ReadMemory(offsets3,"Counter-Strike: Global Offensive")
t2:=ReadMemory(offsets3+0x8,"Counter-Strike: Global Offensive")
t3:=ReadMemory(offsets3+0x10,"Counter-Strike: Global Offensive")
t4:=ReadMemory(offsets3+0x18,"Counter-Strike: Global Offensive")
t5:=ReadMemory(offsets3+0x20,"Counter-Strike: Global Offensive")
t6:=ReadMemory(offsets3+0x28,"Counter-Strike: Global Offensive")
t7:=ReadMemory(offsets3+0x30,"Counter-Strike: Global Offensive")

offsetsct:=offsets3+0x30+0xC0

ct1:=ReadMemory(offsetsct,"Counter-Strike: Global Offensive")
ct2:=ReadMemory(offsetsct+0x8,"Counter-Strike: Global Offensive")
ct3:=ReadMemory(offsetsct+0x10,"Counter-Strike: Global Offensive")
ct4:=ReadMemory(offsetsct+0x18,"Counter-Strike: Global Offensive")
ct5:=ReadMemory(offsetsct+0x20,"Counter-Strike: Global Offensive")
ct6:=ReadMemory(offsetsct+0x28,"Counter-Strike: Global Offensive")
ct7:=ReadMemory(offsetsct+0x638,"Counter-Strike: Global Offensive")


t11:=t1+0x96D
t111:=ReadMemoryString(t11,"Counter-Strike: Global Offensive")
rewritetex(t111,t11)
t22:=t2+0xC0F
t222:=ReadMemoryString(t22,"Counter-Strike: Global Offensive")
rewritetex(t222,t22)
t33:=t3+0x45D
t333:=ReadMemoryString(t33,"Counter-Strike: Global Offensive")
rewritetex(t333,t33)
t44:=t4+0x7e1
t444:=ReadMemoryString(t44,"Counter-Strike: Global Offensive")
rewritetex(t444,t44)
t55:=t5+0xACC
t555:=ReadMemoryString(t55,"Counter-Strike: Global Offensive")
rewritetex(t555,t55)
t66:=t6+0xFD
t666:=ReadMemoryString(t66,"Counter-Strike: Global Offensive")
rewritetex(t666,t66)
t77:=t7+0x838
t777:=ReadMemoryString(t77,"Counter-Strike: Global Offensive")
rewritetex(t777,t77)



ct11:=ct1+0x27D
ct111:=ReadMemoryString(ct11,"Counter-Strike: Global Offensive")
rewritetex2(ct111,ct11)
ct22:=ct2+0x219d
t222:=ReadMemoryString(ct22,"Counter-Strike: Global Offensive")
rewritetex2(ct222,ct22)
ct33:=ct3+0x378
ct333:=ReadMemoryString(ct33,"Counter-Strike: Global Offensive")
rewritetex2(ct333,ct33)
ct44:=ct4+0x7e1
ct444:=ReadMemoryString(ct44,"Counter-Strike: Global Offensive")
rewritetex2(ct444,ct44)
ct55:=ct5+0xA70
ct555:=ReadMemoryString(ct55,"Counter-Strike: Global Offensive")
rewritetex2(ct111,ct11)
ct66:=ct6+0x111
ct666:=ReadMemoryString(ct66,"Counter-Strike: Global Offensive")
rewritetex2(ct666,ct66)
ct77:=ct7+0xEB7
ct777:=ReadMemoryString(ct77,"Counter-Strike: Global Offensive")
rewritetex2(ct777,ct77)








ExitApp


rewritetex(Haystack,offsettex)
{

Needle = "$rimlight"
StringGetPos, pos, Haystack, %Needle%
if (pos >= 0)
{ WriteMemory(0x6E676924,offsettex+pos+0x0,"Counter-Strike: Global Offensive")
WriteMemory(0x7A65726F,offsettex+pos+0x4,"Counter-Strike: Global Offensive")
WriteMemory(0x20203120,offsettex+pos+0x8,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0xC,"Counter-Strike: Global Offensive")
WriteMemory(0x6C6F6324,offsettex+pos+0x10,"Counter-Strike: Global Offensive")
WriteMemory(0x2220726F,offsettex+pos+0x14,"Counter-Strike: Global Offensive")
WriteMemory(0x3020395B,offsettex+pos+0x18,"Counter-Strike: Global Offensive")
WriteMemory(0x225D3020,offsettex+pos+0x1C,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x20,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x24,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x28,"Counter-Strike: Global Offensive")
}
}

rewritetex2(Haystack,offsettex)
{

Needle = "$rimlight"
StringGetPos, pos, Haystack, %Needle%
if (pos >= 0)
{ WriteMemory(0x6E676924,offsettex+pos+0x0,"Counter-Strike: Global Offensive")
WriteMemory(0x7A65726F,offsettex+pos+0x4,"Counter-Strike: Global Offensive")
WriteMemory(0x20203120,offsettex+pos+0x8,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0xC,"Counter-Strike: Global Offensive")
WriteMemory(0x6C6F6324,offsettex+pos+0x10,"Counter-Strike: Global Offensive")
WriteMemory(0x2220726F,offsettex+pos+0x14,"Counter-Strike: Global Offensive")
WriteMemory(0x3020305B,offsettex+pos+0x18,"Counter-Strike: Global Offensive")
WriteMemory(0x225D3920,offsettex+pos+0x1C,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x20,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x24,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x28,"Counter-Strike: Global Offensive")
}
}





ReadMemory(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%
VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
return, result
}






WriteMemory(WVALUE,MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%



ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt")
DllCall("WriteProcessMemory", "UInt", ProcessHandle, "UInt", MADDRESS, "Uint*", WVALUE,"Uint", 4, "Uint *", 0)

DllCall("CloseHandle", "int", ProcessHandle)
return
}



GetDllBase(DllName, PID = 0)
{
TH32CS_SNAPMODULE := 0x00000008
INVALID_HANDLE_VALUE = -1
VarSetCapacity(me32, 548, 0)
NumPut(548, me32)
snapMod := DllCall("CreateToolhelp32Snapshot", "Uint", TH32CS_SNAPMODULE
, "Uint", PID)
If (snapMod = INVALID_HANDLE_VALUE) {
Return 0
}
If (DllCall("Module32First", "Uint", snapMod, "Uint", &me32)){
while(DllCall("Module32Next", "Uint", snapMod, "UInt", &me32)) {
If !DllCall("lstrcmpi", "Str", DllName, "UInt", &me32 + 32) {
DllCall("CloseHandle", "UInt", snapMod)
Return NumGet(&me32 + 20)
}
}
}
DllCall("CloseHandle", "Uint", snapMod)
Return 0
}


ReadMemoryString(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%

ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "Uint")
teststr =
Loop 32
{
Output := "x"
tempVar := DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", MADDRESS, "str", Output, "Uint", 1, "Uint *", 0)
if (ErrorLevel or !tempVar)
{
DllCall("CloseHandle", "int", ProcessHandle)
return teststr
}



teststr = %teststr%%Output%
MADDRESS++
}
DllCall("CloseHandle", "int", ProcessHandle)
return, teststr

}[/code]
tinco

Re: Compilation of most useful CS:GO scripts- Post yours here!

17 Nov 2016, 17:49

So how exactly does this work? The message box states that it is both a cheat and an injection. The code also mentions a .dll file several times. I just want to verify that this script is ONLY using AutoHotkey and isn't injecting anything into CS:GO or running a cheat program. Basically, I want to know if it is possible to get VAC banned by using this. AHK scripts aren't detectable, but I'm having doubts about what exactly this is.
anomous

Re: Compilation of most useful CS:GO scripts- Post yours here!

20 Nov 2016, 12:12

anomous wrote:to use them you MUST PRESS F6 WHEN YOU ARE LOADING INTO COUNTER STRIKE TO ACTIVATE THEM and if it fails then just try again and it will work

i didn't think that this was a thing however these are walls yes like the thing where you can see thru walls it only works on some maps like dust 2 mirage inferno and a few others and it also only shows you people in Ur region so like so if im on A site on dust 2 then i can only see thru walls like cat and long and i cant see all the way to B site

be careful if Ur obvious with it you will get over watched


; <COMPILER: v1.0.48.5>
F6::

Process = csgo.exe
DllName = client.dll
msgbox, [Undetected, Stable] Updating...

Process, Exist, %Process%
PID = %ErrorLevel%
SetFormat, Integer, Hex
Base := GetDllBase(DllName, PID)

start:=0x00000000
loop {
start:=start+0x1000
check:=ReadMemory(start+0x4,"Counter-Strike: Global Offensive")
check2:=ReadMemory(check,"Counter-Strike: Global Offensive")

if (check2==0x6574616D)


{

break
}
if (start>0xDDDDDDDD)
{
msgbox, Something went wrong O.o
}

}
offset:=start+0x550
end:=start+0x2000

loop
{
offset:=offset+0x4
check:=ReadMemory(offset,"Counter-Strike: Global Offensive")
checka:=check+0x1c
check2:=ReadMemory(check+0x1c,"Counter-Strike: Global Offensive")
if (check2==0x72617065)
{
break
}
if (offset>end)
{
msgbox, something went wrong OMG
}
}

msgbox, Cheat successfully injected... Press F6 In main menu...

offsets3:=offset

t1:=ReadMemory(offsets3,"Counter-Strike: Global Offensive")
t2:=ReadMemory(offsets3+0x8,"Counter-Strike: Global Offensive")
t3:=ReadMemory(offsets3+0x10,"Counter-Strike: Global Offensive")
t4:=ReadMemory(offsets3+0x18,"Counter-Strike: Global Offensive")
t5:=ReadMemory(offsets3+0x20,"Counter-Strike: Global Offensive")
t6:=ReadMemory(offsets3+0x28,"Counter-Strike: Global Offensive")
t7:=ReadMemory(offsets3+0x30,"Counter-Strike: Global Offensive")

offsetsct:=offsets3+0x30+0xC0

ct1:=ReadMemory(offsetsct,"Counter-Strike: Global Offensive")
ct2:=ReadMemory(offsetsct+0x8,"Counter-Strike: Global Offensive")
ct3:=ReadMemory(offsetsct+0x10,"Counter-Strike: Global Offensive")
ct4:=ReadMemory(offsetsct+0x18,"Counter-Strike: Global Offensive")
ct5:=ReadMemory(offsetsct+0x20,"Counter-Strike: Global Offensive")
ct6:=ReadMemory(offsetsct+0x28,"Counter-Strike: Global Offensive")
ct7:=ReadMemory(offsetsct+0x638,"Counter-Strike: Global Offensive")


t11:=t1+0x96D
t111:=ReadMemoryString(t11,"Counter-Strike: Global Offensive")
rewritetex(t111,t11)
t22:=t2+0xC0F
t222:=ReadMemoryString(t22,"Counter-Strike: Global Offensive")
rewritetex(t222,t22)
t33:=t3+0x45D
t333:=ReadMemoryString(t33,"Counter-Strike: Global Offensive")
rewritetex(t333,t33)
t44:=t4+0x7e1
t444:=ReadMemoryString(t44,"Counter-Strike: Global Offensive")
rewritetex(t444,t44)
t55:=t5+0xACC
t555:=ReadMemoryString(t55,"Counter-Strike: Global Offensive")
rewritetex(t555,t55)
t66:=t6+0xFD
t666:=ReadMemoryString(t66,"Counter-Strike: Global Offensive")
rewritetex(t666,t66)
t77:=t7+0x838
t777:=ReadMemoryString(t77,"Counter-Strike: Global Offensive")
rewritetex(t777,t77)



ct11:=ct1+0x27D
ct111:=ReadMemoryString(ct11,"Counter-Strike: Global Offensive")
rewritetex2(ct111,ct11)
ct22:=ct2+0x219d
t222:=ReadMemoryString(ct22,"Counter-Strike: Global Offensive")
rewritetex2(ct222,ct22)
ct33:=ct3+0x378
ct333:=ReadMemoryString(ct33,"Counter-Strike: Global Offensive")
rewritetex2(ct333,ct33)
ct44:=ct4+0x7e1
ct444:=ReadMemoryString(ct44,"Counter-Strike: Global Offensive")
rewritetex2(ct444,ct44)
ct55:=ct5+0xA70
ct555:=ReadMemoryString(ct55,"Counter-Strike: Global Offensive")
rewritetex2(ct111,ct11)
ct66:=ct6+0x111
ct666:=ReadMemoryString(ct66,"Counter-Strike: Global Offensive")
rewritetex2(ct666,ct66)
ct77:=ct7+0xEB7
ct777:=ReadMemoryString(ct77,"Counter-Strike: Global Offensive")
rewritetex2(ct777,ct77)








ExitApp


rewritetex(Haystack,offsettex)
{

Needle = "$rimlight"
StringGetPos, pos, Haystack, %Needle%
if (pos >= 0)
{ WriteMemory(0x6E676924,offsettex+pos+0x0,"Counter-Strike: Global Offensive")
WriteMemory(0x7A65726F,offsettex+pos+0x4,"Counter-Strike: Global Offensive")
WriteMemory(0x20203120,offsettex+pos+0x8,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0xC,"Counter-Strike: Global Offensive")
WriteMemory(0x6C6F6324,offsettex+pos+0x10,"Counter-Strike: Global Offensive")
WriteMemory(0x2220726F,offsettex+pos+0x14,"Counter-Strike: Global Offensive")
WriteMemory(0x3020395B,offsettex+pos+0x18,"Counter-Strike: Global Offensive")
WriteMemory(0x225D3020,offsettex+pos+0x1C,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x20,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x24,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x28,"Counter-Strike: Global Offensive")
}
}

rewritetex2(Haystack,offsettex)
{

Needle = "$rimlight"
StringGetPos, pos, Haystack, %Needle%
if (pos >= 0)
{ WriteMemory(0x6E676924,offsettex+pos+0x0,"Counter-Strike: Global Offensive")
WriteMemory(0x7A65726F,offsettex+pos+0x4,"Counter-Strike: Global Offensive")
WriteMemory(0x20203120,offsettex+pos+0x8,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0xC,"Counter-Strike: Global Offensive")
WriteMemory(0x6C6F6324,offsettex+pos+0x10,"Counter-Strike: Global Offensive")
WriteMemory(0x2220726F,offsettex+pos+0x14,"Counter-Strike: Global Offensive")
WriteMemory(0x3020305B,offsettex+pos+0x18,"Counter-Strike: Global Offensive")
WriteMemory(0x225D3920,offsettex+pos+0x1C,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x20,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x24,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x28,"Counter-Strike: Global Offensive")
}
}





ReadMemory(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%
VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
return, result
}






WriteMemory(WVALUE,MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%



ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt")
DllCall("WriteProcessMemory", "UInt", ProcessHandle, "UInt", MADDRESS, "Uint*", WVALUE,"Uint", 4, "Uint *", 0)

DllCall("CloseHandle", "int", ProcessHandle)
return
}



GetDllBase(DllName, PID = 0)
{
TH32CS_SNAPMODULE := 0x00000008
INVALID_HANDLE_VALUE = -1
VarSetCapacity(me32, 548, 0)
NumPut(548, me32)
snapMod := DllCall("CreateToolhelp32Snapshot", "Uint", TH32CS_SNAPMODULE
, "Uint", PID)
If (snapMod = INVALID_HANDLE_VALUE) {
Return 0
}
If (DllCall("Module32First", "Uint", snapMod, "Uint", &me32)){
while(DllCall("Module32Next", "Uint", snapMod, "UInt", &me32)) {
If !DllCall("lstrcmpi", "Str", DllName, "UInt", &me32 + 32) {
DllCall("CloseHandle", "UInt", snapMod)
Return NumGet(&me32 + 20)
}
}
}
DllCall("CloseHandle", "Uint", snapMod)
Return 0
}


ReadMemoryString(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%

ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "Uint")
teststr =
Loop 32
{
Output := "x"
tempVar := DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", MADDRESS, "str", Output, "Uint", 1, "Uint *", 0)
if (ErrorLevel or !tempVar)
{
DllCall("CloseHandle", "int", ProcessHandle)
return teststr
}



teststr = %teststr%%Output%
MADDRESS++
}
DllCall("CloseHandle", "int", ProcessHandle)
return, teststr

}[/code]
please do not use this any more it is now detectable
joshuam1008

Re: Compilation of most useful CS:GO scripts- Post yours here!

04 Jan 2017, 20:23

Hey, I am new to AutoHotkey. How do I lower the rate of fire for rifles? I don't know what to change in the code you provided. Thanks!
JACOBJACOBJACOB

Re: Compilation of most useful CS:GO scripts- Post yours here!

22 Jan 2017, 20:28

FOR THOSE WHO DONT LIKE THE BIG SPACES WHEN YOU ARE TYPING, USE THIS ONE.

I DID NOT MAKE THIS..

AND I GUARANTEE SOMEONE ALREADY HAS THIS ON THIS PAGE, BUT THIS ONE IS FORSURE GOING TO ELIMINATE THAT TYPING BIG SPACE PROBLEM

Bhop:
*~$Space::
Sleep 100
Loop
{
GetKeyState, SpaceState, Space, P
If SpaceState = U
break
Sleep 5
Send, {Blind}{Space}
}

WITH MUCH LOVE
Lima

Re: Compilation of most useful CS:GO scripts- Post yours here!

13 Jun 2017, 07:20

negusp wrote:Hi everyone, this is my first post. I have played around with Autohotkey and found and compiled some really useful scripts for CS:GO. Below are some of the most useful scripts to be used in CS:GO.
Spoiler
I feel like it does not work for me. With the command cl_showpos 1 holding the D key for example and releasing, I do not feel a quick stop.
i need help

Re: Compilation of most useful CS:GO scripts- Post yours here!

23 Jun 2017, 18:51

How do i not use it? It no longer works because i killed the script by putting Esc::ExitApp in the script. However when i press F6 it still beeps and the cheat injected box still pops up. Please help. I don't want to get banned.
its ye boi

Re: Compilation of most useful CS:GO scripts- Post yours here!

01 Nov 2017, 23:10

anomous wrote:to use them you MUST PRESS F6 WHEN YOU ARE LOADING INTO COUNTER STRIKE TO ACTIVATE THEM and if it fails then just try again and it will work

i didn't think that this was a thing however these are walls yes like the thing where you can see thru walls it only works on some maps like dust 2 mirage inferno and a few others and it also only shows you people in Ur region so like so if im on A site on dust 2 then i can only see thru walls like cat and long and i cant see all the way to B site

be careful if Ur obvious with it you will get over watched


; <COMPILER: v1.0.48.5>
F6::

Process = csgo.exe
DllName = client.dll
msgbox, [Undetected, Stable] Updating...

Process, Exist, %Process%
PID = %ErrorLevel%
SetFormat, Integer, Hex
Base := GetDllBase(DllName, PID)

start:=0x00000000
loop {
start:=start+0x1000
check:=ReadMemory(start+0x4,"Counter-Strike: Global Offensive")
check2:=ReadMemory(check,"Counter-Strike: Global Offensive")

if (check2==0x6574616D)


{

break
}
if (start>0xDDDDDDDD)
{
msgbox, Something went wrong O.o
}

}
offset:=start+0x550
end:=start+0x2000

loop
{
offset:=offset+0x4
check:=ReadMemory(offset,"Counter-Strike: Global Offensive")
checka:=check+0x1c
check2:=ReadMemory(check+0x1c,"Counter-Strike: Global Offensive")
if (check2==0x72617065)
{
break
}
if (offset>end)
{
msgbox, something went wrong OMG
}
}

msgbox, Cheat successfully injected... Press F6 In main menu...

offsets3:=offset

t1:=ReadMemory(offsets3,"Counter-Strike: Global Offensive")
t2:=ReadMemory(offsets3+0x8,"Counter-Strike: Global Offensive")
t3:=ReadMemory(offsets3+0x10,"Counter-Strike: Global Offensive")
t4:=ReadMemory(offsets3+0x18,"Counter-Strike: Global Offensive")
t5:=ReadMemory(offsets3+0x20,"Counter-Strike: Global Offensive")
t6:=ReadMemory(offsets3+0x28,"Counter-Strike: Global Offensive")
t7:=ReadMemory(offsets3+0x30,"Counter-Strike: Global Offensive")

offsetsct:=offsets3+0x30+0xC0

ct1:=ReadMemory(offsetsct,"Counter-Strike: Global Offensive")
ct2:=ReadMemory(offsetsct+0x8,"Counter-Strike: Global Offensive")
ct3:=ReadMemory(offsetsct+0x10,"Counter-Strike: Global Offensive")
ct4:=ReadMemory(offsetsct+0x18,"Counter-Strike: Global Offensive")
ct5:=ReadMemory(offsetsct+0x20,"Counter-Strike: Global Offensive")
ct6:=ReadMemory(offsetsct+0x28,"Counter-Strike: Global Offensive")
ct7:=ReadMemory(offsetsct+0x638,"Counter-Strike: Global Offensive")


t11:=t1+0x96D
t111:=ReadMemoryString(t11,"Counter-Strike: Global Offensive")
rewritetex(t111,t11)
t22:=t2+0xC0F
t222:=ReadMemoryString(t22,"Counter-Strike: Global Offensive")
rewritetex(t222,t22)
t33:=t3+0x45D
t333:=ReadMemoryString(t33,"Counter-Strike: Global Offensive")
rewritetex(t333,t33)
t44:=t4+0x7e1
t444:=ReadMemoryString(t44,"Counter-Strike: Global Offensive")
rewritetex(t444,t44)
t55:=t5+0xACC
t555:=ReadMemoryString(t55,"Counter-Strike: Global Offensive")
rewritetex(t555,t55)
t66:=t6+0xFD
t666:=ReadMemoryString(t66,"Counter-Strike: Global Offensive")
rewritetex(t666,t66)
t77:=t7+0x838
t777:=ReadMemoryString(t77,"Counter-Strike: Global Offensive")
rewritetex(t777,t77)



ct11:=ct1+0x27D
ct111:=ReadMemoryString(ct11,"Counter-Strike: Global Offensive")
rewritetex2(ct111,ct11)
ct22:=ct2+0x219d
t222:=ReadMemoryString(ct22,"Counter-Strike: Global Offensive")
rewritetex2(ct222,ct22)
ct33:=ct3+0x378
ct333:=ReadMemoryString(ct33,"Counter-Strike: Global Offensive")
rewritetex2(ct333,ct33)
ct44:=ct4+0x7e1
ct444:=ReadMemoryString(ct44,"Counter-Strike: Global Offensive")
rewritetex2(ct444,ct44)
ct55:=ct5+0xA70
ct555:=ReadMemoryString(ct55,"Counter-Strike: Global Offensive")
rewritetex2(ct111,ct11)
ct66:=ct6+0x111
ct666:=ReadMemoryString(ct66,"Counter-Strike: Global Offensive")
rewritetex2(ct666,ct66)
ct77:=ct7+0xEB7
ct777:=ReadMemoryString(ct77,"Counter-Strike: Global Offensive")
rewritetex2(ct777,ct77)








ExitApp


rewritetex(Haystack,offsettex)
{

Needle = "$rimlight"
StringGetPos, pos, Haystack, %Needle%
if (pos >= 0)
{ WriteMemory(0x6E676924,offsettex+pos+0x0,"Counter-Strike: Global Offensive")
WriteMemory(0x7A65726F,offsettex+pos+0x4,"Counter-Strike: Global Offensive")
WriteMemory(0x20203120,offsettex+pos+0x8,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0xC,"Counter-Strike: Global Offensive")
WriteMemory(0x6C6F6324,offsettex+pos+0x10,"Counter-Strike: Global Offensive")
WriteMemory(0x2220726F,offsettex+pos+0x14,"Counter-Strike: Global Offensive")
WriteMemory(0x3020395B,offsettex+pos+0x18,"Counter-Strike: Global Offensive")
WriteMemory(0x225D3020,offsettex+pos+0x1C,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x20,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x24,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x28,"Counter-Strike: Global Offensive")
}
}

rewritetex2(Haystack,offsettex)
{

Needle = "$rimlight"
StringGetPos, pos, Haystack, %Needle%
if (pos >= 0)
{ WriteMemory(0x6E676924,offsettex+pos+0x0,"Counter-Strike: Global Offensive")
WriteMemory(0x7A65726F,offsettex+pos+0x4,"Counter-Strike: Global Offensive")
WriteMemory(0x20203120,offsettex+pos+0x8,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0xC,"Counter-Strike: Global Offensive")
WriteMemory(0x6C6F6324,offsettex+pos+0x10,"Counter-Strike: Global Offensive")
WriteMemory(0x2220726F,offsettex+pos+0x14,"Counter-Strike: Global Offensive")
WriteMemory(0x3020305B,offsettex+pos+0x18,"Counter-Strike: Global Offensive")
WriteMemory(0x225D3920,offsettex+pos+0x1C,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x20,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x24,"Counter-Strike: Global Offensive")
WriteMemory(0x0A0D0A0D,offsettex+pos+0x28,"Counter-Strike: Global Offensive")
}
}





ReadMemory(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%
VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
return, result
}






WriteMemory(WVALUE,MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%



ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt")
DllCall("WriteProcessMemory", "UInt", ProcessHandle, "UInt", MADDRESS, "Uint*", WVALUE,"Uint", 4, "Uint *", 0)

DllCall("CloseHandle", "int", ProcessHandle)
return
}



GetDllBase(DllName, PID = 0)
{
TH32CS_SNAPMODULE := 0x00000008
INVALID_HANDLE_VALUE = -1
VarSetCapacity(me32, 548, 0)
NumPut(548, me32)
snapMod := DllCall("CreateToolhelp32Snapshot", "Uint", TH32CS_SNAPMODULE
, "Uint", PID)
If (snapMod = INVALID_HANDLE_VALUE) {
Return 0
}
If (DllCall("Module32First", "Uint", snapMod, "Uint", &me32)){
while(DllCall("Module32Next", "Uint", snapMod, "UInt", &me32)) {
If !DllCall("lstrcmpi", "Str", DllName, "UInt", &me32 + 32) {
DllCall("CloseHandle", "UInt", snapMod)
Return NumGet(&me32 + 20)
}
}
}
DllCall("CloseHandle", "Uint", snapMod)
Return 0
}


ReadMemoryString(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%

ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "Uint")
teststr =
Loop 32
{
Output := "x"
tempVar := DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", MADDRESS, "str", Output, "Uint", 1, "Uint *", 0)
if (ErrorLevel or !tempVar)
{
DllCall("CloseHandle", "int", ProcessHandle)
return teststr
}



teststr = %teststr%%Output%
MADDRESS++
}
DllCall("CloseHandle", "int", ProcessHandle)
return, teststr

}[/code]














it only shows up to see the CT how do i make it see both teams???
alfa1234

Re: Compilation of most useful CS:GO scripts- Post yours here!

02 Nov 2017, 11:57

ANY UPDATED CODES FOR NEW DUST 2 MAP .... AND NEW character model ???
OLD script doesnt work cause character model have changed .. hence source code for them have changed ... PLEASE POST UPDATED SCRIPT.
Scooby

Re: Compilation of most useful CS:GO scripts- Post yours here!

21 Dec 2017, 07:56

joshuam1008 wrote:Hey, I am new to AutoHotkey. How do I lower the rate of fire for rifles? I don't know what to change in the code you provided. Thanks!
decrease the strength

Return to “Gaming Scripts (v1)”

Who is online

Users browsing this forum: No registered users and 35 guests