Page 1 of 1

SpellWeaving -> Error

Posted: Fri Apr 24, 2009 12:46 am
by blkwr
Wher i try to cast my spellweaving spells, core print in console "attribute cfg not found for spellweaving"

what problem could be? :\

Re: SpellWeaving -> Error

Posted: Fri Apr 24, 2009 2:37 am
by Damien.
Hmm, its most likely because there is no element for spellweaving in your attributes.cfg file.
I would just try add it and link it to the skillID and then be sure you got the right UOFeature enabled.
Also you should perhaps add an entry in uoskills.cfg. Let me know if this works...

Re: SpellWeaving -> Error

Posted: Fri Apr 24, 2009 2:50 am
by blkwr
i'm already insert this...

attributes.cfg

Attribute SpellWeaving
{
Number 58
Name SpellWeaving
SkillId 54
Unhides 1
Delay 10
IntAdv 100 40 //100 5d8+18
default_points 0
Title Spellweaver
}

uoskills.cfg

Skill 54
{
Attribute SpellWeaving
}

servspecopt.cfg
# 0x1a8 = ML + popup menus
UOFeatureEnable=0x1a8

attributes.inc
const ATTRIBUTEID_SPELLWEAVING := "spellweaving";

(this in GetAttributeIdBySkillId)
SKILLID_SPELLWEAVING: return ATTRIBUTEID_SPELLWEAVING;

Re: SpellWeaving -> Error

Posted: Fri Apr 24, 2009 8:22 am
by Pierce
Did you also set

Code: Select all

	MaxSkillID	54
inside the uoclient.cfg? Maybe this causes the error.

Re: SpellWeaving -> Error

Posted: Fri Apr 24, 2009 8:56 am
by blkwr
Pierce wrote:Did you also set

Code: Select all

	MaxSkillID	54
inside the uoclient.cfg? Maybe this causes the error.


no, i've already set up it to 54..

Re: SpellWeaving -> Error

Posted: Fri Apr 24, 2009 12:17 pm
by Pierce
Which Pol version are you using?

I started building a spellweaving package yesterday and until now i didn't get any errors yet.
I am running Pol098-2009-04-02 RC2 wine and baguette. Last three words just kidding ;)

Re: SpellWeaving -> Error

Posted: Fri Apr 24, 2009 2:47 pm
by blkwr
Lastest POL 098 bla bla version :)

Re: SpellWeaving -> Error

Posted: Fri Apr 24, 2009 11:44 pm
by Turley
blkwr wrote: Attribute SpellWeaving
...
const ATTRIBUTEID_SPELLWEAVING := "spellweaving";
I think its casesensitive so your problem is your const declaration.

Re: SpellWeaving -> Error

Posted: Sat Apr 25, 2009 3:00 am
by Pierce
Mine looks this way:

Code: Select all

Attribute Spellweaving
{
	AttributeType	Skill
	SkillId		54
	DefaultCap	1000
}
Perhaps its the missing type definition or the capital W in your definition. Everything else you posted is pretty much the same in my configs.

Re: SpellWeaving -> Error

Posted: Sat Apr 25, 2009 6:42 am
by Sadahar

Code: Select all

Attribute SpellWeaving
...
const ATTRIBUTEID_SPELLWEAVING := "spellweaving";
Atributte must be exactly the same as the const defined.
so, for the attribute SpellWeaving, the const must be "SpellWeaving", and no "spellweaving.

Re: SpellWeaving -> Error

Posted: Sat Apr 25, 2009 8:24 am
by blkwr
Sadahar wrote:

Code: Select all

Attribute SpellWeaving
...
const ATTRIBUTEID_SPELLWEAVING := "spellweaving";
Atributte must be exactly the same as the const defined.
so, for the attribute SpellWeaving, the const must be "SpellWeaving", and no "spellweaving.

i tried as u said, but it was the same thing..

Re: SpellWeaving -> Error

Posted: Sun Apr 26, 2009 2:31 pm
by blkwr
anyone? :(

Re: SpellWeaving -> Error

Posted: Sun May 03, 2009 6:01 am
by blkwr
i did it again but i've only error uff :(