Problems loading area

For builders to discuss and ask building questions.
Post Reply
User avatar
Argentia
Sword Grand Master
Sword Grand Master
Posts: 357
Joined: Fri Jul 23, 2004 4:31 am
Location: The City of Splendors
Contact:

Problems loading area

Post by Argentia » Thu Sep 11, 2008 9:08 pm

I am running into trouble when loading my area onto the testport. It tells me:

Log: Forgotten Kingdoms ready on port 4500.
Log: Jaenoic: alist add 1
Log: Reading in all pending areas...
Log: [*****] FILE: ../pending/cloister.are LINE: 1603
Log: [*****] BUG: Slot_lookup: bad slot 88.
Log: [*****] FILE: ../pending/cloister.are LINE: 1715
Log: [*****] BUG: Load_objects: # not found.
Log: Error while loading ../pending/cloister.are (Cloister of St Ramedar), freeing memory.

Which indicates a problem with these two items:

Code: Select all

#101430
flowery patterned cloak~
{90}a patterned cloak~
{90}A cloak decorated in flowery patterns lies here.~
~
ITEM_TYPE_ARMOR
FLAG_MAGIC
CAN_WEAR_TAKE|CAN_WEAR_BODY
QUALITY_OUTSTANDING MATERIAL_CLOTH COND_PERFECT SIZE_MEDIUM
0 0 LAYER_ARMOR ARMOR_TYPE_CLOTH 0 0
A APPLY_AC_DEFLECTION 2
E
flowery patterned cloak~
It is red velvet on the outside and black on the inside. It is decorated all 
over with circular flower paterns.
~
And

Code: Select all

#101436
white studded leather gloves~
{F0}white and {10}red {F0}leather gloves~
{F0}A pair of white gloves lay here~
~
ITEM_TYPE_ARMOR
0
CAN_WEAR_TAKE|CAN_WEAR_HANDS
QUALITY_HIGH MATERIAL_LEATHER COND_PERFECT SIZE_MEDIUM
0 0 LAYER_ARMOR ARMOR_TYPE_STUDDED_LEATHER 0 0
E
white studded leather helm helmet~
{F0}These gloves are a clean white, with {10}red metal studs.
>wear_prog 100~
if deity($n) != Ilmater
  mpforce $n remove i101436
  mpechoat $n The armour shakes violently around your feet!
  mpechoaround $n The armour bursts from $n's feet!
endif
if align($n) < -325
  mpforce $n remove i101436
  mpechoat $n The armour's Holy power burns you!
  mpechoaround $n The armour glows bright around $n's feet with Holy power.
  mpmadd $n currhp -30
endif
~
|
For the first item, could the A APPLY_AC_DEFLECTION 2 be the problem? As for the second item, I have no idea what could be the problem... The prog is copied and pasted from another item which doesn't give any problems... Except that the appropriate vnum is inserted. Any ideas what could be causing the error?
Do not meddle in the affairs of dragons, for you are crunchy and go well with ketchup.
Nedylene
Sword Grand Master
Sword Grand Master
Posts: 517
Joined: Mon Aug 25, 2003 2:00 am
Location: Zhentil Keep

Re: Problems loading area

Post by Nedylene » Thu Sep 11, 2008 9:54 pm

No idea on the coding part but.. Gloves are worn on hands not feet.
Enig
Sword Grand Master
Sword Grand Master
Posts: 787
Joined: Wed Dec 20, 2006 5:28 pm
Location: The Frozen North (Canada!)

Re: Problems loading area

Post by Enig » Fri Sep 12, 2008 12:21 am

I'm not really sure about the first one either, but it should be easy enough to see if the 'A APPLY_AC_DEFLECTION 2' line is causing the problem; just remove it and see if the file will load. That'll help narrow it down at least.

As for the second object, you seem to be missing one of those pesky squiggly lines (~) after your extended description. I guess it's looking for the next object, which is why it wants a # :)

By the way, this is unrelated but your second object seems to be a bit mixed up. It's listed as a pair of gloves and worn on the hands but the extended description responds to the keywords 'helm' and 'helmet' and the scripts look like they're written for a pair of boots :P
User avatar
Argentia
Sword Grand Master
Sword Grand Master
Posts: 357
Joined: Fri Jul 23, 2004 4:31 am
Location: The City of Splendors
Contact:

Re: Problems loading area

Post by Argentia » Fri Sep 12, 2008 2:41 am

Heh heh, thanks for catching those little description errors, Enig and Nedylene! Oh the woes of copy and paste. :oops: Thanks guys!
Do not meddle in the affairs of dragons, for you are crunchy and go well with ketchup.
User avatar
Argentia
Sword Grand Master
Sword Grand Master
Posts: 357
Joined: Fri Jul 23, 2004 4:31 am
Location: The City of Splendors
Contact:

Re: Problems loading area

Post by Argentia » Tue Sep 16, 2008 7:24 pm

The area loads just fine now, but it is still reporting a bug of
Log: [*****] BUG: Slot_lookup: bad slot 88.

And I have no idea what that means. If anyone could offer some insight, I would be appreciative!

EDIT: Oh, and it isn't the A APPLY_DEFLECTION 2 that is causing it, because I have tried removing that line and it still gives me the error.
Do not meddle in the affairs of dragons, for you are crunchy and go well with ketchup.
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Re: Problems loading area

Post by Dalvyn » Tue Sep 16, 2008 10:01 pm

It's most likely an old APPLY_something flag. Don't worry about it; we'll get it when we check the area later.
Image
Post Reply