Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy

    Thumbs down

    Quote Originally Posted by xTremist View Post
    = defines
    == checks

    for example

    Code:
    int derp = 1
    if(derp == 1)
    {
        code.. woo
    }
    where is this for?
    if you just void NoSpread () it will work to

  2. #17
    Skatebone1's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    safafa
    Posts
    41
    Reputation
    10
    Thanks
    0
    My Mood
    Amused
    Found my problem! Its the key press!
    I want it that when the key is pressed not when the key is down :S
    Therefore I want it to happen once. I think I can either put sleep(not recommanded) Or remove the &1? Hmm

  3. #18
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy
    Quote Originally Posted by Skatebone1 View Post
    Found my problem! Its the key press!
    I want it that when the key is pressed not when the key is down :S
    Therefore I want it to happen once. I think I can either put sleep(not recommanded) Or remove the &1? Hmm
    Goodjob
    Closed

  4. #19
    Skatebone1's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    safafa
    Posts
    41
    Reputation
    10
    Thanks
    0
    My Mood
    Amused
    Hmm my problem remains :/ I dont want to use sleep because there are more hacks running on the same thread. You think I should start a separate thread for detecting keystrokes? Thanks

  5. #20
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy
    Quote Originally Posted by Skatebone1 View Post
    Hmm my problem remains :/ I dont want to use sleep because there are more hacks running on the same thread. You think I should start a separate thread for detecting keystrokes? Thanks
    Try
    But sleep is importand because it prevents from overunning cpu

  6. #21
    Skatebone1's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    safafa
    Posts
    41
    Reputation
    10
    Thanks
    0
    My Mood
    Amused
    When you say

    if(GetAsyncKeyState(VK_NUMPAD8)&1)

    What is the &1 representing?

    Edit: If im not mistaken the GetAsyncKeyState returns a value if a button is up or down.

    Hmm
    Last edited by Skatebone1; 11-09-2010 at 09:19 AM.

  7. #22
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy
    Quote Originally Posted by Skatebone1 View Post
    When you say

    if(GetAsyncKeyState(VK_NUMPAD8)&1)

    What is the &1 representing?

    Edit: If im not mistaken the GetAsyncKeyState returns a value if a button is up or down.

    Hmm
    its just a statement dont mind it

  8. The Following User Says Thank You to AeroMan For This Useful Post:

    Skatebone1 (11-09-2010)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Combat Arms Hacking/Account questions
    By synysters0ul in forum Debate Fort
    Replies: 4
    Last Post: 01-04-2009, 09:42 PM
  2. possible hack? and question
    By IceyFire in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 08-12-2008, 08:00 PM
  3. [GENERAL HACKING] proxy question
    By sempron_pwn in forum General Game Hacking
    Replies: 1
    Last Post: 02-27-2008, 09:05 AM
  4. [GENERAL HACKING] proxy question
    By sempron_pwn in forum General
    Replies: 2
    Last Post: 12-24-2007, 12:22 AM
  5. WarRock hacking... few questions
    By zelda803 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 02-03-2006, 03:03 PM