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

    L24D

    hmm, apparently 1.4 has a wild hair... it no longer discriminates between people and mobs... and i've got 5 of them set around the spawn area, and it's going to be killing anyone that logs in now. LOL.
    *rolls back to 1.3.5 once again* :/
     
  3. Offline

    BeerDone

    Read release notes? You can now set what does Tesla Coil attack with targetmonsters, which if set to all (default) will attack everything. If you don't have the targetmonsters line for whatever reason, remove your config to have it reloaded.
     
  4. Offline

    DaddyCool64

    If i typ teslareload to the console, i get this:
    Code:
    2011-05-27 04:40:19 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'teslareload' in plugin TeslaCoil v1.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:271)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    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(TeslaCoil.java:16)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 6 more
    CB 803
     
  5. Offline

    GMXeon

    Huh, idk why a command would send the argument of type org.bukkit.craftbukkit.command.ColouredConsoleSender, did you do the reload in your server console? Because currently the code casts the argument for a player, and therefor only executes when a player does it. if it was a server command, I can try to whip up a fix later.
     
  6. Offline

    BeerDone

    Are you sure you have the latest Boosted version? The first one had these for me, latest version solved them.

    Right, to clear it up, latest version is on page 8, and (apparently) NOT the one listed in the OP.
     
  7. Offline

    dusters16

    cool thanks guys for pointing me to the right post. It works now and it doesnt kill me! One thing though...what does the Ping setting do? what does it do when i set it higher/lower?
     
  8. Offline

    DaddyCool64

    @GMXeon
    So it was a Server Command

    @BeerDone
    It was the Version from OP.
    Ok, i will take the other.
     
  9. Offline

    shadydeath999

    ping determines how much time the tesla wait between 'seeing' and striking the entity that enters its range
    or how much times it waits for checking if there are entity's in its range again
    either one of those 2
     
  10. Offline

    belfedia

    Yes i have similar issue
    I put off some tesla, but if one is powered, all tesla working !
     
  11. Offline

    BeerDone

    ping means for how long does the coil wait until it seeks and strikes the targets in its range. Apparently the boosted version only launches this when there actually IS a target in range, so if that's true, ping also means a delay before the target entering coil's zone gets sapped. I've set mine to 2, which means coil checks and shoots targets in it's range every 2 seconds.

    The one you quoted meant that when tesla coil hit, it hit on every world he has loaded at the same coordinates.

    What you say is that switching on one coil causes all others to work aswell.

    It's quite an interesting issue to look into, but it's not exactly the same as the quoted one.

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

    bevso

    this is awesome haha
     
  13. Offline

    false_chicken

    I have found that if I stop my server, Restart it, Then log in I have to power cycle some of the coils or they wont work. Only seems to be some though. Also sometimes they all just stop working. All together. At that point a power cycle does nothing. It seems I have to restart the server. Any fix? Running 803.
     
  14. Offline

    Kemonomimi

    Added to my server(803) and discovered(in a very painful way) that it will kill me, but not kill zombies. I have not edited the config file, but it has all set for monsters.
     
  15. Offline

    false_chicken

    I am not going to pretend I know anything about the plugin lol but in the config does it say "all" or have a list of monsters?
     
  16. Offline

    G1R Productions

    Hurry and add permissions.
     
  17. Offline

    shadydeath999

    geez calm down i assume darklust is waiting for the craftbukkit 1.6 RB before releasing a new update
     
    false_chicken likes this.
  18. Offline

    Kemonomimi

    Code:
    #
    #Fri May 27 10:13:44 PDT 2011
    targetmonsters=all
    sandtoglass=true
    vradius=2
    setping=1
    blocktype=42
    teslaradius=8
    
     
  19. Offline

    false_chicken

    Ah there is the problem. If set to all it attacks everything. try something like this:

    #
    #Wed May 25 16:25:50 EDT 2011
    targetmonsters=creeper, spider, skeleton, wolf, zombie,
    sandtoglass=false
    vradius=15
    setping=1
    blocktype=42
    teslaradius=false

    Just change the targetmonsters line.
     
  20. Offline

    kingcole436

    Could you add support For Ghasts? So I can go to the nether and keep them all at bay :p\

    And also it would be cool in the target config area if you could put others names in it, so it attacked certain people.
     
  21. Offline

    Kemonomimi

    Will try that. I didn't think it'd include players in the "monsters" as it does.
     
  22. Offline

    kahlilnc

    This would be very hard but you should make this tie in with towny. Like non residence will be shocked.
     
  23. Offline

    L24D

    Hmm, no matter what i set the targetmonsters string to, it still attacks everyone on the server...
    it needs the targetpeople line back. :(
    or i could just revert back to 1.3.5 when it worked properly. But then it will throw the occasional random error and stop working altogether. (b803)
     
  24. Offline

    ineff

    Add a setting to allow for killing players or not.
    And for killing owners.

    Code:
    killsPlayers=false
    killsOwner=false
     
  25. Offline

    Tahnka

    targetmonsters=creeper, spider, skeleton, wolf, zombie

    causes the TeslaCoil to not work at all. It seems that all is the only option that works.
     
  26. Offline

    Roycohen

    so can you make this attack certain groups on permissions by any chance or attack anyone without a certain prefix
     
  27. Offline

    heekyo

    Hey. I found a stupid phenomenon.
    As you know, in the version 1.6 series, when pigs are hit by lightening, pigs are turned in to pigzombies.
    I saw lots of pig zombies are getting around at my server lol
    how can i solve this?
     
  28. Offline

    D2S4L1T2

    Tell the teslacoil config not to kill pigs?
     
  29. Offline

    shadydeath999

    darklust is already busy with a sign based permissions system so there is no need for this most likly
     
  30. Is this 1.6.6 compatible ?
     
  31. Offline

    zaekeon

    in my config i have: targetmonsters=creeper,spider, skeleton,animals,wolf,zombie

    but for whatever reason this thing always kills me...is there a way to make it not kill me....it seems to be hitting me from much further away than it's suppose to as well. I turned the radius to false...it's almost like it's not reading the config for whatever reason.
     

Share This Page