Results 1 to 6 of 6
  1. #1
    iamspeedforyou's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Look up.
    Posts
    89
    Reputation
    10
    Thanks
    42

    spammer delay speed

    Code:
                if(Main->Variables->iDelaySpeed)
                {
                    if(Main->D3D->Devices->dwConsoleCalled + 500 > GetTickCount64()) return;
                    else Main->D3D->Devices->dwConsoleCalled = GetTickCount64();
                }
    how does this effect the delay of the spammer.
    Last edited by iamspeedforyou; 06-08-2013 at 12:04 PM.

  2. #2
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    Quote Originally Posted by iamspeedforyou View Post
    Code:
                if(Main->Variables->iDelaySpeed)
                {
                    if(Main->D3D->Devices->dwConsoleCalled + 500 > GetTickCount64()) return;
                    else Main->D3D->Devices->dwConsoleCalled = GetTickCount64();
                }
    how does this effect the delay of the spammer.
    According to MSDN, GetTickCount64() returns the number of milliseconds since the system was started. Thus, the first line checks if it has been 500 ms since the last time the variable dwConsoleCalled was set. If 500 ms has elapsed, it sets the variable to the current amount of ms, and allows the function to continue execution. If 500 ms has not yet passed, the function returns immediately and does not continue to run. This combined guarantees that at least 500 milliseconds will elapse between each time the code following this if statement is executed.

    Oh no! Vortex is gay!

  3. The Following User Says Thank You to Saltine For This Useful Post:

    [MPGH]Flengo (06-08-2013)

  4. #3
    iamspeedforyou's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Look up.
    Posts
    89
    Reputation
    10
    Thanks
    42
    Quote Originally Posted by Saltine View Post

    According to MSDN, GetTickCount64() returns the number of milliseconds since the system was started. Thus, the first line checks if it has been 500 ms since the last time the variable dwConsoleCalled was set. If 500 ms has elapsed, it sets the variable to the current amount of ms, and allows the function to continue execution. If 500 ms has not yet passed, the function returns immediately and does not continue to run. This combined guarantees that at least 500 milliseconds will elapse between each time the code following this if statement is executed.
    thanks, so how would i make it spam 1 time a second?
    Code:
                if(Main->Variables->iDelaySpeed)
                {
                    if(Main->D3D->Devices->dwConsoleCalled + 1000 > GetTickCount64()) return;
                    else Main->D3D->Devices->dwConsoleCalled = GetTickCount64();
                }
    Last edited by iamspeedforyou; 06-08-2013 at 12:04 PM.

  5. #4
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    Quote Originally Posted by iamspeedforyou View Post
    thanks, so how would i make it spam 1 time a second?
    Code:
                if(Main->Variables->iDelaySpeed)
                {
                    if(Main->D3D->Devices->dwConsoleCalled + 1000 > GetTickCount64()) return;
                    else Main->D3D->Devices->dwConsoleCalled = GetTickCount64();
                }
    Yep, 1000ms = 1 second.

    Oh no! Vortex is gay!

  6. #5
    iamspeedforyou's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Look up.
    Posts
    89
    Reputation
    10
    Thanks
    42
    Quote Originally Posted by Saltine View Post

    Yep, 1000ms = 1 second.
    kk, thanks

  7. #6
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,693
    Reputation
    3319
    Thanks
    11,105
    My Mood
    Happy
    Well this basically includes the explanation and your answer.

    Solved & Closed.


    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


Similar Threads

  1. [Release] ReSpammer v1.42 | Advanced spamming tool | Customizable speed and delay! |
    By yayz in forum Visual Basic Programming
    Replies: 17
    Last Post: 01-04-2013, 04:06 PM
  2. DCUO SPEED HACK/ NO DELAY *Release*
    By ghostracerx in forum Other MMORPG Hacks
    Replies: 1
    Last Post: 01-04-2012, 06:23 PM
  3. [Release] Speed Hack+Spammer+Money
    By LiL Mikko in forum Metal Assault Hacks
    Replies: 20
    Last Post: 06-20-2011, 08:01 PM
  4. Mitchay's Spammer w/speed changer (Leeched)
    By choy07 in forum Combat Arms Spammers, Injectors and Multi Tools
    Replies: 0
    Last Post: 12-16-2010, 12:05 PM
  5. Two Biggest Spammers on the forums!
    By Dave84311 in forum General
    Replies: 20
    Last Post: 01-02-2006, 09:39 AM