ENBT integer shows different number in overlay than in chat!

Started by AdriPlaysz on Mon, 06/22/2020 - 06:27

Topic category: Help with MCreator software

Last seen on 12:50, 3. Aug 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ENBT integer shows different number in overlay than in chat!
Mon, 06/22/2020 - 06:27

I set up a scoreboard with a number, which gets influenced by player death...

Then i set up a procedure which sets an NBT tag to the scoreboard, and displays it in chat:

(picture): https://ibb.co/hMXSLk5

Then i set up an overlay which displays the "ENBT:integer:taglives" tag.

When I go in-game the tag displays a different number in chat than in overlay:

(picture): https://ibb.co/1LpBXp4

I set an item that increases the scoreboard number on right click, and it actually increases the tag in the overlay as well!?

(There is no nbt tag in the right click procedure).

I've also tried using a global_session variable,

this actually displays the right number but a different problem occurs:

the number flickers in the overlay between all the players scoreboards scores that have been on the world.

Last seen on 20:49, 8. Feb 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can't fully tell what is…
Mon, 07/06/2020 - 02:18

I can't fully tell what is going on. What i know for sure is that they are pulling different numbers make sure both that are being

displayed are the same.

P.S I don't see the item procedure that you made that would help but i'm sure that is why you are having this problem.

IF not i can't really help unless i see the code 1 letter could mess it all up.

BTW Every get Number by default is set to 0 from start.

so you might be pulling a Variable Number that is 1 letter off.