1.7.2

Macro / Keybind mod 0.10.04 for 1.7.2

  • #41
    Mumfrey, this mod is super mega fantastic, BUT (:smile.gif:) I have some suggestions:

    1. Multiple $$?.
    2. $$w -> Multiplayer Player list, like $$f
    3. Remove previous inputs when using $$? (When you entered long texts before, it's annoying to remove it...)
    4. Removing a keybind should also remove the line in the macros.txt.
    5. You need a logo! :biggrin.gif:


    ~ AJ
  • #42
    Well I've just uploaded Version 0.4 which adds the following features:

    • On-screen keyboard when binding keys: quickly see which keys are bound as well as being able to move, copy, delete macros quickly and easily.
    • Configure the macro activate and macro override keys in the normal Minecraft "Controls" GUI
    • Set modifiers on your key binds, require CTRL, ALT and SHIFT or any combination to prevent accidental usage
    • Extra parameters: $$h for homes, $$t for towns, $$m for text file list, plus ten configurable parameter lists $$0 through $$9
    • Auto-discover functionality for friends, towns and homes (may require some settings tweaking for best results)
    • Drag and drop to rearrange friends, towns and homes
    • Edit text files within minecraft
    • Recursive parsing of files and parameters, put parameters in your parameters!
    • Increased macro edit length in the GUI (can now edit macros longer than the screen width)
    • Prevent macros from remembering previous parameter values
    • Much better 'override' function
    • Complete re-vamp and improvement of settings file, format is now much clearer.

    Quote from AJFire

    Mumfrey, this mod is super mega fantastic, BUT (:smile.gif:) I have some suggestions:

    1. Multiple $$?.
    2. $$w -> Multiplayer Player list, like $$f
    3. Remove previous inputs when using $$? (When you entered long texts before, it's annoying to remove it...)
    4. Removing a keybind should also remove the line in the macros.txt.
    5. You need a logo! :biggrin.gif:


    I think 0.4 partially addresses these, you can use $$0-$$9 for some extra params, maybe not as good as having multiple $$?'s but might go some way to help. Populating the online players list reliably is hard, especially given the number of different mods etc. out there, I've given it a try with the auto-discover thing, I encourage you to try tweaking the settings if it doesn't work for you. It does however reliably pick up players who are within visible range.

    I've added an option specifically to disable remembering the parameter values on a macro-by-macro basis, click "Options" when editing the macro.

    Macros.txt has been completely overhauled (in fact the way settings are handled has been completely re-written) and should be much clearer and less likely to leave stuff littered around. The old format is still read ok though so your old macros will be imported no problem. You can also now "delete" macros using the GUI, as well as moving and copying them.

    Some screenshots:





    Last edited by Mumfrey: 10/22/2011 2:06:43 PM
  • #43
    THANKS IT WORKS FINALLY I LOVE U MANY :DBlock: :DBlock: :DBlock: FOR U!!!!
  • #44
    Update 0.4 is epic.
    But what does $$h/$$t ?

    Also, Germanic Umlaute are'nt supportet like ä, ü, ö.
  • #45
    Quote from AJFire

    Update 0.4 is epic.
    But what does $$h/$$t ?

    Thanks I'm glad you like it. $$h and $$t provide support for homes and towns in bukkit servers which allow players to set home locations or warps and create towns. If you don't play on servers which support this then you can ignore it and just use them as arbitrary lists of text :smile.gif:
    Quote from AJFire

    Also, Germanic Umlaute are'nt supportet like ä, ü, ö.

    If these are separate keys then in fact there is support for you to edit the keyboard layout yourself (sorry but it's really not feasible for me to support every keyboard layout "out of the box") and you could even post it for the benefit of others. If they instead use keycodes which are assigned to other keys, then I'm afraid that for the time being you're stuck with the current labels, I will try to add re-assignable labels in a future version.

    To edit the keyboard layout:

    1. Open macros.txt
    2. Change the option keyboardlayouteditable to 1 (default is 0)
    3. Run the game and you now get an extra button "edit". This allows the following:
      • Drag and drop keys to rearrange them
      • If a key does not exist, position the mouse where you want the key to be and press the key
      • To delete a key, click the key once to highlight it (or press the key) then press DEL.
      • When you are done just click "edit" again
      • Finally edit any key and click save (if you don't do this then macros.txt will not be updated and you will lose your changes)

      Once you're happy with your layout feel free to post the keyboardlayout= line from macros.txt here, that way others can benefit from it if they have similar layouts :smile.gif:

      As an additional note, having played 1.8 pre-release it's interesting to note that the online players list is displayed on the HUD, this should provide a reliable way of populating the $$w option you mentioned above \o/
      Last edited by Mumfrey: 9/11/2011 7:04:31 AM
    4. #46
      What I mean is that:
    5. #47
      Ah I see now what you mean, unfortunately this is a limitation with Minecraft and the nature of so-called "extended ASCII" rather than with this mod itself.

      Minecraft actually limits the allowed characters in chat to a fairly small subset of the ASCII character set, mainly just standard roman printable characters and numbers and basic symbols. The mod is sensible enough that even when transmitting text files it will first filter the compiled macro and replace any invalid characters with "?" since sending invalid characters is a recipe for getting instantly kicked!

      As you can see, Minecraft actually has a full 256 characters in its font set, although under normal circumstances any disallowed characters will not be printed by the FontRenderer:



      The "fixed width" font renderer which I built for the mod will actually display all of these characters, but will still disallow them when transmitting the file - the main reason for making this choice is that it allows files to loaded and edited without corrupting them.

      The confusing part here is that because ASCII characters above 127 are nonstandard, depending on the code page being used will display different characters for extended ASCII codes above that limit. As you can see from the image above, the symbols in the Minecraft font correspond to CP 437 whilst it's more likely the keyboard is generating codes appropriate for Windows CP-1252. I could replace the fixed-width font png with a Windows 1252 png I guess.

      The take-away here is that whilst the characters are not displaying "correctly" in the editor, they are not valid chat characters anyway and will hence be stripped out if you tried to actually send the file. If you'd like me to make a Windows-1252 font png then I don't mind doing that, although it will only fix the text editor an won't magically allow those characters to work in chat.

      tl;dr version: those characters aren't valid anyway thanks to a limitation of Minecraft sorry :sad.gif:
      Last edited by Mumfrey: 9/11/2011 10:22:13 AM
    6. #48
      German Keyboard-Layout. ß and ´ are Displayed as [ and ].

      keyboardlayout={1,20,4}{2,36,24}{3,56,24}{4,76,24}{5,96,24}{6,116,24}{7,136,24}{8,156,24}{9,176,24}{10,196,24}{11,216,24}{12,236,24}{13,256,24}{14,288,24}{15,16,40}{16,44,40}{17,64,40}{18,84,40}{19,104,40}{20,124,40}{21,144,40}{22,164,40}{23,184,40}{24,204,40}{25,224,40}{26,244,40}{27,264,40}{28,292,40}{29,20,88}{30,48,56}{31,68,56}{32,88,56}{33,108,56}{34,128,56}{35,148,56}{36,168,56}{37,188,56}{38,208,56}{39,228,56}{40,248,56}{41,268,56}{42,12,72}{43,36,72}{44,56,72}{45,76,72}{46,96,72}{47,116,72}{48,136,72}{49,156,72}{50,176,72}{51,196,72}{52,216,72}{53,236,72}{54,280,72}{55,368,116}{57,136,88}{58,20,56}{59,48,4}{60,68,4}{61,88,4}{62,108,4}{63,132,4}{64,152,4}{65,172,4}{66,192,4}{67,216,4}{68,240,4}{69,296,116}{70,368,4}{71,296,132}{72,332,132}{73,368,132}{74,404,116}{75,296,148}{76,332,148}{77,368,148}{78,404,132}{79,296,164}{80,332,164}{81,368,164}{82,314,180}{83,368,180}{87,268,4}{88,296,4}{156,404,164}{157,252,88}{181,332,116}{183,332,4}{197,404,4}{199,368,24}{200,368,72}{201,404,24}{203,332,88}{205,404,88}{207,368,40}{208,368,88}{209,404,40}{210,332,24}{211,332,40}{219,56,88}{220,216,88}
    7. #49
      I've now put support for changing the key display options into the settings file, unfortunately this will have to wait till 0.5 since I've done the 1.8.1 support as a branch while I wait for the new MCP to be released.

      In the mean time I've uploaded the 1.8.1 compatible version though and I'll continue to work on the trunk in 1.7.3 until the next MCP, so expect new features in 0.5 but not straight away.
      Last edited by Mumfrey: 9/15/2011 9:23:35 PM
    8. #51
      Hey, me and a couple of friends just tried installing it, but no luck. We tried to place all the contents in the minecraft.jar but no luck, then we put the whole zip folder into the .minecraft/mods/ folder and no go.

      Any help?
    9. #52
      Quote from Iguana

      Hey, me and a couple of friends just tried installing it, but no luck. We tried to place all the contents in the minecraft.jar but no luck, then we put the whole zip folder into the .minecraft/mods/ folder and no go.

      Any help?


      Lol the same thing happened to me an hour ago.
      Install Modloader. Than it should work
    10. #53
      We JUST installed modloader, and then placed all the contents of the zip into the minecraft.jar and still no luck.
    11. #54
      Quote from Iguana

      We JUST installed modloader, and then placed all the contents of the zip into the minecraft.jar and still no luck.


      oh
      uh
      :/
      I don't know
    12. #55
      Quote from Iguana

      We JUST installed modloader, and then placed all the contents of the zip into the minecraft.jar and still no luck.

      You needn't install the contents in the .jar although if you do it shouldn't break anything. Check in your ModLoader.txt and you should see confirmation that the mod is loading if all is going well.

      The one thing to note is that because of the conflict with the TAB key in 1.8, the default key to activate the mod is now the apostraphe key, you can change this in the options though. I just realised I need to update the original post!!

      Check whether the key options for the mod are showing in the "Controls" menu, if they are then set the keys as you like and check whether it works in-game.

      Sorry for the confusion, hope you get it working.
    13. #56
      Glad to have it back again in 1.8.
      I love the $$0-$$9 lists and i am looking forward for the $$w option mentioned above.
    14. #57
      Having a issue when... I installed ModLoader 1.8.1 on Minecraft v1.8.1. I then copied the .zip file to the correct folder.

      Issues, i only have to press ` to get the meessage to come up about pressing the key i want to bind, i hit the key i want to bind and nothing happens..

      I tried with Shift + ` and it does the same thing where nothing happens after pressing the key i want to bind. This is a fresh minecraft with only modloader and the zip file.

      Any help would be appreciated, this mod looks awesome.
      Last edited by killaz916: 9/16/2011 9:36:55 AM
    15. #58
      Quote from killaz916

      Having a issue when... I installed ModLoader 1.8.1 on Minecraft v1.8.1. I then copied the .zip file to the correct folder.

      Issues, i only have to press ` to get the meessage to come up about pressing the key i want to bind, i hit the key i want to bind and nothing happens..

      I tried with Shift + ` and it does the same thing where nothing happens after pressing the key i want to bind. This is a fresh minecraft with only modloader and the zip file.

      Any help would be appreciated, this mod looks awesome.

      It sounds like it's triggering macro playback rather than macro record (this is the expected behaviour for hitting just ` alone). I really need to beat myself in the face for being such an idiot since the actual key combo to bind keys is <SNEAK KEY> + <MACRO KEY> which isn't really explained very well by the OP (... /me goes to edit). So it could be that if you've got sneak bound to something else than shift.

      If you do have sneak bound to shift and it's still not working then it's a bit of a mystery, are you on a Mac by any chance because there have been some problems getting it to register the SHIFT key on a Mac? Unfortunately I don't have one I can test on so it's been hard to troubleshoot.
    16. #59
      Ah hah, my sneak key is z. thats why. i pressed Z and ' and it worked. can you make this not use sneak by chance or maybe more configurations?

      Care to explain home and stuff like that?

      This plugin is epic though. and hows the compatibility with Improved Chat, because if this has scroll chat and history i see no need for using it.

      Also this plugin seems to not support Zombe's Modpack or TMI. haven't tested it yet to see which one.
    17. #60
      Quote from killaz916

      Ah hah, my sneak key is z. thats why. i pressed Z and ' and it worked. can you make this not use sneak by chance or maybe more configurations?

      I originally thought of just making the shift modifier another configurable key but in the interest of keeping additional keys in the config screen to a minimum I opted to just use SNEAK. I can add the ability to override it in the config file, that way it doesn't pollute the config menu but is still alterable by advanced users, how does that sound?
      Quote from killaz916
      Care to explain home and stuff like that?

      There are some popular mods server-side (plugins for bukkit etc.) which allow the creation of towns (or warps, waypoints, all a similar idea) and also mods which allow any player to create a "home" (or mulitple homes) which are basically like personal warp points that can be set. If you don't use servers with those features, homes and towns are essentially just another arbitrary text list you can use :smile.gif:
      Quote from killaz916
      This plugin is epic though. and hows the compatibility with Improved Chat, because if this has scroll chat and history i see no need for using it.

      Glad you like the mod, I'm really just trying to create something that people will want to use, and provide a greater layer of functionality than provided by external command "helper" apps. Compatibility with Improved Chat is fine, I haven't duplicated features and since someone mentioned it in a previous post I've been using it myself.
      Quote from killaz916
      Also this plugin seems to not support Zombe's Modpack or TMI. haven't tested it yet to see which one.

      I'm not sure about this, obviously it's not really feasible to test with every mod out there so I've been trying to address compatibility issues as people raise them, and trying to turn around fixes as quickly as possible. I've attempted to maximise the compatibility by altering none of the Minecraft classes, and the hooking is done through ModLoader. If you can identify which mod is conflicting I will attempt to provide a work-around or fix. Can you provide links to the relevant mods so I can check them out?

      Feedback and comments are always welcome, so thanks for your post. Glad we sorted the key binding issue :smile.gif:
      Last edited by Mumfrey: 9/16/2011 1:10:40 PM
    18. #61
      Compatible Mods
      TooManyItems - http://www.minecraftforum.net/topic/140684-181-toomanyitems-in-game-invedit-sep-14/

      Incompatible Mods
      Zombe's Modpack - http://www.minecraftforum.net/topic/91055-v181-zombes-modpack-26-mods-v436-upd-15sep/

      When more mods are updated to 1.8 i can test them as well, and report back my findings.
      Last edited by killaz916: 9/16/2011 1:35:42 PM
    19. To post a comment, please or register a new account.
    Posts Quoted:
    Reply
    Clear All Quotes