• 0

    posted a message on Macro / Keybind Mod
    Quote from kiarules»
    Yes, it's just SET(#integer,%&string%)


    Quote from Gorlem»

    Yeah, you should use SET(<target>,[value]) for that.
    You would use it like this:
     SET(#number,%&string%)

    Thank you very much :D
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Been looking for a bit, either I'm dumb or blind :P Can I convert a string only containing numbers to an integer? :)
    Posted in: Minecraft Mods
  • 0

    posted a message on Sonic Ether's Unbelievable Shaders v11.0
    Any way to disable my own player shadow? Using SEUS v10.1 Ultra :)
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mumfrey

    No, and as I've said on multiple occasions screenshots of chat are not admissible evidence in any scenario; no admin or moderator with half a brain would accept client chat logs/screenshots as evidence because it's easy to spot a fake by just comparing with the server logs for the same period! It's also easy to tell (from the server side) if a particular user is running macros so this can also be used as evidence.

    So no, not happening, it doesn't achieve anything other than being annoying.

    Moderators don't always have access to chat logs :/ I get your point tho, I'll try having a dev to look into detecting the mod :P Ty

    Quote from Rene_Z

    There are many ways to fake a chat message, and any attempt to prevent this clientside will be bypassed in some way, by editing the mod or just editing the screenshot. Or create your own mod to fake chat messages, which will take you like 10 minutes. Probably such a mod already exists.
    The only reliable source of chat messages is the server log.

    EDIT: Ninja'd

    Hmm true dat :P
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Could you possibly add something to the GUI when the chat is closed, so that you will be able to see that the user is using MacroMod? You're able to see it when it's open, just by looking at the small green icon bottom right, but having something when the chat isn't open would be great, since it could be used to fake chat messages, which can be a problem on big networks (:
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Hey Mumfrey, thought I'd let you know that links send with log(); are not clickable. I don't know if this has anything to do with MacroMod, or just Minecraft that's messed up :P

    I've tested it on the HiveMC. It works completely fine when I just send it as a chat message, but not with log(); :)

    Thank you for all your hard work on this mod, it's amazing! :D
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mart3323

    Well, if it logged that character literally, Log()'ing it back should give you the same result
    any weirdness that happens with it should be reflected in the logs

    Kinda like color codes, not obvious unless you know of them or look at logs

    If it really does show no errors there, but fails to be recognised and Logs back weirdly like that, then wow..., i have no idea


    ---


    I guess if it's a public server i could drop by later and try to figure it out..., but it'll be a day or two before i have time
    things're happening today =P


    play.hivemc.com :) But well it works now so I'm happy with it. Would be annoying if I couldnt make it work as it helps me out a bunch when moderating the chat xD
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mart3323

    Whenever you're unsure about the chat string, always check it first with
    LogTo(debug.txt,%CHAT%)
    and see what you get from there

    If all else fails, take advantage of the fact that names don't contain spaces
    match until the first space, then three or four (check!) characters, then the message


    I did do the logto(); thingy, ehm could you make a quick example of what you're suggesting? :)


    EDIT:
    NVM Made it work! Thank you very much!
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Sooo .. The server I play on just had a chat update.

    The chat layout changed from:
    name> message (http://d.pr/i/MMwj)
    to:
    name » message (http://d.pr/i/Pyg)

    In my chatFilter I have this:
    IFCONTAINS(%CHATCLEAN%," » ");
    MATCH(%CHAT%,"(.+?) » (.+)",{&name,&message});
    MATCH(%CHATCLEAN%,"(.+?) » (.+)",{&nameclean,&messageclean});
    ENDIF;


    The ifcontains() is always false :( Any clue what's going on here?

    EDIT:
    When I do the following:
    log("»");

    It shows up as: http://d.pr/i/9wVu

    So now I think I know what the issue is, but still no clue how to fix it xD
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mumfrey

    Well yes or just set it to an empty value. Since arrays are of dynamic size, their size is determined by the last valid entry, they can contain "empty" entries but that's purely for internal storage purposes. Any entries in the array which are empty can still be written to and read from but they are virtual entries which when read will return the empty type for the type of array ("", 0 or false).

    The special behaviour for virtual array nodes is that you can use PUT to insert a value at the first virtual entry or at the end of the array if there are no gaps.

    This means that UNSET when used with an indexed array reference will not shift all the entries back but it will remove the entry and mark it as virtual. When using INDEXOF and UNSET to remove values from an array, it's a good idea to use PUT rather than PUSH to avoid the array growing infinitely, unless you need to preserve order, in which case periodically compacting the array is a good idea.

    You can read more in my original post about arrays if you want.


    Thank you! :) I made it work now just using UNSET();
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mumfrey

    Nothing, that's the correct behaviour. POP removes the last entry from an array, allowing arrays to be used like a stack.


    Oh, well then xD How would I remove an entry that has a certain value? :) Something with UNSET(&array[#]) I assume? :)
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    I have an issue here when using foreach(players) :/

    For example, on HiveMC users have colored names. Making names on tablist only 14 chars, right? So JustCallMeLewis would be JustCallMeLewi. Using the foreach(players) gives you the shortened one, when I need the whole name. Any idea what I can do, or if I can even do anything about this? :)

    And another one when using POP();
    POP(@&mich356c_friendList_friends,&removename);

    Removes the latest entry every time, what am I doing wrong here? xD
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mumfrey

    The correct way to do this would be to use an array, just PUSH the value into the array and use ARRAYSIZE to get the size of the array, you can use INDEXOF prior to insertion to check whether the value is already present in the array.

    Hmm thanks, I'll try :) Can you explain the POP() and PUT()? #ArrayNoob
    Found a post with it :P
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    How would I count the amount of lines in a text document? :)

    I have a file with the name of each user who joins (Simple logto(), it doesn't add the same name twice), Im guessing it's something with a foreach() but I have no clue :S

    EDIT:
    Found a different way to do it, but I would still like some ideas :)
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Gorlem

    Yes, change the following entry in your .macros.txt
    compiler.maxincludes=10


    Thank you very much! :)
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.