This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Mungoman1's profile picture

Buffer Elements Error

Started by Mungoman1, 13 March 2012 - 11:19 PM
Mungoman1 #1
Posted 14 March 2012 - 12:19 AM
Hello!
I've had this problem with installing mods several times before, and by FAR the most annoying one is Computercraft.
Hopefully someone here can help me out :mellow:/>/>

Error code:

java.lang.IllegalArgumentException: Number of remaining buffer elements is 1024, must be at least 4096
at org.lwjgl.BufferChecks.throwBufferSizeException(BufferChecks.java:143)
at org.lwjgl.BufferChecks.checkBufferSize(BufferChecks.java:158)
at org.lwjgl.BufferChecks.checkBuffer(BufferChecks.java:163)
at org.lwjgl.opengl.GL11.glTexSubImage2D(GL11.java:2908)
at aar.a(RenderEngine.java:528)
at net.minecraft.client.Minecraft.k(Minecraft.java:1558)
at net.minecraft.client.Minecraft.x(Minecraft.java:842)
at net.minecraft.client.Minecraft.run(Minecraft.java:747)
at java.lang.Thread.run(Unknown Source)
Cloudy #2
Posted 14 March 2012 - 12:54 AM
Instead of using MCPatcher for HD textures, try using Optifine to do it.
6677 #3
Posted 14 March 2012 - 02:25 PM
Like the guy above mentions, MCPatcher causes issues. It breaks modloader.


Solution:
  • Go back to a vanilla minecraft jar
  • Install Modloader
  • Install ModloaderMP
  • Install Forge
  • Install optifine
  • Then add your HD texture pack into your texture pack folder as usual (no MC patcher) and select it in game. Optifine has MC patcher functionality built in with an improved frame rate aswell.


You MUST install in that order, installing optifine then the others breaks optifine, however optifine has been developed to deliberately not break modloader (wish modloader would do the same).
Mungoman1 #4
Posted 14 March 2012 - 10:14 PM
Thanks a lot guys! that is AWERSOME news :mellow:/>/>
I wasn't aware that Optifine didn't break Forge, as it overwrites a nice hunk of the files forge does, and now I can use the colors mod too ;)/>/>