Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help needed with a form

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Crumbler
How do I cheat?
Reputation: 0

Joined: 22 Oct 2016
Posts: 3

PostPosted: Thu Dec 01, 2016 1:58 pm    Post subject: Help needed with a form Reply with quote

My code doesn't compile. I attached a screenshot to the post.


Formserror.png
 Description:
A screenshot of my code
 Filesize:  394.88 KB
 Viewed:  6358 Time(s)

Formserror.png


Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Dec 01, 2016 3:34 pm    Post subject: Reply with quote

Code:
exehack_loadFromFile("/path/in/quotes")
Code:
autoAssemble([[
//assembly script inside
]])
Back to top
View user's profile Send private message
Crumbler
How do I cheat?
Reputation: 0

Joined: 22 Oct 2016
Posts: 3

PostPosted: Sat Dec 03, 2016 2:13 am    Post subject: Reply with quote

Zanzer wrote:
Code:
exehack_loadFromFile("/path/in/quotes")
Code:
autoAssemble([[
//assembly script inside
]])


I've done as you said but I'm still having problems



123.png
 Description:
The error
 Filesize:  816.85 KB
 Viewed:  6236 Time(s)

123.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sat Dec 03, 2016 4:45 am    Post subject: Reply with quote

pal=createMemoryStream
pal.loadFromFile

pal.saveToFile


also, autoassemble will not modify your memorystream so the file will remain unchanged

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Crumbler
How do I cheat?
Reputation: 0

Joined: 22 Oct 2016
Posts: 3

PostPosted: Sat Dec 03, 2016 5:34 am    Post subject: Reply with quote

What Dark Byte suggested didn't work either. I tried using CreateFileStream
but it says unable to open file. I made sure that it's not read only and everyone has access. Well, I'm giving up. I'll just do it manually.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites