Well, that's a no to the VB, but in any case... once again I'm lead to this
damned probe thing, when I backtraced.  Somewhere along the line my mud is
being tripped up, when I check skills or spells, and I have a feeling it's
not something so easy as a typo or code error...:

#0  0x00495d83 in probe ()
#1  0x0a271edc in ?? ()
#2  0x0045853e in interpret (ch=0xa271edc, argument=0xa2704b1 "skills") at
interp.c:522
#3  0x0042c529 in substitute_alias (d=0xa270094, argument=0xa2704b1
"skills") at alias.c:68
#4  0x0043015b in game_loop_unix (control=4) at comm.c:763
#5  0x0042fbf7 in main (argc=1, argv=0xa011860) at comm.c:396
#6  0x61005b8e in _libkernel32_a_iname ()
#7  0x61005e2c in _libkernel32_a_iname ()
#8  0x00495df2 in cygwin_crt0 ()
#9  0x0040103c in mainCRTStartup ()
#10 0x77e7eb69 in _libkernel32_a_iname ()

I have a feeling it's because I'm using cygwin, but I don't have (m)any
options about that, I can't supply another computer to have a unix
enviroment.  And double booting... blech.

In any case, thanks, Michael Barton also, for your clarity on the issue.

> You must be a  Visual Basic Programmer.  VB stores "0" as the value in any
> numerical variable. C, on the other hand, does not. That's up to "you" to
> set it's initial value. You could set it at declaration time with:
>
> int somevar = 0;
>
> That way it starts out as being "0".
>
> Your crashing is from someplace else. Use the backtrace(bt) to find out
the
> path of crashing. Sometimes it's not the last one in the list, it's
> sometimes the one the middle that caused the problem.
>
> Rheede
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of J
> Sent: Friday, August 02, 2002 12:54 AM
> To: ROM Mailing list
> Subject: Buffer fun! FUN!
>
>
> I think my email last time was Rich Text encoded.  Thus none of you ever
got
> it.  Thus you don't know what I'm talking about.  ...CARRYING ON!
>
> I believe I am having a few memory leaks.. when an integer is called, say
> 'int hp' or whatever, gdb shows the value of hp to be some preposterous
> number you couldn't enter on most hand calculators.  Granted the integer
is
> redefined before it's used, but I doubt I'm crazy to assume it should be
0,
> by default?  This may be the reason my mud is crashing without any
> explicable reason when I list skills or spells, when I haven't changed
much
> anything since they worked fine.
>
> Correct me if I'm wrong, my code knowledge is what I've taught myself.  An
> extensive library indeed.
>
>


Reply via email to