 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
nielskool Advanced Cheater
Reputation: 0
Joined: 03 Jun 2007 Posts: 65
|
Posted: Mon May 04, 2009 4:43 pm Post subject: add sound to program with trainer or play sound from trainer |
|
|
heey,
i've got a value, when the value is one it must play a sound so i know it is one.
the only problem is i don't know how, searched on google got alot beeps, but i am not sure how to add it.
if you know another way to let the user know the value is one, feel free to suggest.
_________________
cheaters are the best race in the world, they love eachother:P, so i would say never fuck poeple of your own race, unless they're beautiful:P |
|
| Back to top |
|
 |
iSteam Grandmaster Cheater
Reputation: 0
Joined: 27 Oct 2006 Posts: 545 Location: Look up.
|
Posted: Mon May 04, 2009 5:21 pm Post subject: |
|
|
I believe the only sounds an application or a game can produce are ones that are already in it's code, or programmed into it.
I guess you could do a code injection template (very easy) in Auto Assemble and modify the original code to direct to play a different sound.
_________________
I didn't quit Maple, maple quit me.
Lol I play MPH |
|
| Back to top |
|
 |
nielskool Advanced Cheater
Reputation: 0
Joined: 03 Jun 2007 Posts: 65
|
Posted: Tue May 05, 2009 5:39 am Post subject: |
|
|
i found a sound in minesweeper, and he gets the sound from winmm.dll.
so if i inject the dll and than call the play sound... would that work?
//edit
why doesn't this work???
eaxis dw 0
ebixis dw 0
ecixis dw 0
edxis dw 0
esixis dw
edixis dw 0
ebpxis dw 0
espxis dw 0
mov eax,eaxis
mov ebx,ebixis
mov ecx,ecixis
mov edx,edxis
mov esi,esixis
mov edi,edixis
mov ebp,ebpxis
mov esp,espxis
call winmm.PlaySoundW
mov eaxis,eax
mov ebixis,ebx
mov ecixis,ecx
mov edxis,edx
mov esixis,esi
mov edixis,edi
mov ebpxis,ebp
mov espxis.esp
it looks pretty noob
i think i have to work with push and pop but don't know where, and i also don;t know how to make a name a container of a value..
ooh mannn i feel noob:P
have been searching but with so many diffrent asm languages, i just get confused.. so i think dw is from another asm language..
need help:P
//edit
if somoene got a plugin where something happens when...
and it is easy to edit for this.... than that would be a possibility.
i can't make my own plugins (jet)... have been searching for it but didn't find what i wanted.. maybe in the futur
_________________
cheaters are the best race in the world, they love eachother:P, so i would say never fuck poeple of your own race, unless they're beautiful:P |
|
| Back to top |
|
 |
talkerzero Grandmaster Cheater
Reputation: 1
Joined: 24 Jul 2008 Posts: 560 Location: California
|
Posted: Tue Jun 02, 2009 5:34 pm Post subject: |
|
|
C++!
| Code: | #include <windows.h>
#define ADDRESS 0x00FFA500 //change this
#define VALUE 0x01
int MainThread()
{
for(;; Sleep(100))
if(*(DWORD*)ADDRESS == VALUE)
Beep(100, 100);
return EXIT_SUCCESS;
}
BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)MainThread, 0, NULL, 0);
return TRUE;
} |
|
|
| Back to top |
|
 |
|
|
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
|
|