Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Crash with practice, oddly

Crash with practice, oddly

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Zeno   USA  (2,871 posts)  Bio
Date Fri 05 Nov 2004 09:14 PM (UTC)

Amended on Fri 05 Nov 2004 09:16 PM (UTC) by Zeno

Message
#0  0x080577a4 in do_practice (ch=0x9353310, argument=0xfef55505 "enhanced") at act_info.c:3528
3528            if ( !IS_AWAKE(ch) )
(gdb) bt
#0  0x080577a4 in do_practice (ch=0x9353310, argument=0xfef55505 "enhanced") at act_info.c:3528
#1  0x080ce3cd in interpret (ch=0x9353310, argument=0xfef55505 "enhanced") at interp.c:561
#2  0x080a3dff in game_loop () at comm.c:668
#3  0x080a36ba in main (argc=8, argv=0xfef55940) at comm.c:294


3523            CHAR_DATA *mob;
3524            bool cteacher=FALSE;
3525            int adept;
3526            bool can_prac = TRUE;
3527
3528            if ( !IS_AWAKE(ch) )
3529            {
3530                send_to_char( "In your dreams, or what?\n\r", ch );
3531                return;
3532            }


#define IS_AWAKE(ch)            ((ch)->position > POS_SLEEPING)


I did 'print *ch' and everything was fine.
(gdb) p ch->position
$2 = 12


Very odd. Anyone have any idea?

[EDIT] Heh, nevermind. Core was dated a few minutes differently from exec, so the lines were off. Fixed.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


4,643 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.