Thread: COD Toolbox

Page 1 of 5 123 ... LastLast
Results 1 to 15 of 68

Hybrid View

  1. #1
    zygorator's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    59
    My Mood
    Dead

    Red face COD Toolbox

    [This will never be bannable, it does not interact with the game itself in any way, it is simply a big ass macro]
    Original crosshair script by a guest on the autohotkey forum and master131
    whose release is here

    First script i've done. This was just something i cooked up for myself to learn a bit of scripting and make a script for all tools i would ever need in COD. Thought i might as well release it here too

    Still lagging so badly ingame that it's kinda hard to test stuff, still need to test it with all the weapons etc.

    Features: (so far)
    •Precise crosshair for Hardcore modes

    •Auto remove borders + maximize window

    •Adjustable recoil compensation

    •Weapon animation cancel button

    •Quickknife for very fast knifing

    •3 Different fire modes:
    1) Single gun rapidfire
    2) Akimbo/Dual Wield rapidfire
    3) Burst fire

    • Every feature has different sound ques and are easy to toggle/adjust ingame


    How to use:
    Simply run the file(or the source if you have AHK) and let it stay in your tray, it uses a meager 3.8mb of ram.
    Now every time you run a cod game, it will automatically maximize and all the other stuff.
    Your custom burst/recoil settings will be reset if you restart the script.


    Default Keybinds:
    All keys will behave as normal when gamewindow is not at the front, same goes for the overlay; it will only show ingame.

    < ;Animation canceling for faster reload.

    Insert ;Switch between fire modes
    Delete ;Toggle the crosshair

    Numpad - ;Lower amount of bullets fired in burst mode
    Numpad + ;Raise amount of bullets fired in burst mode

    End ;Toggle recoil compensation
    PgUP ;Increase recoil compensation (how many pixels it moves each time it is run)
    PgDn ;Decrease recoil compensation

    b ;Quickknife

    To change these you will have to edit the source file in notepad, though you will need autohotkey to recompile or run the script
    (might make a gui for changing keybinds when i figure out how).


    Other info:
    This should actually work with any COD game, and you can add other games in the top of the script. Though i'm only testing on BO so it might not work properly on others.

    Quickknife:
    Does a very very fast knife attack, around double the speed of tact. knife
    Note: Do not use with anything but Tomahawk or Throwing knife(MW2)/C4(MW2)
    There is a miniscule chance that your equipment will bork and knife will fail.
    It is spammable (almost) without fail with all pistols and some guns (G18 Akimbo, )

    Crosshair:
    Colour is changeable in the source file.
    It should always be centered when running in windowed + maximized/noborder.

    Colour is in base16. (This took me bloody forever to figure out from the original source >__<)
    eg, FF is 255, 00 is 00(duh)

    red = 00
    green = FF
    blue = 00





    Any antivirus message is bound to be a false positive, if you don't trust me, just get autohotkey and compile the script for yourself, sourcecode is included in the rar.
    Jotti's Malware scan
    Virustotal scan

    oh and first post here

    Imma just post the source here too, compile or run with autohotkey:

    Code:
    #SingleInstance
    #NoEnv
    ;------#COD TOOLBOX#-----------------------------------------------
    ;Script by Zygorator		 
    ;Original crosshair script by guest and master131
    ;------------------------------------------------------------------
    
    ;------------------------------------------------------------------
    ;Add your games window class name to this list to activate the script for that game
    ;------#GAMES#--------------------------------------------------
    
    GroupAdd,gamewindow ,ahk_class CoD4			;COD 4: MW
    GroupAdd,gamewindow ,ahk_class CoD-WaW		;COD 5: WAW
    GroupAdd,gamewindow ,ahk_class IW4			;COD 6: MW2
    GroupAdd,gamewindow ,ahk_class CoDBlackOps	;COD 7: BO
    
    ;------------------------------------------------------------------
    #IfWinActive ahk_group gamewindow
    ;------#INFO#------------------------------------------------------
    
    ;	Remember to set your game to run in windowed mode and restart if you want to show crosshair (and alt-tab out while dead)
    ;	The script will automatically maximize and remove borders from the game so it works completely like fullscreen mode
    ;	Punkbuster seems to hate overlays
    
    ;	There are three different fire modes:
    ;	1) Single gun rapidfire
    ;	2) Akimbo/Dual Wield rapidfire
    ;	3) Burst fire
    
    ;------------------------------------------------------------------
    ;All keys behave as normal when game window is not at the front.
    ;------#BINDINGS#--------------------------------------------------
    
    anim_cancel		= <			;Animation canceling for faster reload.
    
    switch_mode		= Insert 		;Switch between fire modes
    crosshair		= Delete		;Toggle the crosshair
    
    burst_down		= NumpadSub		;Lower amount of bullets fired in burst mode (different weapons have different firerates)
    burst_up		= NumpadAdd		;Raise amount of bullets fired in burst mode (you might need to raise/lower this more than once just to add/remove one bullet in the burst)
    
    recoil_toggle	= End			;Toggle recoil compensation
    recoil_up		= PgUP			;Increase recoil compensation (how many pixels it moves each time it is run)
    recoil_down		= PgDn			;Decrease recoil compensation
    
    quick_knife		= b			;Does a very very fast knife attack, around double the speed of tact. knife
    								;Note: Do not use with anything but Tomahawk/Throwing knife(MW2)/C4(MW2)
    								;There is a miniscule chance that you'r equipment will bork and knife will fail.
    								;It is spammable (almost) without fail with all pistols and some machineguns (G18 Akimbo)
    
    ;------------------------------------------------------------------
    ;Firerates in miliseconds. Lower is faster. Default should work fine, but some servers might kick when this low.
    ;For optimal results, set it close to the firerate of a specific gun (this will of course make it less optimal for other guns.)
    ;------#FIRERATES#-------------------------------------------------
    
    firerate_1 := 39 		;Mode 1
    firerate_2 := 39		;Mode 2
    firerate_3 := 39		;Mode 3
    
    ;------------------------------------------------------------------
    ;Crosshair colour in base16
    ;------#CROSSHAIR SETTINGS#----------------------------------------
    
    red = 00
    green = FF
    blue = 00
    
    ;------------------------------------------------------------------
    ;Don't change these unless you know what you're doing:
    ;------#OTHER VARIABLES#-------------------------------------------
    
    quick_knife = Home
    melee = v				
    equip = g
    switch_weapon = 1
    window_title = ahk_group gamewindow
    finalcolor = 0x00%blue%%green%%red%
    fire = LButton
    rcoil := 3
    rcoil_on := 0
    fullscreen := 0
    max_burst := 20
    max_recoil := 20
    fire_mode := 0
    looptime := 4
    drawshit := 0
    xpos := A_ScreenWidth/2
    ypos := A_ScreenHeight/2
    hDrwArea := DllCall("GetDC", "uint", Null)
    
    ;--------------------------------------------------------------
    ;Feel free to rage over incredible amounts of redundant code, my first script.
    ;--------------------------------------------------------------
    Hotkey,~*%fire%,rapidfireLoop
    Hotkey,~*%switch_mode%,doswitch_mode
    Hotkey,~*%crosshair%,docrosshair
    Hotkey,~*%burst_up%,doBurst_up
    Hotkey,~*%burst_down%,doBurst_down
    Hotkey,~*%recoil_down%,rcoildown
    Hotkey,~*%recoil_up%,rcoilup
    Hotkey,~*%recoil_toggle%,rcoiltoggle
    Hotkey,~*%anim_cancel%,animcancel
    Hotkey,~*%quick_knife%, quickKnife
    
    
    lazor:
    Loop
    {
    	WinWaitClose, %window_title%
    	{
    		fullscreen := 0
    		fire_mode := 0
    		Dontdraw()
    		drawshit := 0
    	}
    	
    	WinWait, %window_title%
    	{	
    		if not fullscreen = 1
    		{
    			WinActivate
    			fullscreen := 1
    			WinSet, Style, -0xC00000
    			WinMove, , , 0, 0
    			WinMaximize
    		}
    	}
    sleep 10000
    }
    return
    
    quickKnife:
    	doQuickKnife(melee,equip,switch_weapon)
    	
    doQuickKnife(v1,v2,v3) {
       SendInput {%v1% Down}      
          Sleep 40
       SendInput {%v1% Up}      
          Sleep 100
       SendInput {%v2% Down}
          Sleep 40
       SendInput {%v3% Down}
          Sleep 40
       SendInput {%v2% Up}
          Sleep 40
       SendInput {%v3% Up}      
    Sleep 190
    Return
    }
    
    
    animcancel:
    {
    	SendInput {%switch_weapon%}
    	sleep 10
    	SendInput {%switch_weapon%}
    	sleep 100
    }
    return
    
    doswitch_mode:
    If fire_mode < 3
    {
    	fire_mode += 1
    	if fire_mode = 1
    	{
    SoundBeep, 600, 100
    	}
    	else if fire_mode = 2
    	{
    SoundBeep, 800, 100
    	}
    	else if fire_mode = 3
    	{
    SoundBeep, 1000, 100
    	}
    }
    else
    {
    fire_mode := 0
    SoundBeep, 200, 100
    SoundBeep, 200, 100
    }
    return
    
    docrosshair:
    If drawshit < 1
    {
    	drawshit +=1
    	If drawshit = 1
    	{
    		Draw()
    	}
    }
    else
    {
    Dontdraw()
    drawshit := 0
    }
    return
    
    doBurst_down:
    IfWinActive, %window_title%
    {
    	if looptime > 1
    	{
    		SoundBeep, 650, 100
    		looptime -= 1
    	}
    	else
    	{
    		looptime = 1
    		SoundBeep, 650, 100
    		SoundBeep, 750, 100
    	}
    }
    return
    
    doBurst_up:
    if looptime < %max_burst%
    	{
    		SoundBeep, 450, 100
    		looptime += 1
    	}
    	else
    	{
    		looptime = %max_burst%
    		SoundBeep, 450, 100
    		SoundBeep, 550, 100
    	}
    return
    
    rcoildown:
    if rcoil > 1
    	{
    		SoundBeep, 450, 100
    		rcoil -= 1
    	}
    	else
    	{
    		SoundBeep, 440, 100
    		rcoil = 1
    	}
    return
    
    rcoilup:
    if rcoil < %max_recoil%
    	{
    		SoundBeep, 650, 100
    		rcoil += 1
    	}
    	else
    	{
    		SoundBeep, 650, 100
    		rcoil = %max_recoil%
    	}
    return
    
    rcoiltoggle:
    if rcoil_on = 0
    	{
    		SoundBeep, 1200, 100
    		rcoil_on := 1
    	}
    	else
    	{
    		SoundBeep, 350, 100
    		rcoil_on := 0
    	}
    return
    
    recoil_reduction()
    {
    	global
    	if rcoil_on = 1
    	{
    		MouseMove, 0, rcoil ,0 , r
    	}
    }
    return
    
    rapidfireLoop:
    if not fire_mode = 0
    {
        Loop
        {
    		GetKeyState, LButtonState, LButton, P
    		if fire_mode = 1
    		{
    			Click
    			recoil_reduction()
    			sleep, %firerate_1%
    			If LButtonState = U
    			{
    				break
    			}
    		}
    		else if fire_mode = 2
    		{
    			
    			Click
    			recoil_reduction()
    			Sleep, %firerate_2%
    			Click right
    			Sleep, %firerate_2%
    			If LButtonState = U
    			{
    				break
    			}
    		}
    		else if fire_mode = 3
    		{
    			loop %looptime%
    			{
    				Click
    				recoil_reduction()
    				Sleep %firerate_3%
    			}
    			Sleep 20
    			break
    		}
    		else
    		{
    			break
    		}
        }	
    }
    else
    {
    	if rcoil_on = 1
    	{
    		loop
    		{
    			sleep 60
    			recoil_reduction()
    			GetKeyState, LButtonState, LButton, P
    			If LButtonState = U
    			{
    				break
    			}
    		}
    	}
    }
    return
    
    
    
    Draw()
    {
    SetTimer, SetPixel, 1
    }
    return
    
    Dontdraw()
    {
    SetTimer, SetPixel, Off
    }
    return
    
    
    SetPixel:
    IfWinActive, %window_title%
    {
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 2, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 2, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 3, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 3, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 2, "int", ypos, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 2, "int", ypos, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 3, "int", ypos, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 3, "int", ypos, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 4, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 4, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 4, "int", ypos, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 4, "int", ypos, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 5, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 5, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 5, "int", ypos, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 5, "int", ypos, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 6, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 6, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 6, "int", ypos, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 6, "int", ypos, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 7, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 7, "uint", finalcolor)
    
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 7, "int", ypos, "uint", finalcolor)
    DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 7, "int", ypos, "uint", finalcolor)
    }
    Return
    
    ; THE END?
    ; (yes)
    Last edited by zygorator; 11-10-2010 at 06:43 PM.

  2. The Following 54 Users Say Thank You to zygorator For This Useful Post:

    -kipa- (11-20-2010),abc123456780 (09-15-2012),adi985 (08-26-2012),Adigo (05-12-2011),Aoredon (08-19-2012),asafmacbook (06-15-2012),bernardo57PT (06-17-2013),boobtube1 (06-29-2012),canınacakam (03-10-2013),cwaddle88 (08-04-2013),daza1991 (09-16-2012),derlinke (08-03-2011),dom55 (06-04-2013),faelan (05-08-2012),fuckmyasshole (12-13-2014),GOld fucking player (10-06-2014),grzesio1638 (08-20-2014),infin (11-10-2010),jaco6777 (04-07-2013),jh3265 (07-26-2014),jokerthekiller (09-18-2012),jonesd897 (06-16-2012),Julianiscool2 (07-26-2014),kampela (10-01-2012),kevenmaster (05-25-2016),kijen77 (12-05-2013),killerusa27 (11-20-2013),konic62 (03-16-2014),Krajix (07-20-2014),kurtskids (04-26-2012),lol12311 (10-04-2014),MasterFreeze (11-28-2010),mercenaire (06-09-2012),mininiquiaa (04-25-2012),Peanutz147 (08-14-2012),POTTYNO (11-15-2010),prelox (06-28-2015),RaiiZx (06-06-2014),robakin12 (11-18-2011),SAKATRAKA (03-27-2014),scarecrom (03-27-2016),ScHrAdE (10-22-2012),SlapYoNuts (07-18-2012),SLiiTH3R (03-16-2014),Smurfiiy (10-28-2012),SpitFire005 (04-12-2013),Stachio (05-27-2012),viperownage (12-04-2010),vmu123 (04-13-2014),william3998 (10-22-2012),xguih (10-15-2012),zanny1 (12-05-2010),zeeshanafzal (05-23-2012),_Az00z_ (06-17-2013)

  3. #2
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,940
    Reputation
    478
    Thanks
    1,752
    My Mood
    Bored
    Post a screenshot and second virus scan please.
    [center]

    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

  4. #3
    Threadstarter
    Unverified User
    zygorator's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    59
    My Mood
    Dead
    done and done

  5. #4
    Mikkelul's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    33
    My Mood
    Angry
    Cant press download?=

  6. #5
    infin's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    4
    My Mood
    Twisted
    Ow! waiting for approval .

  7. #6
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,940
    Reputation
    478
    Thanks
    1,752
    My Mood
    Bored
    The screen shot has nothign to do with the tool.. but let's say it is ok..



    /file approved
    [center]

    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

  8. #7
    Threadstarter
    Unverified User
    zygorator's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    59
    My Mood
    Dead
    Uploaded a fixed version now, for some reason i had botched up some values.

    Quote Originally Posted by B4M View Post
    The screen shot has nothign to do with the tool.. but let's say it is ok..



    /file approved
    Nothing else to screenshot, it has no interface :P


    Quote Originally Posted by Mikkelul
    Srsly! i tryed it and it changed ALL HOTKEYS ON MY KEYBOARD!
    wat, it doesn't even work outside of the game for everyone ive tested it with.
    Please describe what happened a bit better.

  9. #8
    Mikkelul's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    33
    My Mood
    Angry
    Srsly! i tryed it and it changed ALL HOTKEYS ON MY KEYBOARD!

  10. #9
    Threadstarter
    Unverified User
    zygorator's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    59
    My Mood
    Dead
    Haven't tested it with alterIW, i'm guessing it might have a different window_class name?
    Also some values are now more geared towards blackops. for mw2 these firerates work better(though the default should work as well):
    firerate_1 := 1 ;Mode 1
    firerate_2 := 1 ;Mode 2
    firerate_3 := 1 ;Mode 3

  11. The Following User Says Thank You to zygorator For This Useful Post:

    ktr67 (11-10-2010)

  12. #10
    ZeroTroubles's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Whereever I feel like.
    Posts
    3,050
    Reputation
    145
    Thanks
    505
    My Mood
    Amused
    I'm so lucky I bought my PS3... No hackers

  13. #11
    Mikkelul's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    33
    My Mood
    Angry
    What i mean with i could not do anything is i when out of the game disable AHK script and all my hotkeys were changed. A = ENTER and stuff

  14. #12
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    416
    Thanks
    1,614
    so far looks good,
    ill confirm it after my uni exam,
    which then we see how pro it looks,
    =) thanks.


  15. #13
    Threadstarter
    Unverified User
    zygorator's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    59
    My Mood
    Dead
    Added quickknifing and tweaked some numbers, should work better with more guns now.

    Quote Originally Posted by Mazzerin
    Yea nice toolkit, could you upload a seperate version of burst fire?(with toggle mode)
    Isn't it already togglable? Though yes, you have to toggle three times to only switch between normal and burst, might make separrate keys for each mode, i'll have a look later.

  16. #14
    Mazzerin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Lithuania
    Posts
    151
    Reputation
    10
    Thanks
    8
    Quote Originally Posted by zygorator View Post
    Added quickknifing and tweaked some numbers, should work better with more guns now.


    Isn't it already togglable? Though yes, you have to toggle three times to only switch between normal and burst, might make separrate keys for each mode, i'll have a look later.
    I don't really like it when everything is in it, I can't seem to make everything work, the crosshair isn't even in the middle of the screen, firing modes don't seem to work, I got my own crosshair(from master131<3), and rapid fire from some random guy at youtube, but I need a burst fire script now.
    The crosshair might not work cuz of W7? bigger taskbar and shit, might be my monitor too.(1680X1050)

  17. #15
    Threadstarter
    Unverified User
    zygorator's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    59
    My Mood
    Dead
    Quote Originally Posted by Mazzerin View Post
    I don't really like it when everything is in it, I can't seem to make everything work, the crosshair isn't even in the middle of the screen, firing modes don't seem to work, I got my own crosshair(from master131<3), and rapid fire from some random guy at youtube, but I need a burst fire script now.
    The crosshair might not work cuz of W7? bigger taskbar and shit, might be my monitor too.(1680X1050)
    Thats actually really weird, W7 and 1680X1050 here too, friend with 1920X1200 doesn't seem to have any probs either, and yeah, firing modes are still a bit buggy, was a lot easier to get working in mw2, looking into both.
    I'm mostly coding this for what i need myself and in a complete package, but you can try and grab the parts you need from it yourself, or make one, autohotkey is pretty easy/fun to get into.

    Edit: Btw, it seems that quickknifing works even better than i MW2, works with almost any weapon!
    Last edited by zygorator; 11-11-2010 at 06:52 AM.

Page 1 of 5 123 ... LastLast

Similar Threads

  1. TRADING CoD 4 CD KEY.
    By pacgamer in forum Trade Accounts/Keys/Items
    Replies: 2
    Last Post: 02-19-2008, 08:15 PM
  2. Cracked Server list COD 4
    By species8472 in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 11
    Last Post: 01-19-2008, 12:24 PM
  3. COD 4 Download free cracked server?
    By bassam in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 1
    Last Post: 01-02-2008, 09:15 AM
  4. A question regarding No DvD hack for COD 4, Wndows Vista
    By inocntspiltblood in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 2
    Last Post: 12-06-2007, 12:28 PM

Tags for this Thread