I'm sure this is VERY obvious, but I'm stumped... so I'd thought I'd send it out into the lsit and see if one of you would take mercy upon me and point it out!!! I'm starting my own Mud (no suprise) and I'm having lots of fun coding it. However, I'd like to add Races, no biggie I'm sure, but I have on intsy bitsy little problem. I'd like to change the maximum attributes for players so that they're dependant upon races! I couldn't find it in act.item.c and I didn't see the refresh routine in comm.c (i did find affect_update() ). I figure the mud has to recalculate your aff_abils every time you take on or remove a peice of equipment, and every time a spell wears off that affects attributes. I can of course change class.c to throw higher stats - real_abils - based upon race but it won't stick unless I can also change the maximum aff_abils so that str_appy and int_apply and all the others are calculated also accordinly to a higher scale!!! BTW: I started with the basic lastest version of CircleMUD code... HELP!!!! HELP!!!! Thank you kindly, aikeena +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+ From cat@vuse.vanderbilt.edu Fri, 20 Sep 96 13:07:08 -0500 X-SystemInfo: MyE-Mail: EMail X-Message-No: 4479 (database) From: Katzlberger Thomas <cat@vuse.vanderbilt.edu> To: circle <circle@cspo.queensu.ca> Subject: [CODE] Use UNIX database gdbm/ndbm/dbm for player&object files ? Date: Fri, 20 Sep 96 19:07:00 Message-ID: <9609201807.AA00317@localhost.vuse.vanderbilt.edu> Reply-To: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) X-POP3-Rcpt: lk4150@per Return-Path: <@QUCDN.QueensU.CA:owner-circle@cspo.queensu.ca> Received: from QUCDN.QueensU.CA (QUCDN.QueensU.CA [130.15.126.2]) by per.cybercity.dk (8.6.12/8.6.12) with SMTP id TAA16764 for <lk4150@krull.dk>; Fri, 20 Sep 1996 19:20:16 +0200 Received: from cspo.queensu.ca by QUCDN.QueensU.CA (IBM VM SMTP V2R2) with TCP;Fri, 20 Sep 96 14:31:12 EDT Received: by cspo.queensu.ca (SMI-8.6/SMI-SVR4)id OAA27363; Fri, 20 Sep 1996 14:07:54 -0500 Received: from vuse.vanderbilt.edu by cspo.queensu.ca (SMI-8.6/SMI-SVR4) Received: from localhost.vuse.vanderbilt.edu by vuse.vanderbilt.edu (8.7.5/SMI-4.1/VUSE-1.24) Received: by localhost.vuse.vanderbilt.edu (NX5.67f2/NX3.0S) Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3) Received: by NeXT.Mailer (1.118.2.RR) X-My-Email: katzlbt@vuse.vanderbilt.edu Sender: owner-circle@cspo.queensu.ca Precedence: bulk Hello all! I just stumbled onto the dbm thingy which comes with all UNIXes: NDBM(3) UNIX Programmer's Manual NDBM(3) NAME dbm_open, dbm_close, dbm_fetch, dbm_store, dbm_delete, dbm_firstkey, dbm_nextkey, dbm_error, dbm_clearerr - data base subroutines DESCRIPTION These functions maintain key/content pairs in a data base. The functions will handle very large (a billion blocks) databases and will access a keyed item in one or two file system accesses. This package replaces the earlier dbm(3x) library, which managed only a single database. Wouldn't using those save us from many problems with playerfile, alias, objfile & saved_struct modification ? The public domain gdbm package can be downloaded from aeneas.mit.edu. Just in case its not installed ... Cat. --- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ _/_/ _/_/ Thomas Katzlberger _/_/ _/_/ katzlbt@vuse.vanderbilt.edu _/_/ _/_/ @aWhiteNeXT.called.garfield _/_/ _/_/ http://www.vuse.vanderbilt.edu/~katzlbt/ _/_/ _/_/ _/_/ _/_/ "You can tune a file system, but you can't tune a fish." _/_/ _/_/ UNIX man page for tunefs. _/_/ _/_/ _/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ +-----------------------------------------------------------+ | 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