[Jan 06 2008] - Rumble

Removed break in oedit_disp_val1_menu ITEM_NOTE that caused a delay. (thanks Rhade)
  Fixed tlist when specifying a range. (thanks Rhade)
This commit is contained in:
Rumble 2008-01-06 03:01:36 +00:00
parent b8bf900585
commit f8576c63d7
6 changed files with 13 additions and 8 deletions

View file

@ -5,6 +5,9 @@ The Builder Academy
builderacademy.net 9091
tbaMUD 3.55
[Jan 06 2008] - Rumble
Removed break in oedit_disp_val1_menu ITEM_NOTE that caused a delay. (thanks Rhade)
Fixed tlist when specifying a range. (thanks Rhade)
[Jan 05 2008] - Rumble
Fixed improper display of affections in stat player. (thanks Rhade)
[Jan 04 2008] - Rumble

View file

@ -1772,7 +1772,7 @@ ACMD(do_toggle)
{
char buf2[4], arg[MAX_INPUT_LENGTH], arg2[MAX_INPUT_LENGTH];
int toggle, tp, wimp_lev, result = 0, len = 0;
const char *types[] = { "OFF", "BRIEF", "NORMAL", "ON", "\n" };
const char *types[] = { "off", "brief", "normal", "on", "\n" };
const struct {
char *command;

View file

@ -943,8 +943,7 @@ void do_stat_character(struct char_data *ch, struct char_data *k)
if (aff->modifier)
send_to_char(ch, ", ");
strcpy(buf, affected_bits[aff->bitvector]);
send_to_char(ch, "sets %s", buf);
send_to_char(ch, "sets %s", affected_bits[aff->bitvector]);
}
send_to_char(ch, "\r\n");
}

View file

@ -460,6 +460,10 @@ void list_triggers(struct char_data *ch, zone_rnum rnum, trig_vnum vmin, trig_vn
}
}
if (counter == 0)
send_to_char(ch, "No triggers found for zone #%d\r\n", zone_table[rnum].number);
if (counter == 0) {
if (rnum == NOWHERE)
send_to_char(ch, "No triggers found from %d to %d\r\n", vmin, vmax);
else
send_to_char(ch, "No triggers found for zone #%d\r\n", zone_table[rnum].number);
}
}

View file

@ -450,7 +450,6 @@ void oedit_disp_val1_menu(struct descriptor_data *d)
write_to_output(d, "Number of gold coins : ");
break;
case ITEM_NOTE:
break;
case ITEM_FURNITURE:
write_to_output(d, "Number of people it can hold : ");
break;

View file

@ -432,7 +432,7 @@
/* 128 Bits */
#define RF_ARRAY_MAX 4
#define PM_ARRAY_MAX 4
#define PR_ARRAY_MAX NUM_PRF_FLAGS / 32 + 1
#define PR_ARRAY_MAX 4
#define AF_ARRAY_MAX 4
#define TW_ARRAY_MAX 4
#define EF_ARRAY_MAX 4
@ -768,7 +768,7 @@ struct player_special_data_saved {
byte freeze_level; /* Level of god who froze char, if any */
sh_int invis_level; /* level of invisibility */
room_vnum load_room; /* Which room to place char in */
int pref[NUM_PRF_FLAGS /32 + 1]; /* preference flags for players */
int pref[PR_ARRAY_MAX]; /* preference flags for players */
ubyte bad_pws; /* number of bad password attemps */
sbyte conditions[3]; /* Drunk, hunger, thirst */
struct txt_block *comm_hist[NUM_HIST]; /* Player's comms history */