Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, DotBot

Members: 0
Guests: 5
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » LoP Codebase » minor bug boards.c do_bset
Forum Rules | Mark all | Recent Posts

minor bug boards.c do_bset
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 24, 2014, 10:12 pm
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

Hello,

Just was reviewing the boards.c file and noticed that there are a %s that should be %d.

That is for when bset remove and bset post is issued I believe.
       
Post is unread #2 Jul 25, 2014, 1:35 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

   if( !str_cmp( arg2, "post" ) )
   {
      board->min_post_level = URANGE( 0, value, ( PERM_MAX - 1 ) );
      write_boards_txt( );
      ch_printf( ch, "Post set to %s. (minimum posting level)\r\n", perms_flag[board->min_post_level] );
      return;
   }

   if( !str_cmp( arg2, "remove" ) )
   {
      board->min_remove_level = URANGE( 0, value, ( PERM_MAX - 1 ) );
      write_boards_txt( );
      ch_printf( ch, "Remove set to %s. (minimum remove level)\r\n", perms_flag[board->min_remove_level] );
      return;
   }

It is probably you modified it to not use the perms_flag stuff which would then require it to be %d instead, thanks for the heads up though but these look fine. If you do find any issues though please mention them so i can look into them and make sure they are how they need to be :)
       
Pages:<< prev 1 next >>