Inactive [FUN/MECH] AnimalCompanion v0.3.2 - Make man's best friend into a companion, Wolf Plugin [1060]

Discussion in 'Inactive/Unsupported Plugins' started by TheTennessee, Aug 19, 2011.

  1. Offline

    TheTennessee

    AnimalCompanion - Make man's best friend into a companion, Wolf Plugin
    Version: 0.3.2
    Tested with: CB 1060

    Latest JAR:
    MediaFire - <Edit by Moderator: Redacted mediafire url>
    MegaUpload - Version 0.3.2 JAR

    Older Versions:
    MegaUpload - Version 0.2.1 JAR
    MegaUpload - Version 0.1 JAR

    My second plugin, AnimalCompanion, is a fully featured wolf plugin to give ultimate control and utility to your tamed wolves. Tired of your wolves dieing and being quite frankly useless? Did you just install AdvancedMobs, tame yourself a HellHound, and had it die on you to a ghast? Well, fear no more. This plugin makes your wolf into an animal companion (ala the rangers/druids of D&D fame). These special wolves toughen up over time, are smarter, and can be controlled much more effectively. Best of all, they can follow you between worlds, so your new HellHound isn't stuck in the nether.

    <font color="rgb(255, 0, 0)">Important: If you find any bugs or adherent behaviors while using this plugin, please give a list of the wolf changing plugins you have besides this one, the startup messages for AnimalCompanion (it will show [AnimalCompanion] in front of it) as well as any errors you get in the console. Your config file would also be helpful if you changed any values. </font><font color="rgb(255, 0, 0)">Also be sure to include your CB version. I will not be responsible for versions I don't support.</font>

    <font color="rgb(0, 0, 255)">NoSuchFieldError: PROJECTILE:</font>

    <font color="rgb(0, 0, 255)">Do not post about this error if you are not using CB 1060. According to other posts I have found, this is what happens when you use CB 1000 with a plugin built using the CB 1060 API. DO NOT DO IT...</font>

    <font color="rgb(0, 0, 255)">And if you still get it in 1060, tell me about ALL of your plugins and if you have Spout or not.</font>

    Features:
    * Wolf cap limit (default 3)
    * Register existing wolves into the system
    * Name your wolves! (no hovering names... yet)
    * Wolves will respawn when they die
    * Damage Resistances

    - * Set up immunities by damage type (defaults are Suffocation, Drowning, Void, Fire, and Lava, but not FireTicks from being caught on fire)
    * Max Fire Ticks can make fire last a shorter period of time on your wolf
    * Fall Damage Reduction can reduce the falling damage a wolf will take
    - Anti-griefer protection
    * Offline protection makes your wolves not take damage when you aren't there
    * PvP protection makes your wolves not take damage in no PvP areas as well as from it's owner
    - Better behaved wolves!
    * You can now finally make your wolf STOP attacking your friend by telling it to sit
    * Wolves won't ever attack you, or other wolves you own
    * Wolves can feed themselves with any pork they find on the ground (off by default, but great for hunter mode)
    - Improved AI modes!
    * Default - just the way it normally works
    * Passive - won't attack anything, period
    * Defensive - anything that targets you will get it
    * Aggressive - if there are hostile mobs around, they are going down
    * Hunter - for hunting dogs, makes them attack animals
    - Multiworld support - Your wolves will follow you through nether gates and when you teleport between worlds
    * Locate and teleport your wolves when they get too far away
    - Pump up your pooch!
    * A level system allows your wolf to get better as it kills more mobs
    * Increased Bite Damage
    * Damage Resistance
    * Evasion percentage
    * Customizable EXP tables
    - AdvancedMobs support (version 0.3.5 and up)
    * Make HellHounds, Winter Wolves, and the secret wolves into your companion
    - Use a leash item (default string) to control your wolf
    * Left click with the leash from any distance to send your wolf after a target
    * Right click on your wolf to access its inventory without a command
    - Store inventory in a wolf when you equip him with a pack
    * Persistent between respawns and server restarts
    * Just right click on your wolf with a chest to make him into a pack wolf
    - Permissions Support!

    Commands:


    Show Spoiler
    /animalcompanion - prefix to ALL commands
    /ac - shortened version also works
    -------------------------------------------------
    /ac setname or /ac rename - renames your wolf to a different name
    Usage: /ac setname [current name] [new name]
    Example: /ac setname George Rex
    Permissions Node: animalcompanion.ownwolves

    /ac teleport or /ac tp - Teleports your wolf to you
    Usage: /ac tp [name]
    Example: /ac tp George
    Permissions Node: animalcompanion.teleport

    /ac location or /ac loc - tells you the location of your wolf to help you find him
    Usage: /ac loc [name]
    Example: /ac loc George
    Permissions Node: animalcompanion.locate

    /ac setai or /ac ai - sets the AI to the AI type you specify
    Alternative: Left clicking on your wolf with a bone in hand will switch between modes
    Usage: /ac ai [name] [ai type]
    Example: /ac ai George Aggressive
    Permissions Node: animalcompanion.setai

    /ac inventory or /ac inv - If your wolf is a packwolf, causes you to open its inventory
    Alternative: Right click your wolf with the leash item
    Usage: /ac inv [name]
    Example: /ac inv George
    Permissions Node: animalcompanion.pack

    /ac info - Gets information about the wolf, including his current AI type, his health, and his wolf type
    Alternative: Right clicking on your wolf with a bone will give you this info too
    Usage: /ac info [name]
    Example: /ac info George
    Permissions Node: animalcompanion.info

    /ac list - Gets the names of all of your loaded animal companions
    Usage: /ac list
    Example: /ac list (that's really it)

    /ac dismount - dismount a wolf that you are riding
    Alternative: Right click your wolf with a leash item
    Usage: /ac dismount [name]
    Example: /ac dismount George
    Permissions Node: None to dismount, but animalcompanion.ride to mount in the first place

    /ac makenormal - Will make the selected companion a normal wolf (sans rideable or pack status, not AdvancedMobs variants)
    Usage: /ac makenormal [name]
    Example: /ac makenormal George

    /ac release - Releases your wolf back into the wild (kills it since special wolves would then attack you)
    Usage: /ac release [name]
    Example: /ac release George (No, not George!)



    Permissions:


    Show Spoiler
    animalcompanion.* - Enable everything
    animalcompanion.ownwolves - The ability to tame wolves at all
    animalcompanion.register - Turn a wolf into an animal companion
    animalcompanion.infinitewolves - The wolf cap does not apply to this person
    animalcompanion.respawn - These wolves will respawn when they die
    animalcompanion.setai - The ability to change the wolf's ai to something other than default
    animalcompanion.locate - Find out where your wolf is
    animalcompanion.teleport - Teleport your wolf to you
    animalcompanion.info - Get the advanced info about your wolf
    animalcompanion.level - These wolves can gain exp and level up
    animalcompanion.multiworld - Your wolves will follow you between worlds
    animalcompanion.leash - Use the leash item to make your wolf target an enemy or access inventory
    animalcompanion.pack - Make your wolf into a pack wolf to carry items
    animalcompanion.ride - Make your wolf into a rideable wolf with a saddle



    Change Log:

    Version 0.3.2
    * Fixed a registration bug
    * Added the list command for getting the names of your animal companions


    Version 0.3.1
    * Removed some instances of "NullPointerException"
    * Fixed level benefits calculation
    * Made a check for wolf cap limits during animal companion registration
    * Fixed wolves attacking other wolves in some AI modes
    * Wolves now re-link to the animalcompanion plugin every time you right click them or when they die. This should help prevent the need to restart the server if the plugin loses track of the wolf somehow.

    Version 0.3
    * Fixed a bug where the owner could damage his wolf if he changed worlds and came back
    * Fixed a few AI targeting bugs
    * Added the leash item

    - * Left click with it to make your wolves target a specific enemy, aim near legs for best results
    * Right click with it to access the features of a pack wolf/rideable wolf
    - Added the ability to make pack wolves with a chest
    - Added the ability to make rideable wolves with a saddle
    * This is still extremely glitchy, and is disabled by default
    * Right click on your wolf with a saddle to make him rideable, then right click with the leash to get on him
    * Left click with the leash to point your wolf in the direction you want to go, he will pathfind there
    * I won't be supporting any bugs that you come across with riding a wolf. I already know it needs more work
    - Added "AutoSaveDisplay" option to the config file, to turn on and off the auto save messages
    - Added "RenameOnTame" option to the config to help prevent conflicts with other chat plugins
    - Added a distance check to the TP command, so wolves will teleport even if sitting if you are in range
    - Fixed quite a few NullPointerException errors. I hate them so very much


    Show Spoiler
    Version 0.2.1
    * Finally fixed the cast arrow to living entity error, it still exists in bukkit, but I am catching and blocking the instances now
    * Solved a bug where if the player teleported between worlds, he could damage his wolves
    * Redid the order that the damage listener catches instances of damage that should be blocked, should be more efficient
    * added the "contact" damage case, and immunity. This is called when something touches a cactus

    Version 0.2
    * Fixed a bug where aggressive and hunter AI targetting would cause wolves to chase a target but never attack
    * Fixed a bug where PvP protection wasn't canceling damage properly
    * Fixed an error to the console when trying to run a command with the wrong number of arguements
    * Added some messages when entering a command incorrectly
    * Added the hungry wolves variable to config. Off by default, but when on, wolves will eat nearby pork on the ground to gain health
    * Left clicking with a bone will now change your companion's AI type
    * Permissions support!

    Version 0.1
    * Initial Release



    Known Issues:
    * Error:

    org.bukkit.craftbukkit.entity.CraftArrow cannot be cast to org.bukkit.craftbukkit.entity.CraftLivingEntity
    * Sometimes wolves won't respawn - I think this is fixed
    * Sometimes when wolves respawn, they won't respond to you - I think this is fixed
    * Aggressive and Hunter modes can sometimes send wolves on a wild goose chase for mobs behind a wall
    * Sitting wolves can't be teleported, disabled it in the command
    * If you set up loot for angry wolves with another plugin like OtherBlocks, tamed wolves will drop loot when respawning/teleporting sometimes
    * As of 1060, increased damage from the wolf's level will not get applied, because 1060 is not allowing damage changes to take effect


    Planned Features:
    * Permissions support (on or before 0.2)

    - * Native bukkit permissions support?
    - Health regen - a specific rate at which they will regain health, will likely be very very slow
    - Respawn health amount - the amount of health they respawn with, not just respawn at full
    - Leash/Control item - probably string by default, will direct your wolves who/what to attack
    * Right clicking with leash will cause wolves to stop targeting their target and come back to you
    - Change AI type by hitting your wolf with a bone
    - Add a line of sight check somehow to keep wolves from attacking through walls in certain AI modes
    - Spout support (for floating names/different skins/better inventory management/riding control)
    - PvP AI mode for PvP arenas, like Aggressive, but against players only
    - Integrate with other plugins to find PvP areas as well as certain plugins to find out if one player is on the same "team" as another player for PvP modes

    Possible Features:
    * Permissions based wolf caps/level caps
    * Pack wolves to carry your items
    * Ride-able wolves, that you can direct with the leash item (Still glitchy, still being worked on)

    Look in my signature for the link to AdvancedMobs
     
    Last edited by a moderator: Nov 12, 2016
    Omni_i and Kain888 like this.
  2. Offline

    Cosmic Break

    04:15:42 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to AnimalCompan
    ion
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at com.bukkit.tennessee.AnimalCompanion.AnimalCompanionPlayerListener.on
    PlayerCommandPreprocess(AnimalCompanionPlayerListener.java:357)
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:272)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:730)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :435)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  3. Offline

    TheTennessee

    Ah... well crapola... I know what that is. It happens when you don't supply a second name for the command. It is trying to parse the next part and not getting anything. I'll have a fix for it by next release.

    Would have helped if you told me what you'd typed to get that though.
     
  4. Offline

    TheTennessee

    Everything should be fixed now. I did alot of work getting all the bugs out, including the one you posted. Everything should be working fine now.
     
  5. Offline

    thehutch

    Might I suggest switching to dropbox instead of megaupload?
     
  6. Offline

    TheTennessee

    I've got mediafire if you prefer that. I can't upload onto every website in existence. Is there a specific reason why you can't use either of the two methods provided?
     
  7. Offline

    midget_3111

    They aren't very wget friendly for people who're running servers on other machines and only have command line access.
    This looks good, I will be trying it out at some point!
     
  8. Offline

    efstajas

  9. Offline

    martynball

    Hey, I have added this to my server. I have not been in-game yet to test it, but it seems to be causing errors, which is im guessing the wolves being attacked, although the server is empty.

    Code:
    21:02:05 [SEVERE] Could not pass event ENTITY_DAMAGE to AnimalCompanion
    java.lang.NoSuchFieldError: PROJECTILE
            at com.bukkit.tennessee.AnimalCompanion.AnimalCompanionEntityListener.on
    EntityDamage(AnimalCompanionEntityListener.java:353)
            at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.j
    ava:649)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.BlockCactus.a(BlockCactus.java:90)
            at net.minecraft.server.Entity.move(Entity.java:591)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:582)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:704)
            at net.minecraft.server.EntityChicken.v(SourceFile:25)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
            at net.minecraft.server.World.cleanUp(World.java:1104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:02:05 [SEVERE] Could not pass event ENTITY_DAMAGE to AnimalCompanion
    java.lang.NoSuchFieldError: PROJECTILE
            at com.bukkit.tennessee.AnimalCompanion.AnimalCompanionEntityListener.on
    EntityDamage(AnimalCompanionEntityListener.java:353)
            at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.j
    ava:649)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.BlockCactus.a(BlockCactus.java:90)
            at net.minecraft.server.Entity.move(Entity.java:591)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:582)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:704)
            at net.minecraft.server.EntityChicken.v(SourceFile:25)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
            at net.minecraft.server.World.cleanUp(World.java:1104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:02:05 [SEVERE] Could not pass event ENTITY_DAMAGE to AnimalCompanion
    java.lang.NoSuchFieldError: PROJECTILE
            at com.bukkit.tennessee.AnimalCompanion.AnimalCompanionEntityListener.on
    EntityDamage(AnimalCompanionEntityListener.java:353)
            at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.j
    ava:649)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.BlockCactus.a(BlockCactus.java:90)
            at net.minecraft.server.Entity.move(Entity.java:591)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:582)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:704)
            at net.minecraft.server.EntityChicken.v(SourceFile:25)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
            at net.minecraft.server.World.cleanUp(World.java:1104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:06:03 [INFO] [AnimalCompanion0.2] Auto Saved
    >
    
    I don't really like having long errors like this cluttering my window :p
     
  10. Offline

    TheTennessee

    Well, all that I can tell is that it happens when a chicken gets injured by a cactus... And it is saying that PROJECTILE is not a valid DamageCause. I can't seem to replicate this error myself though, but you said absolutely no one was in the server at the time?

    Are you running other plugins that keep chunks loaded when players are offline? A list of plugins that could be interfering would be very helpful since I can't get this error on my end. It might give me a clue as to why it is happening.

    Also, are you running citizens?

    Edit: Okay, I found an instance of this in AdvancedMobs in an older version of it. So I'm making some code changes that will hopefully work for you. Like I said, I can't get it to happen now though, in either plugin, so I'll have to hope this works. I'll get an update out as soon as possible.

    Final Edit: I made a check for contact. I was missing it and didn't even realize it. So... since that controls cactus damage, hopefully that will catch your error and fix it. Give it a try and let me know.
     
  11. Offline

    miago

     
  12. Offline

    laserlemons

    I noticed when i tried to tp my dead winter wolf while he was still on cooldown the smoke particals popped up, but no dog. Just thought i should let you know.
    edit: Now my dogs gone :( but the smoke is still there just sitting there.
    edit numba too: Well after a while of starting and stopping my server he is now back and behaving just fine. Still might wanna check that out though.
     
  13. Offline

    TheTennessee

    Ah yeah, that's an advancedmobs bug. The smoke is. I'm working on that one over there, but what concerns me more is the whole wolf not coming back. What version are you using, and when did this happen? Did you get any errors in the console, namely the "ClassCastException" error? That's what was causing it for me before, but 0.2.1 should have fixed that.

    @miago You are GOING to have to give me more information. I have told a previous poster that I cannot replicate that. I have yet to get that error, and the line it refers to is this:
    Code:
    if(e.getCause().equals(DamageCause.ENTITY_ATTACK) || e.getCause().equals(DamageCause.PROJECTILE))
    That is perfectly valid as far as ALL documentation goes in Bukkit, and as far as I know, PROJECTILE hasn't been deprecated, nor does it give any warnings.

    What plugins are you using, version of Bukkit? Are you up to date to 1060? Do you use spout? I need to know these things in order to find out what is happening.

    NoSuchFieldError: PROJECTILE - According to what I found elsewhere, this happens when you use this plugin in an older CB than 1060. If you are not using 1060, I am NOT responsible for backwards compatibility.
     
  14. Offline

    miago

    OK the problem was the bukkit version ^^" (i was on 1000)
    Sorry for that ...

    Amazing plugin
     
  15. Offline

    TheTennessee

    No problem, it seems to be a very prevalent thing on the forums, so you aren't the only one. Glad to hear it is working now though, and glad you enjoy it too.
     
  16. Offline

    Josh_Gadd

    NoSuchFieldError: PROJECTILE

    Still get it in 1060 craftbukkit.. :/

    Only have Essentials and EssentialsSpawn plugins.
     
  17. Offline

    BattleGroundxx

  18. Offline

    laserlemons

    This happened last night (8/21/11) and I have o.3 of advancedmobs, and oops I have 0.1 of animalcompaion, and and there were no errors. I guess I clicked the wrong download.
     
  19. Offline

    Marcos Cosmos

    @TheTennessee by the way, if I try to run mywolf and AnimalCompanion, they would clash right? :(
     
  20. any chance to allow auto saved to not spam the command prom?

    16:12:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    16:22:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    16:32:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    16:42:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    16:52:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    17:02:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    17:12:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    17:22:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    17:32:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    17:42:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    17:52:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    18:02:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    18:12:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    18:22:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    18:32:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    18:42:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    18:52:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    19:02:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    19:12:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    19:22:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    19:32:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    19:42:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    19:52:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    20:02:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    20:12:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    20:22:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    20:32:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    20:42:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    20:52:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
    21:02:36 [INFO] [AnimalCompanion0.2.1] Auto Saved
     
  21. Offline

    TheTennessee

    I'll definitely give the title some thought. It is just hard coming up with something that summarizes the plugin.

    @laserlemons Make sure you have the latest of both. 0.3.5 is the minimum version you need for AdvancedMobs support. And 02.1 has most of the recent fixes. I am still working on the smoke problem though. It happens when a winterwolf is unloaded, but every method I've tried to use to catch the unload of a mob has ended with them still getting past the plugin.

    @Marcos Cosmos probably, since we both handle respawning. I guarantee you, respawning will be where any wolf plugin conflicts. Pretty much, since once any plugin respawns them, they are new wolves, all other plugins lose them.

    @Jade Knightblazer I can add a setting for it into the config file. It looks like your server was pretty empty though since each one of those is set to 10 minutes apart. :p

    @Josh_Gadd okay, last but definitely not least. I just want to cover a few bases here. Those are the only two you run, and what is the version of my plugin you are running? I've updated it alot since release. Also, could you post your config file and the error itself? This I can track down!
     
  22. Offline

    BattleGroundxx

    Yes it is hard to summarize this big of a plugin...
     
  23. Offline

    Marcos Cosmos

    ... you and @Keyle need to develop compatibility! :mad:
     
  24. Offline

    Telaso

    I found a bug with ChatManager (https://github.com/t3hk0d3/PermissionsEx/wiki/Chat-Manager) thats with PermissionsEx (http://forums.bukkit.org/threads/admn-dev-permissionsex-pex-v1-13-tomorrow-is-today-1000.18140/). When I tame a wolf, and it wants me to name it via typing into chat, no matter what it says you cant have spaces like that in its name. Locks out chat for everyone until I have deleted it.

    Turned off Chatmanager and it works just fine though. Just thought id let you know.

    The console said nothing.
     
  25. Offline

    TheTennessee

    Maybe the websites are down, but neither of those links pulled up any results. Exactly what is preventing you from entering the name? Also, I could allow you to enter their name via the /ac setname Unnamed <name> command and that get rid of the queue, or have it time out... I'll look into it.
     
  26. 0.2.1 mediafire download:

    Code:
    10:39:57 [SEVERE] Could not load 'plugins/AnimalCompanion.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.<init>(ZipFile.java:214)
            at java.util.zip.ZipFile.<init>(ZipFile.java:144)
            at java.util.jar.JarFile.<init>(JarFile.java:152)
            at java.util.jar.JarFile.<init>(JarFile.java:116)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    From previous experiences, this is related to building against the wrong Bukkit or CB, not sure how it works exactly. MobArena used to have the same error.

    ====

    Updated: Megaupload version works.
     
  27. Offline

    TheTennessee

    Well, I am using the right one, and the file on those two sites is exactly alike. Considering the error, it sounds like the file wasn't recognized as a valid zip file (or archive since it's not a true zip, only zip-like). Which means that data was missing, which means you must have had a bad download. I do assure you those files are identical.
     
  28. Not used any feature or command yet, but already get errors :p

    Code:
    11:03:43 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to AnimalCompanion
    java.lang.NullPointerException
            at com.bukkit.tennessee.AnimalCompanion.AnimalCompanionPlayerListener.onPlayerInteractEntity(AnimalCompanionPlayerListener.java:86)
            at org.bukkit.plugin.java.JavaPluginLoader$12.execute(JavaPluginLoader.java:321)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:870)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:453)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Well not according to my filesystem:

    -rw-r--r-- 1 user user 33364 Aug 26 11:04 AnimalCompanion.jar
    -rw-r--r-- 1 user user 56992 Aug 26 11:04 AnimalCompanion.jar.1

    The 2nd file is from mediafire.

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

    TheTennessee

    I'm not sure what I am looking at here, are you talking about its file name? I am going to assume that's what happens when you save a file to a folder where the same file already exists, but mine always look like "AnimalCompanion(1).jar". I'm not sure what operating system saves them like that.


    Sadly, line 86 has changed in the one I am working with. I am about to upload the latest version after a few rounds of testing, so I'd suggest checking it then.

    Also, pretty sure you would have had to have done something to cause that error since by the very nature it is only called on PLAYER interact... So, whether you were clicking on your wolf, or with a bone or what... you couldn't have gotten to line 86 without meeting the criteria of interacting with a tamed wolf.
     
  30. Another issue, could you please fully match the /ac command?

    I have another plugin that uses /acc, but now /acc also triggers this plugin :(

    No, look at the numbers, those are filesizes. So either they are different files, or mediafire messes with them. Why not use dropbox? Free, no spam ads, no broken download URLS, dropbox is market leader for a reason :p

    I meant I had not done anything with the plugin yet, perhaps someone indeed was interacting with a tamed wolf, but he was surely noy using a specific AC feature, was just saying that if it was helpful somehow.

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

Share This Page