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 


CheckBox And SpeedHack

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

Joined: 23 Jun 2013
Posts: 5
Location: The Netherlands

PostPosted: Sun Jun 23, 2013 8:01 pm    Post subject: CheckBox And SpeedHack Reply with quote

Hello CheatEngine people,

I have made my own Cheat Engine hack while using the "Generate your own trainer using your lua script tables"

Sooo, Oké, i've insert my scripts, i didnt gave them a hotkey, because i want to run them via a CheckBox.
I have clicked on "Advanced Design" or w/e it is called.
Made some design etc etc, inserted all checkboxes, but when i goto: OnClick i find this code; "function CEGroupBox1Click(sender)

end"

I have been coding in C++ and Visual Basic for years, but this is totally different i geuss.

And for the SpeedHack, I was trying to make it so that there is a trackbar (with max value set as 10 if possible)
And then the more they shuffel it to the right, the more your speed increase.

Would be really really awesome if someone helped me with this!
(Btw, using CE 6.2)

Thanks in advance!

TheKylox.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Squidface
Newbie cheater
Reputation: -1

Joined: 19 Jan 2013
Posts: 20

PostPosted: Mon Jun 24, 2013 2:43 pm    Post subject: Reply with quote

Hey can u send me that Generate your own trainer using your lua script tables link or something
Back to top
View user's profile Send private message Send e-mail
TheKylox
How do I cheat?
Reputation: 0

Joined: 23 Jun 2013
Posts: 5
Location: The Netherlands

PostPosted: Mon Jun 24, 2013 5:10 pm    Post subject: Reply with quote

24/7 Hacker wrote:
Hey can u send me that Generate your own trainer using your lua script tables link or something


Sorry, I dont understand what you are trying to say.
And my deadline is tomorrow.
Please, I need help pretty fast.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jun 24, 2013 5:14 pm    Post subject: Reply with quote

Read main.lua
Especially speedhack_setSpeed and trackbar_*
Also, a trackbar on a defined form can be accessed using formname_trackbarname

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

Joined: 23 Jun 2013
Posts: 5
Location: The Netherlands

PostPosted: Mon Jun 24, 2013 6:12 pm    Post subject: Reply with quote

Dark Byte wrote:
Read main.lua
Especially speedhack_setSpeed and trackbar_*
Also, a trackbar on a defined form can be accessed using formname_trackbarname


Well, I'm not such a 12 year old dumb or something, but I was supposed to learn CE this vacation.
I learned some stuff about CodeCave and such, but didnt really get into it that deep yet.
Wich I totally will do.

But cant you add me on the chat thing, where you can call and chat with other people (I wont name it, cuz its forbidden here).
But that would be verry awesome (I'm dutch also).

And if you dont have time for people like me, I understand, and can you then please link me to the "main.lua" thingy?

"I feel so dumb at the moment!"

Well, Thanks In Advance!

~TheKylox
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Mon Jun 24, 2013 8:57 pm    Post subject: Reply with quote

main.lua can be found in C.E folder.
_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
knightblizs
Advanced Cheater
Reputation: 0

Joined: 18 Jun 2013
Posts: 56

PostPosted: Mon Jun 24, 2013 9:45 pm    Post subject: Reply with quote

How to enable speedhack (Turn on speedhack) by Checked box and when press something (ex. g etc) speedhack will begin and when off the hotkey hackspeed stop ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Jun 25, 2013 3:22 am    Post subject: Reply with quote

speedhack_setSpeed(1) turns off the speedhack
_________________
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
knightblizs
Advanced Cheater
Reputation: 0

Joined: 18 Jun 2013
Posts: 56

PostPosted: Tue Jun 25, 2013 4:20 am    Post subject: Reply with quote

Dark Byte wrote:
speedhack_setSpeed(1) turns off the speedhack

1 returns to normal ? Thanks Smile

and what script to Enable speedhack and when press hotkey speedhack will begin and when take it off hotkey will stop
Back to top
View user's profile Send private message
TheKylox
How do I cheat?
Reputation: 0

Joined: 23 Jun 2013
Posts: 5
Location: The Netherlands

PostPosted: Tue Jun 25, 2013 9:49 am    Post subject: Reply with quote

Dark Byte wrote:
speedhack_setSpeed(1) turns off the speedhack


Could you maybe do one example?
After that I geuss I'm ready to go.
The code wich I'm using is this one;

[enable]
alloc(hook,1024)
alloc(teletime,4)
label(return)
label(exit)

00D11B39: //e8 ? ? ? ? 8b d8 8d be ? ? 00 00 8d 4f
jmp hook
return:

teletime:
dd 0

hook:
call 00D51480 //orig opcode (GetTime)
pushad
//looking for the mouse click
mov ebx,[0144D1A0] //mouse ptr
// uncomment next 2 lines for mouse click fly
//cmp dword ptr[ebx+9E0],0c
//jne exit

//get mouse locations
mov ebx,[ebx+978]
mov eax,[ebx+8C]
mov ebx,[ebx+90]

//encrypt and set tele offsets
lea ecx,[esi+7af0] // no aob yet i usually just scroll down and match locations from last patch
push eax
call 00406E40 //cc 56 8b f1 8b 0d

lea ecx, [esi+7ae4]
push ebx
call 00406E40

lea ecx, [esi+7ACC]
push 00000001 //Probably dont need all the proceeding 0's but wthell
call 00406E40

exit:
popad
jmp return

[disable]
00D11B39:
call 00D51480

dealloc(hook)
dealloc(teletime)

And want a checkbox to enable and disable it.

So could you put the code wich i should use here?
And I geuss its the one wich I fill in @ the "OnCheck" or something @CheckBox Events?

Thanks In Advance

~TheKylox
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
TheKylox
How do I cheat?
Reputation: 0

Joined: 23 Jun 2013
Posts: 5
Location: The Netherlands

PostPosted: Wed Jun 26, 2013 11:20 am    Post subject: Reply with quote

I geuss nobody knows how to do it? :/
I'm so fucked-up now lololol
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Wed Jun 26, 2013 12:45 pm    Post subject: Reply with quote

We know how to do so.
We're just hoping that you'll use your brain and the feature that called SEARCH in the top of website.

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
TheKylox
How do I cheat?
Reputation: 0

Joined: 23 Jun 2013
Posts: 5
Location: The Netherlands

PostPosted: Thu Jun 27, 2013 12:35 pm    Post subject: Reply with quote

DaSpamer wrote:
We know how to do so.
We're just hoping that you'll use your brain and the feature that called SEARCH in the top of website.


You think I didnt?
I have searched freaking much.
There are no solutions for this yet.
If you know, why dont you just post it? ;S
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Thu Jun 27, 2013 3:48 pm    Post subject: Reply with quote

Code:
f = createForm()
tb = createTrackBar(f)

f.height = 30
width    = f.width
tb.width = width

tb.Min = 0 --Max position for the TrackBar and speed hack too...
tb.Max = 10--Max position for the TrackBar and speed hack too...

function IncreaseSpeed()
   speed = tb.position
   speedhack_setSpeed(speed)
end
setMethodProperty(tb , "OnChange" , "IncreaseSpeed")

This might not work with C.E 6.2.

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
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