Re-sound for me

Can i make a resound of some sounds in the game? Wanna hear a Limp bizkit - Rollin' on cyclone, but i scare of a ban, can i catch a ban for this?
If you modify the game client in any way or any of the files contained within you will get banned, this is stated in the ToS which you agreed to when you first instlaed the game.
Ancestral Bond. It's a thing that does stuff. -Vipermagi

He who controls the pants controls the galaxy. - Rick & Morty S3E1
Using a macro to basically play a sound clip when you right-click or whatever, that'd be fine.

An AHK script could be something like this:

"

~RButton::
SoundPlay, c:\rollin.wav
Loop
{
Sleep, 10
GetKeyState, state, RButton, P
if state = U
break
}
return


Last edited by ionface on Feb 24, 2015, 11:16:39 AM
A little upgrade in case OP does not know or does not want to learn AHK:
"

SetBatchLines, -1
ListLines Off
#NoEnv
#SingleInstance, force

#IfWinActive, Path of Exile

~RButton::
SoundPlay, c:\rollin.wav
Loop
{
Sleep, 10
GetKeyState, state, RButton, P
if state = U
break
}
return


Top 3 lines to enhance performance *slightly*, 4th to prevent accidentally running 2+ instances of the script, 5th to make sure that the sound plays only when PoE window is activated (important if you play in a windowed mode and switch to, for example, a web browser).
You could also put the sound file in the same folder as the script, and use:
SoundPlay, rollin.wav
"
lordplenty wrote:
A little upgrade in case OP does not know or does not want to learn AHK:
"

SetBatchLines, -1
ListLines Off
#NoEnv
#SingleInstance, force

#IfWinActive, Path of Exile

~RButton::
SoundPlay, c:\rollin.wav
Loop
{
Sleep, 10
GetKeyState, state, RButton, P
if state = U
break
}
return


Top 3 lines to enhance performance *slightly*, 4th to prevent accidentally running 2+ instances of the script, 5th to make sure that the sound plays only when PoE window is activated (important if you play in a windowed mode and switch to, for example, a web browser).
You could also put the sound file in the same folder as the script, and use:
SoundPlay, rollin.wav


Thank you, I appreciate your help. Now the only thing OP needs is an edited rollin.wav which loops for a while!
Or maybe something like this:


"
SetBatchLines, -1
ListLines Off
#NoEnv
#SingleInstance, force
#IfWinActive, Path of Exile

ClipLenght:=60

~RButton::

SoundPlay, rollin.wav

time:=0
Loop
{
time:=time+0.05
GetKeyState, state, RButton, P

if (time>ClipLenght)
{
SoundPlay, rollin.wav
time:=0
}


Sleep, 50

if state = U
{
SoundPlay, fake.wav
break
}

}
return


And just set ClipLenght:= to the length of music in seconds.

Edit: tested and it works; better performance with 50ms sleep. There is a very short pause between music loops, so the clip should be trimmed at the spot where the volume goes down. Not sure if I could paste a pre-made 5.15s clip fragment due to copyright issues.

If OP needs help with running this script, I can help (PM me). No executables though, but I could guide OP trough the process.
Last edited by lordplenty on Feb 28, 2015, 9:20:26 PM

Report Forum Post

Report Account:

Report Type

Additional Info