
Pages:<< prev 1 next >>



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
Looks like since I've never really used the pager in game I hadn't noticed this, but while testing today found this bug.
in act_info.c function parse_description
find
change that to
in act_info.c function parse_description
find
send_to_char( showdescription, ch );
change that to
send_to_pager( showdescription, ch );



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
in wilderness.c function parse_wilderness description
find
change it to
find
send_to_char( showdescription, ch );
change it to
send_to_pager( showdescription, ch );



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
act_info.c function show_compass
change
to
change
ch_printf( ch, "&W%s&w------&W%s&w------&W%s\r\n", dir_nw, dir_n, dir_ne ); ch_printf( ch, "&W%s&w---&W%s&w<-&G*&w->&W%s&w---&W%s\r\n", dir_w, dir_u, dir_d, dir_e ); ch_printf( ch, "&W%s&w------&W%s&w------&W%s\r\n", dir_sw, dir_s, dir_se );
to
pager_printf( ch, "&W%s&w------&W%s&w------&W%s\r\n", dir_nw, dir_n, dir_ne ); pager_printf( ch, "&W%s&w---&W%s&w<-&G*&w->&W%s&w---&W%s\r\n", dir_w, dir_u, dir_d, dir_e ); pager_printf( ch, "&W%s&w------&W%s&w------&W%s\r\n", dir_sw, dir_s, dir_se );



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
act_wiz.c do_mstat
find
change it to
find
/* Should show all affects listed not just ones with matching skills */ for( paf = victim->first_affect; paf; paf = paf->next ) { if( ( skill = get_skilltype( paf->type ) ) ) ch_printf( ch, "&c%s: &w'%s' ", skill_tname[skill->type], skill->name ); else ch_printf( ch, "&c%d: &w'Unknown' ", paf->type ); if( ( paf->location % REVERSE_APPLY ) == APPLY_STAT ) ch_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, stattypes ) ); else if( ( paf->location % REVERSE_APPLY ) == APPLY_RESISTANT ) ch_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, ris_flags ) ); else ch_printf( ch, "Mods %s", a_types[paf->location % REVERSE_APPLY] ); if( ( paf->location % REVERSE_APPLY ) == APPLY_EXT_AFFECT ) { if( paf->modifier == 0 ) ch_printf( ch, " by %s", ext_flag_string( &paf->bitvector, a_flags ) ); else if( paf->modifier > 0 && paf->modifier < AFF_MAX ) ch_printf( ch, " by %s", a_flags[paf->modifier] ); else ch_printf( ch, " by %d", paf->modifier ); } else ch_printf( ch, " by %d", paf->modifier ); ch_printf( ch, " for %d Seconds &D\r\n", paf->duration ); }
change it to
/* Should show all affects listed not just ones with matching skills */ for( paf = victim->first_affect; paf; paf = paf->next ) { if( ( skill = get_skilltype( paf->type ) ) ) pager_printf( ch, "&c%s: &w'%s' ", skill_tname[skill->type], skill->name ); else pager_printf( ch, "&c%d: &w'Unknown' ", paf->type ); if( ( paf->location % REVERSE_APPLY ) == APPLY_STAT ) pager_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, stattypes ) ); else if( ( paf->location % REVERSE_APPLY ) == APPLY_RESISTANT ) pager_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, ris_flags ) ); else pager_printf( ch, "Mods %s", a_types[paf->location % REVERSE_APPLY] ); if( ( paf->location % REVERSE_APPLY ) == APPLY_EXT_AFFECT ) { if( paf->modifier == 0 ) pager_printf( ch, " by %s", ext_flag_string( &paf->bitvector, a_flags ) ); else if( paf->modifier > 0 && paf->modifier < AFF_MAX ) pager_printf( ch, " by %s", a_flags[paf->modifier] ); else pager_printf( ch, " by %d", paf->modifier ); } else pager_printf( ch, " by %d", paf->modifier ); pager_printf( ch, " for %d Seconds &D\r\n", paf->duration ); }



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
news.c function do_news
find
change it to
find
set_pager_color( AT_HELP, ch );
change it to
set_char_color( AT_HELP, ch );



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
bti.c function do_bti
find
change it to
find
set_pager_color( AT_HELP, ch );
change it to
set_char_color( AT_HELP, ch );



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
skills.c function do_skilltable
find
change it to
find
change it to
find
send_to_char( "Skills and Number of Uses This Run:\r\n", ch );
change it to
send_to_pager( "Skills and Number of Uses This Run:\r\n", ch );
find
send_to_char( "\r\n", ch );
change it to
send_to_pager( "\r\n", ch );



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
act_info.c function do_cmdtable
find
change it to
find
change it to
find
ch_printf( ch, "Commands and Number of %s This Run:\r\n", lag ? "Lags" : "Uses" );
change it to
pager_printf( ch, "Commands and Number of %s This Run:\r\n", lag ? "Lags" : "Uses" );
find
send_to_char( "\r\n", ch );
change it to
send_to_pager( "\r\n", ch );
Pages:<< prev 1 next >>