Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Display Gui when a Field in the players IEEP's is Empty/Null [UNSOLVED]
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
ItsAMysteriousYT

Display Gui when a Field in the players IEEP's is Empty/Null [UNSOLVED]

By ItsAMysteriousYT, January 8, 2016 in Modder Support

  • Reply to this topic
  • Start new topic
  • Prev
  • 1
  • 2
  • Next
  • Page 2 of 2  

Recommended Posts

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 10, 2016

Im sorry :(:-[

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 11, 2016

@diesieben07 - did you found something?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 11, 2016

Cloned your repo (which is a bit of a mess btw.). Ran your mod.

Conclusion: READ THE FUCKING CONSOLE.

 

 

[19:20:01] [server thread/ERROR]: Failed to save extended properties for RealLifeProperties.  This is a mod issue.
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.IllegalArgumentException: Empty string not allowed
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.nbt.NBTTagString.<init>(NBTTagString.java:24)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.nbt.NBTTagCompound.setString(NBTTagCompound.java:139)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at itsamysterious.mods.reallifemod.core.lifesystem.RLMPlayerProps.saveNBTData(RLMPlayerProps.java:198)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.entity.Entity.writeToNBT(Entity.java:1611)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.world.storage.SaveHandler.writePlayerData(SaveHandler.java:271)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.server.management.ServerConfigurationManager.writePlayerData(ServerConfigurationManager.java:333)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.server.integrated.IntegratedPlayerList.writePlayerData(IntegratedPlayerList.java:36)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.server.management.ServerConfigurationManager.saveAllPlayerData(ServerConfigurationManager.java:890)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:146)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
[19:20:01] [server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: 	at java.lang.Thread.run(Thread.java:745)

 

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 11, 2016

But they where saved properly - i saw that in the sysouts. Did this crash appear directly at worldloading?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 11, 2016

No, they are not saved properly, that's what the log says. This happens when the game is saved (e.g. when you go into the pause menu).

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 11, 2016

WTF??? Do you see the sysout's?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 11, 2016

What are you talking about?

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 11, 2016

Im gonna update the git and then try it again - cuz forme it looks like this:

 

 

[20:18:50] [server thread/INFO]: Generating keypair

[20:18:51] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[20:18:51] [server thread/INFO] [FML]: Applying holder lookups

[20:18:51] [server thread/INFO] [FML]: Holder lookups applied

[20:18:51] [server thread/INFO] [FML]: Loading dimension 0 (Real Life Mod Devlog) (net.minecraft.server.integrated.IntegratedServer@15ca4d8e)

[20:18:51] [server thread/INFO] [FML]: Loading dimension 1 (Real Life Mod Devlog) (net.minecraft.server.integrated.IntegratedServer@15ca4d8e)

[20:18:51] [server thread/INFO] [FML]: Loading dimension -1 (Real Life Mod Devlog) (net.minecraft.server.integrated.IntegratedServer@15ca4d8e)

[20:18:51] [server thread/INFO]: Preparing start region for level 0

[20:18:51] [server thread/INFO]: Changing view distance to 16, from 10

[20:18:51] [Netty Local Client IO #1/INFO] [FML]: Server protocol version 2

[20:18:51] [Netty Server IO #3/INFO] [FML]: Client protocol version 2

[20:18:51] [Netty Server IO #3/INFO] [FML]: Client attempting to join with 5 mods : reallifemod@0.44,FML@8.0.99.99,RenderPlayerAPI@1.5,Forge@11.14.4.1577,mcp@9.05

[20:18:51] [Netty Local Client IO #1/INFO] [FML]: [Netty Local Client IO #1] Client side modded connection established

[20:18:51] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[20:18:51] [server thread/INFO] [sTDOUT]: [itsamysterious.mods.reallifemod.core.lifesystem.RLMPlayerProps:loadNBTData:233]: Succesfully loaded tag! Values are:

[20:18:51] [server thread/INFO] [sTDOUT]: [itsamysterious.mods.reallifemod.core.lifesystem.RLMPlayerProps:loadNBTData:234]: ItsAMysterious

[20:18:51] [server thread/INFO] [sTDOUT]: [itsamysterious.mods.reallifemod.core.lifesystem.RLMPlayerProps:loadNBTData:235]: Mods

[20:18:51] [server thread/INFO] [sTDOUT]: [itsamysterious.mods.reallifemod.core.lifesystem.RLMPlayerProps:loadNBTData:236]: Male

[20:18:51] [server thread/INFO] [sTDOUT]: [itsamysterious.mods.reallifemod.core.lifesystem.RLMPlayerProps:loadNBTData:237]: Doctor

[20:18:51] [server thread/INFO]: ItsAMysterious[local:E:ed972282] logged in with entity id 10517 at (146.510934939376, 67.0, -81.40105577503573)

[20:18:51] [server thread/INFO]: ItsAMysterious joined the game

[20:18:51] [server thread/INFO] [sTDOUT]: [itsamysterious.mods.reallifemod.core.eventhandlers.CommonHandler:showTheGui:56]: PlayerLoggedInEvent has been called - the RLMPlayerProps arenot null

[20:18:52] [server thread/INFO]: Saving and pausing game...

[20:18:52] [server thread/INFO]: Saving chunks for level 'Real Life Mod Devlog'/Overworld

[20:18:52] [server thread/INFO]: Saving chunks for level 'Real Life Mod Devlog'/Nether

[20:18:52] [server thread/INFO]: Saving chunks for level 'Real Life Mod Devlog'/The End

 

 

 

And no crash - just the gui is still shown every time

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 11, 2016

There is no GUI for me.

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 11, 2016

lol im deffinitly gonna update the github code...

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 11, 2016

Ok - it's updated!!

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 12, 2016

Ok - it's updated!!

No, there were no changes since I last checked it out:

HG7dngd.png

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 12, 2016

Should be updated now - Im sorry it's causing so many problems! I really are :(

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 12, 2016
dKpnAE6.png
  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 12, 2016

Ah well yes you need to add RenderPlayerAPI :)

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 12, 2016

Your repo should usually work out of the box (meaning you should include any APIs via a maven dependency).

Otherwise: instructions what exactly I need.

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 12, 2016

What do i need to put into the maven thing?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 12, 2016

That depends on the library you are trying to use.

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 13, 2016

Okay - i think i know what to add - does the gui show for you now?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted January 13, 2016

7PnPw5S.png

 

You did not change anything.

  • Quote

Share this post


Link to post
Share on other sites

ItsAMysteriousYT    7

ItsAMysteriousYT

ItsAMysteriousYT    7

  • Dragon Slayer
  • ItsAMysteriousYT
  • Members
  • 7
  • 785 posts
Posted January 14, 2016

Can i send you the stuff via mediafire? It seams like github don't want's to update anything :/

  • Quote

Share this post


Link to post
Share on other sites
  • Prev
  • 1
  • 2
  • Next
  • Page 2 of 2  

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • poopoodice
      [1.15.2]ServerWorld.spawnParticle excluding specific player

      By poopoodice · Posted 7 minutes ago

      It sends a packet to all/tracking clients, you should be able to do the same thing but without sending to the specific player.
    • Woodside
      [1.15.2]ServerWorld.spawnParticle excluding specific player

      By Woodside · Posted 1 hour ago

      I have an item which I want to spawn a specific particle for the user, and then a separate particle for other players. Spawning one exclusively for the player using is easy enough, but spawning a particle server side has no way to exclude a specific player. Is there a way to do this without reflection?
    • DaemonUmbra
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By DaemonUmbra · Posted 2 hours ago

      Please read the error...
    • DaemonUmbra
      HELP! WORLD WONT WORK

      By DaemonUmbra · Posted 2 hours ago

      I told you to delete a file in the save, not the save itself Go into the save and delete forge-server.toml from serverconfig
    • Gubipe
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By Gubipe · Posted 3 hours ago

      I am making the two mods with the same functionality. One is 1.16.4 and the other is 1.8.9. The current one is 1.8.9 and then I shall try to port it over to 1.16.4
  • Topics

    • Woodside
      1
      [1.15.2]ServerWorld.spawnParticle excluding specific player

      By Woodside
      Started 1 hour ago

    • TheDonkey_King
      5
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By TheDonkey_King
      Started 9 hours ago

    • BIGDog8808
      11
      HELP! WORLD WONT WORK

      By BIGDog8808
      Started 10 hours ago

    • Gubipe
      2
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By Gubipe
      Started 6 hours ago

    • mightymoy
      8
      Cant craft items in modded server

      By mightymoy
      Started Yesterday at 03:00 AM

  • Who's Online (See full list)

    • CaelTheQuail
    • Klarks
    • kerimgul340
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Display Gui when a Field in the players IEEP's is Empty/Null [UNSOLVED]
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community