Full Version : Property Help
xmlspawner >>Q&A >>Property Help
<< Prev | Next >>
McGrath- 08-30-2006
Im having some trouble with a quest. When you get the quest as any other the reward is stored in the Quest Book. Well that gold is usable on one of our purchase stones, and we use ADD/gold often, we are converting that to Bank checks but im having some troubles..
XML

CODE
SET,Player Quest Board,playerquestboard/ADD/<questholder/name/Doom Pits 2/CanSeeReward/false/Repeatable/false/AutoReward/true/Difficulty/50/NoteString/Do you think you have the metal to challenge the Doom Pits? See for yourself! Enjoy this new ring of quests and remember it isn't called Doom Pits for nothing./TitleString/Doom Pits 2/objective1/COLLECTNAMED,Doom Crystal 1,1/Description1/Reach plat. 1 and get the Doom Crystal/objective2/COLLECTNAMED,Doom Crystal 2,1/Description2/Reach plat. 2 and get the Doom Crystal/objective3/COLLECTNAMED,Doom Crystal 3,1/Description3/Reach plat. 3 and get the Doom Crystal/objective4/COLLECTNAMED,Doom Crystal 4,1/description4/Collect the final Doom Crystal/RewardString/@bag/ADD/<SimpleNote/Size/3/NoteString/Congratulations, you have deafeted the Doom Pits, we will see how you fair next time!>/ADD/bankcheck/worth/10000

ALL of it works fine, but the last part with the bankcheck wont work, I've tried bankcheck,10000 and bankcheck, 10000 and bankcheck/10000 and Worth is the property.
ANy ideas?
ArteGordon- 08-31-2006
since you want to change the Worth property on the bankcheck, you need to use the grouping brackets <>
so change
ADD/bankcheck/worth/10000
to
ADD/<bankcheck/worth/10000>
I was hoping that they would add the fix to allow blocking the use of items out of containers to 2.0 (the same issue comes up with things like paragon tchests), but we will have to wait and see.
McGrath- 08-31-2006
Well actually you can't use the gold out of that container but one of our stones searchs every container in your pack for gold and once found takes the needed amount and drops 100 of each reagent in, the gold otherwise is not usable at vendors, etc, thanks for the help.
Aceybree- 10-06-2006
Yes you can use the gold in the reward bag. Even though it doesnt show up on your health bar as you having the gold but I just tested it at a Tinker vendor and I was able to purchase the drum with no gold in my pack, 0 gold in my health bar but with a reward string of @bag/ADD/gold,600
After I purchased the drum the reward was 550 gold.
Anywhoo... I do have a question/problem.
I decided to change all my gold rewards to bankchecks but I have a problem,
@bag/hue/1150/ADD/<bankcheck/worth/600> gives me a no such item warning
@bag/hue/1150/ADD/<BankCheck/Worth/600> gives me a no such item warning
even Bankcheck.
I dont have the command [whatisit becuse I'm still running runuo 1.0
I know I'm missing something but I can not firgure it out, any help is much appreciated.
[edit] To be honest I dont know if you can use the gold in 2.0 my bad.
Aceybree- 10-06-2006
Quick reply to my post above....
I found the problem.
@bag/ADD/<bankcheck,600> works fine.
i found this out by adding a xmlspwaner and typing in check and let the spawner search it for me. It came up with Bancheck,Worth. So I added it game with Bankcheck,600 and it spawned it so I knew it would work then with the comma not a /worth/600.
But I am not running 2.0 xml or runuo 2.0
So if your like me and are not running those this way will work.