02-09-2023, 10:14 PM
goodnight, @Arkilys I need a script that when the light of the lamp ends he uses the oil on it.
oil on lamp !
|
02-09-2023, 10:14 PM
goodnight, @Arkilys I need a script that when the light of the lamp ends he uses the oil on it.
02-11-2023, 09:11 PM
I tried to copy another script but it didn't work, look at it
local enchanted_helmet_id = 2915 -- Full Helmet of the Ancients (enchanted!) local helmet_id = 2916 -- Helmet of the Ancients (not enchanted!) local item_to_enchant = 2874 -- Small Ruby local mainbp = 'bag' -- Container to move helmet. Index or name local helmet_item = head() if helmet_item.id == helmet_id then moveitems(helmet_id, mainbp, 'arrow slot', 1) wait(800, 1200) elseif itemcount(helmet_id) > 0 and itemcount(item_to_enchant) > 0 then useitemonitem(helmet_id, item_to_enchant, mainbp) wait(800, 1200) elseif itemcount(enchanted_helmet_id) > 0 and helmet_item.id ~= enchanted_helmet_id then moveitems(enchanted_helmet_id, 'arrow slot', mainbp) wait(500) end Where i put this scrip? here is not working , something wrong with "local" obs: i got the last version.
Hello.
You should pay attention to OIL_ID, because OIL is a FLUID. So if you place oil fluid inside a vial then the item will be a vial with oil inside, but stills a vial. So to find the OIL_ID then you move the vial (or any liquid container you use) to your BELT/ARROW slot and run this on Bot's CONSOLE tab: print(belt()) local LAMP_EMPTY_ID = 2916 -- Id of lamp when needs to refill
02-11-2023, 09:35 PM
good afternoon I checked and really the id is 11, but it does not do any action, and remembering after he uses the fluid on the lamp he must click for it to light up
02-11-2023, 10:21 PM
02-11-2023, 10:33 PM
02-11-2023, 10:37 PM
02-11-2023, 11:13 PM
(This post was last modified: 02-11-2023, 11:17 PM by juniorcrms.)
Yes, that's the script you copied from HOTA and supposed to move to oil bp. You can try this way, but i didn't tested. local LAMP_EMPTY_ID = 2916 -- Id of lamp when needs to refill
02-13-2023, 06:26 PM
|