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 


Lua Engine Auto Complete is so Bad

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

Joined: 05 Apr 2019
Posts: 9

PostPosted: Fri Apr 05, 2019 6:20 am    Post subject: Lua Engine Auto Complete is so Bad Reply with quote

I googled for some information on the BorderStyle property of a CEForm but ended up with nothing. The autocomplete doesn't even tell me that there is a BorderStyle property. How am I supposed to know what methods and properties the Form holds and their values. The CE docs are incomplete.

Code:
f1 = createForm();
f1.Color = 0x2C2C2C
f1.BorderStyle = bsNone


I got to know about BorderStyle and bsNone after I saw the Visual Studio style Form Designer that appeared on clicking Table->Create Form.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 465

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

PostPosted: Fri Apr 05, 2019 6:27 am    Post subject: Reply with quote

autocomplete only works on existing objects
as you're typing your code, that form won't have been created yet. You must first run your code for autocomplete to start working

as for the specific styles, that's what the formdesigner is for, or the lazarus documentation

_________________
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
el_beta
How do I cheat?
Reputation: 0

Joined: 05 Apr 2019
Posts: 9

PostPosted: Fri Apr 05, 2019 6:39 am    Post subject: Reply with quote

Dark Byte wrote:
autocomplete only works on existing objects
as you're typing your code, that form won't have been created yet. You must first run your code for autocomplete to start working

as for the specific styles, that's what the formdesigner is for, or the lazarus documentation


Yeah it seems to be working right now.

I have another question. I'm trying to write a simple radar hack.
Is it possible to make one that uses an Image in a Form? Like, can I make it stay on top even if I'm focused on the game?

I'm stuck with the form designing part here. Never really used CE for making forms.


Last edited by el_beta on Fri Apr 05, 2019 6:44 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 465

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

PostPosted: Fri Apr 05, 2019 6:44 am    Post subject: Reply with quote

only if you can run your game in windowed mode (so not fullscreen exclusive)

set formStyle to 'fsSystemStayOnTop'

otherwise you'll have to resort to d3d injection using createD3DHook() and then create sprites and draw it like that

_________________
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
el_beta
How do I cheat?
Reputation: 0

Joined: 05 Apr 2019
Posts: 9

PostPosted: Fri Apr 05, 2019 6:51 am    Post subject: Reply with quote

Dark Byte wrote:
only if you can run your game in windowed mode (so not fullscreen exclusive)

set formStyle to 'fsSystemStayOnTop'

otherwise you'll have to resort to d3d injection using createD3DHook() and then create sprites and draw it like that


Is there any documentation related to D3D?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 465

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

PostPosted: Fri Apr 05, 2019 7:40 am    Post subject: Reply with quote

just the stuff in celua.txt and perhaps some tutorials on the forum ( https://www.google.com/search?q=site%3Aforum.cheatengine.org+"createD3DHook" )
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> LUA Tutorials 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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites