[Open Source] ScarabCoder's Free Macros - LWC, Lotto, Pumpkin Farming, More!

Discussion in 'Basic Tutorials' started by ScarabCoder, Nov 21, 2015.

  1. ScarabCoder

    ScarabCoder Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 12, 2015
    Messages:
    302
    Trophy Points:
    15,790
    Gender:
    Male
    Ratings:
    +233
    I learned it from looking at this:
    http://mkb-wiki.herokuapp.com/wiki/commands
    It's the wiki page for the macros. Has everything you need to know there.
     
  2. CodeTrooper

    CodeTrooper Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Dec 10, 2015
    Messages:
    235
    Trophy Points:
    12,070
    Gender:
    Male
    Ratings:
    +376
    Seems like the unwanted illegal kind of mods... like Trig and AutoTool
     
  3. CodeTrooper

    CodeTrooper Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Dec 10, 2015
    Messages:
    235
    Trophy Points:
    12,070
    Gender:
    Male
    Ratings:
    +376
    Ok, thanks! I also figured out when you're binding a key to something and press F1 you get a full list of commands! :D
     
  4. 314

    314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    101,160
    EcoDollars:
    $5,880,000
    Ratings:
    +4,919
    So... for some reason it didn't post my answer yesterday? o_O
    *Posts again*



    Thanks, I hope I will find something interesting there. :)

    Also,
    ~Thread title changed: "ScarabCoder's Free Macros - LWC, Lotto, Pumpkin Farming, More!" > "[Open Source] ScarabCoder's Free Macros - LWC, Lotto, Pumpkin Farming, More!"
     
  5. 29dude

    29dude Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Mar 8, 2015
    Messages:
    720
    Trophy Points:
    19,620
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +858
    @ScarabCoder I tried to install the auto LWC removal macro, and I got kicked. Whilst rejoining it said I am "Temporarily denied to join this server". How do I get rid of the macro to actually be able to play ECC?

    EDIT: Fixed it myself
     
    #45 29dude, Dec 18, 2015
    Last edited: Dec 18, 2015
  6. ScarabCoder

    ScarabCoder Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 12, 2015
    Messages:
    302
    Trophy Points:
    15,790
    Gender:
    Male
    Ratings:
    +233
    I'm sorry! To remove it, you can close Minecraft, go to your .minecraft folder, liteconfig/common and delete the macros folder.
     
  7. AndroidNougat

    AndroidNougat Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Feb 4, 2013
    Messages:
    552
    Trophy Points:
    31,240
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +126
    @ScarabCoder thank you for the LWC macro. I have setup the chat filter by copying and pasting what it says to do-
    Code:
    if(@#blocklwc == 1)
    if(%CHATCLEAN% == "/lwc")
    @#blocklwc = 0
    filter()
    endif()
    endif()
    
    if(@#click == 1)
    ifcontains(%CHATCLEAN%, "Punch a protection")
    FILTER()
    endif()
    if(%CHATCLEAN% == "")
    filter()
    endif()
    ifcontains(%CHATCLEAN%, "Owner: ")
    @&owner = %CHATCLEAN%
    replace(&owner, "Owner: ")
    FILTER()
    
    endif()
    ifcontains(%CHATCLEAN%, "Protection type:")
    @#click = 0
    @#world = 1
    echo("/whereami")
    FILTER()
    endif()
    endif()
    if(@#world == 1)
    ifcontains(%CHATCLEAN%, "Current World: ")
    @&world = %CHATCLEAN%
    replace(@&world, "Current World: ")
    
    endif()
    
    ifcontains(%CHATCLEAN%, "Pitch: ")
    @#world = 0
    @#rg = 1
    echo("/rg i")
    endif()
    filter()
    endif()
    if(@#rg == 1)
    ifcontains(%CHATCLEAN%, "Region: ")
    @&region = %CHATCLEAN%
    replace(@&region, " (type=cuboid, priority=0)")
    replace(@&region, "Region: ")
    
    endif()
    ifcontains(%CHATCLEAN%, "Bounds: ")
    @#rg = 0
    logto("lwcremove.txt","What is your in-game name?")
    logto("lwcremove.txt", %PLAYER%)
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", "Have you read the in-depth instructions for this application?")
    logto("lwcremove.txt", "Yes")
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", "Are we removing LWC Protections or traed signs?")
    logto("lwcremove.txt", "LWC Protection")
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", "What town is this protection in?")
    
    logto("lwcremove.txt", They are in %@&region% application URL here)
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", Whose is this protection?")
    logto("lwcremove.txt", %@&owner%)
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", "Is the player who owns this inactive? Have you tried contacting them about removing the lock?")
    
    logto("lwcremove.txt", "Player inactive")
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", "Where is this protection?")
    logto("lwcremove.txt", "/tppos %XPOS% %YPOS% %ZPOS% %YAW% %PITCH%")
    logto("lwcremove.txt", "(Note to admins: The above command can be copied and pasted ingame. Includes directional TP")
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", "Is this protection in a PvP area?")
    
    logto("lwcremove.txt", "No")
    logto("lwcremove.txt", "")
    logto("lwcremove.txt", "Why are you requesting this to be removed?")
    logto("lwcremove.txt", "Protection is in the way and I am cleaning up")
    logto("lwcremove.txt","--------------------END AUTO-GENERATED TEXT---------------")
    logto("lwcremove.txt","")
    logto("lwcremove.txt","")
    logto("lwcremove.txt","")
    log(&aRemoval request generated! Go to your minecraft folder, .minecraft/liteconfig/commmon/macromod/logs/lwcremove.txt)
    log(&aYou will need to scroll to the bottom to copy the text)
    log(&aClick this link to file a report:)
    log("https://www.ecocitycraft.com/forum/forums/staff-requests.44/create-thread")
    I get this error every few seconds when I try to chat or anything-
     
  8. ScarabCoder

    ScarabCoder Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 12, 2015
    Messages:
    302
    Trophy Points:
    15,790
    Gender:
    Male
    Ratings:
    +233
    I may have forgotten a bit of code. At the end of the chat filter, add the code "endif()" twice, one after the other on separate lines.
     
  9. Whammerist5

    Whammerist5 ø☗ø Guardian ø☗ø
    Builder ⛰️ Ex-Mayor ⚒️⚒️ Premium Upgrade

    Joined:
    Aug 15, 2015
    Messages:
    662
    Trophy Points:
    29,390
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +839
    Hey, I paid 15k of the LWC request Macro, and then you made it free. Are you willing to give me refund?
     
  10. ScarabCoder

    ScarabCoder Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 12, 2015
    Messages:
    302
    Trophy Points:
    15,790
    Gender:
    Male
    Ratings:
    +233
    I would if I had the money, I'm sorry :( If I ever get the 15k I'll be sure to give you a refund.
     
  11. CodeTrooper

    CodeTrooper Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Dec 10, 2015
    Messages:
    235
    Trophy Points:
    12,070
    Gender:
    Male
    Ratings:
    +376
  12. ScarabCoder

    ScarabCoder Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 12, 2015
    Messages:
    302
    Trophy Points:
    15,790
    Gender:
    Male
    Ratings:
    +233
    XML files? I don't know.
     
  13. CodeTrooper

    CodeTrooper Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Dec 10, 2015
    Messages:
    235
    Trophy Points:
    12,070
    Gender:
    Male
    Ratings:
    +376
    I know one thing about them: They are some type of HTML. And if you open them up in NP++ It has a whole bunch of global vars and HTML-like stuff. But what the code changes is what I can't figure out.
     
  14. 314

    314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    101,160
    EcoDollars:
    $5,880,000
    Ratings:
    +4,919
    Not exactly. HTML is HyperText Markup Language, XML is Extensible Markup Language.
    I think it saves the GUI layouts and other mod-related settings, but I would need to check to be sure.
     
  15. ScarabCoder

    ScarabCoder Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 12, 2015
    Messages:
    302
    Trophy Points:
    15,790
    Gender:
    Male
    Ratings:
    +233
    Yeah, it saves the GUI layouts and variable values.
     
  16. CodeTrooper

    CodeTrooper Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Dec 10, 2015
    Messages:
    235
    Trophy Points:
    12,070
    Gender:
    Male
    Ratings:
    +376
    Yeah but I've done HTML before and it's almost exactly like html (when opened in notepad++), except for the weird variable stuff.
     
  17. AndroidNougat

    AndroidNougat Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Feb 4, 2013
    Messages:
    552
    Trophy Points:
    31,240
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +126
    @ScarabCoder I need a macro, will be willing to pay $2500 ECD for it. Basically, I want to be able to press C and display my coordinates on the screen on one line, X: xcord Y: ycord Z: zcord.

    Would you be able to do this? This would be awesome!
     
  18. UnitedStates2

    UnitedStates2 Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Gameplay Architect Premium Upgrade

    Joined:
    Nov 30, 2014
    Messages:
    5,852
    Trophy Points:
    82,660
    Ratings:
    +6,293
    No need to pay money for it - https://www.ecocitycraft.com/forum/threads/simple-coordinate-display-macro.47595/

    Follow the directions up until the last part where it tells you to bind the script to OnJoinGame - Instead, bind it to your C key.
     
    #58 UnitedStates2, Dec 22, 2015
    Last edited: Dec 22, 2015
  19. BuildsByGideon

    BuildsByGideon Architecture
    Builder ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ I ⭐ Premium Upgrade

    Joined:
    Sep 15, 2015
    Messages:
    1,851
    Trophy Points:
    56,010
    Gender:
    Male
    Ratings:
    +4,371
    You don't need a macro, just get the minimap mod it shows up your cords.
    But I can ask my brother about it
     
  20. AndroidNougat

    AndroidNougat Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Feb 4, 2013
    Messages:
    552
    Trophy Points:
    31,240
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +126