Difference between revisions of "Programming"

From Cheat Engine
Jump to navigation Jump to search
(AZAbPxRPOx)
(Undo revision 1294 by 62.87.210.232 (Talk))
Line 1: Line 1:
          Oh, I would have mnntioeed that, but the article was written before the blog was out (and left as a draft for way too long). But you are in my blogroll!!!!On the timeline of computer science, Web-programming is recent, functional programming is damn old, that is a fact! The web allows us to do fantastic things and changed the way we do programming in many ways, it is a revolution (and not an evolution) because it is discontinuous/disruptive with the styles that went before. It did help with one of the more complex problem ever: human communication! But we have to admit that the fact that it is the latest up to date shiny new technology  makes it very attractive to those who are new to the field. Going to PHP right away, without learning all the older things, and it is ok as long as it suits their needs. But no matter all this, my point is that me, as a person, I'm not good at been attracted to the new and cool things  maybe I'm one old dinosaur with my Assembly/LISP/C++ attraction, but I feel there is important knowledge there, even when doing higher level programming!
+
Most common programming languages used for gamehacking:
 +
* C / C++
 +
* Delphi
 +
* Visual Basic
 +
 
 +
 
 +
 
 +
Most useful API's:
 +
*OpenProcess
 +
*ReadProcessMemory
 +
*WriteProcessMemory
 +
*CreateRemoteThread
 +
 
 +
== Where do I get started? ==
 +
Programming, in short, is a wonderful world. Computers would be nowhere without it. Programming basically follows three steps for most languages:
 +
 
 +
*1: Inputting commands into an interpreter
 +
*2: Telling the interpreter to convert those commands into a language the computer understands (machine code)
 +
*3: Finding glitches (things you didn't want to happen, or things that didn't happen at all) and fixing them.
 +
 
 +
Most programming languages do not allow you to learn them in one night. Some are more straightforward than others, heightening the learning curve. I started out with LUA (actually in a game called ROBLOX), then I went on to experiment with VB.Net. (A version off of VB6) For those of you interested in beginning with programming, VB.Net is a good place to start off with. For those of you in College/High school, you are entitled to a free download of Visual Studio 2008. That is Microsoft's IDE (Internal Development Environment). Generally it costs several hundred dollars, but for students, there's a place called [http://www.dreamspark.com DreamSpark.] Perfectly legal.
 +
 
 +
So enjoy your journey of programming, and keep in mind, it will always be changing.
 +
 
 +
== Flash ==
 +
Programming in flash uses one of two programming languages.
 +
Actionscript 2 or 3.
 +
(Actionscript 2 is a continuation of Actionscript 1, and therefor is the same thing.)<br/>
 +
Both are very different and have their own uses.
 +
 
 +
<br/>
 +
Although Actionscript 3 is newer, it is not exactly better.<br/>
 +
Actionscript 2 was engineered by Macromedia (now Adobe) and was entirely logic based.<br/>
 +
In Actionscript 2, you could code using Object Oriented Programming, or whichever way you preferred.
 +
After Adobe bought out Macromedia and took over Flash, they released Actionscript 3, an extremely limited programming language.
 +
Actionscript 3 does not support OOP and provides little to no flexibility.<br/>
 +
All code must be placed on a frame in the timeline, whereas Actionscript 2 allowed code to be placed inside or on several different types of symbols, such as movie clips, buttons, or even text fields,<br/> as well as the timeline.<br/>
 +
Actionscript 3's simplicity allows it to operate faster than Actionscript 2, it also features new methods to code with and an expanded mathematical library.<br/>
 +
If not for these few, but crucial, upgrades, it would be pointless altogether.

Revision as of 13:05, 28 February 2012

Most common programming languages used for gamehacking:

  • C / C++
  • Delphi
  • Visual Basic


Most useful API's:

  • OpenProcess
  • ReadProcessMemory
  • WriteProcessMemory
  • CreateRemoteThread

Where do I get started?

Programming, in short, is a wonderful world. Computers would be nowhere without it. Programming basically follows three steps for most languages:

  • 1: Inputting commands into an interpreter
  • 2: Telling the interpreter to convert those commands into a language the computer understands (machine code)
  • 3: Finding glitches (things you didn't want to happen, or things that didn't happen at all) and fixing them.

Most programming languages do not allow you to learn them in one night. Some are more straightforward than others, heightening the learning curve. I started out with LUA (actually in a game called ROBLOX), then I went on to experiment with VB.Net. (A version off of VB6) For those of you interested in beginning with programming, VB.Net is a good place to start off with. For those of you in College/High school, you are entitled to a free download of Visual Studio 2008. That is Microsoft's IDE (Internal Development Environment). Generally it costs several hundred dollars, but for students, there's a place called DreamSpark. Perfectly legal.

So enjoy your journey of programming, and keep in mind, it will always be changing.

Flash

Programming in flash uses one of two programming languages. Actionscript 2 or 3. (Actionscript 2 is a continuation of Actionscript 1, and therefor is the same thing.)
Both are very different and have their own uses.


Although Actionscript 3 is newer, it is not exactly better.
Actionscript 2 was engineered by Macromedia (now Adobe) and was entirely logic based.
In Actionscript 2, you could code using Object Oriented Programming, or whichever way you preferred. After Adobe bought out Macromedia and took over Flash, they released Actionscript 3, an extremely limited programming language. Actionscript 3 does not support OOP and provides little to no flexibility.
All code must be placed on a frame in the timeline, whereas Actionscript 2 allowed code to be placed inside or on several different types of symbols, such as movie clips, buttons, or even text fields,
as well as the timeline.
Actionscript 3's simplicity allows it to operate faster than Actionscript 2, it also features new methods to code with and an expanded mathematical library.
If not for these few, but crucial, upgrades, it would be pointless altogether.