rich835 Posted September 21, 2007 Share Posted September 21, 2007 Hi, I've been trying to create a Config File using the Config Editor. Headers, Textboxes and Comboboxes are all working fine, but when I try to create an Item Type of "Multiselect (bit flags)" it doesn't seem to like anything that doesn't have a numerical value. It lets me create it fine, but when the user actually tries to select values in the multiselect field and then save the config file, they get an error: "Input string was not in a correct format". Is there anyway round this, or can bit flags only be numerical? What I'm trying to do ultimately, is to create a template file for users to create a shrubbot.cfg file for WolfET. The file has multiple flags you can select, each being an indvidual letter, the final string on a line being something like "aHiCx" for example, the idea being that this could be generated from many letters they can select. Link to comment Share on other sites More sharing options...
LFA Posted September 21, 2007 Share Posted September 21, 2007 Right now it only supports numeric values. I can add support for other values in the next update. Even if it accepted the characters it will not work with shrubbot.cfg because this file gets updated by the game server. The admins and bans are stored in that file. When TCAdmin writes a configuration file it overwrites the existing one with a brand new template. It does not keep any values that were changed manually. This would cause them to lose their admins and bans every time. Link to comment Share on other sites More sharing options...
rich835 Posted September 21, 2007 Author Share Posted September 21, 2007 Ok, understood many thanks. If other values are in the next update I'll probably have a stab at writing something for shrubbot anyway. I realise that shrubbot.cfg is constantly updated by the server, but I think if I made my customers aware of the overwrite when they generate the file, it would still be a useful feature. The vast majority of my customers are ET customers, and when they purchase a server we are always being asked to customize the shrubbot file for them. If they could do it themselves it would be one big headache out the way! By the way, the campaign creator is brilliant! Great job! I was wondering how it manages to retrieve all the installed map names from the server? Is that a variable or something somewhere which I can reference? I was hoping there might be a way of expanding on this idea with objective and stopwatch cycles as well. Is that possible? Thanks again Link to comment Share on other sites More sharing options...
rich835 Posted September 23, 2007 Author Share Posted September 23, 2007 Hi, Thanks for todays TC update allowing non-numerical bit flags, much appreciated! Could you possibly answer my question about the campaign creator? Thanks for all your efforts, this is an excellent service Link to comment Share on other sites More sharing options...
LFA Posted September 24, 2007 Share Posted September 24, 2007 Done. http://clientforums.tcadmin.com/showthread.php?p=18184#post18184 Link to comment Share on other sites More sharing options...
rich835 Posted September 24, 2007 Author Share Posted September 24, 2007 That's not the question I meant, that was my old question! What I wanted to know was: How does the campaign creator retrieve all the installed map names from the server? Is that a variable or something somewhere which I can reference? I was hoping there might be a way of expanding on this idea with objective and stopwatch cycles as well, so that when a customer edits his objective or or stopwatch cycle, that it displays a list of available maps read from what exists in his etmain folder (e.g. the custom maps) like the campaign creator does! Link to comment Share on other sites More sharing options...
LFA Posted September 24, 2007 Share Posted September 24, 2007 It shows any .pk3 file from the etmain folder. This can't be done in the config editor. Link to comment Share on other sites More sharing options...
rich835 Posted September 25, 2007 Author Share Posted September 25, 2007 Ok, understood. Having an objective cycle and stopwatch cycle creator which functions like the campiagn creator, being able to retrieve a list of .pk3 files from the etmain folder would be very useful. Is this planned in the next release perhaps? If not would you be willing to develop this feature at a cost? Many thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.