[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
hldj.org • View topic - Hldj stopped working after update (l4d2)
Page 1 of 2

Hldj stopped working after update (l4d2)

PostPosted: Sun May 30, 2010 1:03 pm
by A9i
Hello. I got the same problem. I think valve fu*** up this with the Passing Update (DLC).

Now, in the game folder you got "2 games".

A) Steam\steamapps\common\left 4 dead 2\left4dead2
B) Steam\steamapps\common\left 4 dead 2\left4dead2_dlc1 <--- They added this on the DLC Update.

If you want HLDJ to load when you open the game, you should select the "B" path as the game path in the settings of HLDJ. If you press the key binded to play the songs, the voice chatter icon will pop up on top of your nickname (like when you talk through mic), but nothing will be played. If you look at the console you can see the list of songs you've got. If you try to load one, apparently it will load, but as soon as you press the key to play it, it shows: Current: (none). And nothing is played. On advanced settings, you can indicate the game audio directory, which is on the "A" Path (Checked as stated on this thread).

For the record, not sure if that's related.

Unknown command "hldjsf"
Unknown command "voice_fadeouttime"
Host_WriteConfiguration: Wrote cfg/hldj_cmd_a.cfg

HLDJ successfully loaded!


Before the update, everything worked fine with the "A" path. But now, if you want HLDJ to load when you open the game, you need to change the game path to the "B", and you will get what i stated above.


For me, i got this:
1) Does HLDJ launch the game correctly for you? Yes with "B" path. No with "A" Path.
2) Does "HLDJ Loaded Successfully" appear in console on starting the game (with no errors)? Yes with "B". Nothing with "A"
3) What is the console output after selecting a song, or issuing other HLDJ commands such as "hldj_next"?]

Current: (none) Next: 03Benny Hill Show
Directory: xxxx\HLDJ\Audio
1. .\ 2. ..\
3. 03Benny Hill Show
] 3 <--- I load the song 3.
Host_WriteConfiguration: Wrote cfg/hldj_cmd_g.cfg
Loaded : 03Benny Hill Show

4) After loading one of the sample audio files, perform a search of your Steam directory (without stopping HLDJ) for the file "voice_input.wav" - does it show up, and if so, where? Can't find the file voice_input. But HLDJ still working on L4D1.
5) Does voice normally work for you? If not, or you do not have a mic, have you remembered to set up any applicable options in your OS and/or the game? Voice working perfect as before.

I'll appreciate if you can help me out to sort the problem. Thanks in advance. If you need me to test something, tell me.

Re: Hldj stopped working after update (l4d2)

PostPosted: Mon May 31, 2010 8:55 am
by Renegade
I split the topic as your problems were not identical.
If HLDJ is responsive (i.e. it shows up in console, you can load files/directories, etc), then your game path is correct. If you can play audio, then your game audio path (where voice_input.wav shows up) is correct. If the former is true but not the latter, then the game audio path is incorrect.

There's a section in the manual on how to if you believe it is incorrect. However, even with an incorrect path, voice_input.wav will still show up somewhere after loading a file. If it doesn't and you are sure of this, then there are bigger problems (i.e. why the file could not be created).

Re: Hldj stopped working after update (l4d2)

PostPosted: Mon May 31, 2010 11:42 am
by A9i

Re: Hldj stopped working after update (l4d2)

PostPosted: Mon May 31, 2010 9:07 pm
by Renegade

Re: Hldj stopped working after update (l4d2)

PostPosted: Tue Jun 01, 2010 4:52 am
by A9i

Re: Hldj stopped working after update (l4d2)

PostPosted: Tue Jun 01, 2010 7:07 am
by Renegade
HLDJ should have filled in the correct game audio directory for you, what was the previous value?

After you select a song in L4D2, does the output of the 'hldjca' command match that song? Can you traverse through different directories? If yes, the only other conclusion I can reach is that something is actively preventing the creation of voice_input.wav to that folder, which I find highly unlikely. Try copying one of your audio files to this folder and rename it voice_input.wav, then re-enter the game and hit your playaudio key, this should at least figure out if that is the problem. If that is not the problem, I can give you a debug build of HLDJ which may help figure out where exactly the problem is, let me know.

Re: Hldj stopped working after update (l4d2)

PostPosted: Tue Jun 01, 2010 8:59 am
by A9i

Re: Hldj stopped working after update (l4d2)

PostPosted: Tue Jun 01, 2010 7:13 pm
by Renegade
Can you switch directories? If not, communication is broken between HLDJ and the game. Since it works with your other games, L4D2 may have broke a command, perhaps the host_writeconfig command. Try running: "bind = "TESTCOMMAND"; host_writeconfig TESTFILE.CFG" in console, then take a look in the "left4dead2_dlc1\cfg" folder for that file. If it's not present, or doesn't contain the line "bind = "TESTCOMMAND"", then that would be problematic.

Re: Hldj stopped working after update (l4d2)

PostPosted: Tue Jun 01, 2010 11:29 pm
by A9i
What do you mean with switch directories? Changing the HLDJ directory (from E:\Juegos\HLDJ\Audio to another one) ? If so, i will try in a few hours.

I tried your last part. The "bind = "TESTCOMMAND"; host_writeconfig TESTFILE.CFG".

It creates a file, but under this directory: "left4dead2\cfg"

Not in "left4dead2_dlc1\cfg" Where the game directory is located.

Tell me if you need to content of the Testfile, i'll send you a pm with it.

Re: Hldj stopped working after update (l4d2)

PostPosted: Thu Jun 03, 2010 10:03 am
by Renegade
I see the problem, the cfg file is created in the wrong location. I can't understand why Valve would do this, but to confirm:
a) Setting the game directory to "left4dead2" in HLDJ does not work with the dlc
b) host_writeconfig generates the config file in "left4dead2\cfg" and not "left4dead2_dlc1\cfg".
It makes little sense to me, but if that is the case, I'll see what I can do to fix Valve's mess-up.

Re: Hldj stopped working after update (l4d2)

PostPosted: Fri Jun 04, 2010 1:45 am
by A9i
Hi.

A) Exactly, i just double checked that a few minutes ago. Doesn't work if the game directory is "left4dead2" with the DLC.
B) Correct. That creates the file into "left4dead2\cfg".

If you need my help to test something just leave me a message i'll help!. Thanks!

Re: Hldj stopped working after update (l4d2)

PostPosted: Fri Jun 04, 2010 11:21 am
by Renegade
It's impossible to test fully on my end, but I think this may solve your problem; unzip and use this hldj.exe.
If it works, it's not the solution I'm looking for, but it'll do for now until I figure out how many people are affected by this and why...

Re: Hldj stopped working after update (l4d2)

PostPosted: Fri Jun 04, 2010 2:20 pm
by A9i

Re: Hldj stopped working after update (l4d2)

PostPosted: Sat Jun 05, 2010 12:05 pm
by Renegade
It's okay, you don't have to, I've got a pretty good idea what the problem is. Every other game both reads and writes its config files to "<game folder>/cfg". For some reason in your case (or perhaps globally too) it seems the L4D2 dlc reads from "left4dead2_dlc/cfg" but writes to "left4dead2/cfg"... go figure. So what I did with the fix there is have HLDJ copy whatever configs are generated from the latter folder to the former. I'm not sure why it didn't work, but I was pretty exhausted when I did it, so maybe I overlooked something. I'll have another look at it today.

fyi: for the option in your screenshot, since the path you provided is the same one HLDJ would have chosen anyways, it doesn't recognize it as "alternate".

Re: Hldj stopped working after update (l4d2)

PostPosted: Sat Jun 05, 2010 2:17 pm
by A9i
Ahh thank you, wasn't sure about that option not being remember.

No problem, take your time, when you can, just leave a message here and i'll test whatever you upload :)

Also, i'm gonna ask friends, see if someone uses HLDJ and got this problem with L4D2.

Thanks for your time Renegade!