Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 54
  1. #1
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical

    Advanced KDR Calculator

    I've been updating a few of my programs recently, and when i read bombs thread asking for ideas on a new useful tool to use with CA, a KDR Calculator was suggested. In mentioning that i still had my KDR Calculator script around for the math to create his own, i found it and realized that although the math for increasing KDR was perfect, however the math for decreasing KDR was way off. After quite some time of refreshing myself with the current math, i was able to correct the math for decreasing KDR and here it is.

    I kept the GUI simple, nothing fancy, just a dark grey/silver background..



    THE FOLLOWING CODE IS COPIED STRAIGHT FROM THE SOURCE OF THIS KDR CALCULATOR. THE CODE IS FOR AUTOIT v3, AND NO I WILL NOT TRANSLATE IT FOR YOU.. unless i know you AND consider you as a personal friend.
    Code:
    Func CurrentKDR()
    	$K1 = GUICtrlRead($Kills)
    	$D1 = GUICtrlRead($Deaths)
    	$C1 = $K1 / $D1
    	$F1 = StringLeft($C1, 4)
    	If $K1 = 0 Or $D1 = 0 Then
    		GUICtrlSetData($Current, "Try Again..")
    		GUICtrlSetState($Desired, $GUI_DISABLE)
    		GUICtrlSetState($Button2, $GUI_DISABLE)
    	Else
    		GUICtrlSetData($Current, $F1)
    		GUICtrlSetState($Desired, $GUI_ENABLE)
    		GUICtrlSetState($Button2, $GUI_ENABLE)
    	EndIf
    EndFunc
    Func DesiredKDR()
    	$K = GUICtrlRead($Kills)
    	$D = GUICtrlRead($Deaths)
    	$E = GUICtrlRead($Desired)
    	$y = $D * $E
    	$x = $K / $E
    	$v = $y - $K
    	$t = $x + $D
    	$m = $v + $K
    	$m2 = $t - $D
    	$stringM2 = StringSplit($m2, ".")
    	$stringM = StringSplit($m, ".")
    	$stringV = StringSplit($v, ".")
    	If GUICtrlRead($Desired) = 0 Then
    		GUICtrlSetData($KillsToGo, "What Do You Want Your KDR To Be?")
    	ElseIf GUICtrlRead($Desired) > 0 Then
    		If $v >= 0 Then
    			GUICtrlSetData($KillsToGo, $stringV[1] & " More Kills")
    			GUICtrlSetData($KillsAfter, $stringM[1])
    			GUICtrlSetData($DeathsAfter, $D)
    		ElseIf $v < 0 Then
    			GUICtrlSetData($KillsToGo, $stringM2[1] - $D & " More Deaths")
    			GUICtrlSetData($KillsAfter, $K)
    			GUICtrlSetData($DeathsAfter, $stringM2[1])
    		EndIf
    	ElseIf GUICtrlRead($Desired) < 0 Then
    		GUICtrlSetData($KillsToGo, "Silly Noob.. No Such Thing As Negative KDR")
    	EndIf
    EndFunc



    @bombs.. dont know if you actually wanted to do a KDR Calc.. however if you do i'd be glad to help you with the math of it.
    Last edited by Grim; 04-29-2010 at 09:56 PM.
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  2. The Following 31 Users Say Thank You to Grim For This Useful Post:

    187pig (02-11-2011),Ali (04-29-2010),BossMan. (04-30-2010),breaksafe (04-29-2010),Cameronol (05-01-2010),CRUSTY (04-29-2010),deadskulz (07-18-2010),deathcookies (04-29-2010),dgatling (07-26-2012),DOEET (04-29-2010),draga01 (04-29-2010),GameHacks01 (10-22-2010),IHelper (04-29-2010),Julma Henri (04-29-2010),justin2010 (09-25-2010),kalner123 (01-23-2013),kalner1234 (01-23-2013),landowner (04-29-2010),Melix (07-24-2013),noob555 (04-29-2010),Obama (04-29-2010),pepsi233 (04-29-2010),pkrownedu (07-09-2013),rpj (07-10-2010),shadow2345 (04-29-2010),Storm (07-14-2010),Synchromanica (04-29-2010),tambre (06-16-2010),tempta43 (04-29-2010),tiodanii (06-19-2010),WOLFPACK X69X (04-29-2010)

  3. #31
    SmartAlley's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    CA General Section
    Posts
    14,370
    Reputation
    577
    Thanks
    1,661
    My Mood
    Hot
    Great Job as always...!

  4. #32
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical
    thanks guys.. i appreciate all the great comments.

    and to whoever asked me what this is made in, its AutoIt v3. Google it
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  5. #33
    breaksafe's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    Michigan
    Posts
    169
    Reputation
    10
    Thanks
    20
    My Mood
    Bored
    Hmm. Actually this is gonna come in handy. I'm gonna start botting alot to get my killdeath down so i can play with scrubs.. Thanks alot WPS /Thanked /Downloaded<3
    [IMG]https://i811.photobucke*****m/albums/zz40/breaksafe/Thad.png[/IMG]
    Quote Originally Posted by Boombox View Post
    Get off the minions dicks.
    1337 G33kz
    NiiGHT 0WLZ
    Mpgh.net - PR0 H4CK3RZ!



    Be An EPIC NOOB []

  6. #34
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical
    Quote Originally Posted by breaksafe View Post
    Hmm. Actually this is gonna come in handy. I'm gonna start botting alot to get my killdeath down so i can play with scrubs.. Thanks alot WPS /Thanked /Downloaded<3
    thats what im here for also when you do successfully get your KDR down low enough, you can use this to see how many kills and deaths you'll have to avoid having so you can keep getting into the noob server. .01 difference in KDR is all it takes.
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  7. #35
    Pixipixel_'s Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    VCExpress.exe || France :D
    Posts
    2,087
    Reputation
    27
    Thanks
    742
    My Mood
    Cool
    Good job as always WPS !

  8. #36
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical
    thanks pix.. hey man.. while ur on vacation.. code me a CA VIP
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  9. #37
    IHelper's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Ask me tommorow
    Posts
    4,797
    Reputation
    53
    Thanks
    2,056
    My Mood
    Amazed
    Thanked because you deserve it.
    You want respect
    Earn it.

  10. The Following User Says Thank You to IHelper For This Useful Post:

    Grim (04-29-2010)

  11. #38
    Custom.™'s Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    389
    Reputation
    10
    Thanks
    22
    My Mood
    Psychedelic
    Quote Originally Posted by WarPathSin View Post
    good to hear. mostly useful if your KDR is above .80 and you want in foxtrot, or less than 1.20 and want in delta
    Gonna try his out now if it works then you are my man, and i gonna press thx.

    btw: was the account that smb shown really you? i eman kd 0.86 wouldnt be good so i didnt belived ;D

  12. #39
    NeXoWnEd.'s Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    56
    Reputation
    10
    Thanks
    4
    My Mood
    Angelic
    awesum!!!!!

  13. #40
    Irony's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    MPGH where else?
    Posts
    5,969
    Reputation
    285
    Thanks
    539
    My Mood
    Busy
    Omg. My Kdr ish 1.5 Thanx for helping meh =D

  14. #41
    calmiller's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Looking in your window :O
    Posts
    159
    Reputation
    10
    Thanks
    17
    My Mood
    In Love

    Wink thx

    Thank you man
    [html][/html] www.myspace.com/kahlbrah



    X =COMPLETE
    =NOT
    [X] Made my own hack
    [X] Got kicked for hacking
    [X] Got kicked for not hacking
    [] Get VIP for MPGH
    [] Become MPGH Mod
    [X] Get laid


    EFFECTS OF VIP FTW!

    THANK ME IF I HELPED

  15. #42
    IHelper's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Ask me tommorow
    Posts
    4,797
    Reputation
    53
    Thanks
    2,056
    My Mood
    Amazed
    Now i dont need to keep going on ca hq
    You want respect
    Earn it.

  16. #43
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    Quote Originally Posted by WarPathSin View Post
    @bombs.. dont know if you actually wanted to do a KDR Calc.. however if you do i'd be glad to help you with the math of it.
    Thanks man, ill think i can code it tho since in VB 2008 its realatively simple to do math and im pretty pro at VB 2008 so yah
    Btw nice job

  17. The Following User Says Thank You to Bombsaway707 For This Useful Post:

    Grim (04-29-2010)

  18. #44
    deadcows's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    174
    Reputation
    10
    Thanks
    16
    My Mood
    Worried
    but we can just use a regular calculator for it =/

  19. #45
    DeadLineHF's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Hey do you mind if i convert this to vb.net for others?

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [help] KDR Calculator
    By pushdis15 in forum Combat Arms Coding Help & Discussion
    Replies: 7
    Last Post: 01-22-2011, 05:03 PM
  2. Code for CBL Checker & KDR Calculator-
    By ultahackers in forum Combat Arms Spammers, Injectors and Multi Tools
    Replies: 6
    Last Post: 11-07-2010, 01:37 PM
  3. [Help] KDR Calculator?
    By xRenegade_x in forum WarRock Discussions
    Replies: 8
    Last Post: 10-19-2010, 06:23 AM
  4. Simple KDR Calculator
    By MvRouC12 in forum CrossFire Discussions
    Replies: 14
    Last Post: 05-07-2010, 06:59 AM
  5. [Release] KDR calculator
    By noob555 in forum Combat Arms Spammers, Injectors and Multi Tools
    Replies: 77
    Last Post: 03-26-2010, 07:30 PM