Re: [Circle] [Newbie

From: marimah@ksu.ksu.edu (marimah@ksu.edu)
Date: 11/23/96


>> 
>> Anyway, it worked great, except for one thing. I want to add something like
>> this in the do_score function:
>> 
>> sprintf(buf,"Race: %s", GET_RACE(ch));
>> 
>
>	Well, I still get an error msg about the 'array subscript char',
>or whatever, but it doesn't seem to affect anything (so far).  The score 
>cmd runs correctly, at any rate.
>
>	In class.c, I have pc_class_types and pc_race_types, where the full
>names of the classes & races are listed.
>
>	So at the top (of act.informative.c):
>
>extern char *pc_race_types[];
>extern char *pc_class_types[];
>
>	And (in do_score): 
>
>  sprintf(buf, "%sYou are a  %s \r\n", buf, pc_race_types[GET_RACE(ch)]);
>
>
>	Exact names may vary from code to code, but give something like
>the above a try.
>
>-axl


well, I did this and it still doesn't seem to be working.
doesn't even display the 'You are a' part of it either.
something here I'm missing still?

Mark

>+-----------------------------------------------------------+
>| Ensure that you have read the CircleMUD Mailing List FAQ: |
>|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
>+-----------------------------------------------------------+
>
>

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST