Page 1 of 1

hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Wed Jan 06, 2010 9:51 pm
by mistercqnzr
Hello, I had been using an older version hldj for a long period of time and decided to update it; however once I had installed version 1.5, hldj gets stuck in a constant loop of Host_WriteConfiguration: Wrote cfg/hldj_cmd_[x].cfg where [x] is any letter from a-t, it restarts from there. This constant refreshing causes a split second of video lag (i have a shitcan computer) and makes the game unplayable. I can play sounds but the constant refreshing after every write is too frustrating to tolerate. Not only that but the constant writing floods the dev console with my hldj list, making it a little less useful. I've tried installing every build of hldj available on the site, clearing the leftover hldj files left in the cfg folder each time but it still happens. I've also tried reinstalling tf2, but that doesn't work either.

Has anyone else had this problem? I've found some people who have had it before but their only solution involved a system restore before they reinstalled hldj and i don't really want to commit to that

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Wed Jan 06, 2010 10:37 pm
by Renegade
If you've tried all the versions up to 1.5.0 I doubt it's anything new in 1.5
There's probably a bind/command/alias somewhere in a script file that is causing problems with the new version or a quirky server setting. Examine all your binds and script files for things that might cause this (especially any HLDJ-related commands) and test on a trusted server (i.e. your own).

It sounds as if hldj_write_cfg is being triggered, which in turn can be triggered by either hldjsf or hldjsd or just about any hldj command (which uses these), so again make sure you don't have some script somewhere that is calling these in an odd way.

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Wed Jan 06, 2010 11:12 pm
by mistercqnzr
well, it's not a bind. since i didn't really have anything important bound i just did an unbindall/restore defaults and the loop keeps going

i wouldn't even know where to begin to go looking for a script/server setting; i haven't really messed with source engine / extraneous hl2 tools outside hldj

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Wed Jan 06, 2010 11:18 pm
by Renegade
The best I can advise is to delete and re-install the game completely, then delete and re-install HLDJ. Add the game back to HLDJ and before visiting any server or changing any binds, test it out on your own server.

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Wed Jan 06, 2010 11:23 pm
by mistercqnzr
I'll be doing that; i'll post here when I've reinstalled everything

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Thu Jan 07, 2010 6:53 pm
by mistercqnzr
I deleted the G:\Program Files\Steam\steamapps\user\team fortress 2 folder after clearing the local game content, reinstalled it, used a fresh copy of hldj after deleting the old one, and it still gets caught in the loop on the first time running it! I don't know what else I can do.

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Thu Jan 07, 2010 9:20 pm
by mistercqnzr
so whatever has happened here also affects other source games (despite never having used hldj with them), the same loop happens when i run left4dead as well

edit: experimenting with TF2:

keeping hldj in stop mode, then opened TF2, alt-tabbed out, set hldj to play.

typed exec hldj_init in the console, and the loop begins there.

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Thu Jan 07, 2010 9:35 pm
by mistercqnzr
next move is going to be deleting everything that uses source i guess

it sucks but it's arguably better than having to back up everything I've done for the last week and a half

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Fri Jan 08, 2010 8:13 am
by Renegade
zip up the generated hldj_ configs and your autoexec.cfg, I'll take a look at them, but if it is the game engine screwing up, might want to delete all associated .gcfs as well.

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Fri Jan 08, 2010 8:27 am
by mistercqnzr
well i nuked -everything- related to source already; but if the problem resurfaces I'll make sure to do that

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Fri Jan 08, 2010 6:22 pm
by mistercqnzr
a reinstall didn't fix it, pm sent

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Fri Jan 08, 2010 9:35 pm
by Renegade
There's no technical difference between your cfg's and those of a fresh install, except maybe 1.5.0 vs. 1.5.02 (1.5.0 is fine though).
You did have some audio in our audio folder though, try testing HLDJ completely vanilla, i.e. no audio. One guess is that there are odd/Unicode characters somewhere in your config or filenames that the game isn't liking. Another random thing you can try is moving HLDJ into a subdirectory on your C drive, I firmly doubt it changes anything, but some users have said it fixed some odd problems.

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Fri Jan 08, 2010 10:14 pm
by mistercqnzr
it's definitely unicode!

one song used a degree symbol for an o and i overlooked it.

changing it fixed everything.

Re: hldj gets stuck in a constant wrote cfg/hldj_cmd loop

Posted: Fri Jan 08, 2010 10:43 pm
by Renegade
congrats