--- Gogo <[EMAIL PROTECTED]> wrote:
>
> according to GDB, the pointer 'argument' is null.  and I
> think this is causing the Seg fault but, I cannot figure out
> where the null is coming from since im typing something
> in...after some exploration, it seems to crash after you
> reference something that doesnt exist...with goto or stat,
> trans works for nonexistant things and so so the similar
> spells but it also crashes if you remove eq, putting it on
> is ok, getting it zapped off is ok, just when you remove.
>
> since there is no mob named forest:
> heres my variables, crashed after i entered 'goto forest':
> argument  (char *) 0x0
> arg            (char *) 0x263e1cc "forest"
> argument  (char *) 0x0
> arg            (char *) 0x263e1cc "forest"
> pdot          (char *) 0x0
> number     77172002
>
> after i typed 'rem tiny':
> argument (char *) 0x0
> arg           (char *) 0x263e26c ""
> argument (char *) 0x0
> arg           (char *) 0x263e26c ""
> pdot         (char *) 0x0
> number    77172649


Can you show how you are calling number_argument in the above cases? you're
crashing because it's trying to do a strcpy with one of the perameters being
NULL..

~Kender

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++:+ a-- C+++$>++++ UBLS++++$
P+++(--)$ L++>+++ E--- W+>++$ N !o K? w(--) !O
M- !V PS+ PE(++) Y+ PGP->+ t- 5 X+() R(+) tv+@
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Reply via email to