https://wiki.cheatengine.org/api.php?action=feedcontributions&user=95.96.11.250&feedformat=atomCheat Engine - User contributions [en]2024-03-29T06:09:21ZUser contributionsMediaWiki 1.32.0https://wiki.cheatengine.org/index.php?title=Lua:Class:Timer&diff=1403Lua:Class:Timer2012-04-13T22:40:08Z<p>95.96.11.250: typo fix</p>
<hr />
<div>Timer Class (Inheritance Component->object)<br />
The timer class is an non visual component that when active triggers an onTimer event every few milliseconds, based on the given interval<br />
<br />
<br />
createTimer(owner, enabled OPT) <br />
Creates a timer object. If enabled is not given it will be enabled by default (will start as soon as an onTimer event has been assigned)<br />
Owner may be nil, but you will be responsible for destroying it<br />
<br />
<br />
timer_setInterval(timer, interval) <br />
Sets the speed on how often the timer should trigger. In milliseconds (1000=1 second)<br />
<br />
<br />
timer_getEnabled(timer)<br />
Returns true if the timer is enabled otherwise false<br />
<br />
<br />
timer_setEnabled(timer, boolean)<br />
Lets you enable of disable the timer<br />
<br />
<br />
timer_onTimer(timer, function)<br />
function (sender)<br />
<br />
Example 1:<br />
<br />
function repeat()<br />
print "hello world" <br />
end<br />
<br />
local t = createTimer(nil) -- it will create a Timer object and assign it to variable t.<br />
timer_onTimer(t, repeat) -- The function repeat will be called every 3 seconds.<br />
timer_setInterval(t,3000) --Call repeat() every 3 seconds<br />
timer_setEnabled(t, true) -- Set timer to true. If false is passed as argument then it will disable timer object.</div>95.96.11.250https://wiki.cheatengine.org/index.php?title=Lua:getAddressList&diff=1395Lua:getAddressList2012-04-13T21:59:47Z<p>95.96.11.250: </p>
<hr />
<div>'''getAddressList()''' <br />
<br />
Returns the cheat table addresslist object.<br />
<br />
Example:<br />
<br />
addresslist=getAddressList()<br />
<br />
'''Return''' : [[Addresslist]] object</div>95.96.11.250https://wiki.cheatengine.org/index.php?title=Lua:resetLuaState&diff=1383Lua:resetLuaState2012-04-03T00:47:10Z<p>95.96.11.250: Created page with ''''function''' resetLuaState() Creates a new lua state object. This means that all previously declared functions, variables and other objects will become inaccessible. ===Fun…'</p>
<hr />
<div>'''function''' resetLuaState()<br />
<br />
Creates a new lua state object. This means that all previously declared functions, variables and other objects will become inaccessible.<br />
<br />
<br />
<br />
===Function Parameters===<br />
<none><br />
<br />
== See also ==<br />
* [[Lua]]</div>95.96.11.250https://wiki.cheatengine.org/index.php?title=Lua:unpause&diff=1301Lua:unpause2012-03-02T11:38:20Z<p>95.96.11.250: Created page with ''''function''' unpause() resumes the currently opened process if it was paused. ===Function Parameters=== <none> == See also == * pause * Lua'</p>
<hr />
<div>'''function''' unpause()<br />
<br />
resumes the currently opened process if it was paused.<br />
<br />
<br />
===Function Parameters===<br />
<none><br />
<br />
== See also ==<br />
* [[pause]]<br />
* [[Lua]]</div>95.96.11.250https://wiki.cheatengine.org/index.php?title=Programming&diff=1297Programming2012-02-28T13:05:58Z<p>95.96.11.250: Undo revision 1294 by 62.87.210.232 (Talk)</p>
<hr />
<div>Most common programming languages used for gamehacking:<br />
* C / C++<br />
* Delphi<br />
* Visual Basic<br />
<br />
<br />
<br />
Most useful API's:<br />
*OpenProcess<br />
*ReadProcessMemory<br />
*WriteProcessMemory<br />
*CreateRemoteThread<br />
<br />
== Where do I get started? ==<br />
Programming, in short, is a wonderful world. Computers would be nowhere without it. Programming basically follows three steps for most languages:<br />
<br />
*1: Inputting commands into an interpreter<br />
*2: Telling the interpreter to convert those commands into a language the computer understands (machine code)<br />
*3: Finding glitches (things you didn't want to happen, or things that didn't happen at all) and fixing them.<br />
<br />
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.<br />
<br />
So enjoy your journey of programming, and keep in mind, it will always be changing.<br />
<br />
== Flash ==<br />
Programming in flash uses one of two programming languages.<br />
Actionscript 2 or 3.<br />
(Actionscript 2 is a continuation of Actionscript 1, and therefor is the same thing.)<br/><br />
Both are very different and have their own uses.<br />
<br />
<br/><br />
Although Actionscript 3 is newer, it is not exactly better.<br/><br />
Actionscript 2 was engineered by Macromedia (now Adobe) and was entirely logic based.<br/><br />
In Actionscript 2, you could code using Object Oriented Programming, or whichever way you preferred.<br />
After Adobe bought out Macromedia and took over Flash, they released Actionscript 3, an extremely limited programming language.<br />
Actionscript 3 does not support OOP and provides little to no flexibility.<br/><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/><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/><br />
If not for these few, but crucial, upgrades, it would be pointless altogether.</div>95.96.11.250https://wiki.cheatengine.org/index.php?title=Forum:Game_Talk&diff=1296Forum:Game Talk2012-02-28T13:05:22Z<p>95.96.11.250: </p>
<hr />
<div>Father of nine year old trying to beat Zoikz.<br />
<br />
I've followed some tutorials I saw on you tube etc and can't seem to get cheat engine to work. Nothing ever comes up on the second scan after I've changed the amount of money following the first scan. I'm using CE 6.1 and have tried using both firefox and internet explorer. Would love to be able to beat this silly game. Thanks for any input.</div>95.96.11.250https://wiki.cheatengine.org/index.php?title=Programming&diff=1291Programming2012-02-28T02:28:09Z<p>95.96.11.250: Undo revision 1287 by 173.54.98.60 (Talk)</p>
<hr />
<div>Most common programming languages used for gamehacking:<br />
* C / C++<br />
* Delphi<br />
* Visual Basic<br />
<br />
<br />
<br />
Most useful API's:<br />
*OpenProcess<br />
*ReadProcessMemory<br />
*WriteProcessMemory<br />
*CreateRemoteThread<br />
<br />
== Where do I get started? ==<br />
Programming, in short, is a wonderful world. Computers would be nowhere without it. Programming basically follows three steps for most languages:<br />
<br />
*1: Inputting commands into an interpreter<br />
*2: Telling the interpreter to convert those commands into a language the computer understands (machine code)<br />
*3: Finding glitches (things you didn't want to happen, or things that didn't happen at all) and fixing them.<br />
<br />
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.<br />
<br />
So enjoy your journey of programming, and keep in mind, it will always be changing.<br />
<br />
== Flash ==<br />
Programming in flash uses one of two programming languages.<br />
Actionscript 2 or 3.<br />
(Actionscript 2 is a continuation of Actionscript 1, and therefor is the same thing.)<br/><br />
Both are very different and have their own uses.<br />
<br />
<br/><br />
Although Actionscript 3 is newer, it is not exactly better.<br/><br />
Actionscript 2 was engineered by Macromedia (now Adobe) and was entirely logic based.<br/><br />
In Actionscript 2, you could code using Object Oriented Programming, or whichever way you preferred.<br />
After Adobe bought out Macromedia and took over Flash, they released Actionscript 3, an extremely limited programming language.<br />
Actionscript 3 does not support OOP and provides little to no flexibility.<br/><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/><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/><br />
If not for these few, but crucial, upgrades, it would be pointless altogether.</div>95.96.11.250