chmod -R 770 tbamud (or circlemud, whatever your main directory is names)
That'll set permissions to allow read, write, and execute for every file in the directory for owner and group, and not allow anything for others, alternatively you could use 777 which is full access for everyone (since it's on your computer and not on a remote host it'll just refer to other user accounts on your computer)
Is line 77 of genzon.c the following:
Code:
} else if (bottom < 0) { <----------- This line
*error = "Bottom room cannot be less then 0.\r\n";
If so it's because:
zone_rnum create_new_zone(zone_vnum vzone_num, room_vnum bottom, room_vnum top, const char **error)
bottom is a room_vnum which is defined as
typedef IDXTYPE room_vnum; /**< vnum specifically for room */
in structs.h
IDXTYPE is defined as
# define IDXTYPE ush_int /**< Index types are unsigned short ints */
An unsigned short integer can hold values 0-65535, as such:
} else if (bottom < 0) {
is redundant, bottom can't hold a value smaller than 0, which is why it's triggering that warning.
To get rid of this you could either define bottom as something which is signed, or delete and/or comment out the following lines:
Code:
} else if (bottom < 0) {
*error = "Bottom room cannot be less then 0.\r\n";
return NOWHERE;
Frankly they're redundant, and serve no purpose as bottom is never, and in fact can't even possibly be less than 0 unless you change what room_vnum and/or IDXTYPE are defined as.