FKCheck Error's - I cant figure out the errror! Help!

For builders to discuss and ask building questions.
Elwin
Sword Master
Sword Master
Posts: 171
Joined: Wed Dec 31, 2003 8:28 pm
Location: Ardeep
Contact:

Post by Elwin » Sat May 28, 2005 12:48 pm

Every time I try to add a quest log section on my area I get a bad db error. Here is what I have down for the section. Any help is appreciated. I took it from the quests section on the builder's lessons.

#WEATHER 5 5

#QUESTS

100400 0 4 1 7 {E0}You are learning about Pain from Luvine.
100400 0 4 2 2 {E0}Seek out Belinda in the tailor shop.
100400 0 4 3 3 {E0}Seek out Shalindi in the components shop.
100400 0 4 4 4 {E0}Seek out Shalindi in the components shop.
100400 0 4 5 5 {E0}Return to the Truescar and answer her questions.
100400 0 4 6 6 {E0}Answer the Truescar's questions.
100400 0 4 7 7 {E0}Recieve your reward from the Truescar.
100400 0 4 8 8 {A0}You have learned about Pain from Luvine.
-1

#MOBILES
From your friendly neighborhood ranger :)
Beshaba
Sword Grand Master
Sword Grand Master
Posts: 697
Joined: Wed Jul 16, 2003 2:25 am
Location: Blood Tor

Post by Beshaba » Sat May 28, 2005 3:22 pm

You need a tilda at the end of each line.
Elwin
Sword Master
Sword Master
Posts: 171
Joined: Wed Dec 31, 2003 8:28 pm
Location: Ardeep
Contact:

Post by Elwin » Sat May 28, 2005 3:24 pm

Added the tildas, but it's still erroring out. And it's erroring on the #QUESTS line, which tells me that it's not recognizing that as a valid section, but I'm not an experienced builder, so I don't really know.
From your friendly neighborhood ranger :)
Elwin
Sword Master
Sword Master
Posts: 171
Joined: Wed Dec 31, 2003 8:28 pm
Location: Ardeep
Contact:

Post by Elwin » Sat May 28, 2005 7:48 pm

downloaded what I think is the newest version of FKCheck from the builders lessons. It still gives me the same error. THis is what I have for my area.


<--------------- Dont put a whole question solution up on line like that!!!!! ----->

Send it to builders address if you need more help that gives away IC info.

Sharni
From your friendly neighborhood ranger :)
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

FKCheck Error's - I cant figure out the errror! Help!

Post by Kregor » Sun Jul 03, 2005 1:01 am

I concur with Elwin... I DLed the AreaCheck off of the website link, and I still have to cut out my QUESTS sections to get it to run. Same error as Stayne posted a good while back if the QUESTS section is left in.

I also get error flags with all the new elf race flags on a mobile. Honestly it doesn't matter on a mobile, so I just find/replaced them all to RACE_ELF and that made it pass that part of the check.
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

FKCheck Error's - I cant figure out the errror! Help!

Post by Kregor » Sun Jul 03, 2005 3:50 pm

I found it! :)

And OOOOOoooo! It's in java now! I can run it on my mac without having to use Virtual PC.

EDIT: And it works so much smoother, and gives me the error a lot closer to the problem!

I love you guys!
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
Velsavius
Sword Novice
Sword Novice
Posts: 45
Joined: Tue Apr 19, 2005 9:43 am
Location: Northlands?? then Waterdeep
Contact:

Post by Velsavius » Thu Jan 12, 2006 7:18 am

I've run this through the FK check numerous times looking for problems but cant seem to get it past this point.
I've added the version I'm using just in case it's an old or invalid version and should be upgraded.

Area Syntax checker v2.0 FKMUD v2.0
Loaded Area.
Boot_db: # not found.
LINE: 31
Finished.

And using FK builder I also recieve this..

ERROR: Area.load: # not found.(Line 31)

Line 31 below is in bold and the entire opening section of the area is below that, any help would be greatly appreciated

#MOBILES
#QQ00
albur willowywalk~
{70}albur willowywalk~
{70}Albur willowywalk sits behind an oversized desk.


#AREA DEEPBURROW

#AUTHOR VELSAVIUS

#JUSTICE
Courtroom QQ29
Dungeon QQ37
Judge QQ00
Guard QQ14
Crime CRIME_HIGH_MURDER PUNISHMENT_DEATH
Crime CRIME_LOW_MURDER PUNISHMENT_SEVER
Crime CRIME_ASSAULT PUNISHMENT_JAIL
Crime CRIME_MUGGING PUNISHMENT_RANDOM_ITEM
$

#RANGES
0 65 0 65

#RESETMSG {20}You hear a distant whine as wind travels down the gorge.

#FLAGS
0 15

#ECONOMY 0 30000

#WEATHER 5 5

#MOBILES
#QQ00
albur willowywalk~
{70}albur willowywalk~
{70}Albur willowywalk sits behind an oversized desk.
~
Getting on in years this fairly robust halfling sits upon a padded stool
behind a large desk. His salty brown hair is closely cropped, and hard blue
eyes show no weakness at all. He wears the robes of a priest of Yondalla
and you can see a suit of well worn plate underneath.
~
U 50 CLASS_YONDALLA RACE_HALFLING SEX_MALE POS_STANDING DEITY_YONDALLA
ACT_SENTINEL|ACT_NOSHOVE|ACT_CITIZEN
AFF_PROTECTION
ARMOR_TYPE_PLATE_MAIL MATERIAL_STEEL
d8+2 200
13 16 18 13 13 15 15
0 0 0 0 0
LANG_COMMON|LANG_HALFLING|LANG_DWARF|LANG_GNOME
LANG_COMMON|LANG_HALFLING|LANG_DWARF|LANG_GNOME
RIS_NONE RIS_NONE RIS_NONE
~
|
Tyr
Sword Grand Master
Sword Grand Master
Posts: 502
Joined: Sat Aug 09, 2003 2:56 am
Location: House of the Triad
Contact:

Post by Tyr » Thu Jan 12, 2006 2:51 pm

AREA and AUTHOR should both have a ~ at the end of the line.
So should RESETMSG.

RANGES needs a $ after it.
Image
Velsavius
Sword Novice
Sword Novice
Posts: 45
Joined: Tue Apr 19, 2005 9:43 am
Location: Northlands?? then Waterdeep
Contact:

Post by Velsavius » Mon Oct 02, 2006 4:46 am

I get this statement in regards to a skill trainer the value(8%) is from the line %8 2 climb~

ERROR: Bit not found: value(%8)(Line 309)

This is using 'FK builder' FYI

The whole of the mob prog is..

#QQ45
hans greenbank~
{70}hans greenbank~
{70}Hans greenbank stands behind his counter waiting to serve you.
~
Wearing brown cloth pants and a white smocklike shirt this jovial elder
looking halfling makes you feel welcome the moment you entered his
establishment. A dagger rests in a sheath on his thigh and the glint of
chain can be seen under his clothing.
~
U 20 CLASS_FIGHTERS RACE_HALFLING SEX_MALE POS_STANDING DEITY_NONE
ACT_SENTINEL|ACT_NOSHOVE|ACT_CITIZEN
0
ARMOR_TYPE_CHAIN_MAIL MATERIAL_STEEL
d10 450
15 15 13 13 13 13 13
0 0 0 0 0
LANG_COMMON|LANG_HALFLING|LANG_DWARVEN|LANG_GNOME
LANG_COMMON|LANG_HALFLING|LANG_DWARVEN|LANG_GNOME
RIS_NONE RIS_NONE RIS_NONE
%8 2 climb~
%5 2 search~
%8 2 gnome~
>greet_prog 100~
mpecho $I strides around from behind the counter grabbing and shaking your hand.
cont...

I've run it against other mobs that pass fine though
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Post by Dalvyn » Mon Oct 02, 2006 10:13 am

I can't see the problem at first glance.

I spotted another small problem though... there are 2 lines with languages. The first one lists all the languages known to the mob; the second one lists the language the mob is currently speaking (by default) and should thus have only ONE language flag. Otherwise, it might create problems with PCs unable to understand the mob.
Image
User avatar
Japcil
Sword Grand Master
Sword Grand Master
Posts: 1143
Joined: Fri Jun 17, 2005 5:32 pm
Location: Golden Oaks
Contact:

Post by Japcil » Mon Oct 02, 2006 4:04 pm

Your missing the +2 after d10 or whatever number you choose, not sure if it has to be 2. Add that and you should be fine.
Image
User avatar
Rhytania
Sword Grand Master
Sword Grand Master
Posts: 320
Joined: Mon Aug 04, 2003 1:46 pm
Location: Forests of Cormanthor

Post by Rhytania » Mon Oct 02, 2006 4:12 pm

That shouldnt affect the mobs training problems.
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Post by Dalvyn » Mon Oct 02, 2006 4:19 pm

That might be that... I think even "+0" have to be explicitly written.
Image
User avatar
Rhytania
Sword Grand Master
Sword Grand Master
Posts: 320
Joined: Mon Aug 04, 2003 1:46 pm
Location: Forests of Cormanthor

Post by Rhytania » Mon Oct 02, 2006 4:34 pm

Hmm, so if thats the case would that also affect mobprogs, by not having the dx+x field populated?
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Post by Dalvyn » Mon Oct 02, 2006 5:51 pm

It might be the case (again, just guessing) that it expects 2 numbers. One for hit dice size, and one for hit dice bonus, as in the 10 and 2 in "d10+2". And if the 2 is not given, it simply reads the next number.

It would thus read

d10 450
15 15 13 13 13 13 13
0 0 0 0 0
LANG_COMMON|LANG_HALFLING|LANG_DWARVEN|LANG_GNOME
LANG_COMMON|LANG_HALFLING|LANG_DWARVEN|LANG_GNOME
RIS_NONE RIS_NONE RIS_NONE

as

d10+450 15
15 13 13 13 13 13 0
0 0 0 0 LANG_COMMON|LANG_HALFLING|LANG_DWARVEN|LANG_GNOME
LANG_COMMON|LANG_HALFLING|LANG_DWARVEN|LANG_GNOME RIS_NONE
RIS_NONE RIS_NONE ?!?

and finding a missing number in the ?!? spot. (Remember that all flags, like the RIS_ and LANG_ ones above, and all groups of flags separated with pipes | are actually replaced by numbers at some point).

For the missing ?!? field (the "susceptible" part of the resistance), it gets "%8", which it cannot interpret as a value / bit for resistances.

That might explain the "ERROR: Bit not found: value(%8)(Line 309)" error message actually.

It's sometimes kind of tricky to interpret error messages :)
Image
User avatar
Rhytania
Sword Grand Master
Sword Grand Master
Posts: 320
Joined: Mon Aug 04, 2003 1:46 pm
Location: Forests of Cormanthor

Post by Rhytania » Mon Oct 02, 2006 10:20 pm

Ahhh now it makes sense. Kind of as a side note just for my own FYI, Since the mud interprets the alphabetical flags and puts them into the binary equivalent in the long run, would the mud also accept the binary equivalent, or will it mung itself trying to convert it?
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Post by Dalvyn » Mon Oct 02, 2006 10:43 pm

It would accept decimal values, yes.

But I wouldn't :) Because, obviously, making a mob know "714" instead of LANG_COMMON|LANG_ABYSSAL|LANG_INFERNAL makes it a lot harder to read the file, and maintain it (fix bugs in it, modify it, and so on).
Image
Post Reply