|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
dewamade How do I cheat? Reputation: 0
Joined: 10 Oct 2013 Posts: 2
|
Posted: Thu Oct 10, 2013 1:26 pm Post subject: Lua script only run on 2nd launch |
|
|
Hi all, im new in cheat engine and also lua scripting,
my problem is lua script only can run on 2nd launch, first launch, the form show but the function i created is not working, i need to close the form (not cheat engine window) and re launch the script and then everything run ok including my function, my main problem is when i generate it to exe, it not working, the form loaded but the function not even if i close and relaunch for the 2nd time, it very strange to me , i used version 6.3, already remove and reinstall CE but the result is the same, please help me
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Thu Oct 10, 2013 1:48 pm Post subject: |
|
|
you're trying to execute probably function that hasn't been executed.
Example
Code: |
print(a) --> nil first execution
a = 'a is set'
-- Second time you'll execute it, it'll print 'a is set'
| [/code]
_________________
|
|
Back to top |
|
|
dewamade How do I cheat? Reputation: 0
Joined: 10 Oct 2013 Posts: 2
|
Posted: Thu Oct 10, 2013 8:07 pm Post subject: |
|
|
DaSpamer wrote: | you're trying to execute probably function that hasn't been executed.
Example
Code: |
print(a) --> nil first execution
a = 'a is set'
-- Second time you'll execute it, it'll print 'a is set'
| [/code] |
oh i see, my bad, i show the form before cheat engine loaded all my function, thanks for your help, cheeeers
|
|
Back to top |
|
|
|
|
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
|
|