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

    darklust

    Interesting idea, of course the fireballs would not be as deadly accurate, considering they move rather sluggishly, but this is completely do-able.
     
  3. Offline

    Moonridden

    When all else fails, revert to spam. :3 Make it shortrange-ish. Perhaps like a flamethrower too? I.E., coming withing a radius sets you on fire, or makes like a fire line right to you? These are just ideas. I have no clue how to code them.
     
  4. Offline

    semibreve42

    Oh man this would be perfect for PvP servers. I've not added the plugin currently because on my server the players would just build giant towers meant to kill everyone they could, but having it as ghast fireballs would add strategy and depth to their placement.

    I hope you are able to add this, thanks -
     
  5. Offline

    darklust

    I like the ideas alot, I believe I'll add it as a configuration option to set all coils to be a certain type, or make them rely on a sign code or something.
     
  6. Offline

    Silvo

    Good author.... I don't know WHAT you did to your plugins last update.. but testing shows your plugin version 2.4.1 causes the CPU to overwork itself and possibly lagging the server.

    And an error accured which was hard to track down because for some unknown reason.. the plugin properTime masked it.

    Maybe a bad reccursion?

    2011-09-25 18:28:58 [SEVERE] Error occurred while enabling TeslaCoil v2.4.1 (Is it up to date?): null
    java.lang.NullPointerException
    at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onEnable(Unknown Source)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
     
  7. Offline

    darklust

    I don't know what you mean.
     
  8. Offline

    Silvo

    Means... Your plugin causes lag. Which is bad 'cause we like it alot.
     
  9. Offline

    darklust

    The error you pasted though, I cannot replicate it. Perhaps try redownloading it?
     
  10. Offline

    mughi

    am i missing something, or do you HAVE to list players to exclude from a tower?

    ex: tower with sign
    [mobs]
    csnk

    does not target players, targets listed mobs

    tower with sign
    [mobs]ex

    targets all mobs
    AND all players

    tower with sign
    [mobs]ex

    and another sign
    [players]
    targets all mobs AND all players


    i would have expected that a tower with a single sign ( [mobs]ex) would only target mobs

    am i doing it wrong?
     
  11. Offline

    darklust

    Specifying ex on any sign will put the tower into exclude mode for both mobs AND players, to avoid this there is enough room on the second line of the [mobs] sign to specify the ones you DO want to hit, so you don't have to make an exclusive sign if you only want to hit mobs.
     
  12. Offline

    Moonridden

    1gb server, 24 people on, 4 spire towers on our mob grinder, no lag. Problem Silvo?
     
    darklust likes this.
  13. Offline

    Silvo

    Yes. Because it definaly lags when I put the plugin in the plugins folder and start up the server. Even the CPU temperature skyrockets and the PC gets louder and that in a scary way. I tried to load the plugin alone and it happens the same.
    I don't know what could cause this. But it started after I updated to 2.4.1. I removed 2.4.1 to see it it was the problem but it didn't stop because ANOTHER plugin caused these anomalies too .. properTime. After I removed both if was fine. To be sure a tried to add each of them saparately and even load them up without other plugins. Same crazy server lagging. THEN I tried to use the 2.4 version of Tesla Coil which worked fine before the 2.4.1 update and the crazy thing.. the server lagged again, cpu goes crazy, can't keep up messages etc.
    Something definaly went wrong.. but if it's only me, then the cause must be very specific. I try a bunch of thing s and if if a find the cause I report it naturaly.

    1: Redownloading and deleting the TeslaCoil folder and breaking off all signs and levers from all towers before adding the plugin helped. Lets see what happens if I edit the config and reenable the towers.

    My config:
    blocktype: 42
    radiusmultiplier: 2
    teslaradius: false
    safelightning: true
    vradius: 2
    setping: 1
    sandtoglass: false

    2: Issue found... lowering to setping propertie in the config causes the extreeme lag. Before the update it was setted to 0.6 and worked.
    I'm glad to be able to use this great plugin again.
     
  14. Offline

    shmafoozius

    Can you add an option for the vertical scan radius to be the towers height? Same as with teslaradius.
     
  15. Offline

    Silvo

    I'd like that too. But I wonder what would happen if the mob would spawn underground.
     
  16. Offline

    darklust

    Glad you were able to resolve the problem. If the vradius expands beneath the ground, it will target mobs underground as well.
    Absolutely, it could be like setting the vradius to 0, similar to the radius, and just base its targeting range to a large cube.
     
  17. Offline

    wiigor

    It would be cool if for every target lightning would strike 2 times. Once at the tower and 0.5 seconds (configurable) later it would strike its target. maybe this can be a Boolean in a config file. This would psychologically link the tower as the power source with the actual striking of the target
     
  18. Offline

    Moonridden

    You could have intense activity in the area, id suggest moving off somewhere else. I will admit our grinder is nearly 3.5k blocks from everyone else, but we purchase hosting, and all specs (shows our temp and sounds levels), have no change in anyway. We experience around 10-20 fps drop when we start the grinder, due to the massive amount of entites being spawned, and destroyed, simultaneously. Aside from that, not much i can suggest to you. Try getting the NoLagg plugin
     
  19. Offline

    atrain99

    Have you released the source code? I was wondering how to summon lightning and target mobs.
     
  20. Offline

    darklust

    No I haven't, but you can call lightning down on a location by using the strikeLightning() method of World. The lightning does not target the mobs per se, just where they're standing.
     
  21. Offline

    atrain99

    Thanks!
     
  22. Offline

    MrCamping

    Hi,
    Does this plugin works with PermissionsBukkit ?
     
  23. Offline

    darklust

    Yes, in fact in the next update I'm moving over to Bukkit perms and dropping support for Permissions and GroupManager, so some sort of bridge will have to be used if you want to continue using those 2 plugins.
     
  24. Offline

    mrgreaper

    group exclusion detection is not working on the official permission plugin (permissionsbukkit)

    also can i request a feature?
    if the radius is say 10 blocks can it send a message as a /tell to any player with in 11 to 15 blocks (radius +5) warning them they are apporaching an active tesla coil and they will be struck (if they are to be struck in the range)

    it would stop players making random death traps :) (maybe an off on setting for servers that want random death traps)

    other then that ...love it :)
     
  25. Offline

    Silvo

    Is the customizable vertical struck range/radius implemented already in the config?
     
  26. Offline

    MrCamping

    Thanks,
    also, it seems that there is no pig shortcut in your mob filter list. is it "p" ?

    Edit: would it be possible to add a config to remove the pumpkin head feature?
     
  27. Offline

    Hitman4000

    Has a few bugs with bukkit version 1185. can somtimes get it to work but most of the time it does not work at all or half ass for example it will maybe kill 1 or 2 mobs then quit. Also if you give the command to reload the config file for the plugin it bukkit gives out a ton of errors and disables the plugin
     
  28. Offline

    darklust

    Pigs will turn into pig zombies, which are a nuisance as they are not killed by lightning, so no.
    And yes, I can make the pumpkin functionality configurable.
    I cannot replicate that, can you paste the error you're receiving and your configuration?
     
  29. Offline

    Hitman4000

    Yeah I will have to get it to error up again .. Is there a limit on how high the tower can be?? Maybe it was to tall I had it at 40 blocks high so it would cover most of the town.
    I see if I can get it to error up again does not always do it.
    Is there a limit on how big the tower can be? I had mine at 40 blocks high so it would cover most of my town.
    I tried to adjust the config file for the tower size if didn't help ..

    Here is more details on the bug I have found. Not sure why it does this

    Bukkit Version 1185

    I added the plugin again and same thing the teslacoil works the odd time and now does not hit any mobs on the sign. I did not put ex at the end just [mobs] then below that cskz. After a bit the teslacoil quit & never worked again. This time I got my error code I was telling you about when trying to reload the config file. I rebooted the server, adjusted the config file nothing teslacoil still having troubles ..

    >teslareload
    12:54:06 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'teslareload' in plugin TeslaCoil v2.4.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
    at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onCommand(Unknown Source)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 7 more
    >

    My teslacoil details are:
    20 block high
    Lever on the bottom block
    sigh above the lever saying
    [mobs]
    cskz
    a sing on another block same height as the mobs sign
    [players]ex
    player name
    player name
    player name

    With the config set like this

    blocktype: 22
    radiusmultiplier: 5
    teslaradius: 0
    safelightning: true
    vradius: 8
    setping: 1
    sandtoglass: true

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

    RPGeesus

    Registered just to ask this question.
    Is there any way to make the lightning a one hit kill? I love this plugin, but at night on my server there is just a constant thundering because each mob takes 4 strikes to kill.
    I don't know if you could build that option into the plugin, but it would be awesome. If its not possible, do you know of any other way to accomplish this?
     
    Moonridden likes this.
  31. Offline

    soul_shot_fire

    my server error is this:
    [SEVERE] Could not pass event BLOCK_PHYSICS to TeslaCoil
    [SEVERE] Could not pass event BLOCK_PHYSICS to TeslaCoil
    [SEVERE] Could not pass event BLOCK_PHYSICS to TeslaCoil
    [SEVERE] Could not pass event BLOCK_PHYSICS to TeslaCoil
    [SEVERE] Could not pass event BLOCK_PHYSICS to TeslaCoil
    [SEVERE] Could not pass event BLOCK_PHYSICS to TeslaCoil
    [SEVERE] Could not pass event BLOCK_PHYSICS to TeslaCoil
     

Share This Page