Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C++]NegiClicker V1 (fixed)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Binaries
View previous topic :: View next topic  
Author Message
Black Magic
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Mon Aug 25, 2008 6:02 pm    Post subject: [C++]NegiClicker V1 (fixed) Reply with quote


A simple autoclicker I made, works nicely.



The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.



Last edited by Black Magic on Mon Aug 25, 2008 11:06 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
blackdog
Expert Cheater
Reputation: 0

Joined: 02 Aug 2006
Posts: 101

PostPosted: Mon Aug 25, 2008 7:46 pm    Post subject: Reply with quote

Didn't work I got an error when opening.

Code:
AhnLab-V3   2008.8.21.0   2008.08.25   -
AntiVir   7.8.1.23   2008.08.25   -
Authentium   5.1.0.4   2008.08.25   -
Avast   4.8.1195.0   2008.08.25   -
AVG   8.0.0.161   2008.08.26   -
BitDefender   7.2   2008.08.26   -
CAT-QuickHeal   9.50   2008.08.25   -
ClamAV   0.93.1   2008.08.26   -
DrWeb   4.44.0.09170   2008.08.25   -
eSafe   7.0.17.0   2008.08.24   -
eTrust-Vet   31.6.6048   2008.08.25   -
Ewido   4.0   2008.08.25   -
F-Prot   4.4.4.56   2008.08.26   -
F-Secure   7.60.13501.0   2008.08.25   -
Fortinet   3.14.0.0   2008.08.25   -
GData   2.0.7306.1023   2008.08.20   -
Ikarus   T3.1.1.34.0   2008.08.26   -
K7AntiVirus   7.10.428   2008.08.25   -
Kaspersky   7.0.0.125   2008.08.26   -
McAfee   5369   2008.08.25   -
Microsoft   1.3807   2008.08.25   -
NOD32v2   3386   2008.08.25   -
Norman   5.80.02   2008.08.25   -
Panda   9.0.0.4   2008.08.25   -
PCTools   4.4.2.0   2008.08.25   -
Prevx1   V2   2008.08.26   -
Rising   20.59.02.00   2008.08.26   -
Sophos   4.32.0   2008.08.25   -
Sunbelt   3.1.1582.1   2008.08.26   -
Symantec   10   2008.08.26   -
TheHacker   6.3.0.6.060   2008.08.23   -
TrendMicro   8.700.0.1004   2008.08.25   -
VBA32   3.12.8.4   2008.08.25   -
ViRobot   2008.8.25.1348   2008.08.25   -
VirusBuster   4.5.11.0   2008.08.25   -
Webwasher-Gateway   6.6.2   2008.08.25   -

Use at your own risk.
Back to top
View user's profile Send private message
Black Magic
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Mon Aug 25, 2008 11:05 pm    Post subject: Reply with quote

whoops, wasn't compiling as release, it should work now.
Back to top
View user's profile Send private message Visit poster's website
goldengold
Grandmaster Cheater Supreme
Reputation: -1

Joined: 11 Nov 2006
Posts: 1841
Location: -.-

PostPosted: Tue Aug 26, 2008 1:56 pm    Post subject: Reply with quote

How do you disable it?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Wed Aug 27, 2008 1:51 am    Post subject: Reply with quote

If speed 5 is 5 times the speed of light, aka 50 per second, one click would have to have your finger moving 98,357,105.6 feet (exactly).

If you say one click is 1 cm, its more like 0.00000000166782048 times the speed of light. Wink

_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Black Magic
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Thu Aug 28, 2008 12:44 pm    Post subject: Reply with quote

nog_lorp wrote:
If speed 5 is 5 times the speed of light, aka 50 per second, one click would have to have your finger moving 98,357,105.6 feet (exactly).

If you say one click is 1 cm, its more like 0.00000000166782048 times the speed of light. Wink
I know, I was just kidding when I said that.
Back to top
View user's profile Send private message Visit poster's website
clanner
Master Cheater
Reputation: 0

Joined: 26 Jul 2006
Posts: 290

PostPosted: Sat Aug 30, 2008 9:53 pm    Post subject: Reply with quote

Could you post your source code? I would like to examine them and learn from them. If you can't then thats alright too.
Back to top
View user's profile Send private message AIM Address
Black Magic
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Sat Dec 20, 2008 8:50 pm    Post subject: Reply with quote

Here is the source

Code:

#include <iostream>
#include <windows.h>

int main()
{
   int clickSpeed;
   std::cout << "Welcome to NegiClicker V1.0\n" << "Made by Negima of CEF\n";
   Sleep(500);
   std::cout << "Choose the number of how fast you would like to click(1, 2, 3, 4, or 5)\n";
   std::cout << "1. Slow (Two clicks per second)\n";
   std::cout << "2. Medium (Five clicks per second)\n";
   std::cout << "3. Fast (Ten clicks per second)\n";
   std::cout << "4. Very Fast (Twenty clicks per second!!!)\n";
   std::cout << "5. Five times the speeed of light (Fifty clicks per second!!!!!)\n";
   std::cin >> clickSpeed;
   if
      (clickSpeed == 1)
   {
      std::cout << "Auto Click Starting in 5 Seconds! Position Your Cursor!\n";
      Sleep(1000);
      std::cout << "4\n";
      Sleep(1000);
      std::cout << "3\n";
      Sleep(1000);
      std::cout << "2\n";
      Sleep(1000);
      std::cout << "1\n";
      Sleep(1000);


   for
      (;;)
   {
      Sleep(500);
      mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
      mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
      std::cout << "Auto Clicking in Progress!\n";

   }
   }
   
   if
      (clickSpeed == 2)
   {
      std::cout << "Auto Click Starting in 5 Seconds! Position Your Cursor!\n";
      Sleep(1000);
      std::cout << "4\n";
      Sleep(1000);
      std::cout << "3\n";
      Sleep(1000);
      std::cout << "2\n";
      Sleep(1000);
      std::cout << "1\n";
      Sleep(1000);
      
      for
         (;;)
      {
      Sleep(200);
      mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
      mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
      std::cout << "Auto Clicking in Progress!\n";
      }
   }

   if
      (clickSpeed == 3)
   {
      std::cout << "Auto Click Starting in 5 Seconds! Position Your Cursor!\n";
      Sleep(1000);
      std::cout << "4\n";
      Sleep(1000);
      std::cout << "3\n";
      Sleep(1000);
      std::cout << "2\n";
      Sleep(1000);
      std::cout << "1\n";
      Sleep(1000);
      for
         (;;)
      {
      Sleep(100);
      mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
      mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
      std::cout << "Auto Clicking in Progress!\n";
      }
   }

   if
      (clickSpeed == 4)
   {
      std::cout << "Auto Click Starting in 5 Seconds! Position Your Cursor!\n";
      Sleep(1000);
      std::cout << "4\n";
      Sleep(1000);
      std::cout << "3\n";
      Sleep(1000);
      std::cout << "2\n";
      Sleep(1000);
      std::cout << "1\n";
      Sleep(1000);
      for
         (;;)
      {
         Sleep(50);
         mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
          mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
         std::cout << "Auto Clicking in Progress!\n";
      }
   }

   if
      (clickSpeed == 5)
   {
      std::cout << "Auto Click Starting in 5 Seconds! Position Your Cursor!\n";
      Sleep(1000);
      std::cout << "4\n";
      Sleep(1000);
      std::cout << "3\n";
      Sleep(1000);
      std::cout << "2\n";
      Sleep(1000);
      std::cout << "1\n";
      Sleep(1000);
      for
         (;;)
      {
         Sleep(20);
         mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
          mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
         std::cout << "Auto Clicking in Progress!\n";
      }
   }
   std::cout << "Error: You have entered an invalid notation\n";
   system("pause");


               
    return 0;
}
Back to top
View user's profile Send private message Visit poster's website
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sun Dec 21, 2008 5:37 am    Post subject: Reply with quote

Have you ever heard of variables or loops? Confused

How are you supposed to stop it? Rolling Eyes
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sun Dec 21, 2008 10:06 am    Post subject: Reply with quote

Symbol wrote:
Have you ever heard of variables or loops? Confused

How are you supposed to stop it? Rolling Eyes


Judging by the use of both variables and loops in his source, we can safely assume he's heard of them before.


@OP:
Make a hotkey that sets a boolean named like..DoExit or something, and everytime you loop check if the boolean is true, and if it is, either exit, or go back to the beginning.

Also, why not just add something so you can set the delay yourself instead of the 5 options?
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sun Dec 21, 2008 10:44 am    Post subject: Reply with quote

Yes, I can see that... he obviously can use them for basic programming only.

I'd just do:
Code:
unsigned int sleeptime;
cout << "Enter the sleep time in milliseconds:\n";
cin >> sleeptime;

for (int i = 5; i > 0; i--)
{
cout << i << '\n';
Sleep(1000);
}

while (looping)
{
doYourStuff(...);
if (checkHotKey(...))
looping = FALSE;
Sleep(sleeptime);
}


Much shorter.
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sun Dec 21, 2008 10:54 am    Post subject: Reply with quote

Rot1 wrote:
I agree with Symbol, Smartz993 you're an idiot, just leave CEF, it's not a place for you.


Stop spamming please. Noone cares who you agree with.



@Symbol:
Yes, that's something like what i would do too...

but, is there a reason that you use unsigned int for sleeptime?
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sun Dec 21, 2008 10:58 am    Post subject: Reply with quote

yes..DOWRD.....and i'm the dumbass.

noone said they are different, i was wondering why he uses an unsigned int for sleeptime instead of just an int.

thanks for answering the question.
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sun Dec 21, 2008 11:02 am    Post subject: Reply with quote

Rot1 wrote:
smartz993 wrote:
yes..DOWRD.....and i'm the dumbass.

noone said they are different, i was wondering why he uses an unsigned int for sleeptime instead of just an int.

thanks for answering the question.


cause it's the same !!! maybe he wants to use plain C instead of the pre defined shit !.


No...they are not the same. Where did you learn your C? wait, did you ever?

Default int type is signed.
He is using unsigned, which can't be negative.

I guess he doesn't want people putting in negative numbers, although i don't know who would put a negative number as sleep time...(maybe someone who can't speak the english (*Rot1*))

p.s. Noone ever mentioned DWORD, i don't know where you're pulling this shit from.
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sun Dec 21, 2008 12:14 pm    Post subject: Reply with quote

Thank you for ignoring my question completely and repeating what i said.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Binaries All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites