ok I got some code from someone and I have been trying to install it but I get hung up real bad on this one part it is a specifier called %lf but I dotn know where to put it I was wundering if you know where you would put specifiers I would ask him but I'v bugged him alot and He has his own mud to work on well any help would be nice allso hear is the code he gave me to put in
To get a really high powerlevel, you can use the 'long double' variable. Inside the mud.h file look for the structure char_data:
struct char_data
Inside that structure put the following:
long double pl;
Also in mud.h locate the following:
int fread_number args( ( FILE *fp ) );
Below it put the following:
long double fread_double args( ( FILE *fp ) );
Also in mud.h locate the following:
int get_door args( ( char *arg ) );
Below it put the following:
char * ld_punct args( ( long double number ) );
Now in order to access that variable, you must use this speciifier -> %Lf
To get a really high powerlevel, you can use the 'long double' variable. Inside the mud.h file look for the structure char_data:
struct char_data
Inside that structure put the following:
long double pl;
Also in mud.h locate the following:
int fread_number args( ( FILE *fp ) );
Below it put the following:
long double fread_double args( ( FILE *fp ) );
Also in mud.h locate the following:
int get_door args( ( char *arg ) );
Below it put the following:
char * ld_punct args( ( long double number ) );
Now in order to access that variable, you must use this speciifier -> %Lf