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 


Best language for making bots?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
kooner47
Newbie cheater
Reputation: 0

Joined: 17 Aug 2007
Posts: 16

PostPosted: Thu Oct 11, 2007 4:21 pm    Post subject: Best language for making bots? Reply with quote

What would be the easiest language to use to make bots? not too advance, just pretty simple ones. Delphi or C, or some better one?

Last edited by kooner47 on Thu Oct 11, 2007 4:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Thu Oct 11, 2007 4:23 pm    Post subject: Reply with quote

C++. you can do things like autoclick, autokey clicker or w/e stuff like that. Razz
Back to top
View user's profile Send private message
kooner47
Newbie cheater
Reputation: 0

Joined: 17 Aug 2007
Posts: 16

PostPosted: Thu Oct 11, 2007 4:37 pm    Post subject: Reply with quote

k so I will try learning C++.

Lets say I want to make a bot for MS, that will press lets say A for attack and Z for pick up loot and it will press 9 for mp pot whenever my mp reaches 30%, will I be able to do that with C++?
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Oct 11, 2007 4:38 pm    Post subject: Reply with quote

yes, but it wont be easy to bypass MS gg crc
_________________
Back to top
View user's profile Send private message
Hackerdevelopment
Advanced Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 55

PostPosted: Thu Oct 11, 2007 4:44 pm    Post subject: Reply with quote

How hard would that be? Do u need a code?
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Thu Oct 11, 2007 4:46 pm    Post subject: Reply with quote

You should learn C/ASM since there is a good chance you will be making a driver.
Back to top
View user's profile Send private message
kooner47
Newbie cheater
Reputation: 0

Joined: 17 Aug 2007
Posts: 16

PostPosted: Thu Oct 11, 2007 5:08 pm    Post subject: Reply with quote

What is ASM, havent heard of it. And is there a difference between C and C++? or is C just short for C++?
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Thu Oct 11, 2007 5:13 pm    Post subject: Reply with quote

kooner47 wrote:
What is ASM, havent heard of it. And is there a difference between C and C++? or is C just short for C++?


Yes, there are differences in C and C++. The most notable one is that C++ makes shitty, bloated .exe's.

ASM is short for Assembly. It is a low level language that comes in a few flavours, such as Fasm and Masm.
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Thu Oct 11, 2007 6:12 pm    Post subject: Reply with quote

Flyte wrote:
kooner47 wrote:
What is ASM, havent heard of it. And is there a difference between C and C++? or is C just short for C++?


Yes, there are differences in C and C++. The most notable one is that C++ makes shitty, bloated .exe's.

ASM is short for Assembly. It is a low level language that comes in a few flavours, such as Fasm and Masm.


Try C++ is an object-oriented version of C.

In case you don't know what that is, I'll explain.

Object-orientation is the idea that you don't have to copy and paste things. For example, say you have a segment of code, that is supposed to do something... like maybe Draw some graphics.

You don't want to have to copy and paste that code segment OVER and OVER again--it would make your code hard to read, and it just wouldn't be fun.

Instead, you could make a method in C++/C#, or a function or procedure in Pascal/Delphi.

Then, you would only have to type the method/function/procedure name, and it would call that code.

There are definately more theories to OOP, but I think that one's the most notable. You can Google it if you want to read more.


Last edited by samuri25404 on Thu Oct 11, 2007 6:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Thu Oct 11, 2007 6:13 pm    Post subject: Reply with quote

samuri25404 wrote:
Try C++ is an object-oriented version of C.

In case you don't know what that is, I'll explain.

Object-orientation is the idea that you don't have to copy and paste things. For example, say you have a segment of code, that is supposed to do something... like maybe Draw some graphics.

You don't want to have to copy and paste that code segment OVER and OVER again--it would make your code hard to read, and it just wouldn't be fun.

Instead, you could make a method in C++/C#, or a function or procedure in Pascal/Delphi.

Then, you would only have to type the method/function/procedure name, and it would call that code.

C can do that too... and so can ASM. FYI OOP sucks... and I agree with Flyte. I'm also 100% sure that Flyte does know what OOP is. Rolling Eyes

_________________
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Thu Oct 11, 2007 9:49 pm    Post subject: Reply with quote

Ok, I think I will be nice to you. Actually, no. You are an ignorant little C# user. Not only that, you cannot detect sarcasm.

samuri25404 wrote:
Try C++ is an object-oriented version of C.

In case you don't know what that is, I'll explain.


First mistake. You do not explain to me, I know far more than you ever will.

samuri25404 wrote:
Object-orientation is the idea that you don't have to copy and paste things. For example, say you have a segment of code, that is supposed to do something... like maybe Draw some graphics.

You don't want to have to copy and paste that code segment OVER and OVER again--it would make your code hard to read, and it just wouldn't be fun.

Instead, you could make a method in C++/C#, or a function or procedure in Pascal/Delphi.

Then, you would only have to type the method/function/procedure name, and it would call that code.


Hey, you, idiot. That is NOT OOP. What you are talking about is calling a function, which is something you CAN do in C. In fact, it is even easier, because I don't have to copy and paste all of my code to suit the class.

C:
Code:
#include <stdio.h>

void Retort(void)
{
     puts("Retard, this is a function.");
}

int main(void)
{
    Retort();
    return 0;
}


C++: (Excuse errors here, I normally don't program in this shit)
Code:
#include <iostream>
using namespace std;

class sClass {
    //shit here
  public:
    void Retort ();
};

void sClass::Retort ()
{
    cout<< "Retard, this is a function." << endl;
}

int main ()
{
  sClass stupid;
  stupid.Retort();
  return 0;
}


Oh wow, that C++ code is a whole lot shorter!
The C++ code compiles to 104kb, and the C code compiles to 48kb. Thats under half the size!

What OOP really is: The abilty to create an object that has seperate functions and variables from other objects, it is basically for organization only. The C version of this is a struct, though you cannot declare seperate functions (who cares?).

samuri25404 wrote:
There are definately more theories to OOP, but I think that one's the most notable. You can Google it if you want to read more.


Take your own advice.
Back to top
View user's profile Send private message
redhead
Cheater
Reputation: 0

Joined: 21 Mar 2007
Posts: 47

PostPosted: Fri Oct 12, 2007 6:06 am    Post subject: Reply with quote

What you coded in C++ is a "Class" , it's not exactly the same like a function.
What you coded in C you can also code in C++.
(Btw, I copy&pasted your code and compiled it in C++.. it works and its 27,5KB..
Back to top
View user's profile Send private message
TerryDonahugh
Master Cheater
Reputation: 0

Joined: 12 Sep 2007
Posts: 412
Location: .nl

PostPosted: Fri Oct 12, 2007 6:38 am    Post subject: Reply with quote

Flyte:
Your C++ example compiles to 4160 bytes, the C version to 3028 bytes using GCC 4.1.2. Which only shows that you failed to set your compiler settings properly Smile
Back to top
View user's profile Send private message Send e-mail
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Oct 12, 2007 9:32 am    Post subject: Reply with quote

Terry:

You can set some dirty switches and hacks to strip away features you don't need but you lose functionality typical of a program using extended C++ features. GCC probably optimized the class out, turning retort() into a function of it's own, seeing that sClass only had one function - this is not typical of standards-compliant C++ compilers.

Also, based on the sizes I can make a good guess he uses MSVC, which by default statically links in the C/C++ library where GCC doesn't, so the bloat doesn't go directly into your executable; it's hidden in shared libraries.


Last edited by appalsap on Fri Oct 12, 2007 9:39 am; edited 2 times in total
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Fri Oct 12, 2007 9:35 am    Post subject: Reply with quote

MegaForum wrote:
C++. you can do things like autoclick, autokey clicker or w/e stuff like that. Razz


You can do it with every lang, lolz.
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 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