Jump to content

[1.7.2] Forge/Minecraft Achievement Bug?


Jacky2611

Recommended Posts

ok, just added my own achievements, scrolled to the top of my custom achievements page and crashed with this:

 

 

 

[17:26:27] [server thread/INFO]: Saving and pausing game...
[17:26:27] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/Overworld
[17:26:27] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/Nether
[17:26:27] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/The End
[17:26:27] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/DimenisonShift Infectus
[17:26:33] [server thread/INFO]: Stopping server
[17:26:33] [server thread/INFO]: Saving players
[17:26:33] [server thread/INFO]: Saving worlds
[17:26:33] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/Overworld
[17:26:33] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/Nether
[17:26:33] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/The End
[17:26:33] [server thread/INFO]: Saving chunks for level 'TestTeleporter'/DimenisonShift Infectus
[17:26:33] [server thread/INFO] [FML]: Unloading dimension 0
[17:26:33] [server thread/INFO] [FML]: Unloading dimension -1
[17:26:33] [server thread/INFO] [FML]: Unloading dimension 1
[17:26:33] [server thread/INFO] [FML]: Unloading dimension 9
[17:26:33] [server thread/INFO] [FML]: Applying holder lookups
[17:26:33] [server thread/INFO] [FML]: Holder lookups applied
[17:26:33] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Rendering screen
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1176) ~[EntityRenderer.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1024) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:912) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
at GradleStart.bounce(GradleStart.java:95) [start/:?]
at GradleStart.startClient(GradleStart.java:88) [start/:?]
at GradleStart.main(GradleStart.java:66) [start/:?]
Caused by: java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Random.java:250) ~[?:1.6.0_65]
at net.minecraft.client.gui.achievement.GuiAchievements.func_146552_b(GuiAchievements.java:330) ~[GuiAchievements.class:?]
at net.minecraft.client.gui.achievement.GuiAchievements.drawScreen(GuiAchievements.java:219) ~[GuiAchievements.class:?]
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1145) ~[EntityRenderer.class:?]
... 16 more
---- Minecraft Crash Report ----
// Shall we play a game?

Time: 14.07.14 17:26
Description: Rendering screen

java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Random.java:250)
at net.minecraft.client.gui.achievement.GuiAchievements.func_146552_b(GuiAchievements.java:330)
at net.minecraft.client.gui.achievement.GuiAchievements.drawScreen(GuiAchievements.java:219)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1145)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1024)
at net.minecraft.client.Minecraft.run(Minecraft.java:912)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at GradleStart.bounce(GradleStart.java:95)
at GradleStart.startClient(GradleStart.java:88)
at GradleStart.main(GradleStart.java:66)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at java.util.Random.nextInt(Random.java:250)
at net.minecraft.client.gui.achievement.GuiAchievements.func_146552_b(GuiAchievements.java:330)
at net.minecraft.client.gui.achievement.GuiAchievements.drawScreen(GuiAchievements.java:219)

-- Screen render details --
Details:
Screen name: net.minecraft.client.gui.achievement.GuiAchievements
Mouse location: Scaled: (213, 77). Absolute: (427, 325)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Jacky2611'/342, l='MpServer', x=-844,08, y=7,62, z=1158,02]]
Chunk stats: MultiplayerChunkCache: 190, 190
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options: 
Level spawn location: World: (-836,4,1122), Chunk: (at 12,0,2 in -53,70; contains blocks -848,0,1120 to -833,255,1135), Region: (-2,2; contains chunks -64,64 to -33,95, blocks -1024,0,1024 to -513,255,1535)
Level time: 36629 game time, 17633 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 16 total; [EntityBat['Bat'/351, l='MpServer', x=-896,26, y=40,77, z=1208,51], EntityBat['Bat'/350, l='MpServer', x=-898,67, y=41,20, z=1212,67], EntityBat['Bat'/349, l='MpServer', x=-897,31, y=41,00, z=1212,18], EntityBat['Bat'/348, l='MpServer', x=-906,75, y=41,56, z=1215,05], EntityBat['Bat'/347, l='MpServer', x=-896,78, y=40,26, z=1210,43], EntityBat['Bat'/346, l='MpServer', x=-916,93, y=28,26, z=1118,46], EntityBat['Bat'/345, l='MpServer', x=-914,71, y=28,32, z=1104,50], EntityBat['Bat'/356, l='MpServer', x=-863,66, y=27,10, z=1146,25], EntityBat['Bat'/357, l='MpServer', x=-861,91, y=26,10, z=1153,75], EntityBat['Bat'/358, l='MpServer', x=-854,14, y=32,17, z=1168,47], EntityBat['Bat'/352, l='MpServer', x=-893,75, y=14,10, z=1094,34], EntityBat['Bat'/353, l='MpServer', x=-885,53, y=37,49, z=1096,18], EntityBat['Bat'/354, l='MpServer', x=-864,31, y=27,10, z=1151,28], EntityBat['Bat'/355, l='MpServer', x=-863,44, y=27,10, z=1146,78], EntityClientPlayerMP['Jacky2611'/342, l='MpServer', x=-844,08, y=7,62, z=1158,02], EntityBat['Bat'/361, l='MpServer', x=-781,25, y=47,10, z=1160,25]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:412)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2523)
at net.minecraft.client.Minecraft.run(Minecraft.java:934)
at net.minecraft.client.main.Main.main(Main.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at GradleStart.bounce(GradleStart.java:95)
at GradleStart.startClient(GradleStart.java:88)
at GradleStart.main(GradleStart.java:66)

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Mac OS X (x86_64) version 10.9.2
Java Version: 1.6.0_65, Apple Inc.
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 8336891648 bytes (7950 MB) / 8572502016 bytes (8175 MB) up to 8572502016 bytes (8175 MB)
JVM Flags: 2 total; -Xmx8192M -Xms8192M
AABB Pool Size: 17299 (968744 bytes; 0 MB) allocated, 7 (392 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 14
FML: MCP v9.03 FML v7.2.211.1121 Minecraft Forge 10.12.2.1121 4 mods loaded, 4 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.2.211.1121} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.12.2.1121} [Minecraft Forge] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
dimensionshift{Experimental v0.231} [DimensionShift] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.6
LWJGL: 2.9.1
OpenGL: NVIDIA GeForce GT 650M OpenGL Engine GL version 2.1 NVIDIA-8.24.9 310.40.25f01, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: Deutsch (Deutschland)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1163 (65128 bytes; 0 MB) allocated, 49 (2744 bytes; 0 MB) used
Anisotropic Filtering: Off (1)

 

 

 

Looks like it is not my fault.

Here could be your advertisement!

Link to comment
Share on other sites

Caused by: java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Random.java:250) ~[?:1.6.0_65]

 

		achievementEnderDust = new Achievement("achievementEnderDust", "enderDust", 0, 0, DimensionShift.itemEnderDust, null);
		achievementInfectusDimension = new Achievement("achievementInfectusDimension", "infectusDimension", 0, -7, Items.ender_eye, DimensionShift.achievementEnderDust);


		AchievementPageDimensionShift = new AchievementPage("Dimension Shift", achievementEnderDust, achievementInfectusDimension);
		AchievementPage.registerAchievementPage(AchievementPageDimensionShift);

 

ok, but how else can i have achievements that are above the center? can i somehow move the camera down?

Here could be your advertisement!

Link to comment
Share on other sites

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.