View previous topic :: View next topic |
Author |
Message |
el_beta How do I cheat? Reputation: 0
Joined: 05 Apr 2019 Posts: 9
|
Posted: Fri Apr 05, 2019 6:20 am Post subject: Lua Engine Auto Complete is so Bad |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 465
Joined: 09 May 2003 Posts: 25570 Location: The netherlands
|
Posted: Fri Apr 05, 2019 6:27 am Post subject: |
|
|
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 |
|
|
el_beta How do I cheat? Reputation: 0
Joined: 05 Apr 2019 Posts: 9
|
Posted: Fri Apr 05, 2019 6:39 am Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 465
Joined: 09 May 2003 Posts: 25570 Location: The netherlands
|
Posted: Fri Apr 05, 2019 6:44 am Post subject: |
|
|
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 |
|
|
el_beta How do I cheat? Reputation: 0
Joined: 05 Apr 2019 Posts: 9
|
Posted: Fri Apr 05, 2019 6:51 am Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 465
Joined: 09 May 2003 Posts: 25570 Location: The netherlands
|
|
Back to top |
|
|
|