General Questions - Catid Command Rename Bug L.C. - Sat Apr 26, 2008 11:06 am Post subject: Catid Command Rename Bug
So I took the source of Catid's biller and fixed up a few of the errors that prevented the code from being compiled in Visual Studio 2005, and renamed a bunch of commands to more appropriate ones.
For example, I renamed ?man to ?bhelp, and ?login to ?blogin.
The problem now, though, is that ?blogin does not work, and that when I do ?bhelp <command> to get help on a command, it gives me a message saying that there is no help found on that command. O_o
You can find a witty, cheap repository at http://www.hlrse.net/Qwerty/.ssb2-112/.CypherJF - Sat Apr 26, 2008 12:08 pm Post subject:
if (MatchString(command, "?blogin", 6))
Needs to be 7 instead of 6, right?
L.C. - Sun Apr 27, 2008 10:07 am Post subject:
Hmm.. What does that number define? The number of characters in that command?
Still doesn't work.
tcsoccerman - Sun Apr 27, 2008 10:27 am Post subject:
you probably missed a few things that have to be changed as well. i know in asss there is sysop.file, default.file, with a list of commands...
L.C. - Sun Apr 27, 2008 10:42 am Post subject:
Well I went through the whole thing, assuming 'that number' placeholder was the number of characters a command was composed up (including ? if it was written), and corrected the numbers (and leaving a comment of what the original number was).
Still doesn't work.
I've updated the repository.
EDIT :: I was able to make a correlation between the number and number of characters in a command while I was doing it..so that's what I think that number is.
CypherJF - Sun Apr 27, 2008 11:45 am Post subject:
Yes, it's the number of characters to match against starting from the first character.
L.C. - Tue May 27, 2008 1:53 pm Post subject:
Still doesn't work. I went through the entire file and adjusted those numbers to match the number of characters...
L.C. - Thu May 29, 2008 6:57 pm Post subject:
Thread complete.