Assuming that you run your startup script from the area folder this is what
you would do.

While your mud is down, in the area folder type
gdb ../src/rom

Thats what I type cause thats the location of the exe compared to where my
area folder is so you might have to change that to reflect where the exe is.
Then once in gdb type break bug
And that should display something about putting a break point in the bug
function should give like a line number in which file bug is located in.
Then you type
run <your port number here>

That will boot the mud, then it will run for a bit it will display all of
the logs that normaly go to your logfile to your screen. Now if you have
more then one bug type continue until you get to where it's calling bug with
the argument "fread_number bad number" or what ever the bug was.

Once it says that it will give you a command line, type bt to see the stack
to see what lead up to this. Now go back until your in the function that
called fread_number. To go backwards you can either type fram <number> and
put the fram number of the function that called fread_number or you can type
up until you get there. Then once in that function see which one it was so
you know what it was doing and then type print *fp that should show you what
it was trying to read in when it hit a non number.
----- Original Message ----- 
From: "Jesse Boulianne" <[EMAIL PROTECTED]>
To: "Sarix" <[EMAIL PROTECTED]>
Sent: Wednesday, October 29, 2003 12:51 PM
Subject: Re: OLC v2.1 - Adding Classes


> > So then you should fire your mud up in gdb place a break in bug. And
then
> > when it bug reports that go backwards in the stack to see what it was
> trying
> > to read.
>
> Again, thank you.  There's a problem with me and GDB.  I don't know how to
> use it.  I can get in to gdb (I type gdb at the command line), but that's
as
> far as I can go.  I haven't found any helpful documentation on gdb yet.
>
> Care to share the how-to's of it?
>
> --Jesse
>
>
> > ----- Original Message -----
> > From: "Jesse Boulianne" <[EMAIL PROTECTED]>
> > To: "Sarix" <[EMAIL PROTECTED]>
> > Sent: Wednesday, October 29, 2003 12:44 PM
> > Subject: Re: OLC v2.1 - Adding Classes
> >
> >
> > > Thanks for the advice.
> > >
> > > > Did you go through all your groups and add in 0 for the new class?
> > >
> > > Yes.  As per the instructions in Rom24/doc/class.txt
> > >
> > > > See when it saved the groups it saved them with a set of numbers for
> > each
> > > > class. You've added one more so you'll have to manually go add
another
> > > one.
> > > > Also probably need to go and add another number to all of your
skills
> as
> > > > well.
> > >
> > > Thanks again, but I did this also.
> > >
> > > --Jesse
> > >
> > >
> >
> >
> > --
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
>
>


Reply via email to