A problem with binds and the character limit ... please help!


flashrains

 

Posted

Greetings, folks, Mace Ironhead here. I wasn't sure where to put this post, so I hope I picked the correct forum.

I recently levelled up my SoA to 41, and I've encountered a problem with the length of the bind I use to execute her toggle powers. Before level 41, this bind worked just fine.


/bind NUMLOCK "powexectoggleoff Sprint$$powexectoggleon Cloaking Device$$powexectoggleon Tactical Training: Assault$$powexectoggleon Tactical Training: Leadership$$powexectoggleon Tactical Training: Maneuvers$$powexectoggleon Combat Jumping"


I use mental training + swift + sprint + ninja run as my travel power, so when I hit NUMLOCK, it turns off sprint and turns on combat jumping, which automatically turns off ninja run, putting me into combat mode. If my toggles are down, I just keep tapping it until they all come back on. Simple and easy to use.

At level 41, I picked up Maneuvers, and at level 44 I plan on taking Assault. Here's the bind I *want* to use:


/bind NUMLOCK "powexectoggleoff Sprint$$powexectoggleon Cloaking Device$$powexectoggleon Assault$$powexectoggleon Tactical Training: Assault$$powexectoggleon Tactical Training: Leadership$$powexectoggleon Tactical Training: Maneuvers$$powexectoggleon Maneuvers$$powexectoggleon Combat Jumping"


However, when I paste it in, it gets cut off:


/bind NUMLOCK "powexectoggleoff Sprint$$powexectoggleon Cloaking Device$$powexectoggleon Assault$$powexectoggleon Tactical Training: Assault$$powexectoggleon Tactical Training: Leadership$$powexectoggleon Tactical Training: Maneuvers$$powexectoggleon Mane


Is there any way to shorten the command string, or possibly use different commands, so that it will fit within the character limit? I've tried using a macro instead (still gets cut off), knocking a couple letters off the power names (didn't work at all, apparently you *must* enter the full name of the power), the /bind_load_file command (also didn't work at all), fiddling with trays (there is no powexectoggleon_tray command, and the powexec_tray command won't activate them in sequence), and just plain banging my head against the keyboard (I now have a permanent space-bar-shaped dent in my forehead).

I know I could just split the bind in half and use two keys, but I really want to keep all my toggle powers bound to just one key, to keep things simple.

Not so simple, apparently!

Help!


 

Posted

Use bindloadfile. I've had this problem as well, with my Mastermind pets and a bind to get around a name glitch, and so far it works fine. Paste your entire bind into a text file (/bind command not included; start at NUMLOCK) and save it somewhere; I put mine in c:/binds. Then enter the command /bindloadfile c:/binds/FILENAME.txt.

Let me know if that works for you.


 

Posted

Quote:
Originally Posted by flashrains View Post
Use bindloadfile. I've had this problem as well, with my Mastermind pets and a bind to get around a name glitch, and so far it works fine. Paste your entire bind into a text file (/bind command not included; start at NUMLOCK) and save it somewhere; I put mine in c:/binds. Then enter the command /bindloadfile c:/binds/FILENAME.txt.

Let me know if that works for you.
A little side note on this idea, I've created a bind (saved in the default keybind file) that puts an "open ended" string into my chatline so that all I have to do is put in the file name at the end to load it up:

CTRL+B "beginchat /bind_load_file c:\CoH_binds\"

c:\CoH_binds is the path to my folder of "special" binds. All I have to do is enter the folder name that I want to load (with .txt at the end).


Quote:
Don�t say things.
What you are stands over you the while, and thunders so that I cannot hear what you say to the contrary. - R.W. Emerson
The BIG consolidated LIST for BASE LUV
YUMMY Low-Hanging Fruit for BASE LUV

 

Posted

Quote:
Originally Posted by Impish Kat View Post
c:\CoH_binds is the path to my folder of "special" binds. All I have to do is enter the folder name that I want to load (with .txt at the end).
I've put all my binds in the C:\program files\City of Heroes\data directory to avoid the need to specify a directory.

Edit:
SoAToggles1:
Quote:
NUMLOCK "powexectoggleoff Sprint$$powexectoggleon Cloaking Device$$powexectoggleon Assault$$powexectoggleon Tactical Training: Assault$$bindloadfilesilent SoAToggles2"
SoAToggles2:
Quote:
NUMLOCK "powexectoggleon Tactical Training: Leadership$$powexectoggleon Tactical Training: Maneuvers$$powexectoggleon Maneuvers$$powexectoggleon Combat Jumping$$bindloadfilesilent SoAToggles1"
Change the bindloadfilesilent as needed to point to your directory.




Triumph: White Succubus: 50 Ill/Emp/PF Snow Globe: 50 Ice/FF/Ice Strobe: 50 PB Shi Otomi: 50 Ninja/Ninjistu/GW Stalker My other characters

 

Posted

Quote:
Originally Posted by Snow Globe View Post
I've put all my binds in the C:\program files\City of Heroes\data directory to avoid the need to specify a directory.
That may work for most, but the shorter path I've created allows me to be creative with some of my longer "instructive" chat binds.

Also, for me, it's a matter of keeping the binds I've created for specific characters separate. It's just a matter of personal organizational preference.


Quote:
Don�t say things.
What you are stands over you the while, and thunders so that I cannot hear what you say to the contrary. - R.W. Emerson
The BIG consolidated LIST for BASE LUV
YUMMY Low-Hanging Fruit for BASE LUV

 

Posted

Thanks to everyone who responded!

I found out why /bind_load_file wasn't working - it was because there was a space between words in the directory tree. Fixed that, but it still wouldn't work ...

Impish Kat, I tried your idea next, but even with the shortened directory path, the string was still just a bit too long, and it was still getting cut off when the file loaded. Every power except the last one in the string worked, but since the last power in the string was cloaking device, I couldn't skip it.

Snow Globe's circular-bind suggestion worked, however, and the idea to just put the bind files in the /data directory was a good one as well, I think. I just named the bindfiles so that they were directly related to the character. After a little more rearranging, I finally managed to get all the powers to work! I've got to tap the NUMLOCK key a couple of extra times to get all the powers to toggle on (because of the bind cycling), and I have to tap it twice to get sprint to shut off and combat jumping to turn on (thereby turning off ninja run), but it all works!

The files are as follows:

baroness1.txt

NUMLOCK "powexectoggleoff Sprint$$powexectoggleon Assault$$powexectoggleon Tactical Training: Assault$$powexectoggleon Cloaking Device$$bindloadfilesilent baroness2.txt"

baroness2.txt

NUMLOCK "$$powexectoggleon Tactical Training: Leadership$$powexectoggleon Tactical Training: Maneuvers$$powexectoggleon Maneuvers$$powexectoggleon Combat Jumping$$bindloadfilesilent baroness1.txt"


Thanks again, people! Everyone who responded gets a candied bacon chocolate chip cookie, except for Snow Globe. You get two! ^_^