Inactive [FUN/RPG] MyWolf - Take a wolf on a leash

Discussion in 'Inactive/Unsupported Plugins' started by Keyle, May 4, 2011.

Thread Status:
Not open for further replies.
  1. MyWolf
    take a wolf on a leash

    Moved to BukkitDev:
  2. Offline


    Maybe you can make it so that when you right click the wolf with a bone to tell it to attack :)
    I know it is possible right?
  3. To attack what? I don't think that the wolf can read your mind :p.
    Atm the problemwith the right click is that the current RB don't has the methods. With the next one there is no problem to get a right clicked monster in range(not far away).
    So it is NOT possible (for me) atm.
  4. Offline


    Sorry... i meant right click the enemy with a bone so the wolf will attack that. I know other mods do something similiar.
  5. ;) when you know othermethods tell me what you know! I'm open to it.
  6. Offline


    I have some suggestions for this plugin~ :D

    > Make the leash'd wolf never despawn. D= Especially if it has items in it's inventory. (Unless the wolf respawns when you return or something)
    > Right click the wolf with any type of flower to toggle wandering. When a wolf wanders, it will just walk around aimlessly, not following you. It shouldn't walk further than 16 blocks than where it was given the flower.
    > Wolves should start out without many of the bonuses and get them when given an item.
    - Wolf gets an inventory when given a chest.
    - Wolf picks up items automatically when given redstone dust. (+1 block radius for every 8 dust given - stackable up to 4?)
    - Wolf becomes stronger when given a sword. (Wood: +0.5, Stone: +0.5, Gold: +1, Iron: +1, Diamond: +2) - When given a sword and the wolf already has a sword, they swap.
    - Wolf gains more DEFENCE when given armor chestplates. (Leather: 1,Iron: 3, Chainmail: 4, Gold: 2, Diamond: 5)
    > Temporary wolf abilities?
    - Wolf becomes faster for 32 seconds when given sugar. (Sugar rush~ :3)
    - Wolf deals 10HP DAMAGE for 32 seconds when given an iron ingot.
    > Perhaps have limited lives on the wolves, for balance? Starts off with 9 lives and goes down each time he dies. Can be increased up to 20 if fed cake?

    Those are just some of my ideas. :3
  7. The wolf despanws only when you are far away while he is sitting so there is no disadvantage for the owner.
    I think this is more an adventage because noone can kill your wolf when you are not there.

    I made this to have no problems with unloaded chunks:p.

    Uff that is a problem..... Bukkit itself has nothing to realize that. I don't know what happen when I set the pathpoints of the wolf but I think the minecraftserver has his own opinion where the wolf should walk and teleport him back to the player.

    OK limited lives will be added.
    OmegaII likes this.
  8. Offline


    Okay, I decided to use this plugin now, but when I left click one of my tamed wolfs with a string, it just punches him and hurts the wolf. Wtf?
  9. First please download v0.3
    then post your permissions config and your MyWolf config
  10. Offline


    I will test it right away.
  11. Offline


    Oh, version 0.3 fixed the error. :D

    But why did my wolf's HP reset itself to 6 when I tamed him? Isn't his usual max 20? (Which is odd, seeing as the MyWolf HP max is 20 and the default HP max is 20 - which means you shouldn't be able to feed him cookies
  12. Using 0.3, default config, I am admin thus all permissions. Left-clicking with string kills the Wolf :/
  13. Yes the usual max of a "normal" wolf is 20, but....
    When you tarm a fresh wolf (no matter if you feed him before so the HP > 6) it will return to the standart HP of 6.
    The maxHP for this wolf is 6 too at this moment. Now you will be able to feed your wolf with the item set in the config. for every feeding your wolf get 1 maxHP more up to the maximum set in the config.
    I hope I understood your question right.

    I made a fresh serversetup and testet it..... it seems that the tarming works for me....
    Do you have tarmed the wolf with bones (like tarm a wolf the usual way) before you left-click the wolf?
    Do you have plugins who uses the string on entities too??
  14. Offline


    What did 0.3.1 change from 0.3? :S It'd be nice to have an updated changelog... even if it just says bugfixes.
    Talking about bugfixes
    Often, when I use a Runecraft teleport, my Wolf's HP randomly changes to a point it had earlier. Like he could have had 16HP for a while, I feed him a pork then use a Runecraft teleport, then he has 16HP again. Or he could have had 20HP, then he gets in a fight to 7HP and I teleport.. 20HP. The teleports are far away from eachother if that helps.. about 500-ish blocks I think
  15. Offline


    When my wolf kills someones else wolf, that persons wolf is lost?
    The person tried /wolf call, but it says she has no wolf.
  16. Offline


    Everyones wolf's keep disapering and they dont come back. i use "/wolf call" and it says my wolf is coming to me but he never comes. Please help i have allot of things in my wolfs invtory
  17. Oh thats my fault sry. I don't save the health before remove the wolf for teleport.
    fixed it v0.3.2.

    Did she left-clicked the wolf with the leash-item??
    Is there an entry for her in the Wolfs.yml??

    did you relog after calling the wolf? Some times they are there but you can't see them.
    When did you last seen you wolf??
    If you don't want to wait set the coordinates of your wolf in the Wolfs.yml to your coordinates.
    I can't replicate this error so please help me and post me the old and the new coords.
    Or better the both .yml s.
  18. Offline


    I can't seem to figure this plugin out...

    Installed it and even as admin I can't left click the wolf with the string and get any results, as doing so just makes me punch the wolf with string in my hand.

    I'm betting its a conflict with Virtual Chests, as it uses punch while holding a chest to open.
  19. It seem that the plugin don't get the leash item on first startup because there is no config.
  20. Offline


    Restarted the server with the config in place and punching the wolf with a string still... just punches the wolf with a string.

    I can do /wolf and it gives me the options, so the plugin is loading.

    Edit: Error log.

    Show Spoiler

    2011-05-09 05:45:51 [SEVERE] Could not pass event ENTITY_DAMAGE to MyWolf
    java.lang.IllegalAccessError: tried to access method com.aranai.virtualchest.TileEntityVirtualChest.<init>()V from class me.Keyle.MyWolf.Wolfs
    at me.Keyle.MyWolf.Wolfs.<init>(
    at me.Keyle.MyWolf.MyWolfEntityListener.onEntityDamage(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.minecraft.server.EntityHuman.d(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.a(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(
  21. did you download v0.3.3 or which version do you use??
  22. Offline


    I downloaded the one in the first post like 20 minutes ago.
  23. hm......
    redownload once please:)
  24. After changing leash item to raw fish, it now works. However, new error upon leashing:

    13:17:01 [INFO] Warning! An error occured!
    13:17:01 [SEVERE] java.util.ConcurrentModificationException
    13:17:01 [SEVERE] at java.util.ArrayList$Itr.checkForComodification(
    13:17:01 [SEVERE] at java.util.ArrayList$
    13:17:01 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.getEntities(
    13:17:01 [SEVERE] at me.Keyle.MyWolf.Wolfs$
    13:17:01 [SEVERE] at java.util.TimerThread.mainLoop(
    13:17:01 [SEVERE] at

    Only thing I know about Timers, is that you're not supposed to use them in Bukkit, and should use the scheduler...right? :p

    And plugin now died and stopped responding to commands.

    Then I killed the Wolf, and it says respawned after a while, but there's no Wolf.

    Yes this is nasty, removed plugin, did a /reload, and it's still talking about Wolf respawns. That's likely due to you using threaded Timers...

    And ended up with a nice hard crash...ConcurrentModificationException are very nasty, you need to switch to Bukkit scheduler.
  25. Thank you, I don't know that before
    I changed it to the bukkit scheduler.
  26. Offline


    Turns out she right clicked the wolf with leash instead of left click....


    Disable other players from harming your wolf if PVP is set false.
  27. this an permissions are the first things I ask for:p

    I will add it in v0.4
  28. Offline


    I've noticed that my wolf was still collecting items with a full inventory. You might want to fix that.
  29. Offline


    I think you can get the wolf to attack another living entity... Wolf has a setAngry operation and a setTarget operation (inheritted from Creature). Wouldn't combining these two things together make it attack it?
  30. Offline


    I have another suggestion:

    A command that allows a specified player to call your wolf for one time.
    The longer the distance between the two players the longer the wolf will take to spawn to that player.
    To get the wolf back i would call my wolf again.
    This allows someone to borrow your doggy for a while :)
  31. Offline


    respawntimefactor is in minutes? What is maxTP?
Thread Status:
Not open for further replies.

Share This Page