BUG during area load...

Posted by USER007 on Sun 23 Nov 2003 10:18 PM — 7 posts, 23,701 views.

#0
I just made a test area and I add it to the area folder then I put the name of the area in the area list file. When I started the mud it gave me a bug and it wouldn't load the area. I check the vnums and they don't get in the way.
Heres the bug: C:\Program Files\BuiltByRustry\SmaugWizard Server/Area/Test.are LINE: 38
BUG: ParseNumber: bad format. (A)
C:\Program Files\BuiltByRustry\SmaugWizard Server/Area/Test.are LINE: 38
BUG: Unable to load Area file Test Area


I looked at it and I can't seem to find out what exactly is wrong. Any help? :/
USA #1
Maybe you should post what the problematic part of the area file looks like...
#2
You mean this?

#OBJECTS
#101
Legendary Z Sword~
The Legendary Z Sword~
A sword seems to be left here...~ <------ line 38
~
5 386 16384 0
13 0 0 3 1 0
10 0 0
#0
USA #3
Well, your first hint that there is a problem is that your bug tells you it's expecting a number, but your area file does not have a number.

What did you build the area with, and does whatever codebase you're running take stock areas?

What is the save format of other areas that already work?
#4
I used Area Editor (unregistered) and I'm not sure about stock areas. Its smaug 1.4a but in C++ and I don't understand what you mean by "save format". :) Heres the link where I got SmaugWiz 2.02 if that helps... http://www.eticomm.net/~russk2/Current.htm
USA #5
No, it's not Smaug 1.4a, because it's SmaugWizard... a cursory glance at the website shows me that it's a DERIVED version of SMAUG, it uses MFC, and even has an area converter for it. The Area Editor is designed to work with SMAUG - not something else.
#6
Well guess I'll have to work with some other codebase. :o