46
_C2_ Script Library / Re: C2's Keg Emptier
« on: January 02, 2010, 06:10:08 AM »
Excellent script thank you
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Have you tried to transfer the quests to the other one? That just might be easier..
Again it comes down to what you want to do with the script. And that you really need to understand what the subroutine findvendor is doing. Here's another hint....
The script is setup to look for *2* different kinds of venders(arguments separated by "$" in the variable %vendortype), Trinket weavers AND arborists. What happens if you only want to look for one type?
Again, this is all in the code, there's no magic in what findvendor is doing.
But really this sub can be used to locate anything with a specific text. You just have to specify the text correctly. And for that you have to understand how strings are "strung" together in EasyUO.
I'm sorry this is painful for you, but it's pretty important for you to know how these work. When that happens you can learn how to do these yourself, and perhaps help me answer all these questions in the future.
If i just run set %vendortype trinket , #spc , arborist$
it fails to find any vendor
Think for a second.....
Is there any object around you that's named "trinket arborist"? I don't think so. I don't think there's anything with that in the title anywhere....
Remember that
trinket , #spc , arborist
is equal to
trinket arborist
'
So are you saying just go Set %vendortype trinket Ciala$ or Set %vendortype trinket , #spc , Ciala , #spc the , #spc Arborist
What I'm saying is take a look at the function that is utilizing the value contained within %vendortype and try to understand what the function is doing.
Well, there's a couple ways to approach it. Right now the script is looking for all Weavers *AND* all Arborists. What happens if you just get rid of the offending one? (i.e. separated by "$")
I'm trying to get you to look at the code and see how that actually works. Once you realize that these scripts aren't powered by magic is when you'll realize you can actually tweak them to do your own bidding.
Just have to think about it a little bit. I'm not gonna give you the answer.
Well, there's a couple ways to approach it. Right now the script is looking for all Weavers *AND* all Arborists. What happens if you just get rid of the offending one? (i.e. separated by "$")
I'm trying to get you to look at the code and see how that actually works. Once you realize that these scripts aren't powered by magic is when you'll realize you can actually tweak them to do your own bidding.
Buy then it still doesnt know weaither to go to Ciala or Aniel since they are both arborists
But what happens when you describe her full name and title while using #SPC for spaces?
Think about what her name is and what she does and compare it to the way the script is already written.
Her is Ciala she is the Arborist umm The script looks for weavers and arborists...
Buy then it still doesnt know weaither to go to Ciala or Aniel since they are both arborists
But what happens when you describe her full name and title while using #SPC for spaces?
Think about what her name is and what she does and compare it to the way the script is already written.
Buy then it still doesnt know weaither to go to Ciala or Aniel since they are both arborists
But what happens when you describe her full name and title while using #SPC for spaces?
Think about what her name is and what she does and compare it to the way the script is already written.
This script doesn't use IDs, it looks for the name and determines the id. Things you have to ask yourself is:
"What's that #SPC thingy anyhow and why is TM using it?"
and how do I make "Cialia the trinket weaver" compatible with EUO, especially when the clue you're looking for is included in the line already there:Code: [Select]set %vendortype trinket , #spc , weaver$arborist$
I'm going to make you figure this one out.....
Here's a hint for the vendor thing. Investigate what you might need to change this line to:Quoteset %vendortype trinket , #spc , weaver$arborist$