[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/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 - How to bind songs to keys

How to bind songs to keys

Cool tips, tricks, FAQs, scripts, binds, etc.

How to bind songs to keys

Postby Renegade » Sat Feb 07, 2009 3:43 am

Renegade
HLDJ Developer
HLDJ Developer
 
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm

Re: How to bind songs to keys

Postby Leafblower29 » Fri Jan 22, 2010 7:33 pm

WOw thx i came t othe forum just for this thread :D
Leafblower29
Game DJ
 
Posts: 3
Joined: Fri Jan 22, 2010 7:15 pm

Re: How to bind songs to keys

Postby ivrytwr3 » Mon Mar 15, 2010 10:01 am

OK, i need a bit of help here. HLDJ works in game for me for indivual binds, but i would like to set up different keys to different binds, but it ain't working. This is what i am trying, whaere have i gone wrong?!

bind UPARROW "bind MOUSE4 >C:\Users\The xxxxx Family\Desktop\games\hldj\hldj_1.5.02b\HLDJ\@Stanlio&Ollio.wav; hldjsf"

(mouse4 works with sample audio and my audio files ingame).
ivrytwr3
Game DJ
 
Posts: 1
Joined: Mon Mar 15, 2010 9:57 am

Re: How to bind songs to keys

Postby Renegade » Mon Mar 15, 2010 10:59 pm

Renegade
HLDJ Developer
HLDJ Developer
 
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm

Re: How to bind songs to keys

Postby Itachi » Thu Jun 17, 2010 4:18 am

Itachi
Game DJ
 
Posts: 3
Joined: Thu Jun 17, 2010 4:11 am

Re: How to bind songs to keys

Postby Renegade » Thu Jun 17, 2010 4:52 pm

'$' points to whatever Audio Directory has been set for the game. For example, if your audio directory is "C:\HLDJ\Audio" and you want to load "My Audio.wav", you would use ">$\My*Audio.wav" (not ">$\Audio\My*Audio.wav"). For backwards compatibility, it should work with and without the backslash after '$', but it's always better to include it.
Renegade
HLDJ Developer
HLDJ Developer
 
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm

Re: How to bind songs to keys

Postby Mannosuke » Sun Sep 19, 2010 8:06 pm

I can't seem to get mine to work. F1 is my broadcast key, and I'm trying to set up F3 to be bound to a certain song. I entered:

bind F3 "bind = >G:\TF2*Micspam\ahaha.wav; hldjsf"

And upon pressing F3, I receive this message in console:

bind <key> [command] : attach a command to a key
Host_WriteConfiguration: Wrote cfg/hldj_cmd_c.cfg

F1 continues to be bound to the previous song I selected normally with no change. Each time I press F3 it doesn't do anything but write a new config file. Could you help me out?
Mannosuke
Game DJ
 
Posts: 2
Joined: Sun Sep 19, 2010 7:54 pm

Re: How to bind songs to keys

Postby Renegade » Sun Sep 19, 2010 8:12 pm

It has been noticed that the ":" character causes problems for certain games. The next release will fix this by allowing the use of "|" in place of ":"; until then, use a path that avoids this char, i.e. use "$" to load from the audio dir, or "\" to load from the root dir.
Renegade
HLDJ Developer
HLDJ Developer
 
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm

Re: How to bind songs to keys

Postby Mannosuke » Sun Sep 19, 2010 10:15 pm

Yep, that fixed it. Thanks a lot.
Mannosuke
Game DJ
 
Posts: 2
Joined: Sun Sep 19, 2010 7:54 pm

Re: How to bind songs to keys

Postby Paralyze » Wed Sep 29, 2010 3:00 pm

I'm having trouble using the dramatic method of binding keys to open
a cfg file. I'm using one of my cfg files in the hldj custom folder and
the other is the autoexec from the game. Do the cfg files have to be
in the same folder or in differen't places? I'm really confused, need
some help here.

I use these commands as written is there any problems here?
because i've tried to put the binds in the cfg files but in game
they wont execute.

bind + "exec hldj_custom.cfg"
bind - "exec autoexec.cfg"
Paralyze
Game DJ
 
Posts: 2
Joined: Wed Sep 29, 2010 2:56 pm

Re: How to bind songs to keys

Postby Renegade » Wed Sep 29, 2010 5:16 pm

You probably want to exec config.cfg not autoexec.cfg.
Secondly, you'll want to place your audio binds in a separate file other than hldj_custom.cfg, Follow the guidelines in #3.
Renegade
HLDJ Developer
HLDJ Developer
 
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm

Re: How to bind songs to keys

Postby Paralyze » Wed Sep 29, 2010 7:05 pm

Thanks, had to use another cfg file other than custom.
Paralyze
Game DJ
 
Posts: 2
Joined: Wed Sep 29, 2010 2:56 pm


Return to Tips & Tricks



Who is online

Users browsing this forum: No registered users and 1 guest

cron