View previous topic :: View next topic |
Author |
Message |
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Sat Jul 23, 2022 7:32 pm Post subject: How to auto-change a value the instant CE connects? |
|
|
Hi all, I usually use hotkeys and dropdowns for values but there's 1 i need to auto-set as soon as CE connects. Can't find anything on this subject or maybe using wrong search terms, idk.
Some specifics I need plz:
It's a 4 byte value needing set to 2147483647 the moment I connect.
It does not need to be frozen, just set once, and only once.
It should not re-apply the value more than once; should not be a timer that constant writes to a value more than once.
It should not be a timer that keeps checking/running at all after the first set. If it has to be a timer, it must disable itself as soon as it finds the newly set custom value the first time so it's not running/checking constantly.
If I disconnect or turn the game off, then as soon as I connect again it must know to do the step again one time without me reminding it.
Is it possible to do?
|
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4289
|
Posted: Sat Jul 23, 2022 9:35 pm Post subject: |
|
|
Code: | MainForm.OnProcessOpened = function(processid, processhandle, caption)
writeInteger(address, 0x7FFFFFFF)
end |
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Sat Jul 23, 2022 11:33 pm Post subject: |
|
|
Works brilliantly! Yes! Thank you!
1 question on it:
I added a 20 second sleep before the writeInteger, as the value was written slightly earlier than I anticipated. I notice it makes CE wait 20 seconds before the process name shows up at the top of CE gui. It works but it seems odd the sleep seems to delay the showing up of the process name at top of CE. Is this ok or should I modify something? It just seems concerning that the process name waits 20 seconds even tho the process opening is what makes the sleep timer begin, so why wouldn't the process name already show up at the start of the 20 second sleep instead of when the sleep concludes?
Code: | MainForm.OnProcessOpened = function(processid, processhandle, caption)
sleep(20000)
writeInteger("ScBc-1-c-Mod33b-Win64-Shipping.exe+2DAF3C0", 0x7FFFFFFF)
end |
|
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4289
|
|
Back to top |
|
|
|