Firstly, thanks for the update Mumfrey, I've been waiting to try this mod out.
So to my question, I'm new to this mod and trying to work out the auto-crafting.
A quick search of the thread came up with this macro to auto-craft paper.
$${CRAFT(paper,64)}$$
The macro does work but it's actually quicker for me to do it manually, am I missing something?
Even better, how would I go about crafting an entire inv of cane to paper?
Figured out how to craft an entire inv.
Auto-crafting isn't really supposed to be quicker than crafting by hand (that's cheating honestly), it's supposed to be automated. It was quicker (though way less reliable) in the old system because it just queued all the clicks and just kind of hoped like hell that the server would accept them and that the player wouldn't derp things up by clicking stuff themselves.
The new way is the way it always should have been, the crafting manager queues the clicks and actually checks at each stage that the operations succeeded. This makes it way more reliable (in my tests, basically all uninterrupted crafting jobs succeeded) though slower. Using the drag mechanics and stuff is still a bit beyond it, and crafting multiple items at once is pretty complex (because it can't make the assumptions that a human player can) but not beyond possibility. The new way is basically speed--, reliability++;
The Meaning of Life, the Universe, and Everything.
Join Date:
1/3/2013
Posts:
44
Member Details
Yeah that makes more sense. Setting off a full inventory of paper or gold and going off to make a coffee or whatever certainly removes the demotivational part of those tasks. God knows I spent many an hour crafting paper & gold nuggets & ingots to last a lifetime.
Kudos either way Mumfrey, awesome mod as always. Keep up the good work.
Yeah that makes more sense. Setting off a full inventory of paper or gold and going off to make a coffee or whatever certainly removes the demotivational part of those tasks. God knows I spent many an hour crafting paper & gold nuggets & ingots to last a lifetime.
Kudos either way Mumfrey, awesome mod as always. Keep up the good work.
Well exactly, and don't forget that you can now "queue" a bunch of crafting jobs and then just clear off to get a cup of tea for a while.
exactly. are you going to implement this in an upcoming version by any chance?
I can look into it, I need to do some checking to make sure that such an event wouldn't fill the event dispatch queue faster than it can be drained. Sounds can be triggered with quite high rates so it might end up flooding the event queue.
Hey,
since the Minecraft version 1.8 I have a strange bug.
I assign "$${log(left);}$$" to the left mouse button and "$${log(right);}$$" to the right.
When I click left in the game then the action from right is performed and it prints "right" in the chat. (At the right-click it works as it should, so "right" is printed to the chat.)
I tried it with Up, Down, Mouse 3 Mouse. 4 There, everything works as expected.
I use a Mac with the latest 1.9 liteloader version & macros 1.9 beta-3.
The error occurs which my Logitech mouse and the integrated trackpad.
Minecraft interpreted Left-click Right-click & also as expected, so it should not be a hardware / configuration problem?
If I remember correctly, it worked with 1.7.10.
Can you tell me what output you get if you bind $${LOG(ID = %KEYID%)}$$ to both mouse buttons?
Is it at all possible to create an event variable to see if first if you're fishing and second if it is time to pull your bobber back from fishing to make an auto fish script? I know nothing at all about the programming you're doing, so I'm just wondering if it's possible. Great job on the mod Mumfrey! My friends and I all use your mod and we appreciate all your hard work!
Is it at all possible to create an event variable to see if first if you're fishing and second if it is time to pull your bobber back from fishing to make an auto fish script? I know nothing at all about the programming you're doing, so I'm just wondering if it's possible. Great job on the mod Mumfrey! My friends and I all use your mod and we appreciate all your hard work!
The "input.compatibilitymode.enabled=1" in liteconfig/common/macros/.macros.txt ?
Still the same result...
Then I'm completely out of ideas, that shouldn't even be possible. Literally the only thing I can possibly suggest is look to see if there's a file called .jinput.txt in your liteconfig/common/macros folder and if there isn't then I just have no clue. Macros uses the same system that minecraft does to read the mouse buttons so if they work in minecraft but don't work in macros then I'm out of suggestions.
Macros builds are now available for 1.9.4, 1.9 and 1.8 (promoted from the long-standing beta with the auto-crafting update back-ported to that version).
Changes for 0.12.1
Updated for Minecraft 1.9 and 1.9.4
The following environment variables now have off-hand equivalents:
ITEM => OFFHANDITEM
ITEMIDDMG => OFFHANDITEMIDDMG
ITEMCODE => OFFHANDITEMCODE
ITEMNAME => OFFHANDITEMNAME
DURABILITY => OFFHANDDURABILITY
ITEMDAMAGE => OFFHANDITEMDAMAGE
STACKSIZE => STACKSIZE
The following environment variables were added
COOLDOWN - applies to chorus fruit, shields, ender pearls, etc.
OFFHANDCOOLDOWN - same as COOLDOWN but for items in off hand
ATTACKPOWER - 0 to 100 scale of current weapon power based on attack cooldown
ATTACKSPEED - representation of entity attack rate (ticks), range from 0 to 20480
A complete rewrite of auto-crafting, the CRAFT and CRAFTANDWAIT commands are now available again. Crafting will be slower than the old system but much, much more reliable. It can cope with a lot more crap than the old version.
Calling CRAFT now queues the crafting requests, queued requests are shown on the HUD
A new command CLEARCRAFTING which cancels the current crafting job and any queued crafting jobs
Calling SHOWGUI with the name of a custom screen which doesn't exist now creates the screen
All designable BUTTON controls now have an assignable hotkey:
In custom screens, the hotkey can be used with no modifiers
In the Chat screen, the hotkey can be used if you hold down ALT
The hotkey is inactive in other screens (ingame, indebug)
Changes to the command reference screen:
If you press F1 in the macro editor, the command reference will open on the command under the cursor now
You can now type to filter the commands list
Added ability to set the step value for FOR loops:
Use syntax FOR(var, from, to, step)
Alternatively use FOR(#var = 1 to 10 step 2)
Added TRACE command which executes a raytrace of specified length, takes two parameters: distance (3-256 metres) and entities (true or false to trace only blocks or include entities). Executing a TRACE makes the variables TRACETYPE, TRACENAME, TRACEID, TRACEX, TRACEY, TRACEZ, TRACESIDE, TRACEUUID, TRACEDATA available in the local scope. (Block properties also accessible as per HIT_, but with the prefix TRACE_)
Changes for 0.11.3
Updated to Minecraft 1.8
Internal updates to parameter parsing, may break things
Added $s for shader list
Added GETPROPERTY to get property values from GUI controls
Added SIGNTEXT environment array
Added UUID, HITUUID, DISPLAYNAME, DIFFICULTY, LOCALDIFFICULTY, DAY
Added GAMEMODE which contains game mode name, unlike MODE which contains the mode ID
Added CARDINALYAW, which is the yaw relative to north (eg. 180 degrees away from "real" yaw where 0 degrees points south)
Added all new "block properties" as environment vars, prefixed with HIT_, eg. "variant" can be accessed via HIT_VARIANT
SHADERGROUP command now supports "-" to step backwards through shaders
Updated CRAFT and CRAFTANDWAIT commands to use new internal algorithm, now much slower but much more reliable than before
I just want to grab the auction amount ($30 in this example) and then subsequent bids ($40,$45) into a counter.
Thanks for any help, that regex stuff is new to me.
(Oh, and thanks for the new update Mumfrey. Works with forge again)
Are you sure there's supposed to be a lone § before playername? o.O
Perhaps there was a letter that wasn't part of the name that you cut off accidentally?
As it is the first p in "playername" would combine with the § to make a 'scramble effect' color code...
For the sake of being able to write a regex, i assumed that the § is not there (or is part of the name)
You can match the first with
^§r§f§f§r§b(.+?)§r§f §r§3§3auctions§r§f §r§b§b(.+?)§r§f §r§b§b(.+?)§r§f §r§3§3for§r§f §r§3\$(\d+)§r§f §r$
This gives you the name, the amount, the item, and the initial bid (in that order)
You can match subsequent bids with
^§r§f§f§r§b(.+?)§r§f §r§3§3bid§r§f §r§3\$(\d+)§r§f §r§3on§r§f §r§b§b(\d+)§r§f §r§b§b(.+?)§r§f §r$
This gives you the name, the bid, the amount, and the item (in that order)
Are you sure there's supposed to be a lone § before playername? o.O
Perhaps there was a letter that wasn't part of the name that you cut off accidentally?
As it is the first p in "playername" would combine with the § to make a 'scramble effect' color code...
Thanks. and you are right. Sorry about that, there was a "b" after each last § before playername that I mistakenly cut out. Guess I should have just left the names as they were.
So the first would be ^§r§f§f§r§b§b(.+?)§r§f §r§3§3auctions§r§f §r§b§b(.+?)§r§f §r§b§b(.+?)§r§f §r§3§3for§r§f §r§3\$(\d+)§r§f §r$
Thanks. and you are right. Sorry about that, there was a "b" after each last § before playername that I mistakenly cut out. Guess I should have just left the names as they were.
So the first would be ^§r§f§f§r§b§b(.+?)§r§f §r§3§3auctions§r§f §r§b§b(.+?)§r§f §r§b§b(.+?)§r§f §r§3§3for§r§f §r§3\$(\d+)§r§f §r$
It's not currently possible to set a different step value for a FOR unfortunately, but I can put this on the wish list since it's not hard to do.
Firstly, thanks for the update Mumfrey, I've been waiting to try this mod out.
So to my question, I'm new to this mod and trying to work out the auto-crafting.
A quick search of the thread came up with this macro to auto-craft paper.
$${CRAFT(paper,64)}$$
The macro does work but it's actually quicker for me to do it manually, am I missing something?
Even better, how would I go about crafting an entire inv of cane to paper?Figured out how to craft an entire inv.
Not currently, are you basically looking for an event which is raised when a SoundEvent is triggered?
Auto-crafting isn't really supposed to be quicker than crafting by hand (that's cheating honestly), it's supposed to be automated. It was quicker (though way less reliable) in the old system because it just queued all the clicks and just kind of hoped like hell that the server would accept them and that the player wouldn't derp things up by clicking stuff themselves.
The new way is the way it always should have been, the crafting manager queues the clicks and actually checks at each stage that the operations succeeded. This makes it way more reliable (in my tests, basically all uninterrupted crafting jobs succeeded) though slower. Using the drag mechanics and stuff is still a bit beyond it, and crafting multiple items at once is pretty complex (because it can't make the assumptions that a human player can) but not beyond possibility. The new way is basically speed--, reliability++;
Yeah that makes more sense. Setting off a full inventory of paper or gold and going off to make a coffee or whatever certainly removes the demotivational part of those tasks. God knows I spent many an hour crafting paper & gold nuggets & ingots to last a lifetime.
Kudos either way Mumfrey, awesome mod as always. Keep up the good work.
Well exactly, and don't forget that you can now "queue" a bunch of crafting jobs and then just clear off to get a cup of tea for a while.
I can look into it, I need to do some checking to make sure that such an event wouldn't fill the event dispatch queue faster than it can be drained. Sounds can be triggered with quite high rates so it might end up flooding the event queue.
Can you tell me what output you get if you bind $${LOG(ID = %KEYID%)}$$ to both mouse buttons?
Is it at all possible to create an event variable to see if first if you're fishing and second if it is time to pull your bobber back from fishing to make an auto fish script? I know nothing at all about the programming you're doing, so I'm just wondering if it's possible. Great job on the mod Mumfrey! My friends and I all use your mod and we appreciate all your hard work!
No, but this may help somewhat.
That's extremely odd. Try turning on "compatible mode" in the macros options and see whether it fixes the problem.
Then I'm completely out of ideas, that shouldn't even be possible. Literally the only thing I can possibly suggest is look to see if there's a file called .jinput.txt in your liteconfig/common/macros folder and if there isn't then I just have no clue. Macros uses the same system that minecraft does to read the mouse buttons so if they work in minecraft but don't work in macros then I'm out of suggestions.
Macros builds are now available for 1.9.4, 1.9 and 1.8 (promoted from the long-standing beta with the auto-crafting update back-ported to that version).
Changes for 0.12.1
Changes for 0.11.3
Can someone help me out with how to get a numerical value out of chat and assign it to a counter?
§r§f§f§r§b§playername1§r§f §r§3§3auctions§r§f §r§b§b300§r§f §r§b§bCobblestone§r§f §r§3§3for§r§f §r§3$30§r§f §r
§r§f§f§r§b§playername2§r§f §r§3§3bid§r§f §r§3$40§r§f §r§3on§r§f §r§b§b300§r§f §r§b§bCobblestone§r§f §r
§r§f§f§r§b§playername3§r§f §r§3§3bid§r§f §r§3$45§r§f §r§3on§r§f §r§b§b300§r§f §r§b§bCobblestone§r§f §r
I just want to grab the auction amount ($30 in this example) and then subsequent bids ($40,$45) into a counter.
Thanks for any help, that regex stuff is new to me.
(Oh, and thanks for the new update Mumfrey. Works with forge again)
Are you sure there's supposed to be a lone § before playername? o.O
Perhaps there was a letter that wasn't part of the name that you cut off accidentally?
As it is the first p in "playername" would combine with the § to make a 'scramble effect' color code...
For the sake of being able to write a regex, i assumed that the § is not there (or is part of the name)
You can match the first with
^§r§f§f§r§b(.+?)§r§f §r§3§3auctions§r§f §r§b§b(.+?)§r§f §r§b§b(.+?)§r§f §r§3§3for§r§f §r§3\$(\d+)§r§f §r$
This gives you the name, the amount, the item, and the initial bid (in that order)
You can match subsequent bids with
^§r§f§f§r§b(.+?)§r§f §r§3§3bid§r§f §r§3\$(\d+)§r§f §r§3on§r§f §r§b§b(\d+)§r§f §r§b§b(.+?)§r§f §r$
This gives you the name, the bid, the amount, and the item (in that order)
'Cause tomorrow spring is here
Thanks. and you are right. Sorry about that, there was a "b" after each last § before playername that I mistakenly cut out. Guess I should have just left the names as they were.
So the first would be ^§r§f§f§r§b§b(.+?)§r§f §r§3§3auctions§r§f §r§b§b(.+?)§r§f §r§b§b(.+?)§r§f §r§3§3for§r§f §r§3\$(\d+)§r§f §r$
Yep
IFMATCHES(%CHAT%,"^§r§f§f§r§b§b(.+?)§r§f §r§3§3auctions§r§f §r§b§b(.+?)§r§f §r§b§b(.+?)§r§f §r§3§3for§r§f §r§3\$(\d+)§r§f §r$")
Log("New auction detected for name=%&name%, amount=%&amount%, item=%&item%, bid=%&bid%")
ENDIF
'Cause tomorrow spring is here
When attempting to download 1.9 it says "page not found"
From the Opening Post (page 1, post 1) of this thread... It works on my PC http://eq2.co.uk/minecraft/mods/mod_macros_0.12.2_for_1.9.litemod .
Did you Google the link? Bad idea! Time for a security sweep!
Lou
Links to pdf format, downloadable, command lists for (these often clarify/expand descriptions, and where possible link to the author's posting):
MoreCommands: http://www.mediafire.com/view/qjc9c6klcnp660e/CmdLstMoreCommands.pdf
WorldEdit: http://www.mediafire.com/view/bi7r00xd9rgxrrt/WE_Commands.pdf
When attempting to download this
Most likely your anti-virus maybe your computer. My Windows 10 (Norton) has no problem .
Mac? Ubunto?
Links to pdf format, downloadable, command lists for (these often clarify/expand descriptions, and where possible link to the author's posting):
MoreCommands: http://www.mediafire.com/view/qjc9c6klcnp660e/CmdLstMoreCommands.pdf
WorldEdit: http://www.mediafire.com/view/bi7r00xd9rgxrrt/WE_Commands.pdf