Inactive [MECH] TeslaCoil v2.6.2 - Keep mobs at bay - the futuristic way! [CB 1.4.5-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by darklust, May 5, 2011.

  1. Offline

    darklust

    TeslaCoil - Tesla Coil mob control:
    Version: v2.6.2

    Usage: the player must construct a tower of no less than 3 iron(configurable) blocks, and connect this directly to a redstone current. While the current is active, all mobs within a radius proportionate to the height of the coil (3 blocks high = 3 block radius), above or below ground, will be fried. The towers ping every second, so mobs chasing you will quickly regret it

    Moved to BukkitDev: http://dev.bukkit.org/server-mods/teslacoil
     
  2. Offline

    DefineEvil

    Hi my friend and I run a server and we installed your plugin but 'it's not working
    we are using the default config file
    stacked 6 blocks of iron
    1st block was a lever
    2nd was a sign saying
    [players]
    DefineEvil
    and it did not zap me we aren't using any permissions systems and are running on bukkit 1561
     
  3. Offline

    darklust

    When you flip the lever, does a bolt come down the tower or does it tell you you cannot activate the coil?
     
  4. A couple suggestions:
    1. Configurable damage settings ~ Configure how much damage it does.
    2. Damage configurable by distance ~ The further you are from the pylon, the (configurable) more/less damage it does.
    3. Variants on type of block ~ Configurable block types.
    3a. Blast radius/damage/fuel cost increase different for each type of block​
    3b. Fuel costs are modified by composition of tower. (Configurable)​
    4. Chest of 'fuel' ~ A chest is required at the base of the pylon, filled with either glowstone dust or redstone dust.
    4a. Every blast from the tesla coil costs (configurable) fuel of (configurable) type.​
    4b. Option between flat cost, or variant cost.​

    To give a clearer example of what I'm thinking (as the idea developed while I was writing suggestions)
    • Lightning striking mobs on sand turns the sand into glass
    • Configuration for radius, vertical radius, sand-to-glass, toggleable targets, and ping time
    Admin can config the Blocks

    Fuel Types
    #(Fuel#) ID
    #Fuel1 263
    #Fuel2 289
    #Fuel3 331
    #Fuel4 348

    Block Types
    #(Block Type by ID) [Radius Increase, Damage Increase, Blast Increase, Fuel1 Cost, Fuel2 Cost, Fuel3 Cost, Fuel4 Cost]
    ~ If you include ^ before a number in the fuel, it's either/or of the listed fuels, if you include a $, it's all those marked with $.

    Block Types
    #22 [2,0,0,$1,$1,0,0]
    * Lapis Lazuli, increases range by 2, but doesn't increase damage or blast radius. It adds 1 coal and 1 gunpowder to the cost per blast.​
    #41 [1,2,0,$1,$1,^1,0]
    * Gold Blocks, increases range by 1, damage by 2, no increase to blast radius. It adds 1 Coal and 1 gunpowder to cost per blast, *OR* 1 redstone.​
    #42 [1,1,0,^1,^1,0,0]
    * Iron Blocks, increase range by 1, damage by 1, but no increase in blast radius. It adds a cost of 1 coal *or* 1 gunpowder to the cost per blast.​
    #73 [0,2,0,0,$1,$1,^1]
    * Redstone Ore, does not increase range, adds 2 to damage, no increase in blast radius, and adds a cost of 1 gunpowder and 1 redstone, *OR* 1 glowstone dust to the cost per blast.​

    So a tower composed of 2 Iron Blocks and 1 Gold Block would:
    Have a range of 3, a damage of 4, no blast radius, and cost (per blast):
    1 coal and 1 gunpowder or 1 redstone (For the Gold Block)​
    2 coal and 2 gunpowder (For the Iron Blocks)​

    Final Thoughts:
    An exchange rate between fuels could be configurable as well. Maybe 1 glowstone will count for 2 of any lower tier fuel, etc.

    Also, another idea: A design for a tesla coil that is something more than a mere tower.

    A base of Obsidian:

    Level 1 ~
    OOO
    OGO
    OOO
    Where O = Obsidian and G = Gold Block

    And you build the tower on top of this.
    The top of the tower is signified by:
    BBB
    BIB
    BBB
    Where B = Iron Bars and I = Iron Block

    Everything between the bottom platform and the top platform is your 'coil'.
    The Chest for fuel would need to be connected to the bottom center Gold block by redstone.
    Placement of the lever can remain the same, or be done remotely by placing the chest in the below picture on top of a block of obsidian, and putting a lever on the obsidian. Additionally, the sign that configures the coil could be placed there.

    Example picture to follow:

    [​IMG]
     
  5. Offline

    DefineEvil

    I believe the problem was that build 1561 I have updated to 1566 and will be updating to 1.0.1-R1 was not spawning mobs naturally could this affect it and nothing happens when i flick the lever and i'm an op
     
  6. Offline

    HawkDart

    I have the same issue as DefineEvil. Nothing happens when the switch is flipped. I do have the teslareload command, but that's it.
     
  7. Offline

    darklust

    Do you have teslacoil.use? And what permissions manager are you using?
     
  8. Offline

    HawkDart

    Essentials Group Manager. Settings hadn't saved, so no, I didn't have teslacoil.use. Fixed it, works brilliantly. Awesome plugin!
     
  9. Offline

    darklust

    Update as to what I'm adding now, I'm attempting to implement the "Fireball Tower" mode, with little success as fireballs seem to be buggy in the current Bukkit version. Additionally, I am adding an option to have a tower "assemble" itself; having met all the tower requirements, switching it on will visibly construct an iron bar cage around it, with an antenna on top for aesthetic purposes.
     
  10. Offline

    darklust

    Updated, moved the instruction content to BukkitDev.

    I've just updated it, it now includes a fireball mode denoted by a certain configurable block on the top of the tower.
    Just saw this, I will implement this as well.
     
  11. Offline

    darklust

    New update: Version 2.5
    New feature: TeslaCoils will construct an iron cage around them, so as to appear more teslacoil-y, this is configurable.
    Let me know what you think about it :]
     
  12. Offline

    Silvo

    Thank you for updating this. Downloading now.. trying tonight
     
  13. Offline

    darklust

    Go to the bukkitdev page again, I just updated it but it needs to be approved so click the big link in the description please.
    I added the ability to put target signs anywhere on the coil, so you're not limited to just 4, and the signs change color too :D
     
  14. Offline

    kaasinees

    request option to make it a lightning distractor and function as a power source.

    I have a bug.
    The button is inside the tower. When i press the button the lightning/fire never strikes outside of the tower but inside the tower!
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  15. Offline

    Silvo

    You are requesting a complete diffirent plugin. This plugin does not catch thunder, is makes thunder. Its best to stick to requests that resolve around a plugins nature.

    But .. there is already a lightnight distractor/power source tower plugin. Search for "battery" and view the plugins of its creator.
     
  16. Offline

    darklust

    Make sure your radius is correct in your configuration.
     
  17. Offline

    kaasinees

    I tried setting the radius to 10 and it did not work. it always strike inside the tower only. darklust
     
  18. Offline

    darklust

    Is your server accessible from the internet? If so may I connect?

    Yes, rominos2 's Battery and ThunderTower plugins can achieve this effect.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  19. Offline

    AmoebaMan

    Excuse the profanity, but FUCK YEAH

    [​IMG]
     
  20. Offline

    kaasinees

    darklust thanks for the nice plugin and the help :) request a letter to include all hostile monsters :)
     
  21. Offline

    darklust

    Self-made video:
     
  22. Offline

    kaasinees

    Code:
    15:55:52 [INFO] [TeslaCoil] Loading TeslaCoil v2.5.1.
    15:55:52 [INFO] [TeslaCoil] version 2.5.1 by [Darklust] Loaded
    15:55:52 [SEVERE] Error occurred while enabling TeslaCoil v2.5.1 (Is it up to date?): null
    java.lang.NullPointerException
            at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onEnable(TeslaCoil.java:55)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:471)
            at org.bukkit.Bukkit.reload(Bukkit.java:188)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:398)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Code:
    >plugins
    15:57:21 [INFO] Plugins: ChairCraft, MobRider, Cenotaph, Spectate, MobCatcher, SnoGro, MagicSpells, ThunderTower, DragonTravel, OtherDrops, VanishNoPacket, Backup, BKCommonLib, My Worlds, DwarfForge, Snowballz, MobDisguise, Monster Apocalypse, TeslaCoil, NoLagg
     
  23. Offline

    darklust

    Looks like your coils.yml is corrupt.

    Delete the coils.yml file, then restart your coils.
     
  24. Offline

    kaasinees

    Okay, that fixed it.

    this happened when tesla hitted a spider:

    Code:
    22:02:22 [INFO] <kaasinees> look
    >#
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  SIGSEGV (0xb) at pc=0x00007f31752fb05d, pid=4625, tid=139850353059584
    #
    # JRE version: 7.0_147-b147
    # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode linux-amd64 compressed oops)
    # Derivative: IcedTea7 2.0
    # Distribution: Built on Gentoo Base System release 2.0.3 (Mon Nov  7 23:19:51 CET 2011)
    # Problematic frame:
    # J  java.util.regex.Pattern.compile()V
    #
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # An error report file with more information is saved as:
    # /home/minecraft/latest/hs_err_pid4625.log
    #
    # If you would like to submit a bug report, please include
    # instructions on how to reproduce the bug and visit:
    #   http://icedtea.classpath.org/bugzilla
    #
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  25. Offline

    darklust

    That looks like a problem with the OpenJDK environment, I've tested this plugin with Sun Java's variant, so I suggest installing that on your linux system.
     
  26. Offline

    FriedTurkey

    epic plugin works perfectly and ya as i said epicness
     
  27. Offline

    DeadEye1200

    I'm also having trouble with my coil only striking within the coil even though there is a perfectly friable zombie two blocks away while the tower is 10 blocks high. I've read some of the other posts. I've already tried deleting the coils.yml, but there was no change afterwards. So far this is the only problem I've encountered. If I can't get it working, this pluggin will still be cool as a kind of server decoration, but I'd really like to watch it get revenge on those pesky creepers for me.
     
  28. Offline

    darklust

    Make sure you have a target sign on it and you're not using a button.
     
  29. Offline

    FriedTurkey

    i love it and even if pigzombies spawn that just means you dont have to go to the nether :D
     
  30. Offline

    DeadEye1200

    Target sign? What should I put on the sign? Since the coil currently isn't working to kill mobs, I had started using a button so that I can just stand off and watch the lightning, but I will put the switches back if that is what you suggest.
     
  31. Offline

    darklust

    Read the full description of the bukkit plugin, it tells how to format the signs that target mobs/players.
     

Share This Page