HIS-MOTHER Posted November 27, 2006 Share Posted November 27, 2006 I have been trying to get TCA to write a line into a cfg. I set it for Combobox (multibit) I offer selections for weapon restrictions but they need to be written into one line like this Example lines from a cfg below BulletShovePower 200 // 100% bullet kick when shot weaponavailable 0 %wrestrict% FFA TDM REN TREN TKOTH CTF // current game settings GameType FFA // default gametype //Map 32dm_oil // default map Within the variable %wrestrict% I need the tca custom config to allow me to select one or any number of the Mbit variables and write them with either a space or a comma in between so that the output will result in this. BulletShovePower 200 // 100% bullet kick when shot weaponavailable 0 m60 m16 l115 FFA TDM REN TREN TKOTH CTF // current game settings GameType FFA // default gametype //Map 32dm_oil // default map OR BulletShovePower 200 // 100% bullet kick when shot weaponavailable 0 m60,m16,l115 FFA TDM REN TREN TKOTH CTF // current game settings GameType FFA // default gametype //Map 32dm_oil // default map Either of these outputs is acceptable but it must be in one line. I am trying to do it as a Multiple selection within the custom area so as to not have a on or off selection line itm for each weapon. TCA gives me a error if I try to get it to write a space or comma. Dashes nor underscores will work, it needs to be a space or a comma. Link to comment Share on other sites More sharing options...
ECF Posted November 27, 2006 Share Posted November 27, 2006 What is the error that you are getting? Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 27, 2006 Author Share Posted November 27, 2006 "Input string was not in a correct format." I just went back into My configuration file editor and I went to check default values. Looks like TCA did not accept them. There are no fields. I dontthink it likes the spaces or the commas Link to comment Share on other sites More sharing options...
ECF Posted November 27, 2006 Share Posted November 27, 2006 I'll ask Luis to take a look at it. Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 27, 2006 Author Share Posted November 27, 2006 Fair enough, Thanks Kevin. I will procede with making multiple comboboxe's for now since these BHDTS PS2 guys are crazier than the CSS crowd. My coder is on vacation so I can't modify my little remote Mgt. utility and I have to get them some sort of control. Heaven forbid they get thunked on th head with a 203. LOL Link to comment Share on other sites More sharing options...
ECF Posted November 27, 2006 Share Posted November 27, 2006 Just out of curiousity... Have you tried putting the commas in yourself? eg. %variable1% , %variable2% etc... Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 27, 2006 Author Share Posted November 27, 2006 Yeah, Thats what I am doing now. Link to comment Share on other sites More sharing options...
LFA Posted November 27, 2006 Share Posted November 27, 2006 Can you create a ticket with your problem and the link and login to your control panel so I can have a look? Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 27, 2006 Author Share Posted November 27, 2006 i'd be happy to. I just sent Kevin a email, I need a login for the support desk Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 27, 2006 Author Share Posted November 27, 2006 I got you all setup. too bad I am getting your names all confused LOL the login i made was LCF . Doh There is also a ps2 bhdts installed under the user ps2test. fully working install excpet for the config write error. Link to comment Share on other sites More sharing options...
ECF Posted November 27, 2006 Share Posted November 27, 2006 No biggie. I sent it off to Luis to take a look at. Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 27, 2006 Author Share Posted November 27, 2006 Well whoever said your support was good was wrong. It's GREAT! Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 30, 2006 Author Share Posted November 30, 2006 Just wanted to give you guys a update. I got this completely resolved. I did what Luis suggested and worte in variables for %wrerstrict1% thru %wrestrict24% The game CFG seemed to accept all that. I did find out that if TCA writes that ntbs null value in the cfg it didn't work. I just set the values and made it not required and nothing was checked as a default selection and if it is left that way TCA writes nothing to that varible. ie. it removes it altogether. Not sure if you guys designed it that way but it works great. Thanks for all the help. P.S. My PS2 Psycho's are now pusing buttons like crazy. Link to comment Share on other sites More sharing options...
ECF Posted November 30, 2006 Share Posted November 30, 2006 LOL! How long before they break their servers? Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 30, 2006 Author Share Posted November 30, 2006 Who care's TCA restarts it. LOL Plus I only gave them the the custom template editor. They dont have ftp, or file mananger. No need for it. Can't break what you can't touch. Link to comment Share on other sites More sharing options...
ECF Posted November 30, 2006 Share Posted November 30, 2006 Good point Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 30, 2006 Author Share Posted November 30, 2006 Just one more reason that TCA ROCKS!!!!! Link to comment Share on other sites More sharing options...
ECF Posted November 30, 2006 Share Posted November 30, 2006 Love the smileys... Link to comment Share on other sites More sharing options...
HIS-MOTHER Posted November 30, 2006 Author Share Posted November 30, 2006 Love the smileys... Thanks. You should install some here on your forums. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.