Re: Levels not that easily implemented

From: Mehdi Keddache (
Date: 01/21/97

On Tue, 21 Jan 1997, Daniel Koepke wrote:

> On Tue, 21 Jan 1997, Dean Kao wrote:
> > Thanks to those who replied to my question about raising levels.  Now 
> > besides the so obvious..
> > I am attempting to go beyond the unsigned char so which means I have to 
> > put in int.  The question is when I do implement a different data type, 
> > compile and try to enter the game (new with no player base), I create my 
> > character and it crashes.  This is not just with int.  Unsigned char 
> > (ubyte) has the same results.  Any solutions?  Also, what other changes 
> > might I need?  I would think that a char written to a file would not be 
> > the same as writing an int to a file.  Know what specific files I would 
> > need to make changes to?
> All you had to do was change to an 'int' and remove lib/etc/players
> then login as new.  Nothing else needs changing.  I can't imagine anyone
> screwing up that, so you must have fucked up elsewhere.

Just make sure you change to an int in the char_data structure as well
as in the char_file_u structure. You still need to save the level as
an int not just play with it as an int.


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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