Re: LOWER

From: Robert Sinland (rsinland@ERSKINE.POLARISTEL.NET)
Date: 08/29/97


Robert Erica wrote:
>
> At 14:31 29-08-97 -0500, Robert Sinland wrote:
> |I'm having a bit of trouble getting the clan_destroy thing to work
> |with the ascii pfiles.
> |As it stands it tries to open a pfile and we get this.
> |
> |SYSERR: Couldn't open player file pfiles/L/Lerris
> |
> |Now to make it look for pfiles/l/lerris we should only need to throw in
> |a LOWER someplace right?
> |
> | here...:
>
> |    load_char(LOWER((player_table + j)->name), &chdata);
> |    if(chdata.player_specials_saved.clan==clan[i].id) {
> |      chdata.player_specials_saved.clan=0;
> |      chdata.player_specials_saved.clan_rank=0;
> |      save_char_file_u(chdata); } } }
> |
>
> (don't forget the ()'s)
> or you have to change load_char()
That's what I thought as well, but when I try it..

clan.c:189: warning: comparison between pointer and integer
clan.c:189: warning: comparison between pointer and integer

Plus it crashes in the same way with the above SYSERR.
Still trying :)
RS


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



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