@flcmc thats basically what I did ways more difficult but easier to exclude more chars
however you don't need the MATCH, just use %CHAT% instead of %&ms%
I would much rather use this than erase the color codes in chat when typing commands (laziness at its finest). But yeah you could do without the MATCH.
Oh and #configCounter should be a global var, change it to @#configCounter, so that it can be accessed from both + and -. And you should probably reset the @#configCounter to the number of your default configuration on the onJoinGame event.
Oh and #configCounter should be a global var, change it to @#configCounter, so that it can be accessed from both + and -. And you should probably reset the @#configCounter to the number of your default configuration on the onJoinGame event.
Thank you so much! I totally missed that section in the docs
Very often and with the majority of Mods, the latest Forge update is problematic!
Try the recommended or at the least step down one or two Forge offerings.
The problem is, even with the old version of forge (in this case 14.21.1.2387 is the recommended build) in 1.12, minecraft still crash without warning. I used to have the beta1 version of Macro (0.15.0_beta1) and it works great with the same version of forge. I believe that it has some thing to do with the release update itself.
When typing HELP KILL in the REPL Console, it gives the wrong output. It says "repl.console.command.kill.usage" followed by "repl.console.command.kill.help".
Oh and #configCounter should be a global var, change it to @#configCounter, so that it can be accessed from both + and -. And you should probably reset the @#configCounter to the number of your default configuration on the onJoinGame event.
Hmmm, actually I've tried to get it working for a while and no luck. The counter works no problem now, however the CONFIG(%@#confcounter%)
doesn't seem to be working.
That's the DEC, the INC is similar. Any idea as to what I'm doing wrong?
As mentioned it does inc/dec just fine, the CONFIG part is the only that doesn't work, I even tried just using CONFIG(@#confcounter) I've also quadruple checked that the config names are 0, 1, 2, & 3
The problem is, even with the old version of forge (in this case 14.21.1.2387 is the recommended build) in 1.12, minecraft still crash without warning. I used to have the beta1 version of Macro (0.15.0_beta1) and it works great with the same version of forge. I believe that it has some thing to do with the release update itself.
Odd my 1.12 with Forge 2387 works just fine (both dev and update), and my 1.12.1 works with Forge 2444, in fact I'be been playing it most of the day.
Are you using other Mods too?
Maybe remove them and add back in one at a time until you find the problem.
That's the DEC, the INC is similar. Any idea as to what I'm doing wrong?
As mentioned it does inc/dec just fine, the CONFIG part is the only that doesn't work, I even tried just using CONFIG(@#confcounter) I've also quadruple checked that the config names are 0, 1, 2, & 3
It appears as though variables aren't expanded when using CONFIG().
The problem is, even with the old version of forge (in this case 14.21.1.2387 is the recommended build) in 1.12, minecraft still crash without warning. I used to have the beta1 version of Macro (0.15.0_beta1) and it works great with the same version of forge. I believe that it has some thing to do with the release update itself.
i did have a problem with the dev version of 1.12.
I was using MoreCommands /xray command looking for mossy stone, planks, chests, spawners, and rail. I finally deduced I was running out of memory, little to do with macro/keybind or liteloader.
I minimised it by kicking my reserved memory to 4 gigs. I solved it when Scenter updated and i stopped using MoreCommands /xray.
Still stuck on this, any help would be much appreciated!
Hey I was wondering how to divide a number (including big numbers). I know a way to do this would be to minus the denominator each time till the value is < the denominator, to obtain a remainder, but for big numbers that's very slow so I was wondering how to do something like this:
#number is 13, I wish to divide it by 3. How would I obtain 4 as the answer and 1 as the remainder?
There is no modulo operator in macros, you can simulate it by using integer division, then multiply the result by the denominator and subtract from original value.
I see why that's happening and yeah it's basically a bug, or at least it's an undesirable side effect of an intended feature. Bascially macros input processor has always internally converted mouse wheel events into actual mouse events so that the mwheelup and mwheeldown can actually be bound to macros. It does this by generating companion events for each mouse wheel click which are processed in the buffer like regular mouse events and handled accordingly.
These events are assinged a unique internal ID for handling, however no "button" is actually assigned to the event so it's always been the default value of -1 which I'm guessing certain GUIs interpret as button 0 (eg. the left mouse button). What I can easily do is have the input processor assign new virtual IDs to the mouse wheel events which should stop this happening. The nice thing about the virtual events is that it actually allows you to bind the mouse wheel to regular minecraft bindings without even assigning a macro.
I'm working on the 1.12.1 release currently so I'll roll up this in the current batch of changes.
Issue appears to still be present in release 0.15.0 for MC 1.12 (with LiteLoader 1.12 b8). Is there any other information you would like me to provide to reproduce this error?
Issue appears to still be present in release 0.15.0 for MC 1.12 (with LiteLoader 1.12 b8). Is there any other information you would like me to provide to reproduce this error?
Add missing localisation strings for KILL repl command
Add bound check in input processor to filer invalid key IDs.
There is no modulo operator in macros, you can simulate it by using integer division, then multiply the result by the denominator and subtract from original value.
Definitely not some other mods' problem. After trying 0.15.2 on 1.12.1 every thing works fine again.
0.15.0 on 1.12 still sucks, dk which fix exactly.
Can't see any link in download link section for 0.15/0.15.1 ?
Hello
I love this mod!
I was hoping that you'd be able to implement a new small feature.
I'm trying to use the '-' & '+' symbols in order to switch between configs, I've named them 0,1,2,3 etc.
My idea was do do something along the lines of this:
'-':
$${IF(#configCounter > 0);DEC(#configCounter);CONFIG(#configCounter);ENDIF}$$
'+':
$${IF(#configCounter < 3);INC(#configCounter);CONFIG(#configCounter);ENDIF}$$
but it seems like CONFIG only takes in strings (or maybe I missed something silly).
If it does only happen to take a string as an arg then it would be great if you could implement type conversion!
If not, thanks anyways for the great mod
I would much rather use this than erase the color codes in chat when typing commands (laziness at its finest). But yeah you could do without the MATCH.
Replace CONFIG(#configCounter) with CONFIG(%#configCounter%).
Oh and #configCounter should be a global var, change it to @#configCounter, so that it can be accessed from both + and -. And you should probably reset the @#configCounter to the number of your default configuration on the onJoinGame event.
Thank you so much!
I totally missed that section in the docs
can anyone of u post 0.15.1 link for me can seem to see any link to download...
The problem is, even with the old version of forge (in this case 14.21.1.2387 is the recommended build) in 1.12, minecraft still crash without warning. I used to have the beta1 version of Macro (0.15.0_beta1) and it works great with the same version of forge. I believe that it has some thing to do with the release update itself.
When typing HELP KILL in the REPL Console, it gives the wrong output. It says "repl.console.command.kill.usage" followed by "repl.console.command.kill.help".
Hmmm, actually I've tried to get it working for a while and no luck. The counter works no problem now, however the CONFIG(%@#confcounter%)
doesn't seem to be working.
$${
IF(@#confcounter > 0);
DEC(@#confcounter);
CONFIG(%@#confcounter%);
ENDIF;
}$$
|
$${
ECHO(%@#confcounter%);
}$$
That's the DEC, the INC is similar. Any idea as to what I'm doing wrong?
As mentioned it does inc/dec just fine, the CONFIG part is the only that doesn't work, I even tried just using CONFIG(@#confcounter) I've also quadruple checked that the config names are 0, 1, 2, & 3
Odd my 1.12 with Forge 2387 works just fine (both dev and update), and my 1.12.1 works with Forge 2444, in fact I'be been playing it most of the day.
Are you using other Mods too?
Maybe remove them and add back in one at a time until you find the problem.
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
It appears as though variables aren't expanded when using CONFIG().
Apparently the delete function in the gui editor no longer works in the latest version.
i did have a problem with the dev version of 1.12.
I was using MoreCommands /xray command looking for mossy stone, planks, chests, spawners, and rail. I finally deduced I was running out of memory, little to do with macro/keybind or liteloader.
I minimised it by kicking my reserved memory to 4 gigs. I solved it when Scenter updated and i stopped using MoreCommands /xray.
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
Yeah still stuck
Some CloudClient dude. Also some CloudPack dude.
Updated version 0.15.2 for Minecraft 1.12.1 with the following fixes:
There is no modulo operator in macros, you can simulate it by using integer division, then multiply the result by the denominator and subtract from original value.
Issue appears to still be present in release 0.15.0 for MC 1.12 (with LiteLoader 1.12 b8). Is there any other information you would like me to provide to reproduce this error?
The bugfix was for 1.12.1, not 1.12. Please update your versions.
What about 1.12.1 then?
Updating Minecraft version isn't a solution, its unlikely MKB is the only mod they use and there's likely a reason they are playing on 1.12.
Just checked, the issue exists on 1.12.1 as well, but regardless, for me I play on 1.12 so I would like to see that get patched there as well.
Definitely not some other mods' problem. After trying 0.15.2 on 1.12.1 every thing works fine again.
0.15.0 on 1.12 still sucks, dk which fix exactly.