Difference between revisions of "Programming"

From Cheat Engine
Jump to navigation Jump to search
m (Reverted edits by 66.30.108.200 (Talk) to last revision by Dark Byte)
(Flash)
Line 14: Line 14:
  
 
== Flash ==
 
== Flash ==
There should be some info about flash/actionscript here
+
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, a 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, wheres 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, and it also features new methods to code with, and a expanded mathematical library.
 +
If not for these few upgrades, it would be pointless altogether.

Revision as of 20:37, 6 September 2009

Most common programming languages used for gamehacking:

  • C / C++
  • Delphi
  • Visual Basic


Most useful API's:

  • OpenProcess
  • ReadProcessMemory
  • WriteProcessMemory
  • CreateRemoteThread


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, a 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, wheres 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, and it also features new methods to code with, and a expanded mathematical library. If not for these few upgrades, it would be pointless altogether.