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, Bing, Google, Yahoo!, Majestic-12

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 » SmaugFUSS » Some bugs I found in SmaugFUS...
Forum Rules | Mark all | Recent Posts

Some bugs I found in SmaugFUSS 1.9.2
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Sep 23, 2016, 2:40 pm   Last edited Sep 23, 2016, 2:44 pm by Sadiq
Go to the top of the page
Go to the bottom of the page

Sadiq
Fledgling
GroupMembers
Posts24
JoinedJan 7, 2010

Sorry about not coming onto the forums as often as I used to...anyhoo, I was looking at recent posts and responded to one, and it made me remember that I had some fixes for bugs (a couple may not strictly be 'bugs') I found in the 1.9.,2 version of the code, and thought I would post them in hopes that it would benefit some people. so here goes...

When printing a bitvector to a file, an unneccesary 'u' is added.
Open up misc.c and find print_bitvector().

Change this:
    snprintf( p, ( XBI * 12 ) - ( p - buf ), "%ud", bits->bits[x] );

To This:
    snprintf( p, ( XBI * 12 ) - ( p - buf ), "%d", bits->bits[x] );


Objects not nesting, in storerooms.
Open clans.c and find fread_storage().

Change this:
    fread_obj( supermob, fp, OS_VAULT );

To this:
    fread_obj( supermob, fp, OS_CARRY );


Pre-auths that are initially denied (for whatever reason) are not going back
into the authorization queue.
Open comm.c and find do_name - near the bottom of the function, 

Change this:

   send_to_char( "Your name has been changed.  Please apply again.\r\n", ch );
   ch->pcdata->auth_state = 0;

To this:
   send_to_char( "Your name has been changed.  Please apply again.\r\n", ch );
   ch->pcdata->auth_state = 1;


do_say has an extra call to act().
Open act_comm.c and find do_act(). Near the bottom of the function,
immediately following the first switch block, you will see this:

        default:
            act( AT_SAY, "$n says '$t'", ch, sbuf, vch, TO_VICT );
            break;
      }
      act( AT_SAY, "$n says '$t'", ch, sbuf, vch, TO_VICT );

That call to act() that falls outside of the switch block is unneeded.
Either commented it out, or delete the line.


You can't use the 'say' command, when typed out (the shortcut still works)
If, for example, you type 'say hello' and send it to the mud, you will
get "say what and to whom" (or somesuch) back. This is because the command
'sayto' is higher on the priority list, than 'say'. (This is also why in
some MOBprogs, you aren't seeing things that mobs are supposed to be saying.)

The solution is to go into the game with your immortal and type:
'cedit sayto lower'. Keep sending that same command until the output
says something about sayto being moved below say. Then type 'cedit save cmdtable'.


No races were allowed to be Nephandi class - new characters were getting stuck
in creation, at the 'choose a race' part.
This is a simple fix, just use setrace to add nephandi to which ever race
you want to have them, (I set mine to allow humans, pixies, gith, and drow -
purely arbitrary...that's what they are set for, on RoD.)


That's it, for now...if I find others, I will post fixes.

Sadiq
       
Pages:<< prev 1 next >>