Page 2 of 3

Re: Multiboard Developmental Tool

Posted: Thu Apr 25, 2013 8:01 pm
by 3ICE
Double post to let you know the previous post was edited like 10 times.

Re: Multiboard Developmental Tool

Posted: Fri Apr 26, 2013 2:45 pm
by Ian
Updated to v1.00.

Re: Multiboard Developmental Tool

Posted: Fri Apr 26, 2013 3:06 pm
by 3ICE
Still using WriteLibrary__PreserveColor I see :(

Code: Select all

// Used in place of | to start color codes and end color codes.
// Used in-game as: }cffff0000This text is red}r but this text is white.
// Should only be one character long.
set udg_Color_Delimiter="}"
Couldn't it be longer than 1 character? To avoid collisions.
Like if I named my multiboard "([{•-MultiBoard of Epicness!-•}])" or something silly. Then PreserveColor will change that } at the end to a |, killing the string.

Although maybe it doesn't matter. I'm sure the cases where we want to put all 255 ascii characters in our multiboard are few and far in between. The end user can always change } to alt+29 or some other very obscure character.

Re: Multiboard Developmental Tool

Posted: Fri Apr 26, 2013 10:09 pm
by Ian
Version 1.00 doesn't use PreserveColor anymore. The posted example hasn't changed because I haven't had time to make an updated example. I'm working on it though =).

The Color_Delimiter variable can be more than one character if I change function formatstringcolor. The fact that it won't work with more than 1 character was just an oversight that I didn't fix. My thought process was that nobody would want (or even need) to have it more than 1 character.

It's still a very simple fix, and I've done that and posted an update now.

Edit:
I'm sure the cases where we want to put all 255 ascii characters in our multiboard are few and far in between.
Most of the non-alphabet ascii characters are actually multiple characters in Warcraft III and couldn't have been used as the Color_Delimiter. I found this out when I was making save/load systems. I use to have a list of characters that were a single character long, but I deleted it some time ago.

Re: Multiboard Developmental Tool

Posted: Fri Apr 26, 2013 11:30 pm
by 3ICE
Some quests seem to be missing or damaged.
I remember having an easy to access command list, which is now unfindable.

Re: Multiboard Developmental Tool

Posted: Sat Apr 27, 2013 12:50 am
by Ian
Fixed, along with some other minor changes.

Re: Multiboard Developmental Tool

Posted: Sat Apr 27, 2013 1:06 am
by 3ICE
-columns command example says -rows instead of -cols
Feature request: -cols command alias for -columncount

Re: Multiboard Developmental Tool

Posted: Wed May 01, 2013 4:56 pm
by Ian
I'm thinking of rewriting the system in vJASS, since the resulting code is in vJASS anyway. This will give users the option to customize their commands, allowing them to declare as many as they want for each in-game function. Seems like it could be useful.

Since I'm doing this, I'm also looking into .wtg file creation to have one version dealing with vJASS and another that deals with GUI.

Re: Multiboard Developmental Tool

Posted: Wed May 01, 2013 7:01 pm
by 3ICE
Yes, converting it to vJASS is an excellent idea for your next goal. I was surprised you got so far with GUI triggers. Commendable.

While it's definitely possible to do, I don't know of any open source wtg generators you could copy code from. The format is well documented, you'd just have to make your own system. Which is a lot of work.

Re: Multiboard Developmental Tool

Posted: Wed May 01, 2013 7:49 pm
by Ian
It would give me a reason to move beyond Warcraft 3 (JASS is the only language I know), but if it does happen it won't be for a while. I did just have another idea though. Making an actual program out of this would eliminate every issue I have so far. I'm not sure I want to spend time doing that though =\.