• Log in or sign up for an account here: https://www.sythe.org/login

fun li mouse trick

Joined
Jun 24, 2009
Sythe Gold
0
Messages
1,353
Location
2336
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.
 
Well this would be annoying. Did you write it yourself or find it on another site?
 
i wrote it 4 a friend a 2 do on his parents comps a long time ago lol, u tri it?

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.
 
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.

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.
 
What does it do?

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.
 
i wrote it 4 a friend a 2 do on his parents comps a long time ago lol, u tri it?

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.
 
Oh, nice.

By the way, i found this site: Link to site/topic/3674-manipulating-mouse-cursor-in-c/

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

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
 
duelarena.gg
Back
Top