c8014752 0 Posted December 18, 2020 Share Posted December 18, 2020 I have full bag ore how to use the bot to smelt all ore in my bags Link to comment https://wrobot.eu/forums/topic/12738-smelt-the-ore/ Share on other sites More sharing options...
TheSmokie 242 Posted December 18, 2020 Share Posted December 18, 2020 (edited) You can make a addon or quester profile with code looking like this (Untested.) while(Conditions.InGameAndConnectedAndAlive) { List<string> ProsSpectList() { return new List<string> { "Item 1", "item 2", //etc }; } if (!ObjectManager.Me.IsCast) { foreach (string prop in ProsSpectList()) { string spellName = ""; if(ItemsManager.GetItemCountByNameLUA(prop) > 0) { Lua.LuaDoString("CastSpellByName(\"" + spellName + "\")"); Thread.Sleep(50); List<int> bagAndSlot = Bag.GetItemContainerBagIdAndSlot(prop); Lua.LuaDoString("UseContainerItem(" + bagAndSlot[0] + "," + bagAndSlot[1] + ")"); Usefuls.WaitIsCastingAndLooting(); } } } Thread.Sleep(1000); } Edited December 18, 2020 by TheSmokie Link to comment https://wrobot.eu/forums/topic/12738-smelt-the-ore/#findComment-60855 Share on other sites More sharing options...
c8014752 0 Posted December 20, 2020 Author Share Posted December 20, 2020 can you make a Plugin for smelt Link to comment https://wrobot.eu/forums/topic/12738-smelt-the-ore/#findComment-60861 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now