| View previous topic :: View next topic |
| Author |
Message |
Alureon How do I cheat?
Reputation: 0
Joined: 04 Feb 2013 Posts: 5
|
Posted: Sat Nov 16, 2013 4:19 pm Post subject: getThreadlist function |
|
|
A game I created a Lua trainer for recently updated. For some reason, I've noticed that if I change any opcodes before there is more than 2 threads in the program, the game crashes (blah has stopped working message).
Now, an easy way around this would obviously be to just delay it, but I cannot do that currently. The game has an integrity scanner which I can bypass, but only before the game has fully loaded.
In my attempt to create a way around this I wrote this Lua code:
| Code: | local lst = createStringlist()
getThreadlist(lst)
print(lst:getText())
print("There are "..lst:getCount().." threads") |
The problem with this is it gets the threads for the whole system. Is there any way I can get the threads for just the currently opened process? Thanks.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25818 Location: The netherlands
|
Posted: Sat Nov 16, 2013 5:03 pm Post subject: |
|
|
hmm, that's a bug in ce (fixed in the svn now)
Perhaps pause()/unpause() might be of some use? (every now and then pause the game, and then inspect some part of the memory to see if it's in a viable state and then apply the changes before resuming)
_________________
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 |
|
 |
Alureon How do I cheat?
Reputation: 0
Joined: 04 Feb 2013 Posts: 5
|
Posted: Sat Nov 16, 2013 5:36 pm Post subject: |
|
|
Thanks for the help, I'll give it a try.
Another thing I'd like to inform you about is in the CE documentation it says the function is called getThreadList when it is in fact getThreadlist (lowercase L).
|
|
| Back to top |
|
 |
|