Re: [BPL11] Clans

From: David Sun (wedget@MCI2000.COM)
Date: 09/03/98


I Chose No Name wrote:
>
> Okay, I added a clan system to my mud with seperate clan files and everything,
> boots em up in db...everything seems to load up fine but whenever i try to
> call anything from the clan (clan[i].name or anything like that) it
> crashes...now I know I have clans loaded, and clan[0].name crashes as
> well...not sure what the problem is? I basically copied the loading of rooms
> so it's index_boot, discrete_load and parse_clan but for some reason it
> appears that the clan struct...doesn't..work..any help would be greatly
> appreciated, thanks

i haven't the foggiest about why it's crashing, but you should try
re-doing
the entire thing with a linked list instead. it's overall easier to
manage.

p.s. do you choose no name, or is you're actual mudname/realname
"IChoose NoName"?

--
"The optimist sees the doughnut, the pessimist sees the hole."

char c[160],z;main(x,d){for/*/      -- Wedge --       /*/(x=159;x--
;c[x]=32);c[79]=z;c[39]=88/*/   wedget@mci2000.com   /*/;for(d=31;x
=78,puts(c+z),d--;z=80-z)/*/   high school junior   /*/for(;--x;c[x
+80-z]=88-56*!(c[z-!0+x]/*/   mud and game coder   /*/-c[z+x+1]));}


     +------------------------------------------------------------+
     | 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/15/00 PST