So my server has an entity clear which interferes with a normal fishing macro as the bobber is cleared along with everything else. That being said, how would one write a script that works around said entity clear?
The Meaning of Life, the Universe, and Everything.
Join Date:
12/22/2012
Posts:
161
Member Details
Can I suggest a furnace gatherer? We have PLACESIGN and CRAFT can we get PLACEINFURNACE and GATHERFURNACE or something which I can just spam as I run thru my furnaces to put and gather furnaces faster?
I'm on a server that has double smelting chances if you place items into furnaces manually but the hoppers are slowed down to a point that is not efficient at all, I'd like to spam and gather the loot from furnaces and maybe place items to smelt aswell.
How would one write a macro that automatically that but works around an entity clear as the bob is considered an entity?
I tried multiple sentence structure analyzers but i couldn't figure out what any of this means...
If this is a translation, please leave the original sentence in your own language next to it
Can I suggest a furnace gatherer? We have PLACESIGN and CRAFT can we get PLACEINFURNACE and GATHERFURNACE or something which I can just spam as I run thru my furnaces to put and gather furnaces faster?
I'm on a server that has double smelting chances if you place items into furnaces manually but the hoppers are slowed down to a point that is not efficient at all, I'd like to spam and gather the loot from furnaces and maybe place items to smelt aswell.
PlaceSign and Craft are both essentially minimods.., they don't exactly belong in the mod but mumfrey made them anyway for some reason
I wouldn't expect more of these unless there's good reason (or someone makes a standalone module)
Like Placesign and Craft, you can write the behavior yourself using commands like Key(use);SlotClick();Gui();
So my server has an entity clear which interferes with a normal fishing macro as the bobber is cleared along with everything else. That being said, how would one write a script that works around said entity clear?
So my server has an entity clear which interferes with a normal fishing macro as the bobber is cleared along with everything else. That being said, how would one write a script that works around said entity clear?
Uh.., you can't stop the server from doing things to the world.., the server has final say on everything that goes on in the world
Can you be more specific about what you're trying to do, and what the problem is?
Is there a macro that takes off your armor after reaching a certain amount of durability and puts on a fresh set?
None that i can just pull out but it shouldn't be too difficult
simply track HELPDURABILITY, BOOTSDURABILITY, etc., and when they cross a certain threshold (perhaps bind the script to onHealthChange even), open your inventory and do the swap
So my server has an entity clear which interferes with a normal fishing macro as the bobber is cleared along with everything else. That being said, how would one write a script that works around said entity clear?
I'd imagine the only way to work around this is to make your fishingrod re-cast after some time if you have not catched something, this way if it gets entity cleared, you wouldn't have to worry much since it will reset.
Does anyone happen to know what Slot this is for GetSlot and SlotClick? I messed with the numbers and I think it should be 46, but that isn't seeming to work. Any help is appreciated.
Does anyone happen to know what Slot this is for GetSlot and SlotClick? I messed with the numbers and I think it should be 46, but that isn't seeming to work. Any help is appreciated.
It's 0
You can tell if you turn on "Show slot ID's in containers" in the mod's settings and hover over the slots
I am sure there is a cleaner script that could be made, but this is what I have. It seems no one else has made this sort of script before, so I thought I'd share.I am new to this scripting stuff as well, so there is probably a lot of noobish inquiries.
I think you can get rid of all the Wait()s except the first (i don't recall timing ever being a problem in the inventory), and all the GetSlots (GetSlot expects a variable to store a number in, you don't provide one so the command literally does nothing)
2x $ at the start and 2x $ at the end ^^ I can't insert them there
When pasting this and adding the $${ it just opens the crafting table, am I supposed to put any numbers in this script? (Sorry, still a big noob at scripting)
That's not possible, but i suspect this is an XY problem
*why* do you want to do this?, perhaps there is a better way
'Cause tomorrow spring is here
So my server has an entity clear which interferes with a normal fishing macro as the bobber is cleared along with everything else. That being said, how would one write a script that works around said entity clear?
Can I suggest a furnace gatherer? We have PLACESIGN and CRAFT can we get PLACEINFURNACE and GATHERFURNACE or something which I can just spam as I run thru my furnaces to put and gather furnaces faster?
I'm on a server that has double smelting chances if you place items into furnaces manually but the hoppers are slowed down to a point that is not efficient at all, I'd like to spam and gather the loot from furnaces and maybe place items to smelt aswell.
I tried multiple sentence structure analyzers but i couldn't figure out what any of this means...
If this is a translation, please leave the original sentence in your own language next to it
PlaceSign and Craft are both essentially minimods.., they don't exactly belong in the mod but mumfrey made them anyway for some reason
I wouldn't expect more of these unless there's good reason (or someone makes a standalone module)
Like Placesign and Craft, you can write the behavior yourself using commands like Key(use);SlotClick();Gui();
'Cause tomorrow spring is here
Is there a macro that takes off your armor after reaching a certain amount of durability and puts on a fresh set?
Can you explain me how to get the raw JSON? thanks!
No idea.., if it doesn't appear in %CHAT%, you probably can't get it at all..
'Cause tomorrow spring is here
So my server has an entity clear which interferes with a normal fishing macro as the bobber is cleared along with everything else. That being said, how would one write a script that works around said entity clear?
Uh.., you can't stop the server from doing things to the world.., the server has final say on everything that goes on in the world
Can you be more specific about what you're trying to do, and what the problem is?
None that i can just pull out but it shouldn't be too difficult
simply track HELPDURABILITY, BOOTSDURABILITY, etc., and when they cross a certain threshold (perhaps bind the script to onHealthChange even), open your inventory and do the swap
'Cause tomorrow spring is here
I'd imagine the only way to work around this is to make your fishingrod re-cast after some time if you have not catched something, this way if it gets entity cleared, you wouldn't have to worry much since it will reset.
Does anyone happen to know what Slot this is for GetSlot and SlotClick? I messed with the numbers and I think it should be 46, but that isn't seeming to work. Any help is appreciated.
It's 0
You can tell if you turn on "Show slot ID's in containers" in the mod's settings and hover over the slots
'Cause tomorrow spring is here
Hey, I love this mod.
but I have a request, how do I make so when someone says:
"Hey, can you say (Message)"
then I do the command:
"/say (Message)"
using IFCONTAINS on chatfilter ?
If anyone wants the script to auto crafting melons/melon blocks, here it is:
$${KEY(Use)
WAIT(5t)
DO(6)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,1)
SLOTCLICK(1,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,2)
SLOTCLICK(2,l,false)
WAIT(5t)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,3)
SLOTCLICK(3,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,4)
SLOTCLICK(4,l,false)
WAIT(5t)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,5)
SLOTCLICK(5,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,6)
SLOTCLICK(6,l,false)
WAIT(5t)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,7)
SLOTCLICK(7,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,8)
SLOTCLICK(8,l,false)
GetSlot(melon,12)
WAIT(5t)
SLOTCLICK(12,l,false)
GetSlot(melon,9)
SLOTCLICK(9,l,false)
WAIT(5t)
SLOTCLICK(0,l,true)
LOOP
}$$
I am sure there is a cleaner script that could be made, but this is what I have. It seems no one else has made this sort of script before, so I thought I'd share.I am new to this scripting stuff as well, so there is probably a lot of noobish inquiries.
Here it is it in action to see how it works:
Click this link to see gif.
I think you can get rid of all the Wait()s except the first (i don't recall timing ever being a problem in the inventory), and all the GetSlots (GetSlot expects a variable to store a number in, you don't provide one so the command literally does nothing)
'Cause tomorrow spring is here
How can I make it so that the script scrolls down one slot in the hotbar and right clicks repeating for every slot?
Do(9);
'Cause tomorrow spring is here
Let's work around with
$${KEY(Use)
WAIT(5t)
DO(6)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,1)
SLOTCLICK(1,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,2)
SLOTCLICK(2,l,false)
WAIT(5t)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,3)
SLOTCLICK(3,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,4)
SLOTCLICK(4,l,false)
WAIT(5t)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,5)
SLOTCLICK(5,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,6)
SLOTCLICK(6,l,false)
WAIT(5t)
GetSlot(melon,12)
SLOTCLICK(12,l,false)
GetSlot(melon,7)
SLOTCLICK(7,l,false)
GetSlot(melon,11)
SLOTCLICK(11,l,false)
GetSlot(melon,8)
SLOTCLICK(8,l,false)
GetSlot(melon,12)
WAIT(5t)
SLOTCLICK(12,l,false)
GetSlot(melon,9)
SLOTCLICK(9,l,false)
WAIT(5t)
SLOTCLICK(0,l,true)
LOOP
}$$
2x $ at the start and 2x $ at the end ^^ I can't insert them there
Welp, in the GUI editor, i can't delete any button!
When pasting this and adding the $${ it just opens the crafting table, am I supposed to put any numbers in this script? (Sorry, still a big noob at scripting)