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
➜ Reset error
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Orik
USA (182 posts) Bio
|
| Date
| Sat 08 Mar 2008 11:47 PM (UTC) |
| Message
| I was building an area on my smaugfuss1.8 mud and I everything was going ok.
I went to do a reset list to see my resets and it started crashing on me. I had used reset list about 30 minutes prior to it crashing and I'm not sure what changed within that 30 minutes. I just added a couple more mobs, put them where I wanted and did an instazone. Did reset list and my mud crashed. Reset list works fine on all other areas.
Here's the bt:
(gdb) bt
#0 0xb7d52a3b in strlen () from /lib/libc.so.6
#1 0xb7d27094 in vfprintf () from /lib/libc.so.6
#2 0xb7d458c4 in vsnprintf () from /lib/libc.so.6
#3 0xb7d2c475 in snprintf () from /lib/libc.so.6
#4 0x0820018d in sprint_reset (pReset=0x8871920, num=0xbf967330) at reset.c:101
#5 0x08201176 in do_reset (ch=0x883eff0, argument=0xbf969c4e "") at reset.c:1084
#6 0x0819a2ff in interpret (ch=0x883eff0, argument=0xbf969c4a "list") at interp.c:545
#7 0x08145f05 in game_loop () at comm.c:854
#8 0x08147de2 in main (argc=1, argv=0xbf96a114) at comm.c:531
I looked in my building/file but I couldn't see any problems. When I do a next on the above gdb the mud dies.
What can I do from here?
| | Top |
|
| Posted by
| Orik
USA (182 posts) Bio
|
| Date
| Reply #1 on Sat 08 Mar 2008 11:50 PM (UTC) Amended on Sun 09 Mar 2008 12:02 AM (UTC) by Orik
|
| Message
| My area loads fine when it comes back up. The resets that were there in my last instazone work just fine and all the mobs load perfectly. Everything I created before it crashed is gone because it wasn't saved. So I'm not sure what's going on.
Just can't do a reset list.
| | Top |
|
| Posted by
| Orik
USA (182 posts) Bio
|
| Date
| Reply #2 on Sun 09 Mar 2008 12:17 AM (UTC) |
| Message
| Seems like it was my wear locations... hmm. Not sure what happened with those. I deleted all my wear locations in my building file and it shows resets fine now.
The eq was loading fine on the mobs. Not sure what the problem was. I'll keep testing. | | Top |
|
| Posted by
| Orik
USA (182 posts) Bio
|
| Date
| Reply #3 on Sun 09 Mar 2008 12:31 AM (UTC) |
| Message
| It seems my mud is writing the instazone stuff incorrectly.
My reset looked like this in the file:
When i looked at newdark.are to see what those resets looked like my reset should have looked liked this:
That was for the same type of eq (sword)
When I changed it to the second reset, my reset list worked fine in my building area. | | Top |
|
| Posted by
| Orik
USA (182 posts) Bio
|
| Date
| Reply #4 on Sun 09 Mar 2008 01:19 AM (UTC) |
| Message
| I finally got it working correctly.
In reset.c at 101, I changed:
to
item_w_flags[(tReset->arg3 + 1)]
The reason i did this is because I changed the wear locations around a long time ago and it was trying to read past the number of wear_locs that I had. So I am just using the item_w_flags to show what position the eq is in. I had to put the + 1 in there because it was reading one less then what it was supposed to.
It's working fine now so all is well. | | 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.
17,730 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top