Author |
Message |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: 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/. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Sat Apr 26, 2008 12:08 pm Post subject: |
 |
|
|
|
if (MatchString(command, "?blogin", 6))
Needs to be 7 instead of 6, right? _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: 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. |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: 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... |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: 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. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Sun Apr 27, 2008 11:45 am Post subject: |
 |
|
|
|
Yes, it's the number of characters to match against starting from the first character. |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: 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... |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Thu May 29, 2008 6:57 pm Post subject: |
 |
|
|
|
Thread complete. |
|
Back to top |
|
 |
|