Amended on Mon 20 Dec 2004 12:46 PM (UTC) by DjNiVeK
Message
Seems like I got it to work. It was a small error in one of the area checks, which didn't check the latest area's (so with the highest numbers). I made it so it also checks that, and now it works :)
The only problem now is that on loading the area, the skill written in the scroll/wand/staff switches to a different spell/skill..
At the very top of your area file, is there a line that has:
#VERSION 1
on it? If not then for some reason your code is not saving the proper version info on the file and when it gets to the spell name it becomes confused because it was not expecting to see that.
Spell names like you have for your object will only work if the file is version 1 or above. Unmodified 1.4a areas will not have the version header in them.
SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center
"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
Try making the object without the spell on it, if that works, good, try it with the spell, if that doesn't, then you know where it is and where to look.
Yep, everything is correct, and the area ends with the #$.
I think it's the spell that causes the error, because this only happens with scrolls/wands and staffs.
Check how the other objects are layed out. If you see no difference, delete the object lines, and try again. Does the area end correctly? You need #$ I believe.
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
How did you make that scroll? By hand? In the Area Editor? I tried pasting that snippet into one of my areas and got the same message. Sounds like you have left out something or put too much in.
Gdb won't help here, the program hasn't crashed, it has given a designed error message because it doesn't understand your area file.
It probably is well known, so hopefully the answer aswell (I check the internet, but it seems like most of the answers are done by mail or something O_o).
Anyway, the mud crashes when you try to loadup an area that has a scroll/wand/staff with a spell written on it.
The errors it gives:
I ran GDB, but it results in kinda nothing, so that's not really an option to solve this.
Line 35 points to the spell it's connected to. I also checked db.c for any possible area_version checks that I missed, and changed those.
Any suggestions on how to solve this?
(It's kinda a vital part of the mud, because we use the study snippet)
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.