May 26, 20232 yr I need a chained profile that will automatically gather ores and, after reaching a certain quantity, process them at a smelting location and create items at a Blacksmith. At the very least, if this is not possible, having a processing module when reaching the smelting and Blacksmith locations would suffice. How can I accomplish this?
May 26, 20232 yr Yes, it’s pretty simple with a little lua / C#. You should give it a shot and ask for help if you find a bug.
May 26, 20232 yr Author 4 minutes ago, Nax said: Evet, biraz lua / C# ile oldukça basit. Bir şans vermeli ve bir hata bulursanız yardım istemelisiniz. I haven't started right now, I want some help if I can start smelting, the rest seems easy, only this code is needed.
May 26, 20232 yr Author 26 minutes ago, Nax said: Evet, biraz lua / C# ile oldukça basit. Bir şans vermeli ve bir hata bulursanız yardım istemelisiniz. do you think this could be it? """" function Smelt() local smeltingItemID = ?????? local smeltingSpellID = ????? if IsSpellKnown(smeltingSpellID) then if HasItem(smeltingItemID) then if IsInZone("SmeltingZone") then UseItem(smeltingItemID) CastSpellByID(smeltingSpellID) end end end end function OnTick(event, ticks) if event == "??????" then smelt() end end RegisterEvent("OnTick", OnTick) """"" I'm a bit of a beginner, I don't know how to integrate
Create an account or sign in to comment