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

    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 11:04 AM.

  2. #2
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    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
    88
    Reputation
    10
    Thanks
    54
    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 11:04 AM.

  5. #4
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    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
    88
    Reputation
    10
    Thanks
    54
    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
    /admincp/banning.php
    Posts
    20,681
    Reputation
    5180
    Thanks
    14,176
    My Mood
    Inspired
    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 | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.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, 03:06 PM
  2. DCUO SPEED HACK/ NO DELAY *Release*
    By ghostracerx in forum Other MMORPG Hacks
    Replies: 1
    Last Post: 01-04-2012, 05:23 PM
  3. [Release] Speed Hack+Spammer+Money
    By LiL Mikko in forum Metal Assault Hacks
    Replies: 20
    Last Post: 06-20-2011, 07: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, 11:05 AM
  5. Two Biggest Spammers on the forums!
    By Dave84311 in forum General
    Replies: 20
    Last Post: 01-02-2006, 08:39 AM