| View previous topic :: View next topic |
| Author |
Message |
TLT How do I cheat?
Reputation: 0
Joined: 28 Oct 2009 Posts: 4 Location: france
|
Posted: Fri Feb 12, 2010 12:02 pm Post subject: sounds in a trainer, possible? |
|
|
hello,
A question, then I put sounds in my trainer? (enabled, disabled, etc. ..) if yes, how?
thank you ..
ps: sorry if my English is bad
|
|
| Back to top |
|
 |
kickclock Advanced Cheater
Reputation: 0
Joined: 15 Jan 2008 Posts: 73
|
Posted: Fri Feb 12, 2010 10:42 pm Post subject: |
|
|
looks like trainer doesn't support media file .
you can make a dll file for play media,and load it from loadlibrary.
here is a script ,maybe help.
| Code: | [ENABLE]
globalalloc(playmidimci,0x1000)
playmidimci+100:
db 'play Applesong.mp3' //file name,must be in process folder
dd 0
playmidimci+130:
db 'stop Applesong.mp3' //stop music
dd 0
//play music
playmidimci:
push 0
push 0
push 0
push playmidimci+100
lea eax,[mciSendStringA]
call eax
ret
//stop music
playmidimci+30:
push 0
push 0
push 0
push playmidimci+130
lea eax,[mciSendStringA]
call eax
ret
createthread(playmidimci)
[DISABLE]
createthread(playmidimci+30) |
_________________
Love CE |
|
| Back to top |
|
 |
Psy Grandmaster Cheater Supreme
Reputation: 1
Joined: 27 Mar 2008 Posts: 1366
|
Posted: Sat Feb 13, 2010 4:19 am Post subject: |
|
|
| You never stated whether or not you're using CE's trainer builder or not. If you're coding it yourself you have much more freedom. Look into uFmod.
|
|
| Back to top |
|
 |
TLT How do I cheat?
Reputation: 0
Joined: 28 Oct 2009 Posts: 4 Location: france
|
Posted: Sat Feb 13, 2010 5:56 am Post subject: |
|
|
Hello,
thank you for this information
Unfortunately I do not know coding (I am learning slowly) but it has perfectly answered my question
[quote] You never stated Whether or not you're using CE's trainer builder or not. If you're coding it yourself you have much more freedom. Look into uFmod. [/ Quote]
Yes I use this building trainer, I looked uFMOD XM player library, thank you this will help me (later in my training)
Thank you again
|
|
| Back to top |
|
 |
|