Page 1 of 1

Please help, common issue in CS:S

Posted: Wed Mar 14, 2012 1:38 am
by gamergeek13
1) Does HLDJ launch the game correctly for you?
Yes
2) Does "HLDJ Loaded Successfully" appear in console on starting the game (with no errors)?
No errors
3) What is the console output after selecting a song, or issuing other HLDJ commands such as "hldj_next"?
Host_WriteConfiguration: Wrote cfg/hldj_cmd_c.cfg
Loaded : FB

4) Create your own local server and run the appropriate sv_ commands (see above), then:
4-a) Load one of the sample audio files and perform a search of your Steam directory (without stopping HLDJ) for the file "voice_input.wav" - does it show up, and if so, where?
Yes, in the correct directory of \SteamApps\username\counter-strike source\ (it defaults to this directory, putting it in \cstrike stopped the sample audio I downloaded from working)
4-b) If it exists, open it in an audio player: does it sound like the audio file you loaded?
Yes
4-c) If it exists, return to the game, and enter the following into console:
CODE: SELECT ALL
voice_inputfromfile 1; voice_loopback 1; voice_forcemicrecord 0; voice_modenable 1; voice_enable 1; +voicerecord
Does the audio file start to play?
No
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 operating system and/or the game? *
Yes

The sample audio I downloaded from the website originally worked, but when I moved voice_input.wav to \cstrike, it stopped working. After I restored its original directory, it remains not functional. I am certain that I have converted my audio in the correct format (11025 Hz, Mono, 16-bit, .wav) and have inputted all the sv_ and voice_ commands. In addition, opening voice_input.wav plays the desired audio. This has been a problem for me for a while now and I never could figure out how to work it out. If you could solve this for me I would be forever grateful to you. Thanks in advance

Here is what my console says upon loading CS:S from HLDJ:


maxplayers set to 32
Steam config directory: c:\program files (x86)\steam\steamapps\hiimchris3\counter-strike source\platform\config
CClientSteamContext logged on = 1
Parent cvar in server.dll not allowed (steamworks_sessionid_client)
Hud element 'CReplayReminderPanel' doesn't have an entry 'ReplayReminder' in scripts/HudLayout.res
Hud element 'CNotificationQueuePanel' doesn't have an entry 'NotificationQueuePanel' in scripts/HudLayout.res
Hud element 'CHudVote' doesn't have an entry 'CHudVote' in scripts/HudLayout.res
--- Missing Vgui material vgui/../hud/freezecam_black_bg
--- Missing Vgui material vgui//replay/replayicon
Cleaning up unneeded replay block data...
Replay cleanup done.
Unknown command "cl_thirdperson"
Can't use cheat cvar cam_snapto in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_ideallag in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_idealdelta in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_idealyaw in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_idealpitch in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_idealdist in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_idealdistright in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_idealdistup in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cam_collision in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_maxpitch in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_minpitch in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_maxyaw in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_minyaw in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_maxdistance in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_mindistance in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_orthowidth in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar c_orthoheight in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cl_upspeed in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cl_forwardspeed in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar cl_backspeed in multiplayer, unless the server has sv_cheats set to 1.
Unknown command "weapon_accuracy_logging"
Unknown command "weapon_accuracy_model"
Not playing a local game.
Unknown command "hldjsf"
Host_WriteConfiguration: Wrote cfg/hldj_cmd_a.cfg

HLDJ successfully loaded!
Quick-Start Guide:
1 ) enter 'la' to display the audio list.
2 ) enter the number of the file to load.
3 ) press the F1 key to start/stop audio.

Basic Commands:
hldjn, hldjp, hldjr - loads the next/previous/random audio file.
hldjca, hldjcd - displays the current audio file/directory in console.
hldjsca, hldjstca - displays the current audio file in public/team chat.
hldjsq, hldjqa - stops HLDJ and quits the current game/quits both.

[enter 'hldj1' for more commands/help]
[enter 'hldj' to display this guide again]

] 3
Host_WriteConfiguration: Wrote cfg/hldj_cmd_c.cfg
Loaded : FANTASTIC BABY

Edit: Without anything plugged into the microphone input, pressing F1 simply plays my voice back to me. However, when something is plugged into the mic input, the speaker icon still shows up, but my voice isn't played back to me.

Re: Please help, common issue in CS:S

Posted: Fri Mar 16, 2012 1:36 am
by Renegade
gamergeek13 wrote: 4-a) Yes
4-b) Yes
4-c) No
means the appropriate sv_ commands are not configured properly on your server. double-, triple- check.
also, don't move or modify voice_input.wav, wherever HLDJ generates it is where it needs to be (try rebooting if voice_input.wav is not changing when changing audio).

Re: Please help, common issue in CS:S

Posted: Sun Mar 18, 2012 1:02 am
by gamergeek13
Do you know how to configure the settings for CS:S so that the sv_ and voice_ commands are automatically set to the ones that I should have every time I load CS:S?

Re: Please help, common issue in CS:S

Posted: Sun Mar 18, 2012 7:24 pm
by Renegade
put it in the game's start-up script, such as autoexec.cfg, or more conveniently the one HLDJ provides for you, hldj_custom.cfg, in the custom folder.

Re: Please help, common issue in CS:S

Posted: Mon Mar 19, 2012 12:51 am
by gamergeek13
Thanks! One last thing, do you know why sometimes, when I press my talk key it acts as if I pressed the key to use HLDJ?

Re: Please help, common issue in CS:S

Posted: Wed Mar 21, 2012 7:48 am
by Renegade
yes, it happens if you don't toggle the play audio key off after toggling it on.