PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
52 stars 21 forks source link

Huds fading out #1815

Closed Kenified closed 2 years ago

Kenified commented 2 years ago

Terms

Discord tag (optional)

Keks#9948

What happened?

The hud fades away shortly after i log in, it appears when i switch gamemode but it fades out again. (The huds worked as expected on 1.18.2)

Steps to reproduce the issue

Server version

Current: git-Purpur-1670 (MC: 1.19)*

ItemsAdder Version

ItemsAdder version 3.2.0c-beta6

ProtocolLib Version

ProtocolLib version 5.0.0-SNAPSHOT-b569

LoneLibs Version

LoneLibs version 1.0.19

LightAPI Version (optional)

No response

LibsDisguises Version (optional)

No response

FULL server log

latest.log

Error (optional)

No response

ItemsAdder config.yml

metrics: true
update-checker: false
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    auto-external-host:
      enabled: false
    self-host:
      enabled: false
      server-ip: 127.0.0.1
      pack-port: 8163
    external-host:
      enabled: false
      url: ''
      skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false
  apply-on-join: false
  kick-player-on-decline: false
  kick-player-on-fail: false
  delay-ticks: 1
  notify-other-plugins-interfering: true
  title:
    enabled: false
  protect-player:
    black-screen: true
    hide-hud: false
    cancel-movement: true
    lock-player: true
  command:
    usage-cooldown-seconds: 60
  custom-font:
    enabled: false
    name: ipaexg.ttf
    shift: '[0,0]'
    size: 11.0
    oversample: 2.0
  thin-font:
    enabled: false
  zip:
    protect-file-from-unzip:
      enabled: true
      extreme: true
    compress-png-files: true
    compress-json-files: true
    overwrite-vanilla-models: false
    overwrite-vanilla-lang-json: false
    generate-custom-armors-textures:
      vanilla_1_17: true
      optifine: true
    disable-overwrite-leather-armor-layers-textures: false
    fix_transparent_noteblocks__disable-for-more-performance: false
    ignore-files-ext:
    - db
    - yml
    - xcf
    - psd
    - html
    - gz
    - rar
    - zip
    - 7z
    - bbmodel
    - iaentitymodel
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
config_files:
  lang: en
  dictionaries-lang: en
  extract-default-configs: false
  legacy_pack: false
blocks:
  light-api: true
  fix-liquids-flow: true
  fix-floating-blocks: true
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
    search-also-in-these-biomes:
      enabled: false
      biomes:
      - BEACH
      - BIRCH_FOREST
      - BIRCH_FOREST_HILLS
      - FOREST
      - MOUNTAINS
      - MOUNTAIN_EDGE
      - GRAVELLY_MOUNTAINS
      - PLAINS
      - RIVER
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire:
    unlit-on-place: true
    allow-any-item: true
  disable-REAL: true
  disable-REAL_TRANSPARENT: false
  disable-REAL_NOTE: false
  disable-REAL_WIRE: false
  disable-FIRE: true
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: false
  hide-custom-durability-lore: false
liquids:
  enabled: true
huds:
  enabled: true
loots:
  allow-loots-drop-from-spawners-using-silk-touch: false
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
chat-preview: false
font_images:
  replace-in-customitems-name-and-lore: true
  chat:
    enabled: true
    doublecheck-permission__disable-for-more-performance: false
    add-hover-suggestion: true
  command:
    enabled: true
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: true
  inventory-title:
    enabled: true
  tab-header-footer:
    enabled: false
  vault-prefix-suffix:
    enabled: true
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: false
    update-every-ticks: 3600
  player-display-name:
    enabled: true
    update-every-ticks: 1200
effects:
  hide-scoreboard-numbers: false
  text-effects:
    enabled: true
    replace-in-customitems-name-and-lore: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: true
    tab-header-footer:
      enabled: false
entities:
  max-furniture-vehicles-per-chunk: 30
  allow-removing-old-furnitures_2_3_11: false
  custom-entitites:
    enabled: false
    emotes: true
    interval-rendering-packets-ticks: 1
    optimized-packets: true
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  fix-packet-too-large-kick: false
  custom-recipes:
    unlock:
      all-on-join: true
      on-pickup:
        any: false
        ingredients: true
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
debug:
  items:
    log-files-loading: false
    log-items-loading: false
    log-items-loading-disabled: false
    log-font-images-loading: false
    log-huds-loading: false
    log-attribute-modifiers-loading: false
    log-warnings: false
    log-loots-loading: false
    log-loots-loading-disabled: false
    log-armors-loading: false
  recipes:
    log-recipes-loading: false
    log-recipes-loading-disabled: false
    log-recipes-removed-vanilla: false
    log-recipes-unknown-item: false
    log-fix-packet-too-large: false
  resource-pack:
    log-extract-default-resources: false
    log-not-extract-default-resources-already-exist: false
  blocks:
    log-save: false
    log-save-on-unload: false
    log-mined-unknown-blocks: true
  worlds-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  trees-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  surface-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  cave-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  player-stats:
    log-save: false
  performance:
    loading-ms: true
  huds:
    log-triggers: false
  other:
    log-dictionaries-loading: false
    log-liquids-loading: false
    log-minecraft_lang_overwrite-loading: false
  categories:
    log-total-loaded: true
    log-single-loaded: false
    log-single-loaded-overwrite: false
    log-single-skip: false
    log-icon-failed-load: false
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false

Problematic items yml configuration file (optional)

info:
  namespace: minecubed
font_images:
  thirst_full:
    suggest_in_command: false
    path: gui/huds/thirst_full
    y_position: -16
  thirst_half:
    suggest_in_command: false
    path: gui/huds/thirst_half
    y_position: -16
  thirst_empty:
    suggest_in_command: false
    path: gui/huds/thirst_empty
    y_position: -16
huds:
  thirst_bar:
    enabled: true
    show:
      auto: true
      creative: false
      underwater: false
      riding: false
    type: STATUS
    x_position_pixels: 11
    direction: LEFT
    value:
      player_stat_name: thirst
      start: 10
      min: 0
      max: 10
    images:
      positive: minecubed:thirst_full
      half: minecubed:thirst_half
      negative: minecubed:thirst_empty

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

https://user-images.githubusercontent.com/93137126/176619648-2ba88b46-aeb6-4322-9db3-eb8dc7e7b35f.mp4

LoneDev6 commented 2 years ago

Somehow the actionbar packets are not sent to the client after some time. Please try the plugin on a clean server with latest Paper or Spigot. Maybe the issue is Pupperfish.

Thanks

Kenified commented 2 years ago

Just tried on clean Paper server the issue is still there

LoneDev6 commented 2 years ago

Very strange. Do you have any other plugin which may interfere? Can you also try to reset your paper.yml and spigot.yml files? (make a backup)

Thanks

Kenified commented 2 years ago

I created a fresh server locally with only itemsadder, lonelibs and protocol lib with freshly generated paper configs and everything and i still have the issue

LoneDev6 commented 2 years ago

I sincerely am clueless, the plugin works fine on latest Paper/Spigot 1.19 and latest Vanilla 1.19 Client.

https://user-images.githubusercontent.com/27242001/176690958-aab9a46c-0d62-435d-9d3a-d54d43478bbe.mp4

Kenified commented 2 years ago

Which version of protocol lib/paper have you tested with? I tried generating fresh IA folder and downloaded default pack but i have the same issue still...

Kenified commented 2 years ago

i also tried without sodium mod hoping perhaps it was just client issue but it affects vanilla 1.19 too

LoneDev6 commented 2 years ago

The latest beta one: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/ Anyway protocollib is not the issue, I don't use it for the HUDs.

Did you try using the pure vanilla client?

Kenified commented 2 years ago

Yep

https://user-images.githubusercontent.com/93137126/176704367-8b6f4c51-cc5b-4f79-9ff8-38872f04450b.mp4

LoneDev6 commented 2 years ago

Can you try hosting the server on your PC?

Kenified commented 2 years ago

That is what im doing

Kenified commented 2 years ago

image

Kenified commented 2 years ago

I've noticed that hud sometimes appears and fades out again

LoneDev6 commented 2 years ago

I'm thinking about what could be the issue on your particular environment, no idea for now. Can you try to host a new server on a new PC or location?

Kenified commented 2 years ago

Sure

Kenified commented 2 years ago

Created a fresh server on my server host, installed everything fresh, and default pack, but i still have the issue..

LoneDev6 commented 2 years ago

Can I get an IP to join and check? Thanks a lot

Kenified commented 2 years ago

ok works fine now... i apply resourecpack to players on proxy and i never touched these options in IA i did not know that would affect the hud feature

LoneDev6 commented 2 years ago

I sincerely have no idea, the cause still needs to be found, I highly doubt it's the pack itself. It's about how packets are sent. Probably the issue is in the proxy.

Let me know if you find the cause, thanks! Happy you managed to bypass the issue :D Have a nice week

cocount57 commented 1 year ago

ok works fine now... i apply resourecpack to players on proxy and i never touched these options in IA i did not know that would affect the hud feature

Hey! I am having exactly the same issue. Did you change something to solve the problem or it just suddenly fixed by itself?

LoneDev6 commented 1 year ago

I'm 100% sure the issue is not related to the ItemsAdder itself. There is some other plugin interfering, so you have to find it by removing them one by one (or by groups of 10).

cocount57 commented 1 year ago

Thats the funny thing - as Kenified I tried reinstalling and everything. But then I found hid comment and turned on "self-host" for resourcepack in config - and now it works fine. Before that I had all four options set to false.