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

    ValBGaming

    First I would like to say, excellent plugin.

    Secondly and on a bit of an unpleasant note... This plugin lags my server horribly...

    By this I mean, my server was spamming me "Can't Keep Up!" messages every 3 seconds, so I deleted all my plugins and restored them 1 by 1, testing and watching CPU Usage every time, all of my 35 plugins didn't raise the CPU Usage above 20% except for TeslaCoil, which raised the CPU Usage to approx. 50 - 70%, causing massive server lag.

    I would really like to continue to use this plugin in the future, but until this issue is resolved, I am unable to use it. :(
     
  3. Offline

    icomeinpieces

    there was a post (i believe) that mentions using pressure plates to turn on the coil so it doesn't have to check every 1 sec just when something wonders to close
     
  4. Offline

    darklust

    Yes I'm trying to resolve that problem still but I have sign-based permissions finished.
     
  5. Offline

    CoZmicShReddeR

    I do not know why but 1.4 with build 798 is killing me not mobs not sure but might be the latest version of essentials for bukkit 798
     
  6. Offline

    GMXeon

    Took the time to optimize this fantastic plugin for Darklust, saving him the effort ;D

    <Edit by Moderator: Redacted mediafire url>

    Changes (For all you developers out there! Take notes!):
    * Moved variable declarations after the tesla object validity check, so if the tesla is not powered or isn't valid, variables are initialized for no reason
    * Modified variables to not be created/garbage collected many times throughout a single ping (Defined them outside the loops)
    * Optimized class child acquisition during queries by caching them as a local variable during a ping
    * Optimized X and Y loops to each be 16x+ more efficient by skipping by 16's since chunks are 16x16, and hence resulting in 16x less entity location checking as well
    * Removed Z depth loop (33% faster than having X, Y, and Z loops), seeing as chunks are 128 (Pretty much bedrock to sky) in height, there is absolutely no need for it
    * Added location validity checks at the final stage where entities are retrieved (Instead of relying on the x, y, and z of the loops)
    * Optimized boolean AND checks to no longer all trigger regardless if the previously checked one was false, wasting CPU time
    * Optimized the mob type check by caching the target entity types read from config as well as changing if's to else if's, resulting in much less needless type checking, also removed the for loop because caching renders it unecessary, also changed the AND boolean checks, and moves "all" to the front as it'll probably be the most common
    * Removed all instanciation of DarkInit and changed all members to static, seeing as all of its variables are static anyways lol
    * Removed a whole lot of unused imports, and fixed one import which shouldn't have worked but somehow did
    * Fixed tesla object radius check, variables declared inside a loop are destroyed upon the loop finishing, so returning the variable from within it outside the loop should not work!

    Send me a personal message if you're having issues, but the base functionality should be exactly the same; I'm testing it in my server now, so far works with far less CPU usage...
     
    Last edited by a moderator: Dec 14, 2016
  7. Offline

    darklust

    Users; please tell me if this removes the lag issue for you, looking at the source it's definitely more logical than the mess I introduced in 1.4 :X And GOAE, with your permission, can I add my modifications to this source for future updates? ALSO thanks alot for the performace update :]
     
    Last edited by a moderator: Dec 14, 2016
  8. Offline

    FatalNickle

    Well, mine kills me :( not good if it kills players. Im trying to set some up to protect player spawn.
     
  9. Offline

    Liger_XT5

    In settings, remove "all" with the names of the monsters with a comma separating each one.

    Anyone having issues with the plugin not killing Giants? I have it listed, but doesn't seem to strike it.
     
  10. Offline

    FatalNickle

    With mine set to all, I just spawned a giant, It hit him about 30 times to kill it. Worked great.
     
  11. Offline

    darklust

    Giant currently isn't a value in the config, but in my upcoming update all mobs can be selected individually.
     
  12. Offline

    belfedia

    All working good if i keep default config...
    but when i change that :

    Code:
    2011-05-22 17:44:27 [INFO] [TeslaCoil] version 1.4 by [Darklust] Loaded; performance overhaul by GOAE
    2011-05-22 17:44:27 [SEVERE] 4 loading TeslaCoil v1.4 (Is it up to date?)
    java.lang.ArrayIndexOutOfBoundsException: 4
        at net.louderthanthunder.darklust.TeslaCoil.DarkInit.writeConfig(DarkInit.java:83)
        at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onEnable(TeslaCoil.java:35)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  13. Offline

    mrgreaper

    please make it so targets can be defined on a sign on the tower
    "all"
    "players"
    "hostile"
    "peaceful"
    "cow,pig,wolf......."

    i use a tower as a trap for players wandering into my complex and going where they shouldnt
    another player wants to use one to kill just cows as he hates the mooing
    another player wants to add some around his farm to stop crops being trampled
    one of the other admins wants to make some safe zones for players

    cant do all that with a config file :(
     
    romaniamiam likes this.
  14. Offline

    Liger_XT5

    So, I've got an interesting problem. Even with my suggestion of pressure plates, I've began getting a ton of can't keep up messages and CPU spikes as high as 100%. I looked around and noticed this.

    Show Spoiler

    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -169
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 70, -189
    CraftWorld{name=world}, 177, 69, -179
    CraftWorld{name=world}, 177, 69, -179

     
  15. Offline

    BeerDone

    Same error, except that I've tried setting targets back to "all", never changed a structure block or sandtoglass my vertical range is 15 and horizontal's on false. Even the index's the same.

    I am running CraftBukkit #803... AAAND unoptimised version works! Guess stable > optimisations...
     
  16. Offline

    L24D

    I appear to have the same problem as @belfedia
    Broken, crashes at boot. using stock config.

    Code:
    2011-05-23 01:10:25 [INFO] [TeslaCoil] version 1.4 by [Darklust] Loaded; performance overhaul by GOAE
    2011-05-23 01:10:25 [SEVERE] Error occurred while enabling TeslaCoil v1.4 (Is it up to date?): 1
    java.lang.ArrayIndexOutOfBoundsException: 1
        at net.louderthanthunder.darklust.TeslaCoil.DarkInit.writeConfig(DarkInit.java:80)
        at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onEnable(TeslaCoil.java:35)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    also, it still gives me this error on b798. just for your info :p

    Anyways, 1.3.5 still works on b803... so it's all good. (yay)
     
  17. Offline

    Grefuntor

  18. Offline

    Deages

    Loving the plugin, forgive me for not reading the other 6 pages but plans for permissions...somehow? :D
     
  19. Offline

    belfedia

    Any chance to repair the optimized tesla darklust ? :)
     
  20. Offline

    GMXeon

    Yikes, haven't encountered that error on my server somhow D:, I'll certainly skim over the code to figure out what's up. And to Darklust, yeah feel free to use the updates to the code, after all, it's your code I updated xD.

    Edit: Ah yes, definitely found the issue, lack of sleep on my part. Will be uploading a new version in a couple minutes. Thank you two for the stack trace, narrowed it down right away...

    Edit 2: Ok, new link: <Edit by Moderator: Redacted mediafire url>
    Updated the link on my previous post as well. Let me know of further issue :D
     
    Last edited by a moderator: Dec 14, 2016
  21. Offline

    shadydeath999

    yes there are plans for permission darklust is busy with a sign based permission system asfar as i heard

    @GMXeon is that a updated version? or what?

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

    Deages

    Thanks :)
     
  23. Offline

    BeerDone

    Thanks, the new version does not attack anyone at all. Not with only monsters selected, at least. I guess it does improve perfomance though!
     
    Last edited by a moderator: Dec 14, 2016
  24. Offline

    GMXeon

    Lol, dammit, not sure what's wrong now Dx

    Edit: Alright found the issue, I have to stop doing shit so late at night...

    Edit 2: Updated yet again: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 14, 2016
  25. I have found a slight problem with this.
    it strikes ALL worlds in the location that the tesla coil is.
     
  26. Offline

    GMXeon

    Yeah, I've noticed that issue too, but looking at the code it seems flawless. A truly peculiar issue, not sure if it's tesla or a bukkit issue.
     
  27. Offline

    dusters16

    Im getting an error every time i change the mosnter type (it strikes me if its set to all)
    could i have some help as to what im doing wrong?

    im using teslacoil 1.4 boosted, minecraft client version 1.5.01
    bukkit version is in this ...

    16:38:54 [INFO] [TeslaCoil] version 1.4 by [Darklust] Loaded; performance overha
    ul by GOAE
    16:38:54 [SEVERE] Error occurred while enabling TeslaCoil v1.4 (Is it up to date
    ?): 1
    java.lang.ArrayIndexOutOfBoundsException: 1
    at net.louderthanthunder.darklust.TeslaCoil.DarkInit.writeConfig(DarkIni
    t.java:80)
    at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onEnable(TeslaCoil
    .java:35)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    16:38:54 [INFO] Done (0.177s)! For help, type "help" or "?"
     
  28. Offline

    datektrader

    is there anyway to disable sound for this? every time something gets killed everyone hears the the thunder. or maybe a way to localize the sound to just the area around the coil.
     
  29. Offline

    GMXeon

    @dusters16
    Download the new link, you're using the old one.

    @datetrader
    I believe sound's client-side only unfortunately, so could either replace the lightning sound with a null file, or find some other way....
     
  30. Offline

    BeerDone

    Are you sure you are using the LATEST 1.4 boosted? I.E. the one right before your post? It should have this fixed.

    And thanks for the optimizing, I had it kill my server with lag because of my 14 block high coil, now it works smooth as butter! Great work there.
     
  31. Only found out cos one of the players lastnight logged in and said.. "WTF is that?? sounds like alot of explosions"
    one of my ops shot over to look.

    turns out a mob got fried in my fort, and somehow the lightning bugged in the other world and just was hitting over and over and over and over ... (you get me lol).
    Only way i was able to stop it was to go around my whole fort and power down the tesla, then repower it.

    maybe its more of a bukkit issue? thankfuly i have firespread turned off, so nothing will burn down due to this. just might scare the bejesus out of my players :)
     

Share This Page