Jump to content

Interesting bug that only affects me (everyone else on server is fine)


Recommended Posts

Posted

So my mod was working fine yesterday when I launched it through Eclipse. Today, I made no changes to the code, I just compiled it. Now, whenever I launch my mod, either through Eclipse or through Minecraft, my GUI looks like this: ZbProm3.jpg

 

It affects every GUI that I can open; pause menu, crafting, inventory, etc, and any GUI that any other mod provides, like the minimap. I tried on a fresh version of Forge, and the only difference was that I had nothing but a blue screen. Like the screen you get when you run out of memory, but I could pause (nothing happened but a cursor appeared) and control my character (could hear my footsteps, and other players can I was moving). I tried removing the mod from forge, and it fixed it.

 

Has anyone experienced this error before, or know what causes it? And as I said, it does not affect any players but me.

Posted

I'm not very familiar with GUI's as much as others, and I have also never seen this bug before.

 

Post your code and maybe I can or someone else can figure it out.

 

Since you said that everyone else's was working in the title, you must've done the textures right then.

Got a question that's somewhat beginner - intermediate? Don't hesitate to ask!

 

Here to help! :)

Posted

I must ask, were the other people using your mod or was it just you? If that was the case... Hmm, I wonder why it was just you!

 

If the others were using your mod... Hmm, post the code.

We all stuff up sometimes... But I seem to be at the bottom of that pot.

Posted

I get a "blue screen" (it is a bit paler color than actual windows blue screen) sometimes when I screw up rendering.  And your issue here seems to be some rendering scaling problem.

 

I suggest that maybe you're not pushing/popping the g11 transforms properly.  You probably are messing up the stack and some transform is affecting the next rendered element.

 

I know you say you didn't modify your code, but sometimes I leave Eclipse open on my computer with something highlighted and then someone (maybe me) comes along later to wake up the computer and presses space bar.  It can easily wipe out a line or section of code without you really noticing.

 

Anyway, I'd look everywhere you do rendering and especially g11 transformations.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted

The thing is, I was playing on the same server with the exact same .jar as two other people, and it didn't affect them at all. Also, I haven't used any GL11 scaling anywhere in my mod.

 

However, as you mentioned, it is that pale blue colour that you get when Minecraft runs out of memory.

Posted

Memory and stack issues can exhibit quite different behavior on different computers.  For example, maybe g11 clears out occasionally and depends on the timing -- on some computers they may not run into stack trouble as fast as on yours.

 

What Forge version exactly are you using?  I find that with the latest (1133) that I'm getting occasionally VM heap problems even though I've got 4GB heap paramters for the JVM and I'm also not doing much fancy.  Is it possible that you're running slightly different Forge version than the other users?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted

Gah, fixed it. Removed glPushAttrib(GL11.GL_ENABLE_BIT), and disabled ALPHA_TEST. Possibly something to do with the fact that both of the other people who were running the mod have AMD graphics cards, while I'm running nVidia?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

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