ATTACK and USE are kind of dual-stateful keys so you need to send them in a strange way, basically sending a KEY command repeatedly for a number of ticks, so if you want to "punch" ten times you actually need to attack, probably 4 or 5 ticks with a say, 15 tick gap between. The WAIT statement in your macro is likely causing the detection to fail.
Try something like:
DO(10);DO(5);KEY(attack);LOOP;DO(15);LOOP;LOOP;
EDIT, just tried it and 3 and 8 seem to be good numbers for the loop counts, 3 ticks punching and 8 not punching, so try $${DO(10);DO(3);KEY(attack);LOOP;DO(8);LOOP;LOOP;}$$
Thanks and i just tried changing the IFMATCHES to IF statements like that example trying !MODE and MODE at the beginning
IF(!MODE)
ECHO(/gm survival)
WAIT(1)
ENDIF
Both did nothing
Confirmed, I wish this had been mentioned before (maybe it had and I missed it), but 0.9 won't parse the MODE variable because I added the modulus operator as MOD (for arithmetic) so it borks things, I'll have to fix that!
The code I posted above is correct and will work with any other variables, it's the mod that's broken!
I just tried it in-game, it works fine
did you not press a key?, did you bind it to a key that's already reserved or in use?,
if you copied it over and it's not working, then it must not even be getting triggered
Sending attack for a single tick won't always register, especially on slow computers.
I installed a mod (Inventory tweeks, http://inventory-twe...test/?invtweaks) and now the Done button is hidding some keys. And when I have that mod in I can't use your mod.
I use Magic Launcher
Here are my mods:
Modloader (with your modification)
Your mod (Wich is great )
Inventoy tweeks
Note: I have NOT deleted Meta info since Magic Launcher takes care of that.
Like my beta, that "non modloader" version of inventory tweaks contains a "modloader-a-like" which performs the functions of modloader, this means it conflicts with modloader.
To rectify the problem, perform the following steps:
Do not install the non-modloader version of inventory tweaks
Wait for the final version of Modloader to be released and install it
Wait for inventory tweaks to release a modloder version
Hey, how do I add multiple welcomes to this script, like "Welcome bob!" "Welcome to the server Bob!" "Hey there bob, welcome!" etc
IFMATCHES(%CHAT%,"§dWelcome §[a-f0-9](.+?)§f§d to the Slap-Gaming Minecraft Server!");
MATCH(%CHAT%,"§dWelcome §[a-f0-9](.+?)§f§d to the Slap-Gaming Minecraft Server!",&newplayer,1);
WAIT(3)
ECHO("Welcome &c%&newplayer%&f!");
ENDIF;
When I try to download the Modloader.class it says my java isn't updated enough even though I am runnign the latest java 7 update 5. Any way I could get the .class file?
Cheers.
I seem to have been skipped when you were answering questions. Could i get an answer?
Thanks.
One more problem is, I found out that this mod is no longer compatible with zombe's mod pack. Are one of teh mdos still updating to work with the recent mod loader update?
Ouch, that is certainly causing the exception. Even though ModLoader has updated to 1.3.1, it's not even close to being done - it's not polished. Risugami most likely just released the version just to test current features/shut everyone up.
One more problem is, I found out that this mod is no longer compatible with zombe's mod pack. Are one of teh mdos still updating to work with the recent mod loader update?
ATTACK and USE are kind of dual-stateful keys so you need to send them in a strange way, basically sending a KEY command repeatedly for a number of ticks, so if you want to "punch" ten times you actually need to attack, probably 4 or 5 ticks with a say, 15 tick gap between. The WAIT statement in your macro is likely causing the detection to fail.
Try something like:
EDIT, just tried it and 3 and 8 seem to be good numbers for the loop counts, 3 ticks punching and 8 not punching, so try $${DO(10);DO(3);KEY(attack);LOOP;DO(8);LOOP;LOOP;}$$
Confirmed, I wish this had been mentioned before (maybe it had and I missed it), but 0.9 won't parse the MODE variable because I added the modulus operator as MOD (for arithmetic) so it borks things, I'll have to fix that!
The code I posted above is correct and will work with any other variables, it's the mod that's broken!
Sending attack for a single tick won't always register, especially on slow computers.
Same problem here. Anyone know how to fix this?
And I cant use this mod since it crashes with my other ones
can anyone help.
Have a good day
Like my beta, that "non modloader" version of inventory tweaks contains a "modloader-a-like" which performs the functions of modloader, this means it conflicts with modloader.
To rectify the problem, perform the following steps:
Right click on it and choose "save link as". If that doesn't work try this zip file which contains the class
I said that version crashes my other ones
The problem is, I don't think you can use "[(.+?)]" in an ifmatches xD
How would I obtain the letter inside the brackets without obtaining the brackets?
You need to escape the brackets, otherwise the regex will treat them as defining a character class.
Are you sure you installed the 0.9 version? I'm not certain older ones would work, but be sure you're running the latest.
I seem to have been skipped when you were answering questions. Could i get an answer?
Thanks.
Cheers.
is there another link to download this?
One more problem is, I found out that this mod is no longer compatible with zombe's mod pack. Are one of teh mdos still updating to work with the recent mod loader update?
Cheers.
Ouch, that is certainly causing the exception. Even though ModLoader has updated to 1.3.1, it's not even close to being done - it's not polished. Risugami most likely just released the version just to test current features/shut everyone up.
Because modloader
I began minecraft ~July 7 2011 1.7.3 Beta
My username used to be Creative_Dalek but is now Dalek since 2/4/2015