Any way to grab Collectability information? Also, how can I see the all available window handles to call RaptureAtkUnitManager.GetWindowByName ?
Oh just saw your other question, for all available windows, run this in console Code: ClearLog(); foreach(var item in RaptureAtkUnitManager.Controls) { Log(item); } For SendAction, I have no idea too. Currently you cannot read the collectability rating number afaik
To read the value out of the window is a very important feature right now in my opinion, should be implemented pretty soon.
Thanks mastahg, excellent addition and before I had expected. I have started building out a Fishing tag for Order Bot and I have incorporated this into it, however there is only one feature I feel is missing, the name of the item to be collected. When fishing, you don't know which fish you are getting in the window so I can't just set a single collectability value. Looking forward to an update on this. EDIT: This is how i plan to use it Code: [XmlRoot(IsNullable = true, Namespace = "")] [XmlElement("Collectable")] [XmlType(AnonymousType = true)] [Serializable] public class Collectable { [XmlAttribute("Name")] public string Name { get; set; } [XmlAttribute("Value")] public int UValue { get; set; } public uint Value { get { return Convert.ToUInt32(UValue); } } } [XmlElement("Fish")] public class FishTag : ProfileBehavior { [XmlElement("Collectables")] public List<Collectable> Collectables { get; set; } .... } Code: <Fish> <Collectables> <Collectable Name="Whilom Catfish" Value="459" /> <Collectable Name="Warmwater Bichir" Value="683" /> </Collectables> </Fish>
I was thinking of something along the same lines. Its amazing to have it accept it but fills the inventory quick. Would be awesome to have it decline and take it as a normal item if its below the turnin threshold.
My fishing script does that, but currently can only use a single threshold instead of a threshold per fish.
You could put the Collectability value at 1 if you really wanted all the fish...but you would end up with plenty you can't turn in.
I'm sure I would find that more beneficial if I ever had more than 15 open inventory spaces. Maybe time to get SE $2 more per month again....
How would you go about adding the same functionality to crafting? I just need a codechunk that can click Yes/No for crafting collectables.
I haven't actually done any crafting with orderbot yet, but I plan to and I believe that this should do the trick. Code: await Coroutine.Wait(3000, () => SelectYesNoItem.CollectabilityValue > 0); uint value = SelectYesNoItem.CollectabilityValue; if (value >= 4000) // Change this number to the min collectability value. { SelectYesNoItem.Yes(); } else { SelectYesNoItem.No(); }
Anyone any idea what could be causing this? https://www.thebuddyforum.com/rebor...ectable-cockatrice-meatballs.html#post2026087 When at the end of the craft and the YesNo window opens it seem's when running the code to accept it doesn't hit yes. Nothing is shown in the log apart from the last craft action. Edit - Update https://www.thebuddyforum.com/rebor...atrice-meatballs-post2026184.html#post2026184 Looks like its one for Mastahg.