PMC - Pi's Macro Collection

Discussion in 'Basic Tutorials' started by 314, Sep 5, 2015.

  1. 314

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

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    The code from the [ CODE ] bracket?
     
    • Informative Informative x 1
    • List
  2. zr2002

    zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
    Nooo I'll get online and pm you xD
     
  3. HelixInsight

    HelixInsight Surgeon
    President ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 1, 2013
    Messages:
    2,384
    Trophy Points:
    69,660
    Gender:
    Male
    Ratings:
    +1,280
    What is your problem? How do I update to latest macro without breaking anything?
    What did you do to cause the problem? I almost broke my macromod on ECC.
    What happened? See above.
    What should have happened?
    ECC macros should have not almost exploded.

    (Mainly the question is, how do I solve the problem?"

    <Pre-made tag to alert @314 of the report>
     
  4. zr2002

    zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
    I might be able to help! :D pm me in game :)
     
  5. eekelmo

    eekelmo Builder
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jul 19, 2012
    Messages:
    3,289
    Trophy Points:
    69,090
    Ratings:
    +7,789
    helo i am from 'PMC' and i would liek op ty

    memes aside, these are really cool, I'll have to download them when my internet is back to normal.
     
  6. 314

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

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    /op eekelmo
    /sudo eekelmo ban eekelmo
    /say "OP request handled using PMC technology."

    :happy:
     
  7. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    I love the idea of a macro switching automatically tool according to what your looking at. But personally, I would not use that in mining, because it might interfere with the equipment of a sword when in combat with a mob. But it can be very useful in a demolition. I will probably modify it and make it toggle-able.
     
  8. zr2002

    zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
    It already is toggle-able :D

    .tool
     
    #28 zr2002, Oct 19, 2015
    Last edited: Oct 19, 2015
  9. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    oh, now I see. I didn't install the whole package, just had a glimpse at that piece of code.
     
  10. HelixInsight

    HelixInsight Surgeon
    President ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 1, 2013
    Messages:
    2,384
    Trophy Points:
    69,660
    Gender:
    Male
    Ratings:
    +1,280
    @314, any idea on how to do this?
     
  11. zr2002

    zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
    just copy and replace whatever file was updated (commands.txt is most of the time updated after every time)

    The updates (Which 314 posts on the thread) say what files were changed, so just copy and replace
     
  12. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,128
    Trophy Points:
    45,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +450
    Would this need a new module, or would it fit an existing one? If yes, which?
    What is your idea?

    My suggestion would be added to the mining module. When I mine, I frequently:
    • Repair my tools
    • Smelt my ores
    • Sell my ores (/sell goldi | /sell ironi | /sell diamond | etc)
    • Sell my junk to keep inventory clean (/sell dirt | /sell sand | /sell diorite | etc)\
    Why do you think it should be added?
    I suggest these commands are bound to the "z, x, c, v" keys (or something similar.. maybe automated) so that mining is as close to automated as it can be (legally). For example, when mining you would simply press z (repair tools), x (sell junk), c (smelt ores), and v (sell ores) in that order to clear your inventory instead of being forced to type a long list of commands.

    Of course these functions would require many donation features, but the mining module is designed for users who own an efficiency 7 pick and I would imagine the majority of the eff7 users have these features. These functions would also take a bit more for users to add, but of course they would be totally optional.

    @314
     
  13. 314

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

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    I am slightly busy at the moment so I am not sure how soon I can include it into the PMC... but for the keybinds, just add:
    Repair all:
    Code:
    /repair all
    (No macro file needed, just the keybind)
    Smelt all:
    Code:
    /smeltall
    (No macro file needed, just the keybind)
    Sell valuables:
    Code:
    $${
    ECHO("/sell coal")
    WAIT(1000ms)
    ECHO("/sell iingot")
    WAIT(1000ms)
    ECHO("/sell gingot")
    WAIT(1000ms)
    ECHO("/sell lapis")
    WAIT(1000ms)
    ECHO("/sell redstone")
    WAIT(1000ms)
    ECHO("/sell diamond")
    }$$
    
    Sell leftovers:
    Code:
    $${
    ECHO("/sell stone")
    WAIT(1000ms)
    ECHO("/sell granite")
    WAIT(1000ms)
    ECHO("/sell diorite")
    WAIT(1000ms)
    ECHO("/sell andesite")
    WAIT(1000ms)
    ECHO("/sell dirt")
    WAIT(1000ms)
    ECHO("/sell gravel")
    }$$
    
    WAIT() added to prevent an automated kick for spamming.


    Including these into an automated loop would conflict with the tool switcher - I, personally, have found that the EXECUTE() command does not help with this problem while others reported it does... ._.
     
  14. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,128
    Trophy Points:
    45,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +450
    Oh, I had already written exactly what you put here. I was just suggesting it because it helped me so much I wanted others to have it as well.
     
  15. 314

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

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    I'll see whether I can find a way to fix EXECUTE(), then I might be able to include a loop command for everybody. ^_^
     
  16. miner1975

    miner1975 є¢σмαѕтєя
    Builder ⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Dec 8, 2012
    Messages:
    1,128
    Trophy Points:
    45,010
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +450
    Thanks!! :)
     
  17. Torzon

    Torzon Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Oct 21, 2015
    Messages:
    152
    Trophy Points:
    11,440
    Gender:
    Male
    Ratings:
    +49
    Would this need a new module, or would it fit an existing one? If yes, which? It would fit within ToolSwitch.
    What is your idea? Add a section for a Sword, where hitid = Zombie, Skele, etc (whatever the proper ids are). Assuming such a thing exists of course. I'm newer to MC, so not sure that will work?
    Why do you think it should be added?
    Having to type /, then backspace, then .tool to be able to equip a weapon is slow. I'm sure there's a way to macro it, but why not extend the ToolSwitch module to rock more.

    <Pre-made tag to alert @314 of the suggestion>
     
    #37 Torzon, Nov 12, 2015
    Last edited: Nov 12, 2015
  18. HelixInsight

    HelixInsight Surgeon
    President ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 1, 2013
    Messages:
    2,384
    Trophy Points:
    69,660
    Gender:
    Male
    Ratings:
    +1,280
    The "t" button activates the text box to type in chat without having to press backspace.
     
  19. zr2002

    zr2002 Nub Moderator
    Resident ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 17, 2014
    Messages:
    5,474
    Trophy Points:
    63,660
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +3,161
    @314 if you're busy I can get this update out by tomorrow that @Torzon wanted :) (Anyone know if HITID works with mobs? If not, what other var works?)
     
  20. 314

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

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    That is the problem, I don't think hitids work for entities and I don't know what could be used instead.