SpellWeaving -> Error

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
blkwr
New User
Posts: 26
Joined: Wed Feb 08, 2006 1:47 pm

SpellWeaving -> Error

Post by blkwr »

Wher i try to cast my spellweaving spells, core print in console "attribute cfg not found for spellweaving"

what problem could be? :\
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

Re: SpellWeaving -> Error

Post 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...
blkwr
New User
Posts: 26
Joined: Wed Feb 08, 2006 1:47 pm

Re: SpellWeaving -> Error

Post 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;
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: SpellWeaving -> Error

Post by Pierce »

Did you also set

Code: Select all

	MaxSkillID	54
inside the uoclient.cfg? Maybe this causes the error.
blkwr
New User
Posts: 26
Joined: Wed Feb 08, 2006 1:47 pm

Re: SpellWeaving -> Error

Post 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..
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: SpellWeaving -> Error

Post 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 ;)
blkwr
New User
Posts: 26
Joined: Wed Feb 08, 2006 1:47 pm

Re: SpellWeaving -> Error

Post by blkwr »

Lastest POL 098 bla bla version :)
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: SpellWeaving -> Error

Post by Turley »

blkwr wrote: Attribute SpellWeaving
...
const ATTRIBUTEID_SPELLWEAVING := "spellweaving";
I think its casesensitive so your problem is your const declaration.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: SpellWeaving -> Error

Post 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.
User avatar
Sadahar
Adept Poster
Posts: 81
Joined: Mon Dec 03, 2007 11:15 am

Re: SpellWeaving -> Error

Post 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.
blkwr
New User
Posts: 26
Joined: Wed Feb 08, 2006 1:47 pm

Re: SpellWeaving -> Error

Post 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..
blkwr
New User
Posts: 26
Joined: Wed Feb 08, 2006 1:47 pm

Re: SpellWeaving -> Error

Post by blkwr »

anyone? :(
blkwr
New User
Posts: 26
Joined: Wed Feb 08, 2006 1:47 pm

Re: SpellWeaving -> Error

Post by blkwr »

i did it again but i've only error uff :(
Post Reply