Full Version : [xmlfind
xmlspawner >>Q&A >>[xmlfind


<< Prev | Next >>

Sou- 02-01-2006
I want to find PlayerMobile with fo example 100% of alchemy skill.

I tried to use...

Skills.Alchemy=100

...but it doesnt work :/


any idea?smile.gif


EDIT:

One more question smile.gif

It is possible to find somethink usink * symbol ? For example

Property test:

hue=111* ( 1111, 1110, 1112, 1113, 1114 .... ) wink.gif

ArteGordon- 02-01-2006
you want to test for

skills.alchemy.value=100

There is no 'wildcard' character when doing testing, although it is an interesting idea.

(edit)

note, by testing for 'value' you are looking at the current value of the skill. You could also test for 'base' or 'cap'

Sou- 02-01-2006
QUOTE (ArteGordon @ Feb 1 2006, 09:54 PM)
you want to test for

skills.alchemy.value=100

There is no 'wildcard' character when doing testing, although it is an interesting idea.

(edit)

note, by testing for 'value' you are looking at the current value of the skill. You could also test for 'base' or 'cap'

QUOTE
You could also test for 'base' or 'cap


Could u explain it?tongue.gif

We have "LabelOfCreator" props on us serwer but I cant find anything using "property test" :/ Maeby because it is for example "0x34JV32 Chuck Norris ('Master')" prop...

ArteGordon- 02-01-2006
the basic rule is that you want to test for whatever is returned when you do a [get of that property.

So to test for the base value of a skill you would use

skills.alchemy.base=100

because when you do a

[get skills.alchemy.base

it returns an integer value

When you do a [get of your custom LabelOfCreator property, if it returns

0x34JV32 Chuck Norris ('Master')

Then that is what you need to test for, like

LabelOfCreator=0x34JV32 Chuck Norris ('Master')

and make sure you enter it exactly as it is returned, with the exact spacing and upper and lower case, because it is going to do a test for an exact string match.

Note, if you just wanted to test for the name of the mobile assigned in your LabelOfCreator property (if it is indeed a Mobile type of property), then you could use a test like

LabelOfCreator.Name="Chuck Norris ('Master')"

or again, whatever was returned when you did a

[get LabelOfCreator.Name

Sou- 02-01-2006
[get LabelOfCreator.Name / account doesnt work :/

If I create an item it is LabelOfCreator = "0x14EC "Sou" ('sou789')"

I change it to "xxx", dotn set "type" and only write in property test "LabelOfCreator=xxx

but it still doesnt work! ;~~~(

ArteGordon- 02-01-2006
if you want to test for it you would use something like

LabelOfCreator=0x14EC "Sou" ('sou789')

since that is what the property returns as a value when you do a [get