0x0 is indicating that something is NULL that you are hitting. I'm used to
the Linux output on GDB so I'm going to assume that 'orl' is what this is?
If it is... do something like this to avoid it (or find out why it is not
pointing to the correct place). This will at least help you debug it and
find out if that is the reason.
if (orl == NULL)
{
send_to_char("ORL is null.\n\r", ch);
return;
}
Rhien.
http://www.dsl-mud.org
dsl-mud.org:4000
-----Original Message-----
From: Big Red [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2001 4:02 PM
To: Rom Mailing List
Subject: Bleh.. Skills\spells
Hey. This problem is really annoying me, and is the second time I've come
across it; I don't remember how I dealt with it the first time. I also saw
someone else had a problem like it a while ago, on the list.
But anyway, my problem is this, after adding a basic skill, being like
third attack in that it was automatic, my mud now merrily crashes when I
check skills or spells. Using GDB, instead of getting any useful info as to
why the mud was crashing, or the source to where it is originating from, I
got a line from assembly, as following.
0x449423 <probe+13>: orl $0x0, (%ecx)
(A screen capture can be found at the following site:
http://www.geocities.com/akira_mitsurugi/capture.jpg
Now, I've had this problem before with another skill, one more standard, a
basic attack, so I don't think it's in the actual skill's code, and I've
also looked through my code to see if I missed anything; I wouldn't be
bugging anyone right now if I hadn't already done so.
Thanks for any help.
--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom