| View previous topic :: View next topic |
| Author |
Message |
kooner47 Newbie cheater
Reputation: 0
Joined: 17 Aug 2007 Posts: 16
|
Posted: Thu Oct 11, 2007 4:21 pm Post subject: Best language for making bots? |
|
|
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 |
|
 |
MegaForum Grandmaster Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 558
|
Posted: Thu Oct 11, 2007 4:23 pm Post subject: |
|
|
C++. you can do things like autoclick, autokey clicker or w/e stuff like that.  |
|
| Back to top |
|
 |
kooner47 Newbie cheater
Reputation: 0
Joined: 17 Aug 2007 Posts: 16
|
Posted: Thu Oct 11, 2007 4:37 pm Post subject: |
|
|
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 |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Thu Oct 11, 2007 4:38 pm Post subject: |
|
|
yes, but it wont be easy to bypass MS gg crc _________________
|
|
| Back to top |
|
 |
Hackerdevelopment Advanced Cheater
Reputation: 0
Joined: 11 Oct 2007 Posts: 55
|
Posted: Thu Oct 11, 2007 4:44 pm Post subject: |
|
|
| How hard would that be? Do u need a code? |
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Oct 11, 2007 4:46 pm Post subject: |
|
|
| You should learn C/ASM since there is a good chance you will be making a driver. |
|
| Back to top |
|
 |
kooner47 Newbie cheater
Reputation: 0
Joined: 17 Aug 2007 Posts: 16
|
Posted: Thu Oct 11, 2007 5:08 pm Post subject: |
|
|
| 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 |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Oct 11, 2007 5:13 pm Post subject: |
|
|
| 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 |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Thu Oct 11, 2007 6:12 pm Post subject: |
|
|
| 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 |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Thu Oct 11, 2007 6:13 pm Post subject: |
|
|
| 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.  _________________
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Oct 11, 2007 9:49 pm Post subject: |
|
|
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 |
|
 |
redhead Cheater
Reputation: 0
Joined: 21 Mar 2007 Posts: 47
|
Posted: Fri Oct 12, 2007 6:06 am Post subject: |
|
|
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 |
|
 |
TerryDonahugh Master Cheater
Reputation: 0
Joined: 12 Sep 2007 Posts: 412 Location: .nl
|
Posted: Fri Oct 12, 2007 6:38 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Oct 12, 2007 9:32 am Post subject: |
|
|
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 |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Fri Oct 12, 2007 9:35 am Post subject: |
|
|
| MegaForum wrote: | C++. you can do things like autoclick, autokey clicker or w/e stuff like that.  |
You can do it with every lang, lolz. |
|
| Back to top |
|
 |
|