Jump to content

Korynkai

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Korynkai's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Oh, wow, I stand corrected, and I think I know why... The error was originally regarding "errorScreen.initGui" being called recursively (resulting in a stack overflow). Not sure why I thought this call was necessary, but this now works properly with line 8 of that class removed. For anybody else looking for how to do this, just modify the above class for your error message (make sure to remove "errorScreen.initGui" from line and put this in one of your client-side proxy calls (within the appropriate conditions): Thanks diesieben07
  2. Hello all, I've been doing quite a bit of work on MachineMuse's Modular Powersuits lately and, after I realized that when one mod is loaded another must be loaded or issues with the player model occurs, I started trying to figure out how to generate a custom error screen when this condition arises, to prompt the user to install the required mod. Unfortunately, I can't seem to figure out how to generate said error, currently my client just breezes through the call as if there were nothing there. I must mention I'm not to concerned about the conditions at this point, I just want this error screen to display whenever the client starts up (the conditionals for this are simple enough and I'll be writing these in when I'm able to generate the error screen properly). my RenderPlayerAPIRequiredDisplayException class (language: scala) which is being called as such (the call is floating, still trying to determine where this goes and whether or not it's exactly the correct call to make): For the most part, I've been calling this in the client-side eventhandler methods within our CommonProxy class. I assumed this was the correct place to call this, else it would be trying to call this on the server (which would cause other errors)...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.