Full Version : test for property null XMLFind
xmlspawner >>Q&A >>test for property null XMLFind
<< Prev | Next >>
Haazen- 10-26-2007
Do to my lousy scripting, I have over 94000 of each gem in the internal map. A few do belong to players but most have no rootparententity.
What is the syntax in the property test to find null?
I tried
RootParentEntity = null and -null- and "" and <1 but got no results back from any of these tests.
Am I able to test for null?
Thank you. very much.
ArteGordon- 10-26-2007
rootparent=(-null-)
In general, you test for the same value that is returned when you do a [get or [xmlget of that property. Null just happens to be formatted like "(-null-)"
Note that anything on the ground will have a null rootparent, not just things on the internal map.
If you want to find things that are only on the internal map, just check the Int map box in xmlfind and uncheck the others like Fel, Tram etc.
Botnick- 11-17-2007
In that same line of thought, I've been trying to use [xmlfind to locate a composite bow crafted by a specific player (you know like when a player looses an item it's never their fault and you spend hours looking for it to prove it actually was)
i used [xmlfind compositebow hit enter
i ticked the property test and entered crafter=***
the *** is where i am having problems
i tried with =0x3E85 =(M)0x3E85 =0x3E85 "Botnick" =(0x3E85 "Botnick") =((M)0x3E85 "Botnick"
Well you get the idea... when i do [get crafter on an object i get in return 0x3E85 "Botnick" but that doesn't seem to work to test the property.
I ended up using crafter!(-null-) but that still left me with 100s of items to look at
any clue to what i'm doing wrong?
ArteGordon- 11-17-2007
try testing for the serial instead
crafter.serial=0x3E85