Question How can we detect when one sound/animation is called ?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Crepto

Newbie
Feb 28, 2013
4
154
0
Is there anyway to detect when certain sound/animation is executed ? I'm searching for a way to code software for one MOBA that will stop my character attack until that sound/animation is going to be executed.
 
Last edited:

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,188
12,638
76
Is there anyway to detect when certain sound/animation is executed ? I'm searching of a way to code software for one MOBA that will stop my character attack until that sound/animation is going to be executed.
Detour the function which gets the specific sound and do whatever you want to do within your hooked function. Ie. look up for the string of the sound name in Olly, find the sounds address in memory, breakpoint and see whether it's called when it's supposed to play. If it is, then hook and do what you want :)
 

Crepto

Newbie
Feb 28, 2013
4
154
0
Detour the function which gets the specific sound and do whatever you want to do within your hooked function. Ie. look up for the string of the sound name in Olly, find the sounds address in memory, breakpoint and see whether it's called when it's supposed to play. If it is, then hook and do what you want :)
I didn't managed to find a way to attach olly without crashing the game. I tryed few plugins, which didn't managed to do the work. Do you have any ideas ?
 

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,188
12,638
76
I didn't managed to find a way to attach olly without crashing the game. I tryed few plugins, which didn't managed to do the work. Do you have any ideas ?
I'd recommend you to try something easier in the beggining, more basic. But anyhow back to subject, try PhantOm or StrongOD.
 

Syperus

RTFM
Meme Tier VIP
Dank Tier Donator
Oct 29, 2012
432
2,638
7
Try using cheat engine. It has a built in debugger. IDA pro is another debugger, however this is a more advanced debugger and should only be used after some experience, but if nothing else works then it could hurt to try.
 

Crepto

Newbie
Feb 28, 2013
4
154
0
I found a way to bypass that stupid vac... But here comes my lack of knowledge ;D How should I find the part with the attack :? In the fleep's tuts, he finds what he needs with the use of cheat engine and the search of variables connected with what he was searching. And when he went to olly he was right in the middle of it. What should I do in my case ? (sorry if this was already said somewhere)
 

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,188
12,638
76
I found a way to bypass that stupid vac... But here comes my lack of knowledge ;D How should I find the part with the attack :? In the fleep's tuts, he finds what he needs with the use of cheat engine and the search of variables connected with what he was searching. And when he went to olly he was right in the middle of it. What should I do in my case ? (sorry if this was already said somewhere)
Learn reverse engineering step by step, or atleast the general principles of it, before hopping into such stuff then if it's too complicated for you ;)

Basically what I'd do is, have find a code that only executes when a specific sound/animation is played (eg. a function playing the sound), hook it and do stuff within the hook. It's actually pretty basic.
 

Crepto

Newbie
Feb 28, 2013
4
154
0
Learn reverse engineering step by step, or atleast the general principles of it, before hopping into such stuff then if it's too complicated for you ;)

Basically what I'd do is, have find a code that only executes when a specific sound/animation is played (eg. a function playing the sound), hook it and do stuff within the hook. It's actually pretty basic.
I'm into programming from a long time so I doubt that it's something that I can't handle. Just can't find enough time for it and I have some problem with the sources (it's quite hard to find tutorials in this kind of things). This forum is great although.
 

Syperus

RTFM
Meme Tier VIP
Dank Tier Donator
Oct 29, 2012
432
2,638
7
I found a way to bypass that stupid vac... But here comes my lack of knowledge ;D How should I find the part with the attack :? In the fleep's tuts, he finds what he needs with the use of cheat engine and the search of variables connected with what he was searching. And when he went to olly he was right in the middle of it. What should I do in my case ? (sorry if this was already said somewhere)
There are a few ways you can do this. What I would do is search for all intermodular calls and look through the function calls. If you don't know how the sound calls are being done(Windows, Directx) Then you will need to scroll through(or just do a text seach) and look for sound calls. Windows plays sounds using the PlaySound() function and is called from Winmm.dll. From win32.hlp:
C++:
BOOL PlaySound(LPCSTR pszSound, HMODULE hmod, DWORD fdwSound);
DirectX plays sounds with the DirectSound function, with more added to it i.e. DirectSoundEnumeration(). DirectSound is used with directsound.dll

Looking through Intermodular calls shows you the functions that are being called and from what dll they are being called from. Hope this helps.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods League of Legends Accounts