Inactive [FUN/TP/MECH] AutoCraft v1.1 - The PVP styled Movecraft alternative [1.4.2-R1]

Discussion in 'Inactive/Unsupported Plugins' started by orange451, Jul 31, 2011.

  1. Offline

    orange451

    AutoCraft - the Movecraft alternative!
    Version: v1.4
    This plugin allows people to create PVP airships designed like those in MoveCraft. What makes this plugin better? ships make their calculations faster, ships NEVER rip apart, ships have TNT cannons and bomb droppers (for pvp experience).
    NOW ON BUKKITDEV
    Features:
    • TNT cannons made out of dispensers
    • ships that NEVER rip apart during flight
    • no plummeting to your death in your ship
    • faster ship calculations (less laggy)
    • no blacklisting random players with illegitimate reasons
    Download the plugin here

    Changelog:
    Version 1.4
    • recompiled with the new bukkit (I noticed some problems w/ ships flying, fixed now).
    Show Spoiler

    Version 1.3
    • napalm (by default) now requires 1 slime, 1 lava bucket, and 1 diamond block to fire
    • napalm can now penetrate water and 1 single obsidian (similiar to torpedoes)
    • made less calculations being done for torpedoes/napalm leading to less stress on the server.
    Version 1.1
    • added napalm
      • /ac napalm
      • /ac n
      • config variables:
        • dropnapalm=true/false
        • cooldowntimeNAPALM=x
    Version 1.0
    • added new commands to the ships' data files (cooldowns)
        • cooldowntime=x
        • cooldowntimeDROP=x
        • cooldowntimeTORPEDO=x
    (x being any integer)​
    • allowed halfblocks to work
    • added the rotatable minecraft 1.9 blocks
    Version 0.9
    • Fixed an important bug created from the last update, where it moved the pilot of the ship twice for all movement based commands.
    Version 0.8
    • I fixed the server crash with ship turning. It was actually an endless loop being made (oops).
    Version 0.7
    • I pulled aircraft turning, as they crashed the server at times. Turning will be back when I figure out what is crashing (There are no errors)
    Version 0.5
    • I fixed a possible area where memory leaks /could/ occur
    • I put all the torpedoes fired in one single timer, so even less calculations are done
    Version 0.4
    • I added torpedoes
    • I added more configurable files
    • I added a new default ship type
    Version 0.3
    • fixed the glitch where the ships passengers wouldn't be moved with the ship
    Version 0.2
    • fixed /ac d's cool down timer on ships that can't drop bombs
    Version 0.1
    • Releasing my plugin

    Known Bugs:
    • If you fly into a structure of your ships type, your ship can become welded to the structure.
    WORKS WITH PERMISSIONS 2.7.4
    in your permissions group location, add autocraft.[shiptype] to allow them to use a certain ship type. For instance, if the ship is called "transport" and you want EVERYONE to be able to use it, in the default group, add "autocraft.transport".

    How to use
    • Throw the plugin into your plugins folder (and the folder included in the ZIP)
    • use /ac ingame for help
    Commands
    • /ac help to view the help file
    • /ac allowed [ship type] to view what is allowed for a specific ship type
    • /ac dismount to dismount a ship you are piloting
    • /ac napalm to drop napalm from an autocraft ship (if enabled)
    • /ac drop to drop bombs from an autocraft ship (if enabled)
    • /ac fire to fire TNT from a cannon on your ship (if enabled)
    • /ac torpedo to fire a torpedo from a cannon on your ship (if enabled)
    • /ac info to view information about the ship your are piloting
    • /ac list to view all the [ship type]'s the server has available
    • /ac pilot [ship type] to pilot a ship type
    • /ac turn [left/right] to turn your ship
    Screenshots
    [​IMG]

    [​IMG]

    [​IMG]
    Videos



    Credits
    • Sycoprime - for porting the Movecraft plugin to bukkit for which gave me the inspiration to make this plugin. I also referenced your cardinalDirection arraylist to help with rotations.
    • GarretSidzaka - for showing me movecraft, giving me the idea to make my own plugin similar to movecraft, and supplying me with ideas on how to make my plugin act
    • KoryuObihiro - for helping me figure out the getData() method and how to spawn TNT entities into the world.
    Additional Details:
    • This plugin was started on July 28th 2011, at 7:32 PM
    • TNT cannons require AT LEAST 4 TNT in a dispenser.
    • TNT drop cannons require AT LEAST 2 TNT in a dispenser
    • cannon length means the amount of iron blocks you can place behind a diepsnser (the more iron blocks, the farther the TNT will go)
    • this plugin comes stocked with 5 different ship types
    [​IMG]
    It'd be appreciated :)
     
  2. Offline

    dirkson

    Yet another wget-unfriendly url. Can you please fix that?
     
    fafd likes this.
  3. Offline

    Woolcity

    finally an update to movecraft. <3
     
  4. Offline

    orange451

    Only add blocks that can have different characteristics to rot.txt.
    Such as torches, buttons, levers, diodes, pressure plates.

    all other blocks that don't have different characteristics go into the blocks txt folder.
     
  5. Offline

    Ganadewa

    This plugin is brilliant. Much better than movecraft ;)
     
  6. Offline

    Ikarirain

    Are you certain you wouldn't be up for adding, at least, watercraft? I've been looking to run a large oceanic map with some large-scale naval battles, and this plugin fits in all the functionality and efficiency I need, except that it seems limited only to flying. Movecraft doesn't quite cut it because of the large strain that multiple ships puts on the server, and your plugin has more combat functionality anyways, so I'm hoping you'd consider ship types that can be restricted to water, at least.
     
  7. Offline

    GarretSidzaka

    hmm. movecraft had repeated problems of the water bound ships just "sticking" to stuff and never moving again.

    i guess if there are aerial boats it makes water bound boats obsolete. i mean i have had some intense airship battles, but if you were stuck in the water, you would get pwned
     
  8. Offline

    Ikarirain

    From what I saw, it was usually a ship sticking to sandy shoal, which I dont think will be much of a problem with autocraft since it seems only to stick to objects made of similar material.

    The biggest reason I want to restrict my server's craft to water is for purely naval battles, and an oceanic sailing theme. It would give port cities a more important role. as well.

    I understand that moving in water could cause some problems with a plugin, and I've got no experience with plugin programming, so I don't know how difficult it would be. However, if it could be done it would solve my seafaring woes since no other plugin has such a strong possibility of filling that role for me, at least, not on a large scale anyways, lol.
     
    quickclay likes this.
  9. Offline

    GarretSidzaka

    lets just wait and see what orange says. i think he has been busy the last few
     
  10. Offline

    orange451

    I don't know if I'll make waterships, if I have a nice large time chunk I'll consider it...
     
  11. Offline

    Jackzilla88

    I've now gotten AutoCraft to work, but I still have the problem that the files get extra spaces added into them. When that happens, they throw an error when somebody tries to read them or get info, or fly the craft in question. Is there a solution to this?
     
  12. Offline

    orange451

    Don't add spaces to the files.
     
  13. Offline

    Jackzilla88

    I don't add them, they automatically show up.
     
  14. Offline

    K900

    Pistons rotate when flying upwards for some reason. Also, I really hope you release source so I can hack on it :p
     
  15. Offline

    orange451

    well Autocraft doesn't append the text file at all, so there must be something your'e doing wrong.
     
  16. Offline

    Jackzilla88

    It could be Beastnode's control panel: the file access makes them visable via webpage. Perhaps that's doing it?
     
  17. Any chance for a toogle for the auto sticking of blocks?
     
  18. Offline

    Ikarirain

    I've run across an odd, semi-common problem. When flying the ships for extended periods of time, occasionally it will release the ship from control, and upon attempting to repilot, it tells me that I have fewer main-type blocks than what is needed to fly.

    For example, I have transports requiring 200 wool to fly, and sometimes when flying, it suddenly says I have ###/200 wool blocks and I need to add more, even though all wool blocks are there and connected AND the craft had been flying not more than a few seconds beforehand. The only fix I've found was to disassemble the whole ship and rebuild it from scratch, which is sometimes impossible if the ship comes to a halt in a towny-protected zone which cannot be built in.

    In another case, the plugin would recognize a ship in one instance, and then five minutes later say that I need to be standing on a proper block type for the ship, and 'then' after some confusion, it would suddenly work again without anything being done to fix it. Tbh, I want to give more details on these bugs to help with fixing them, but I can't think of anything more to describe them.
     
  19. Offline

    benny9876

    every time i try to fly my pirate ship it says 0/600 logs even though my ship is made out of a mixture of things including logs please help!
     
  20. Offline

    orange451

    I've also noticed this, for some reason, some parts of the minecraft world just can't have my ships in them...
    I'll try to see what's wrong.
     
  21. Offline

    quickclay

    A duplication bug and request:
    -placed beds turn into three beds when you move your ship. (tho the bed block is in global)
    -If signs could maintain their text, that would be fantastic. It would allow locked containers, and all the other sign plugins to possibly work, as well as the basic purpose of labeling things. :)
    Loving this plugin so far and looking forward to seeing it develop!
     
  22. Offline

    Ikarirain

    Indeed, I've found that out the hard way, haha. Its the same chunks every time. My poor ship, I had to burn it yet again, lol. If it helps any, maybe it could have relation to Towny, since all of my known no-fly zones are in towny-protected areas.
     
  23. Offline

    QQCucumber

  24. Offline

    Live or Die

    Hey, i dont understand how to make a ship:p
    do you need Movecraft to define 1?
    Please help:)
     
  25. Offline

    Ikarirain

    Actually, when I consider those problems, the ones with Autocraft actually make sense. When standing on the affected part of the ship, it doesn't register it as being a ship at all, as if the block is not really there.

    @orange451 Also, here is an interesting idea, just an idea of course. How about fleshing out the TNT cannon firing into something like /ac ff/fb/fr/fl to represent Firing Front, Firing Back, Firing Right, and Firing Left, relative to the cardinal direction the player is facing? The movement takes into effect the direction a player faces, so perhaps the firing can as well, giving ship captains the option of keeping all cannons loaded without worry of wasting firepower.

    And another idea, though this one is certainly a little more farfetched, but worth considering. If you've seen the Zepplin mod for single player, you'll notice that ships made out of blocks can be flown as smoothly as a boat on water. With Spout on the rise, bridging the gap between SP and SMP, there may be a solid possibility of advancing Autocraft further with fluid movement of ships. With that in mind, it's worth keeping an eye on Spout to see how far it goes.
     
  26. Offline

    orange451

  27. Offline

    orange451

    It looks as if I need the getBlockAt() method for autocraft, getBlockTypeIdAt() wont work for what I'm trying to do, sorry :/
     
  28. Offline

    Darknebula123

    How do i Make a ship?
     
  29. Offline

    Horatziu

    EX:
    1) Build an airship (many wool block)
    2) Enter on it and type /ac pilot airship -if something is wrong you will know
    3) Control it with rightclick
     
  30. Offline

    Atrix Skull

    how do you set the "vehicle type" as I have built a ship out of wood but no idea how to set it to be controlled, I want it to be a pirate ship.
     
  31. Offline

    Horatziu

    Enter in the Autocrat's config folder and find pirate config main block is log you can change to 5 (woodenplanks)

    P.S.
    Dont change the NAME of the ship it will dont work :)
     

Share This Page