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
➜ gdb: watchpoints, find where it was changed
|
gdb: watchpoints, find where it was changed
|
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
| Tue 12 Apr 2005 05:37 PM (UTC) |
| Message
| Getting closer to finding out this password bug:
(gdb) watch ch
Hardware watchpoint 3: ch
(gdb) c
Continuing.
Hardware watchpoint 3: ch
Old value = (CHAR_DATA *) 0x80b2dbb
New value = (CHAR_DATA *) 0x0
nanny (d=0x9aac280, argument=0xbfe77f10 "Zofar") at comm.c:1998
1998 switch ( d->connected )
(gdb) c
Continuing.
Hardware watchpoint 3: ch
Old value = (CHAR_DATA *) 0x0
New value = (CHAR_DATA *) 0x99d8808
nanny (d=0x9aac280, argument=0x81d3700 "Xio") at comm.c:2075
2075 if ( ch )
(gdb) bt
#0 nanny (d=0x9aac280, argument=0x81d3700 "Xio") at comm.c:2075
#1 0x080b3fbb in game_loop () at comm.c:969
#2 0x080b33af in main (argc=8, argv=0xbfe78350) at comm.c:340
I need to find out why Xio was entered in nanny. Xio is the one who Zofar is ignoring. How would I do that with gdb? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Wed 13 Apr 2005 02:14 AM (UTC) |
| Message
| | You can do conditional breakpoints, but it sounds like somehow having someone on an ignore list is corrupting the login process. Is it possible that when you look up an ignore list it changes ch from the current character to the ignored one? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #2 on Wed 13 Apr 2005 02:36 AM (UTC) |
| Message
| That is what it seems to be doing, but where how and why I have to find out. It seems that the call to nanny is:
And since nanny was called with "Xio", it was something to do with that for some reason. But I never modified ignore or password functions. |
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.
8,965 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top