Output (basically same except the time as I haven't changed the script):
---
20:55:22 inute inute inute
---
Not sure why that's happening. Wouldn't it be easier to just fetch the individual parts of the time into different variables using TIME in the first place?
The regex is broken, don't know if anyone noticed: ^0?(..?):0?(..?):0?(..?):$ Theres an extra ':' at the end of the regex, it should be ^0?(..?):0?(..?):0?(..?)$
The &minute is from the feature of the language that if a variable is not defined, it defaults to it's name. It might be setting that in hour/seconds, because the regex isn't matching.
The regex is broken, don't know if anyone noticed: ^0?(..?):0?(..?):0?(..?):$ Theres an extra ':' at the end of the regex, it should be ^0?(..?):0?(..?):0?(..?)$
The &minute is from the feature of the language that if a variable is not defined, it defaults to it's name. It might be setting that in hour/seconds, because the regex isn't matching.
You are clearly smarter than I am, I didn't spot that at all.
I apologize if this was already asked.
Will the mod be natively using minecraft:itemname in the update? In things like $$i and such.
It wasn't asked but I did solicit opinions on it a few pages ago.
The answer is yes, so many, many scripts are going to break but there's not really any way around this and numeric ID's are fully removed from the engine in 1.8 so it makes sense to make that transition now. I've used the convention that items and tiles in the minecraft: namespace do not need the namespace prefix (the engine will automatically prepend the namespace if one is not provided) and $$i and all of the environment vars which return an item ID return vanilla items with no namespace but this can be configured.
For this update only, I've also provided two commands to get the legacy (numeric) ID of an item or tile:
#id = ITEMID(diamond_sword); // assign the legacy id of diamond sword to #id
#tileid = TILEID(grass); // legacy tile id
#tileid = TILEID(minecraft:grass); // also works with namespace
if you guys want an out of minecraft macro, try out auto hotkey, its what i use for such things as spam and auto click =3
Here is a quick code for spam:
~$*XButton1::
Loop
{
GetKeyState, var, XButton1, P
If var = U
Break
Send {S}
Send {p}
Send {a}
Send {m}
Send {Enter}
sleep 1
}
It uses my extra mouse button (XButton1) but change it to what ever you need
if you guys want an out of minecraft macro, try out auto hotkey, its what i use for such things as spam and auto click =3
Here is a quick code for spam...
You see, most people actually use macros to do cool stuff, like the herocraft guys who use it for their custom abilities, or put-upon server admins who need to moderate and administrate their server easily, or people who want to have extra information on their HUD than minecraft has by default.
People like you who just want to be an arsehole... yeah. Get off my thread.
Aw come on.., maybe he just wanted to help by bringing up an alternative, something not as good we could use while the actual mod hasn't updated?
i know you must be pretty frustrated with having to update and everything, but let's try to assume the best in people (even if you don't believe it)
You don't have to if you don't want to, of course.., but food for though...
it's worked out pretty well in my own experience
I have no problem with someone mentioning alternatives, I have absolutely no issue if people would like to suggest using AHK or whatever. My issue with his comment was that he was basically implying people use macros for spam and the script he posted was for that purpose.
Not sure why that's happening. Wouldn't it be easier to just fetch the individual parts of the time into different variables using TIME in the first place?
The regex is broken, don't know if anyone noticed: ^0?(..?):0?(..?):0?(..?):$ Theres an extra ':' at the end of the regex, it should be ^0?(..?):0?(..?):0?(..?)$ The &minute is from the feature of the language that if a variable is not defined, it defaults to it's name. It might be setting that in hour/seconds, because the regex isn't matching.
Also changed day to 6 and first time value to 13 for testing purposes, config doesn't seem to change still...
Edit: And I found out, why! Macros checks for "full hours", meaning that 15 will include both 15:00 and 15:59, therefore using 14 would make more sense.
AHK works awfully in Minecraft, which is also why I started to use Macros in the first place.
I know, i agree, and i don't care for using it.., i'm just saying we shouldn't assume that he was just bashing on the mod
Could be he knows very well that the alternative he gave is really inferior, but decided to tell it anyway because it's better than nothing
I just believe that you should always maximise your benefit of the doubt before calling someone an ass
Edit: Apparently it was a misunderstanding on my part, sowwy xD
but enough of that.., i'm starting to regret bringing it up in the first place =P
i'm glad you got it working, and hope you won't stop there
I know, i agree, and i don't care for using it.., i'm just saying we shouldn't assume that he was just bashing on the mod
Could be he knows very well that the alternative he gave is really inferior, but decided to tell it anyway because it's better than nothing
Again, I wasn't bashing him for mentioning AHK or anything, I was bashing the suggestion of being a spammer.
I just believe that you should always maximise your benefit of the doubt before calling someone an ass
I agree, and you know that I'm usually very tolerant of people who have often come here and thrown abuse in my face. But I would react the same way to anyone coming on a thread recommending to others to indulge in malicious or cheating activity. I have no time for cheats or spammers and that's why I reacted like I did.
Output (basically same except the time as I haven't changed the script):
---
20:55:22
inuteinuteinute---
Not sure why that's happening. Wouldn't it be easier to just fetch the individual parts of the time into different variables using TIME in the first place?
[Offtopic] I know, I play on his server as a Level 57 Runeblade and a level 38 Merchant.
Well that explains alot. o.o
The &minute is from the feature of the language that if a variable is not defined, it defaults to it's name. It might be setting that in hour/seconds, because the regex isn't matching.
You are clearly smarter than I am, I didn't spot that at all.
I am unable to make the macro click this button: http://img513.imageshack.us/img513/3876/vga6.png to enchant the item.
Does anyone have any idea how I can solve my problem?
1. Will we have the new movement functions in the update?
2. Will you support the relative positions in functions like GETID() ?
Like this?
Macro/Keybind mod Wiki
Will the mod be natively using minecraft:itemname in the update? In things like $$i and such.
It wasn't asked but I did solicit opinions on it a few pages ago.
The answer is yes, so many, many scripts are going to break but there's not really any way around this and numeric ID's are fully removed from the engine in 1.8 so it makes sense to make that transition now. I've used the convention that items and tiles in the minecraft: namespace do not need the namespace prefix (the engine will automatically prepend the namespace if one is not provided) and $$i and all of the environment vars which return an item ID return vanilla items with no namespace but this can be configured.
For this update only, I've also provided two commands to get the legacy (numeric) ID of an item or tile:
Here is a quick code for spam:
~$*XButton1::
Loop
{
GetKeyState, var, XButton1, P
If var = U
Break
Send {S}
Send {p}
Send {a}
Send {m}
Send {Enter}
sleep 1
}
It uses my extra mouse button (XButton1) but change it to what ever you need
You see, most people actually use macros to do cool stuff, like the herocraft guys who use it for their custom abilities, or put-upon server admins who need to moderate and administrate their server easily, or people who want to have extra information on their HUD than minecraft has by default.
People like you who just want to be an arsehole... yeah. Get off my thread.
Aw come on.., maybe he just wanted to help by bringing up an alternative, something not as good we could use while the actual mod hasn't updated?
i know you must be pretty frustrated with having to update and everything, but let's try to assume the best in people (even if you don't believe it)
You don't have to if you don't want to, of course.., but food for though...
it's worked out pretty well in my own experience
'Cause tomorrow spring is here
I have no problem with someone mentioning alternatives, I have absolutely no issue if people would like to suggest using AHK or whatever. My issue with his comment was that he was basically implying people use macros for spam and the script he posted was for that purpose.
And output (finally works!):
Also changed day to 6 and first time value to 13 for testing purposes, config doesn't seem to change still...
Edit: And I found out, why! Macros checks for "full hours", meaning that 15 will include both 15:00 and 15:59, therefore using 14 would make more sense.
So, the script is finished - thanks, everyone!
AHK works awfully in Minecraft, which is also why I started to use Macros in the first place.
I know, i agree, and i don't care for using it.., i'm just saying we shouldn't assume that he was just bashing on the mod
Could be he knows very well that the alternative he gave is really inferior, but decided to tell it anyway because it's better than nothing
I just believe that you should always maximise your benefit of the doubt before calling someone an ass
Edit: Apparently it was a misunderstanding on my part, sowwy xD
but enough of that.., i'm starting to regret bringing it up in the first place =Pi'm glad you got it working, and hope you won't stop there
'Cause tomorrow spring is here
Again, I wasn't bashing him for mentioning AHK or anything, I was bashing the suggestion of being a spammer.
I agree, and you know that I'm usually very tolerant of people who have often come here and thrown abuse in my face. But I would react the same way to anyone coming on a thread recommending to others to indulge in malicious or cheating activity. I have no time for cheats or spammers and that's why I reacted like I did.
Quite.