• 0

    posted a message on Macro / Keybind Mod

    As of 1.8, is PITCH on LOOK working correctly, or what am I doing wrong?


    #yaw1 = %YAW% + 180;
    #pitch1 = %PITCH%;


    Then I move my mouse and I do:


    LOOK(%#yaw1%, %#pitch1%);
    LOG("Current PITCH: %PITCH%, Set PITCH: %#pitch1%");


    It looks on the right place but the PITCH isn't setting correctly.

    The Log says: Current PITCH: 14, Set PITCH: 17, So it set PITCH to 17


    So when I first saved the PITCH it was 17 I moved my mouse ran the LOOK command it didn't set PITCH back to 17, it stayed in the same PITCH my mouse had it at, or.. ?

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Auto crafting still broken for 1.8? :o
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    currently on my phone, can't access it right now but it's in the chat filter.

    looks like:

    ifmatches(%chat%,"some text here",@chat[]
    match(%chat%,"some text here",@chat[])
    modify(Modified: %@chat[1]%)
    endif

    could be wrong but it looks about like that

    extra info: I modified every chat to make it appealing for myself, and I believe those are where I get fake color codes
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mart3323»

    It shouldn't unless you Log() it..
    if you want to log it i guess you'd have to Replace(&str,"§","¤") it with some other (similar?) character?

    What do you mean?

    Normal: §r§a(§r§5+iPollox§r§5+§r§a) test§r
    Fake Color: §r§a(§r§5+iPollox§r§5+§r§a) &3test§r

    The output ingame the second one with the &3 says test in the cyan color, instead of actually displaying the &3 along with the text.

    I mean Log() could work.. but is there another way to prevent such colors?
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Is there a way to prevent "fake" color codes with chat filter? Like if a player that can't do color does like &4Text, it still comes out red on my screen but not to the ones that don't have the chat filter on.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Nitephyre»
    \xa7 is §, it makes the regex work better.

    If you want to colour code your text in MODIFY, use & instead of § as MacroMod seems to prefer it. Formatting codes found here.

    I see I made a boo-boo, try this:

    IFMATCHES(%CHAT%,"^\[\xa7(.)W\xa7f\]\xa7r<(.+)> (.+)$",&namecolour)
    MATCH(%&namecolour%,"^\[\xa7(.)W\xa7f\]\xa7r<(.+)> (.+)$",{&namecol,&name,&msg})
    MODIFY(&%&namecolour%<%&name% > %&msg%
    ENDIF

    If that doesn't work, then do LOGTO(debug.txt,%CHAT%) in chatfilter and post the results in a spoiler so we can see how the text is formatted by the server and build a correct regex.

    Didn't work.
    Here's one of the logs: §r[§r§dW§r§f]§r<§r§bTrex9_§r> woah someone tp to me§r

    Edit:
    Got it to work ^_^
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Nitephyre»
    In that case, try this:

    IFMATCHES(%CHAT%,"^\[(\xa7.)W\xa7f\]\xa7r<(.+)> (.+)$",&namecolour)
    MATCH(%&namecolour%,"^\[(\xa7.)W\xa7f\]\xa7r<(.+)> (.+)$",{&namecol,&name,&msg})
    MODIFY(%&namecolour%<%&name% > %&msg%
    ENDIF


    Didn't work :/

    Edit:
    Was doing some test with Log() and the /xa7f didn't change the log to white.
    LOG(§f TEST) works
    LOG(\xa7f TEST) didnt work
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Currently on my phone but it went something like this:

    IFMATCHES(%CHAT%,"^\[§dW§f\]§r<(.+?)> (.+)")
    MATCH(%CHAT%,"^\[§dW§f\]§r<(.+?)> (.+)",@&chat[])
    //MODIFY GOES HERE
    ENDIF
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Hello,

    last time I used chat filter was a little over a year ago, the chat format in my server hasn't changed yet the old code isn't working anymore.

    What I'm having issues with is getting the user's rank color.

    Plain text: [W]<named> text

    The name has a color depending on the rank, I used to have a single ifmatches for any color, which is im trying to re-achieve again, I don't want to copy the same code over and over just to get the color, I know I can do chatclean but I'm trying to retrieve the color to modify the looks of the chat and keep the username color as I had it before

    any help would be appreciated
    Posted in: Minecraft Mods
  • 0

    posted a message on Shaders Mod (updated by karyonix)
    Quote from 2011andre2»
    The shaders mod is very good. but it dont work with the dandelion texture pack can someone help me?

    sorry for the bad englisch i am german ;)

    same exact problem here :/
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Is there a way to combine bows together? Like after coming out of a skeleton spawn I have a bag full of bows, and I'd like to put them together so they are all repaired :o
    Posted in: Minecraft Mods
  • 0

    posted a message on R3D CRAFT - Play Minecraft in High Definition
    Can't wait for this to be fully updated, blocks such as prismarine are still default-looking :/
    Posted in: Resource Packs
  • 0

    posted a message on OptiFine HD (FPS Boost, Dynamic Lights, Shaders and much more)
    Quote from iPollox

    Since most mods are still 1.7.2 Im still using optifine 1.7.2 with the latest version and I don't know why I'm crashing, I disabled all my mods and left optifine by itself and seems like its optifine because without it I don't crash.

    Only seems to be happening in 1 area so far, haven't crashed in other parts of the map
    Crash: http://pastebin.com/raw.php?i=YnBGFD0b


    Just bumping this
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    With the update haven't been able to detect things correctly using the \xa7 thing.

    This works:

    IFMATCHES(%CHAT%,"has requested to teleport to you.");
    LOG("/tpaccept");
    ENDIF;


    But if I want to use colors it wont work:
    IFMATCHES(%CHAT%,"\xa7[a-f0-9]ZRFROST \xa7[6]has requested to teleport to you.");
    LOG("/tpaccept");
    ENDIF;


    How could I detect something like:


    I tried something like:
    IFMATCHES(%CHAT%,"^\[\xa7[d]W\xa7[f]\]\xa7[r]<(.+?)> (.+)$");
    MATCH(%CHAT%,"^\[\xa7[d]W\xa7[f]\]\xa7[r]<(.+?)> (.+)$",@&chat[]);
    LOG("TEST");
    ENDIF;
    Posted in: Minecraft Mods
  • 0

    posted a message on OptiFine HD (FPS Boost, Dynamic Lights, Shaders and much more)
    Since most mods are still 1.7.2 Im still using optifine 1.7.2 with the latest version and I don't know why I'm crashing, I disabled all my mods and left optifine by itself and seems like its optifine because without it I don't crash.

    Only seems to be happening in 1 area so far, haven't crashed in other parts of the map
    Crash: http://pastebin.com/raw.php?i=YnBGFD0b
    Posted in: Minecraft Mods
  • To post a comment, please .