Page 1 of 1

Unknown command: wait when loading too many files?

Posted: Wed Nov 24, 2010 10:39 am
by MarioInATopHat
Just recently, on some servers, after adding more sounds to my collection I've started getting a huge spam of 'Unknown command: wait', leaving me unable to load any files at all. Is there any known reason for this? What can I do to prevent this?

EDIT: Just remembered that I've always gotten a (HLDJ loaded - some files could not be written ( 1 error) !
) when hldj loads. Never payed attention to it actually, hadn't really caused me any problems.

Re: Unknown command: wait when loading too many files?

Posted: Wed Nov 24, 2010 8:32 pm
by Renegade
You can remove the error by removing any hldj_ files in your game directory that may not have been cleaned up properly from last run.

What game is this for? The 'wait' command is included in several HLDJ commands because some (older) Source games still use the old wait syntax (where each wait translates to 1 tick). Source 2007 never used to care if it encountered the old syntax, but I'm not sure if that's changed now, or if it is just specific to certain games. In any case, you can probably trick it into silence by defining your own do-nothing command:

Code: Select all

alias wait ""

Re: Unknown command: wait when loading too many files?

Posted: Thu Nov 25, 2010 10:36 am
by MarioInATopHat
This occurs in team fortress 2, and yeah I'll try that thanks.

It prevented the spammnig error, but I still was unable to load any files, every number I entered pointed me in a random directory.