View previous topic :: View next topic |
Author |
Message |
booingthetroll Expert Cheater
Reputation: 0
Joined: 30 Aug 2011 Posts: 114 Location: ::1
|
Posted: Sun Apr 08, 2012 7:17 pm Post subject: Creating a new thread always crashing a game |
|
|
I'm starting to advance my knowledge on minesweeper, and I feel that if I do not ask this, I will never understand it. Why is it that creating a new thread, 99% of the time, crashes the game/process? On minesweeper, it tells me that it stopped working. Why is this?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Sun Apr 08, 2012 8:06 pm Post subject: |
|
|
simply: A thread is a part of the process that is being executed
If the code you've pointed it to isn't valid, it will crash.
A valid piece of code would be for example:
Code: |
addressx:
nop
nop
nop
ret //important
|
_________________
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 |
|
 |
booingthetroll Expert Cheater
Reputation: 0
Joined: 30 Aug 2011 Posts: 114 Location: ::1
|
Posted: Mon Apr 09, 2012 4:39 pm Post subject: |
|
|
Sorry to bump, but if I want to make a loop in a thread, such as something to repeatedly change your health or what ever to something, then, although I know it's not the best way, but how would I use a thread to do this? I thought two threads could run at the same time...
|
|
Back to top |
|
 |
|