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

    [​IMG]
    Moved to BukkitDev:
     
  2. Offline

    Maguron

    Work on b953 ??
     
  3. Offline

    LeGenDaryX

    MyWolf isn't working in b953 for me. Hope it gets updated soon :)
     
  4. Offline

    Vittek

    Same, all leftclicks are registered as hits now.
     
  5. Offline

    LeGenDaryX

    I had to turn it off, i miss my doggy and his inventory! :(
     
  6. Offline

    dbizzzle

    Could you please add a not github download link? Thanks, looks great though!
     
  7. Offline

    Olat

    @Keyle
    Why not have it configurable for server admins? Lack of knowledge on how to get multiple my wolfs? or whats the issue?
     
  8. It's beacause I bypass bukkit and the bukkit team renamed some methods
    I have a running version but I don't know if it is stable enough
    ??? where is the github download link??? only the source is on github... the jar is in my dropbox :confused:
    What exactly?? You can get only ONE MyWolf. This is and will remain so for the moment! I don't have the intention that player could get more than ONE MyWolf.
    I think a legion of immortal wolfes isn't very nice:p
     
  9. Offline

    Olat

    @Keyle
    I understand that but as a Server Admin I should have control of that no? Id like for my Tamer class to be able to get more then 1 Perma Pet. as that is his main source of dmg since he is restriced to use stone swords and a bow at which he will do LESS dmg then a normal Archer class. If the amnt and CD is customizable then if I wanted a Legion I could have them, but is that not the Admins discretion? The plugin should provide the option at the least. The Balance of his server is up to him. I hope im not coming off rude but I LOVE this plugin and want my tamers to have 2 -3 perma pets, right now I allow them 3 wolves while every one else on the server can only get 1. But having to go find and retame 2 of them after every battle, is just silly. Also the ability to name them makes them dying mean something as a player gets attached. So its a source of angst when a players wolf dies he seeks revenge.
     
  10. Offline

    Vittek

    Well let us test the version? See if its stable? :D
     
  11. Offline

    LeGenDaryX

    Can i test it? Have you tested it? :p
     
  12. I don't think I will change this atm because I think there are better ways to differ classes. Another important reason is that I would have to rewrite the complete plugin for this:(

    Well I tested all functions of the plugin [tnt] but most errors do not occur during short test of all functions:p
    I'll upload a version when I'm at home.

    I have a question.... how do you find this idea???



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

    Vittek

    As said: If it works neatly its definately the prefered way of handling a wolf.
     
  14. Offline

    dawon

    Hi, I am using your plugin and I think it's fantastic!

    I've just found little bug and I have few question about new version...

    The bug. If you make your wolf sitting by left-clicking him with a leash and you will call him with /wc, he won't come. I have experienced this bug in both versions 0.4.6 and 0.4.7... (or it isn't bug?)

    How the wolf claim exps? Only by killing hostile mobs?

    And what are level ranges (e.g. 0-30 exps = lvl 1; 31 - 40 exps = lvl 2 etc...) Is it/Will it be customisable?

    But otherwise very nice plugin! Good job!


    BTW: that feature with "map" would be really cooool! :D
     
  15. Offline

    halvors

    What map API do you use?
     
  16. I wait on other opinions :p
    Sitting with left-click?? When you call him with /wc the wolf should always come. >.< I don'tknow why this happened...

    now to the EXP system:
    The wolf claims exp atm by killing mobs thats right, tell me other ways for the wolf to claim exp and I may add them ;D

    lvlranges: 1 - no end but the EXP values getting very high on lvl 10+
    in the config is an option "expfactor". This is the value the system work with.

    The wolf starts with lvl 1. To levelup the first time the wolf need this exp: expfactor*expfactor -> 2*2=4exp
    for the next level: 4*expfactor -> 4*2=8, 8*2=16, 16*2=32 and so on

    hope that explain it enough
    https://github.com/Shamebot/Map-api
     
  17. Offline

    dawon



    Ok, sorry for confusion, in new version it's ok. But in last one, when I left-clicked my wolf with string, he stopped moving and I was unable to call him... After a second click everything was ok...



    Well I would give exps for every activity you with wolf do. Even a killing a pig is some kind of experience, swimming across the ocean, climbing up a mountain etc. Ofc, killing a spider or a skeleton would give much more exps...



    Yup, more than enough, thanks;-)

    And I've just got an idea. By cliking a wolf with a leash, it could also show how many exps does he have and on which level is he...
     
  18. I totally forgot a way to display the exp because it build on the map system where I display the exp and the level on the map
     
  19. Offline

    dawon

    Doesn't matter, we can live without it ;-)

    BTW. for that map, will I need some client mods? Like bukkitContrib SP?

    Thanks
     
  20. I will make a small update for it at home

    nope for the map no client mod is required :p It is all on serverside
     
  21. Offline

    dawon

    Cool!;-)
     
  22. Offline

    areqpl

    Hi. I found one new bug:

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:856)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:550)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
    at de.Keyle.MyWolf.MyWolfEntityListener.onEntityDamage(MyWolfEntityListener.java:82)
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.x()Ljava/lang/String;
    2011-07-11 23:04:13 [SEVERE] Could not pass event ENTITY_DAMAGE to MyWolf

    How can i repair it ? ;x
    v0.4.6
     
  23. Offline

    Vittek

    Just reporting a random NPE I catched in the console. Nothing serious though. CB 953.

     
  24. with RB953+ not at all:p
    use 0.4.7
    either the owner of the wolf was offline or anything with the respawntime is not ok will check that
     
  25. Offline

    putipmup

    So first of all, as everyone knows, there is a bug, where when the server is restarted, the wolves owned are duplicated. This happened to me while fixing some Essentials problems with my server. I was shocked to see two of my wolves, Blizzard, sitting there, so I let them stand up and tried using the leash. Immediately one of the wolves started attacking the other one, and won. So I named him EvilBlizzard :D. But seriously, fix that bug please.
     
  26. Offline

    Duckdoom5

    hello, i got this error:

    Code:
    2011-07-16 12:15:31 [SEVERE] Could not pass event PLAYER_MOVE to MyWolf java.lang.NoClassDefFoundError: com/citizens/NPCs/NPCManager     at de.Keyle.MyWolf.util.MyWolfUtil.isNPC(MyWolfUtil.java:99)     at de.Keyle.MyWolf.Wolves.getPlayer(Wolves.java:426)     at de.Keyle.MyWolf.Wolves.createWolf(Wolves.java:162)     at de.Keyle.MyWolf.Listeners.MyWolfPlayerListener.onPlayerMove(MyWolfPlayerListener.java:135)     at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:163)     at net.minecraft.server.Packet10Flying.a(SourceFile:126)     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    and:

    Code:
    2011-07-16 12:15:29 [SEVERE] Could not pass event PLAYER_JOIN to MyWolf java.lang.NoClassDefFoundError: com/citizens/NPCs/NPCManager     at de.Keyle.MyWolf.util.MyWolfUtil.isNPC(MyWolfUtil.java:99)     at de.Keyle.MyWolf.Wolves.getPlayer(Wolves.java:426)     at de.Keyle.MyWolf.Wolves.createWolf(Wolves.java:162)     at de.Keyle.MyWolf.Listeners.MyWolfPlayerListener.onPlayerJoin(MyWolfPlayerListener.java:97)     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Caused by: java.lang.ClassNotFoundException: com.citizens.NPCs.NPCManager     at java.net.URLClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at java.net.URLClassLoader.findClass(Unknown Source)     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     ... 14 more
    
    and my bukkit version is 921
     
  27. Offline

    Technius

    Does your wolf level up through killing animals, monsters, or both?
     
  28. Offline

    Aortal

    I'll start by saying this is an amazing plugin, and will be sending a donation for the continued work on this plugin.

    One thing for the life of me I am unable to get working is the Inventory. When the wolf gains the ability, hitting it with the chest just does damage to it. Here's my configs:

    Code:
    MyWolf:
        control:
            item: 287
        leash:
            item: 287
        max:
            Lives: 0
        respawntimefactor: 5
        pickup:
            range: 2
        mapid: 0
        expfactor: 2
        skills:
            '2':
            - InventorySmall
            - live
            '3':
            - InventoryLarge
            - Control
            - live
            - live
            - live
            - HP
            '5':
            - Pickup
            '6':
            - Behavior
            - HP
            - live
            - HP
    
    Code:
    Wolves:
        Aortal:
            exp: 13.569819736322525
            sitting: false
            inventory:
                '2': ',,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,'
                '1': ',,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,'
            name: Killer
            loc:
                Y: 64.0
                X: -62.5
                world: world
                Z: 168.375
            health:
                now: 3.0
                respawntime: 0
                lives: 5
        Kungfugorrila:
            exp: 13.716624963022213
            sitting: true
            inventory:
                '2': ',,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,'
                '1': ',,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,'
            name: rampage
            loc:
                Y: 83.0
                X: -184.318652165926
                world: world
                Z: 146.8272130927121
            health:
                now: 7.0
                respawntime: 0
                lives: 5
        OGpatch37:
            exp: 32.433100771949626
            sitting: false
            inventory:
                '2': ',,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,'
                '1': ',,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,;,,'
            name: rex
            loc:
                Y: 89.0
                X: -221.59999999403954
                world: world
                Z: 176.48923807405225
            health:
                now: 7.0
                respawntime: 0
                lives: 5
    
    It's possible that one of my plugins are conflicting. If this is the case is there a manual way I can add the chest through the config? and if so what is the syntax.

    Thanks in advance!

    *EDIT*

    Okay. I've now got it to work. However I was looking for the little backpack on the back of the wolf in the picture. I guess that hasn't been added yet :D

    And now /wolfpickup I can't get to work.. (I'm sure I'll figure it out)
     
  29. I can't fix the wolf duplicating bug because I can't figure out which wolf was a MyWolf at serverstart when the server doesn't stopped with /stop. The only way would be to remove every tamed wolf at serverstart but the owner of these wolves wouldn't be very happy about that:p
    953 isn't supported by 0.4.7. But this error appears because you use a version of Citizens that is below 1.0.9b.

    Only monster and hardcoded EXP atm but I will add config options for that

    Thanks :D
    I removed most item commands in 0.4.7 and replaced them with chat commands

    I have the backpack on the picture as an clientmod but every tamed wolf will have it
    Send me a message if you want it:D

    what has not worked with /wp ??
    did you see a message like "wp is enabled/disabled"??
     
  30. Offline

    Duckdoom5

    I want it:D
     
  31. Offline

    Lolnub1337

    I cant run the plugin for some reason. Only plugin im using along side Mywolf is Myhome 1.9.5
    Code:
    151 recipes
    16 achievements
    09:18:23 [INFO] Starting minecraft server version Beta 1.7.2
    09:18:23 [INFO] Loading properties
    09:18:23 [INFO] Starting Minecraft server on *:25565
    09:18:23 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-
    g9277096-b953jnks (MC: 1.7.2)
    09:18:23 [SEVERE] Could not load 'plugins\MyWolf.jar' in folder 'plugins': Bukki
    tContrib
    org.bukkit.plugin.UnknownDependencyException: BukkitContrib
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:133)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:199)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:122)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    09:18:23 [INFO] Preparing level "world"
    09:18:23 [INFO] Preparing start region for level 0 (Seed: -1255750262919012291)
    09:18:24 [INFO] Preparing start region for level 1 (Seed: -1255750262919012291)
    09:18:24 [INFO] Preparing spawn area: 52%
    09:18:24 [INFO] [MYHOME]: 1 homes loaded
    09:18:24 [WARNING] [MYHOME] A permission plugin isn't loaded.
    09:18:24 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    09:18:24 [INFO] [MYHOME] MyHome 1.9.5 enabled
    09:18:24 [INFO] Done (0.144s)! For help, type "help" or "?"
    >log
    09:18:30 [INFO] Unknown console command. Type "help" for help.
    >
     
Thread Status:
Not open for further replies.

Share This Page