Premium ⚔ Heroes Premium ⚔ 10% OFF BEST RPG PLUGIN EVER [Paid]

Discussion in 'Resource Discussion' started by Kainzo, Jun 13, 2016.

  1. Having that UTF-8 encoding issue also. I try to change the config file manually but every time I save it, it gets rewritten again when it's reloaded. Any solutions?
     
  2. Ill see if I can push a fix for this. Someone (glares at devs) uploaded a non-UTF8 file.
    Thanks!
     
  3. No worries, managed to sort it out anyway. Thanks for the reply!
     
  4. @Kainzo hi, im an old buyer and iw as kinda off for some time, im back and i was looking for @NightExpress plugin QuantumRPG and it has an issue when running with your plugin (or vice-versa). I told on his discussion that i want to buy but im kinda worried about the bug and i was waiting it to be fixed before buying.

    His answer was: see below
    upload_2019-11-16_13-45-30.png

    Have anyone, before me, tried to ask you to do something about?
    If yes, wel, any thing to say about?
    If not, could you try to do something?

    Thanks in advance
     
  5. why is my heroes plugin doing this? 2019-11-20_18.32.17.png
     
  6. about the plugin..
    ive set it to use weight but im getting this error
    Code (Text):
    [13:28:51 ERROR]: Could not pass event EquipmentChangedEvent to Heroes v1.9.3-SNAPSHOT-13e5328
    java.lang.NullPointerException: null
            at com.herocraftonline.heroes.characters.Hero.wouldBecomeOverweight(Hero.java:5037) ~[?:?]
            at com.herocraftonline.heroes.characters.equipment.EquipmentListener.onEquipmentChanged(EquipmentListener.java:72) ~[?:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor618.execute(Unknown Source) ~[?:?]        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.14.4.jar:git-Paper-226]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545) ~[patched_1.14.4.jar:git-Paper-226]
            at com.herocraftonline.heroes.characters.equipment.EquipmentListener.playerInteractEvent(EquipmentListener.java:210) ~[?:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor614.execute(Unknown Source) ~[?:?]        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.14.4.jar:git-Paper-226]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:454) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:421) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:417) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1400) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:28) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:5) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:1029) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:1022) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1006) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:929) ~[patched_1.14.4.jar:git-Paper-226]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_202]
    and whenever i die, it creates another line there
    upload_2019-11-24_15-3-32.png
     
    #3286 DeCarvalho, Nov 24, 2019
    Last edited: Nov 24, 2019
  7. I've had this issue as well. When I first install heroes everything looks fine, but if I shut down my server and restart it all looks like that. One way I've removed it is deleting the config file and regening it. Deleting the special symbols in the config file fixes some of it.
     
  8. @MysticMight
    hmm do you know if equipment weight broke somewhere?
     
    • Optimistic Optimistic x 1
  9. Hiho, anything about scoreboard having its lines duplicated after death?
    upload_2019-11-29_16-47-59.png


    Code (Text):
      scoreboard:
        enabled: true
        title: §a§l⚠ Jogador ⚠
        component:
          info:
            enabled: true
            title: §3§l✪  Info  ✪
            class:
              enabled: true
              show-primary: true
              show-secondary: true
              show-race: true
              format:
                short: ' §4{0}§d L§f: §a{1}§f - {2}%'
                long: ' §4{0}§d Lvl§f: §a{1}§f - {2}%'
                long-length: 11
            health:
              enabled: true
              format: §4 ❤  §c{0}§f / §c{1}
              merge-mana: true
              merge-mana-threshold: 200
            mana:
              enabled: true
              format: §9 ⦿  {0}§f / §9{1}
            stamina:
              enabled: true
              format: §3 ✳  {0}§f / §3{1}
          party:
            enabled: true
            title: §6✰  Grupo  ✰
            member-format: ' {2}{0}§f: {2}{3}%'
     
  10. @Kainzo
    hiho, sorry for the double post but dunno if you saw previous one, if yes, you wouldn't know this new one.. anyway..

    About skills

    Code (Text):
    [13:07:00 INFO]: DeCarvalho issued server command: /skill Mark
    [13:07:00 ERROR]: [Heroes] Invalid skill reagent defined in Mark. Please switch to new format NAME, e.g. IRON_INGOT.
    [13:07:05 ERROR]: [Heroes] Invalid skill reagent defined in Mark. Please switch to new format NAME, e.g. IRON_INGOT.
    [13:07:05 WARN]: [Heroes] Task #63 for Heroes v1.9.3-SNAPSHOT-13e5328 generated an exception
    java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.canBuild(Lorg/bukkit/entity/Player;Lorg/bukkit/Location;)Z
            at com.herocraftonline.heroes.characters.skill.public1.SkillMark.use(SkillMark.java:155) ~[?:?]
            at com.herocraftonline.heroes.characters.skill.ActiveSkill.execute(ActiveSkill.java:422) ~[?:?]
            at com.herocraftonline.heroes.characters.CharacterManager$DelayedSkillExecuter.run(CharacterManager.java:451) ~[?:?]
            at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-226]
            at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1171) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:417) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098) ~[patched_1.14.4.jar:git-Paper-226]
            at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925) ~[patched_1.14.4.jar:git-Paper-226]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_202]
    I did the change, but will need to do it for all skills that uses reagents..
    Shouldn't you do it in the base before releasing next version or releasing a 'bug fix' about it?

    As this one Mark skill from mage.yml

    Code (Text):
    permitted-skills:
        Mark:
            level: 5
            mana: 5
            reagent: BED
            reagent-cost: 1
    1.14.4 has no bed
    they are by its color, i had to change to minecraft:red_bed

    Also, some skills arent working, apparently.

    One more thing..
    How do i make /bind binds an skill to that one item that i want instead all of the same ones?
    e.g
    i haev this fool's swords (wooden_hoe) and i run /bind fireball , the thing here is, every wooden_how that i find have fireball binded to it.. i want only fool's sword to have fireball not every wooden_hoe that i use..

    Thanks in advance
     
    #3290 DeCarvalho, Nov 30, 2019
    Last edited: Dec 1, 2019
  11. hey just wondering of the symbols breaking is going to get fixed sometime?
     
  12. afaik Its a server side thing, not plugin side.
    i did fix mine by copying the original one

    Code (Text):
      scoreboard:
        enabled: true
        # The title of the scoreboard
        title: '§a§l⚠ Character ⚠'
        component:
          # The info component displays information about a Hero
          info:
            enabled: true
            title: '§3✪  Hero Info  ✪'
            class:
              enabled: true
              show-primary: true
              show-secondary: true
              show-race: false
              format:
                # {0} = class name
                # {1} = level
                # {2} = experience
                short: ' §4{0}§d L§f: §a{1}§f - {2}%'
                # {0} = class name
                # {1} = level
                # {2} = experience
                long: ' §4{0}§d Lvl§f: §a{1}§f - {2}%'
                long-length: 11
            health:
              enabled: true
              # {0} = current health
              # {0} = max health
              format: '§4 ❤  §c{0}§f / §c{1}'
              # If the health and mana lines should be merged when the threshold below is higher than the current health
              merge-mana: true
              merge-mana-threshold: 100
            mana:
              enabled: true
              # {0} = current mana
              # {0} = max mana
              format: '§9 ⦿  {0}§f / §9{1}'
            stamina:
              enabled: true
              # {0} = current stamina
              # {0} = max stamina
              format: '§e ✳  {0}§f / §3{1}'
          party:
            enabled: true
            title: '§6✰  Party  ✰'
            # {0} = member name
            # {1} = member display name
            # {2} = health colour
            # {3} = health percentage as an integer
            member-format: ' {2}{0}§f: {2}{3}%'

    and just making sure that notepad++ did convert the file to utf-8 (even knowing it is utf-8)
    The only problem that im facing after it is the duplication of lines when i die.. but well, its another problem
     
  13. At first I couldn't find any cause of the symbols, but recently I found the issue. Should be fixed in the next release.


    That's a long standing unknown bug. Relogging fixes the issue, but I am not sure how to fix it.

    Hmm what armor were you wearing before and trying to wear? also a paste site for your startup log if you can.
     
  14. The way bind works you can only bind it to specific materials, i.e. all wooden hoes will have the same bind for you. I would suggest that you use stone hoe if possible for binding, so wooden hoes can be free for example for world edit. Otherwise a item plugin maybe useful in adding the skill to only specific items. I've replaced the bed reagents for the default classes to red beds.

    Not sure on the status of public skills for 1.13, though looks like that issue with mark is a change in api. (Keeping all these skills up to date is a lot of work :) )
     
    • Informative Informative x 1
    • Friendly Friendly x 1
  15. @MysticMight
    Hiho, as you asked about weight

    Log from server with error on it
    https://pastebin.com/CDZmmsp9

    You'll notice that im using mmoitems premium but i dont think it is the problem..

    As you can see i was running commands to give items
    Code (Text):
    [13:47:14 INFO]: DeCarvalho issued server command: /mi giveall ARMOR ARCANE_BOOTS 1 1
    [13:47:20 INFO]: DeCarvalho issued server command: /mi giveall ARMOR ARCANE_CHESTPLATE 1 1
    [13:48:50 INFO]: DeCarvalho issued server command: /mi giveall ARMOR DEAD_PHARAOH_HELMET 1 1
    I got the 1st error when trying to use the helmet, after seeing that the helmet is a player_head i tried again with a diamond_armor

    so i ran
    Code (Text):
    [13:55:16 INFO]: DeCarvalho issued server command: /mi giveall ARMOR DIAMOND_CHESTPLATE 1 1
    it shows a message and then console error
    upload_2019-12-2_14-44-30.png

    xxx
    --EDIT START--
    I saw the update and that you changed BED to red_bed, but i noticed that there's more problems like this when it comes to 1.14.4, i did the change already, but as before, changing the source will be much appreciated

    skills.yml
    mark 265 to minecraft:iron_ingot
    Blink 331 to minecraft:redstone
    invuln 81 to minecraft:cactus
    Bandage 339 to minecraft:paper
    Recall 331 to minecraft:redstone
    bolt 289 to minecraft:gunpowder
    --EDIT END--
    Skills.yml

    Weird thing.
    Why skills.yml has mark with iron_ingot and for classes you guys decided to change it to red_bed?

    Code (Text):
    Mark:
      use-text: §7[§2Skill§7] %hero% used %skill%!
      no-combat-use: true
      cooldown: 3180000
      delay: 5000
      reagent: 265 (stands for minecraft:iron_ingot) need to be changed to iron_ingot
      reagent-cost: 1

    Code (Text):
        Mark:
            level: 5
            mana: 5
            reagent: RED_BED
            reagent-cost: 1
    Just curious :)

    xxx
    I can imagine how hard is to maintain lots of files up to date.. but mark isnt the only skills with working problem.. :/
    it will take a long journey but i think you should review the work of some skills, some are working (when binded) i only remember fireball.
    Im trying to run tests to give a better feedback but i have a toddler and well, she is like a little demon, kinda hard to do anything when she is awake :p and she is wide awake

    Thanks in advance

    POST WITH EDIT
    If you have read it before this message, please read again theres edit marks

    What is it meant for? From apprentice and master mage file.. didnt see it before, would be good to explain.. i like to use all possible features.

    base-max-skill-prepare-points: 100
    max-skill-prepare-points-per-level: 0
    base-max-shield: 10
    max-shield-per-level: 0.5

    Could you guys please find a way to have new files added w/o needing to delete/remove old ones?
    i havent had new files until renaming the heroes folder.. its a mess.. i need to compare files to see if they are the same so i can copy back and when they arent i need to reconfigure the new one..
     
    #3296 DeCarvalho, Dec 2, 2019
    Last edited: Dec 3, 2019
  16. I can't use the plugin and I don't know what happened can someone help me???
    this is my log,and I had already tried all the versions it released..... Please help me TAT


    [Server thread/ERROR]: Error occurred while enabling Heroes v1.9.3-SNAPSHOT-ec8cb62 (Is it up to date?)
    java.lang.ExceptionInInitializerError: null
    at com.herocraftonline.heroes.nms.versions.Handler_v1_14_R1.<clinit>(Handler_v1_14_R1.java:103) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_231]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_231]
    at com.herocraftonline.heroes.nms.NMSHandler.getInterface(NMSHandler.java:216) ~[?:?]
    at com.herocraftonline.heroes.characters.skill.TargettedSkill.<clinit>(TargettedSkill.java:54) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_231]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_231]
    at com.herocraftonline.heroes.characters.skill.SkillManager.loadSkill(SkillManager.java:275) ~[?:?]
    at com.herocraftonline.heroes.characters.skill.SkillManager.loadSkills(SkillManager.java:366) ~[?:?]
    at com.herocraftonline.heroes.characters.classes.HeroClassManager.loadPermittedSkills(HeroClassManager.java:1238) ~[?:?]
    at com.herocraftonline.heroes.characters.classes.HeroClassManager.loadClass(HeroClassManager.java:261) ~[?:?]
    at com.herocraftonline.heroes.characters.classes.HeroClassManager.loadClasses(HeroClassManager.java:175) ~[?:?]
    at com.herocraftonline.heroes.util.ConfigManager.loadManagers(ConfigManager.java:126) ~[?:?]
    at com.herocraftonline.heroes.Heroes.onEnable(Heroes.java:236) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[server.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [server.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) [server.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458) [server.jar:git-Spigot-4d24e36-5193f76]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372) [server.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:440) [server.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) [server.jar:git-Spigot-4d24e36-5193f76]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:758) [server.jar:git-Spigot-4d24e36-5193f76]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
    Caused by: java.lang.NoSuchFieldException: entries
    at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_231]
    at com.herocraftonline.heroes.nms.versions.Handler_v1_14_R1.<clinit>(Handler_v1_14_R1.java:94) ~[?:?]
    ... 22 more
     
  17. [​IMG] 1.15?
     
    • Agree Agree x 1
  18. paid $20 for this.... is this going to get updated to 1.15? soon? a
     
  19. this is quite a mighty plugin so lots of things need to be done. so may be a little while considering 1.15 literally just came out :)