Inactive [INACTIVE][FUN] MobDungeon v1.1.4 - Fight mobs and get a famous fighter! [1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by kumpelblase2, Jan 31, 2012.

?

Format Fight! JSON vs. YAML vs. other formats

  1. JSON

    7.4%
  2. YAML

    90.2%
  3. others

    2.5%
  1. Offline

    Anubis313

    Code:
    {
      "waves": [
        {
          "name":"wave1",
          "mobCount":1,
          "mobs": [
            {
              "name":"Creeper",
              "probability":10
            },
            {
              "name":"Zombie",
              "probability":90
            }
          ],
          "rewards": [
            {
              "item":"320:2",
              "amount":1
            }
          ],
          "delay": 10
        },
        {
          "name":"wave2",
          "mobCount":2,
          "mobs": [
            {
              "name":"Spider",
              "probability":40
            },
            {
              "name":"Skeleton",
              "probability":60
            }
          ],
          "rewards": [
            {
              "item":"money",
              "amount":100
            }
          ],
          "delay": 10
        },
        {
          "name":"wave3",
          "mobCount":3,
          "mobs": [
            {
              "name":"PigZombie",
              "probability":35
            },
            {
              "name":"Skeleton",
              "probability":50
            },
            {
              "name":"Creeper",
              "probability":15
            }
          ],
          "rewards": [
            {
              "item":"320:2",
              "amount":1
            }
          ],
          "delay": 10
        },
        {
          "name":"wave4",
          "mobCount":4,
          "mobs": [
            {
              "name":"Creeper",
              "probability":20
            },
            {
              "name":"Zombie",
              "probability":40
            },
            {
              "name":"Skeleton",
              "probability":40
            }
          ],
          "rewards": [
            {
              "item":"money",
              "amount":200
            }
          ],
          "delay": 10
        },
        {
          "name":"wave5",
          "mobCount":5,
          "mobs": [
            {
              "name":"Creeper",
              "probability": 15
            },
            {
              "name":"Slime",
              "probability": 25
            },
            {
              "name":"Zombie",
              "probability": 60
            }
          ],
          "rewards": [
            {
              "item":"money",
              "amount":500
            }
          ],
          "delay": 15
        },
        {
          "name":"bossSlime",
          "mobCount":3,
          "mobs": [
            {
              "name":"Slime",
              "probability": 100
            }
          ],
          "rewards": [
            {
              "item":"money",
              "amount":1000
            }
          ],
          "delay": 15
        }
      ]
    }
    
    does money work? :)
     
  2. ahh
    Code:
    {
      "item":"320:2",
      "amount":1
    }
    do you want damage values? well they are not implemented currently (and i've never thought about them until now) but i'm gonna add them when i have time to.
    And yes, money works. But in order to do be able to use it, you need vault.
     
  3. Offline

    Anubis313

    sry.. damage values? I just want to reward some food after that round. :confused:
     
  4. well since I don't know what you actually want to give to the player with
    Code:
    {
      "item":"320:2",
      "amount":1
    }
    could you tell me?
    Giving him 1 stack of 2 items with id 320? then it should be:
    Code:
    {
      "item":"320",
      "amount":2
    }
    you do not need to specify how much stacks. it'll do that itself.
    Sorry if I miss-interpreted that.

    Damage-values:
    http://www.minecraftwiki.net/wiki/Wool_Dyes#Data_Values
     
  5. Offline

    Anubis313

    ahh.. now i got it :oops:
    fixed that and used only 320 instead of 320:2..
    but still have one error left in the first wave with slime (wave5):
    Code:
    18:25:54 [SCHWERWIEGEND] java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
    18:25:54 [SCHWERWIEGEND]        at de.kumpelblase2.mobdungeon.BaseClasses.Level.SpawnMobs(Level.java:290)
    18:25:54 [SCHWERWIEGEND]        at de.kumpelblase2.mobdungeon.BaseClasses.Level.startWave(Level.java:455)
    18:25:54 [SCHWERWIEGEND]        at de.kumpelblase2.mobdungeon.BaseClasses.DelayedWaveStart.run(DelayedWaveStart.java:24)
    18:25:54 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    18:25:54 [SCHWERWIEGEND]        at java.lang.Thread.run(Thread.java:662)
     
  6. Good to hear that ;)

    however, the error is not your "fault". This is something I have to fix. Thanks for the error ;) Temporary fix: don't use slimes^^

    btw: Damage values will be available in the next release ;)
     
  7. Offline

    Anubis313

    Yep.. tested without slime and i have no errors anymore. :)
    Only thing left, after the boss-fight i was still stuck in the dungeon and it said:
    [MobDungeon] Teleporting is not allowed.
    [MobDungeon]Dungeon ended.

    Any idea?

    Edit: after another server restart it seems to work. Thx for your help. Going to build some dungeons now. ;)
     
  8. Good ;) One thing: If you have any errors, it would be nice if you can do that via a ticket at the bukkitdev site. It helps me to keep track about the issues. Thanks.
    If you have questions: you can always ask here as well as over at bukkitdev :)
    Have fun playing!
     
  9. Offline

    gunmaster999

    Nice plugin! Exactly what i was looking for, a plugin to teleport to next levels :D. All the features work but one
    I am currently using a mw3 map for mob dungeon, R-4 1.1
    but now im trying to make the signs work with gun pack.
    Sadly I can't figure out how to even use default classes and signs. I followed what you said ,"type [MD] in first line
    and in second line, dungeon name. I also copied the default classes in the config like you said in your tutorial
     
  10. To everyone: the new 1.0.7 is approved again. Please redownload it to make sure you don't run into errors. Thanks.

    when you create such a sign a chat message should appear, something like "entrance created for 'dungeonname'.". If not, make sure you have the permission to (mobdungeon.config.create.entrance).

    And what kind of problem do you have with the classes? Configuration stuff or more ingame?

    Protip: Don't make an infinite loop that spawns mobs. Especially when every spawn sends a message.

    However, boss development is in the testing phase. I'm hopefully be able to finish it until the weekend so you could really enjoy it ;)
    Have fun !

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  11. Got almost everything working except for boss damage (or I just don't notice it).
    Since there are so many possibilities for all those abilities, are there some people who would like to test it?
    (Those would also get the release earlier ;) )
    If you would like to do that -> pm me.

    Suggestions are still open on the bukkit-dev site!

    Have a nice day ;)
     
  12. Offline

    easton39

    You need to add an alias for cmds. Like /mobarena or //md as it interferes with MobDisguise.
     
  13. then you probably didn't read the thread, since I alread said that /mobdungeon and /mbd are available as well.

    v1.0.8_pre is uploaded and waits for its approval! There are two new pages over at bukkitdev which might help you setting up bosses and abilities.

    !!!There's now a separate version when you use factions along with mobdungeon!!!

    Code:
    v.1.0.8_pre:
    - Fixed error when trying to spawn slimes
    - Added ability to set damage values/dye colors for rewards just put a : after the itemid and set the dye color.
    - Added ability to change the wave mode to "infinite" to keep on spawning the last wave ("limited" is the negation)
    - Hopefully fixed a synchronization issue
     
    - Added bosses and abilities ! YAAAY!
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  14. Offline

    nhoclesnar

    Please help! I'm in love with your mod, but I'm having so much problems with the mod :(

    First thing is that I follow the instructions in the video, but after I change the config files and reload the server, it still says 0 waves, 2 classes, etc...Seem only things that I set up in game are working, and things that I set up in the config files are not working. For ex: I change class1 to Knight and class2 to Archer but they change back after a while, and mobs don't spawn in waves.

    Second thing is only Op player can choose classes on the sign, and for normal players it says "You do not have permission for this command"

    Third is what does signs.conf file do, and how to set it up?

    Fourth(the last question) is how does bosses and ability work? Do we have to include them in wave.conf to make them spawn in the waves?

    Thank you in advance.
     
  15. First Question: "reload the server" found the problem ;) when you reload the server, the plugin first SAVES the current configs, which are the default ones in this case. If you changed something in the configs make sure you use /md reload to reload the settings before you save them.
    But 0 waves sound strange anyways...

    Second Question: I kinda f*** up some things because I tried to implement temporary permissions but failed a bit as you can see. I need a proper permisionsplugin to work further on those things. (I think i need a pre2)

    Third question: In v1.0.7 I introduced the "sign under block" entrance. So you can place a sign under a block, write some things on it and if a player walks over the above block, he will get teleported into the dungeon. These signs get saved in that file. How to configure those signs see the page on bukkitdev "sign entrance".

    Fourth question: See the pages "boss setup" and "abilities setup" on bukkitdev which hopefully help you setting those up. To include bosses the in wave, see my comment on the boss setup page.

    ~kumpelblase2
     
  16. Offline

    nhoclesnar

    I got it! It shows 0 waves because I messed up something in the config file. And I also got everything else to work :D

    But 1 more problem: I set the empty_fighter_inventory to false but when I join the dungeon it still removes all of my items. Is it a bug too? :eek: I tried to switch between regenerate_on_level_entrance true and false but both still give me empty inventory.
     
  17. empty_fighter_inventory means that the fighters NEEDS an empty inventory to participate in the dungeon (same thing applies to empty_spectator_inventory). It will save your inventory no matter whats selected.
    regenerate_on_level_entrance means that the players get full health/hunger when entering the dungeon.
     
  18. Offline

    nhoclesnar

    So...does it mean that if I set "empty_fighter_inventory": false, the fighter can still keep his items when he joins? I really want people to be able to bring their own enchanted weapons and armors to the battle, is it possible?
    Thanks again for you help.
     
  19. That has already been suggested ;)

    Sorry guys to tell you this, but school is currently "eating" my time. That means that I can't really code that much, because it doesn't make that much sense to code for a half hour when you need at least ten till fifteen minutes to get back into it. This will go on for one or two weeks, but after that, I'll be able to go on like in the past weeks.

    Since I don't want to let this plugin get inactive (even though I might still do a little over those weeks) I'm still searching for someone who has interests in taking this plugin further or just does something over these two weeks. Just pm me and I'll make my mind up ;)

    However, hopefully you all have/had a nice day, because I didn't really had one.

    ~kumpelblase2

    P.S.: md_5 (I don't wanna tag you): As you can see, there are more than "NO ONE" who like json and what I forgot all the time: never thought about javascript? I think there are far more people who uses json without knowing it.

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

    nhoclesnar

    Aww..it's sad that you won't be able to spend much time on coding the plugin anymore :(
    Btw...1 last bug I found...the "empty_fighter_inventory" is really not working...
    It doesn't matter how I set it up...true or false..it still remove everything from the fighter.
    If I know how to use javascript...I would continue your work...sigh...
    Anyway, please patch this bug up! Big thanks :D
     
  21. Youight have misunderstood both things:
    1. I did not say that I completly end this one, I'm only making a little break because of school.
    2. empty_fighter_inventory is an requrement to enter the dungeon. If you set it to true, yuo would need an empty inventory to join.
    Hope this helps ;)

    ~kumpelblase2
     
  22. Offline

    nhoclesnar

    Please update to 1.2.3 :D
    I really love your plugin. It would be awesome if fighters can bring their own equipments into the arena and if more mobs are supported. Thank you.
     
  23. Did you tested it, because I don't see any reason why it shouldn't work....
     
  24. Offline

    nhoclesnar

    Yes I did...on two different server...my friend and mine...
    At first I used your configs for everything (for testing purpose), and everything worked fine. But occasionally something went wrong and fighters could no longer bring their own items into the arena no matter if the config is set to true nor false. The empty spectate inventory works correctly tho. It is really weird for me. Maybe it's either the plugin or it's my eyes can't read 'true' and 'false'.
     
  25. the option you thought of isn't and had never been implemented. It'll get implemented later tho.
     
  26. Offline

    nhoclesnar

    I'm glad to hear that :D
     
  27. Offline

    Cormick99

    Could you change the abbreviated command "/md" to "/mdg" or something like that, because a plugin I use called MobDisguise already uses /md.
     
  28. sorry for the late reply, but for some reason I didn't got any alerts.
    However, if you would have watched the updates you should have notice that /mbd is available as well ;)
     
  29. Offline

    nhoclesnar

  30. would help if you make it public, so i can possibly read it.
     

Share This Page