Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Catid Command Rename Bug

 
Post new topic   Reply to topic Printable version
 View previous topic  trouble running Post :: Post Directory  View next topic  
Author Message
L.C.
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Sat Apr 26, 2008 11:06 am    Post subject: Catid Command Rename Bug Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sat Apr 26, 2008 12:08 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
L.C.
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Sun Apr 27, 2008 10:07 am    Post subject: Reply to topic Reply with quote

Hmm.. What does that number define? The number of characters in that command?

Still doesn't work.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Sun Apr 27, 2008 10:27 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
L.C.
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Sun Apr 27, 2008 10:42 am    Post subject: Reply to topic Reply with quote

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. icon_sad.gif

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
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Apr 27, 2008 11:45 am    Post subject: Reply to topic Reply with quote

Yes, it's the number of characters to match against starting from the first character.
Back to top
View users profile Send private message Add User to Ignore List
L.C.
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Tue May 27, 2008 1:53 pm    Post subject: Reply to topic Reply with quote

Still doesn't work. I went through the entire file and adjusted those numbers to match the number of characters...
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
L.C.
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Thu May 29, 2008 6:57 pm    Post subject: Reply to topic Reply with quote

Thread complete.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 32 page(s) served in previous 5 minutes.

phpBB Created this page in 0.610805 seconds : 32 queries executed (91.9%): GZIP compression disabled