Résolu Erreur sur un bouton de connexion directe
-
Pour ton objet Random, c’est pareil que la dernière fois, il ne sert a rien.
Dans readFile(), tu ne ferme pas tes fluxs. Faut qu’avant de sortir de la fonction tu appelles la méthode close() de bufferedReader dans un bloc finally ou tu test si ta variable n’est pas nulle.Pourquoi initGui est en public ?
Pourquoi il n’est pas dans le constructeur ?En fait il y a plein d’erreur de conception qui rendent ton programme instable je pense.
Dans private static String readFile(String url) ne fait pas un syso(e) mais un e.printStackTace().
Et régénère le rapport stp. -
De quoi tu parle Black ?
Et Robin j’ai utilisé celui là déjà, mais même en local je crash ! WTF ?
Dois-je essayer de mettre à jour mon java ?
-
De ta classe GuiMainMenu
Mettre a jour java ne sert a rien, et c’est peu probable que tu ai une erreur de format concernant ton url. -
Ah !!! Mais je vais péter un plomb !
Voilà mon erreur mais d’où elle sort ? D’OU ?
:::
mars 16, 2014 1:16:47 PM net.minecraft.launchwrapper.LogWrapper log
Infos: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
mars 16, 2014 1:16:47 PM net.minecraft.launchwrapper.LogWrapper log
Infos: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
mars 16, 2014 1:16:47 PM net.minecraft.launchwrapper.LogWrapper log
Infos: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Java is Java HotSpot Client VM, version 1.7.0_45, running on Windows 8:x86:6.2, installed at C:\Program Files (x86)\Java\jre7
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-03-16 13:16:47 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2014-03-16 13:16:47 [Infos] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
2014-03-16 13:16:47 [Grave] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
2014-03-16 13:16:48 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2014-03-16 13:16:48 [Infos] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg
2014-03-16 13:16:48 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
2014-03-16 13:16:48 [Infos] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
2014-03-16 13:16:49 [Infos] [Minecraft-Client] Setting user: TheAmateis
2014-03-16 13:16:50 [Infos] [Minecraft-Client] LWJGL Version: 2.9.0
2014-03-16 13:16:51 [Infos] [Minecraft-Client] Reloading ResourceManager: Default
2014-03-16 13:16:52 [Infos] [MinecraftForge] Attempting early MinecraftForge initialization
2014-03-16 13:16:52 [Infos] [STDOUT] MinecraftForge v9.11.1.965 Initialized
2014-03-16 13:16:52 [Infos] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized
2014-03-16 13:16:52 [Infos] [STDOUT] Replaced 111 ore recipies
2014-03-16 13:16:52 [Infos] [MinecraftForge] Completed early MinecraftForge initialization
2014-03-16 13:16:52 [Infos] [ForgeModLoader] Reading custom logging properties from C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\ViruZ Core Forge 1.6.4_9.11.1.965\forge\mcp\jars\config\logging.properties
2014-03-16 13:16:52 [Désactivé] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2014-03-16 13:16:52 [Infos] [ForgeModLoader] Searching C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\ViruZ Core Forge 1.6.4_9.11.1.965\forge\mcp\jars\mods for mods
2014-03-16 13:16:55 [Infos] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2014-03-16 13:16:55 [Infos] [mcp] Activating mod mcp
2014-03-16 13:16:55 [Infos] [FML] Activating mod FML
2014-03-16 13:16:55 [Infos] [Forge] Activating mod Forge
2014-03-16 13:16:55 [Infos] [ViruZ] Activating mod ViruZ
2014-03-16 13:16:55 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2014-03-16 13:16:55 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2014-03-16 13:16:55 [Avertissement] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well
2014-03-16 13:16:55 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ViruZ
2014-03-16 13:16:55 [Infos] [ForgeModLoader] Registering Forge Packet Handler
2014-03-16 13:16:55 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
2014-03-16 13:16:55 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
2014-03-16 13:16:55 [Grave] [Minecraft-Client] Using missing texture, unable to load: viruz:textures/blocks/presents.png
2014-03-16 13:16:56 [Grave] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_NormalWardrobe.png
2014-03-16 13:16:56 [Infos] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2014-03-16 13:16:56 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2014-03-16 13:16:56 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2014-03-16 13:16:56 [Avertissement] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well
2014-03-16 13:16:56 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ViruZ
2014-03-16 13:16:57 [Grave] [Minecraft-Client] Using missing texture, unable to load: viruz:textures/blocks/presents.png
2014-03-16 13:16:57 [Grave] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_NormalWardrobe.png
2014-03-16 13:16:57 [Infos] [STDOUT]
2014-03-16 13:16:57 [Infos] [STDOUT] Starting up SoundSystem…
2014-03-16 13:16:57 [Infos] [STDOUT] Initializing LWJGL OpenAL
2014-03-16 13:16:57 [Infos] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
2014-03-16 13:16:57 [Infos] [STDOUT] OpenAL initialized.
2014-03-16 13:16:58 [Infos] [STDOUT]
2014-03-16 13:18:09 [Infos] [Minecraft-Client] Connecting to 127.0.0.1, 25565
2014-03-16 13:18:10 [Infos] [STDERR] net.minecraft.util.ReportedException: Ticking screen
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1587)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.main.Main.main(Main.java:93)
2014-03-16 13:18:10 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-03-16 13:18:10 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-03-16 13:18:10 [Infos] [STDERR] Caused by: java.lang.NullPointerException
2014-03-16 13:18:10 [Infos] [STDERR] at java.net.URLEncoder.encode(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
2014-03-16 13:18:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
2014-03-16 13:18:10 [Infos] [STDERR] … 9 more
2014-03-16 13:18:10 [Infos] [STDOUT] –-- Minecraft Crash Report ----
2014-03-16 13:18:10 [Infos] [STDOUT] // Who set us up the TNT?
2014-03-16 13:18:10 [Infos] [STDOUT]
2014-03-16 13:18:10 [Infos] [STDOUT] Time: 16/03/14 13:18
2014-03-16 13:18:10 [Infos] [STDOUT] Description: Ticking screen
2014-03-16 13:18:10 [Infos] [STDOUT]
2014-03-16 13:18:10 [Infos] [STDOUT] java.lang.NullPointerException
2014-03-16 13:18:10 [Infos] [STDOUT] at java.net.URLEncoder.encode(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
2014-03-16 13:18:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-03-16 13:18:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-03-16 13:18:10 [Infos] [STDOUT]
2014-03-16 13:18:10 [Infos] [STDOUT]
2014-03-16 13:18:10 [Infos] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2014-03-16 13:18:10 [Infos] [STDOUT] –-------------------------------------------------------------------------------------
2014-03-16 13:18:10 [Infos] [STDOUT]
2014-03-16 13:18:10 [Infos] [STDOUT] – Head –
2014-03-16 13:18:10 [Infos] [STDOUT] Stacktrace:
2014-03-16 13:18:10 [Infos] [STDOUT] at java.net.URLEncoder.encode(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
2014-03-16 13:18:10 [Infos] [STDOUT]
2014-03-16 13:18:10 [Infos] [STDOUT] – Affected screen –
2014-03-16 13:18:10 [Infos] [STDOUT] Details:
2014-03-16 13:18:10 [Infos] [STDOUT] Screen name: net.minecraft.client.multiplayer.GuiConnecting
2014-03-16 13:18:10 [Infos] [STDOUT] Stacktrace:
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
2014-03-16 13:18:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-03-16 13:18:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-03-16 13:18:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-03-16 13:18:10 [Infos] [STDOUT]
2014-03-16 13:18:10 [Infos] [STDOUT] – System Details –
2014-03-16 13:18:10 [Infos] [STDOUT] Details:
2014-03-16 13:18:10 [Infos] [STDOUT] Minecraft Version: 1.6.4
2014-03-16 13:18:10 [Infos] [STDOUT] Operating System: Windows 8 (x86) version 6.2
2014-03-16 13:18:10 [Infos] [STDOUT] Java Version: 1.7.0_45, Oracle Corporation
2014-03-16 13:18:10 [Infos] [STDOUT] Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation
2014-03-16 13:18:10 [Infos] [STDOUT] Memory: 983048816 bytes (937 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
2014-03-16 13:18:10 [Infos] [STDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2014-03-16 13:18:10 [Infos] [STDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
2014-03-16 13:18:10 [Infos] [STDOUT] Suspicious classes: FML and Forge are installed
2014-03-16 13:18:10 [Infos] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
2014-03-16 13:18:10 [Infos] [STDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active
2014-03-16 13:18:10 [Infos] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 13:18:10 [Infos] [STDOUT] FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 13:18:10 [Infos] [STDOUT] Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 13:18:10 [Infos] [STDOUT] ViruZ{3.0} [ViruZ] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 13:18:10 [Infos] [STDOUT] Launched Version: 1.6
2014-03-16 13:18:10 [Infos] [STDOUT] LWJGL: 2.9.0
2014-03-16 13:18:10 [Infos] [STDOUT] OpenGL: Intel HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.3347, Intel
2014-03-16 13:18:10 [Infos] [STDOUT] Is Modded: Definitely; Client brand changed to ‘fml,forge’
2014-03-16 13:18:10 [Infos] [STDOUT] Type: Client (map_client.txt)
2014-03-16 13:18:10 [Infos] [STDOUT] Resource Pack: Default
2014-03-16 13:18:10 [Infos] [STDOUT] Current Language: English (US)
2014-03-16 13:18:10 [Infos] [STDOUT] Profiler Position: N/A (disabled)
2014-03-16 13:18:10 [Infos] [STDOUT] Vec3 Pool Size:ERRORNullPointerException: null
2014-03-16 13:18:10 [Infos] [STDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\ViruZ Core Forge 1.6.4_9.11.1.965\forge\mcp\jars.\crash-reports\crash-2014-03-16_13.18.10-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed:::
Je viens aussi de tester avec l’écran Multiplayer de base en local et le dédier, j’ai le même crash
Back pour le initGui() j’ai rien touché tout est de base dans Minecraft
Même avec un printStackTrace j’ai la même erreur de crash et l’annonce qui défile n’a rien à voir là dedans
Sans rien, toucher dans un mcp totalement vierge, je rentre juste l’adresse en multiplayer, BOUM il crash en local ou sur le dédier, mais avec une autre version de serveur, Rien ! J’ai fait le test avec isador, donc le souci est côté serveur ?
-
Personne n’a d’idées pour mon problème ?
-Robin tu m’a parlé d’encodage qu’entends-tu par là ?
Suis-je le seul à qui ça arrive ?
J’utilise un mcpc+ en 1.6.4
mcpc-plus-1.6.4-R2.1-forge965-B250
Pour être exact !Et un forge (client) de cette version:
1.6.4 build 9.11.1.965Qu’est-ce que je dois vous fournir comme info du plus mis-à part ces logs
:::
mars 16, 2014 5:28:19 PM net.minecraft.launchwrapper.LogWrapper log
Infos: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
mars 16, 2014 5:28:19 PM net.minecraft.launchwrapper.LogWrapper log
Infos: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
mars 16, 2014 5:28:19 PM net.minecraft.launchwrapper.LogWrapper log
Infos: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Java is Java HotSpot Client VM, version 1.7.0_45, running on Windows 8:x86:6.2, installed at C:\Program Files (x86)\Java\jre7
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-03-16 17:28:19 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2014-03-16 17:28:19 [Infos] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
2014-03-16 17:28:19 [Grave] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
2014-03-16 17:28:20 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2014-03-16 17:28:20 [Infos] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg
2014-03-16 17:28:20 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
2014-03-16 17:28:20 [Infos] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
2014-03-16 17:28:21 [Infos] [Minecraft-Client] Setting user: TheAmateis
2014-03-16 17:28:21 [Infos] [Minecraft-Client] LWJGL Version: 2.9.0
2014-03-16 17:28:23 [Infos] [Minecraft-Client] Reloading ResourceManager: Default
2014-03-16 17:28:24 [Infos] [MinecraftForge] Attempting early MinecraftForge initialization
2014-03-16 17:28:24 [Infos] [STDOUT] MinecraftForge v9.11.1.965 Initialized
2014-03-16 17:28:24 [Infos] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized
2014-03-16 17:28:24 [Infos] [STDOUT] Replaced 111 ore recipies
2014-03-16 17:28:25 [Infos] [MinecraftForge] Completed early MinecraftForge initialization
2014-03-16 17:28:25 [Infos] [ForgeModLoader] Reading custom logging properties from C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\ViruZ Core Forge 1.6.4_9.11.1.965\forge\mcp\jars\config\logging.properties
2014-03-16 17:28:25 [Désactivé] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2014-03-16 17:28:25 [Infos] [ForgeModLoader] Searching C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\ViruZ Core Forge 1.6.4_9.11.1.965\forge\mcp\jars\mods for mods
2014-03-16 17:28:36 [Infos] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2014-03-16 17:28:36 [Infos] [mcp] Activating mod mcp
2014-03-16 17:28:36 [Infos] [FML] Activating mod FML
2014-03-16 17:28:36 [Infos] [Forge] Activating mod Forge
2014-03-16 17:28:36 [Infos] [ViruZ] Activating mod ViruZ
2014-03-16 17:28:36 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2014-03-16 17:28:36 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2014-03-16 17:28:36 [Avertissement] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well
2014-03-16 17:28:36 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ViruZ
2014-03-16 17:28:36 [Infos] [ForgeModLoader] Registering Forge Packet Handler
2014-03-16 17:28:36 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
2014-03-16 17:28:36 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
2014-03-16 17:28:37 [Grave] [Minecraft-Client] Using missing texture, unable to load: viruz:textures/blocks/presents.png
2014-03-16 17:28:37 [Grave] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_NormalWardrobe.png
2014-03-16 17:28:39 [Infos] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2014-03-16 17:28:39 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2014-03-16 17:28:39 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2014-03-16 17:28:39 [Avertissement] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well
2014-03-16 17:28:39 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ViruZ
2014-03-16 17:28:40 [Grave] [Minecraft-Client] Using missing texture, unable to load: viruz:textures/blocks/presents.png
2014-03-16 17:28:40 [Grave] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_NormalWardrobe.png
2014-03-16 17:28:40 [Infos] [STDOUT]
2014-03-16 17:28:40 [Infos] [STDOUT] Starting up SoundSystem…
2014-03-16 17:28:40 [Infos] [STDOUT] Initializing LWJGL OpenAL
2014-03-16 17:28:40 [Infos] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
2014-03-16 17:28:40 [Infos] [STDOUT] OpenAL initialized.
2014-03-16 17:28:40 [Infos] [STDOUT]
2014-03-16 17:28:55 [Infos] [Minecraft-Client] Connecting to localhost, 25565
2014-03-16 17:29:08 [Infos] [Minecraft-Client] Connecting to rdm.bigbrosteam.com, 25565
2014-03-16 17:29:10 [Infos] [STDERR] net.minecraft.util.ReportedException: Ticking screen
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1587)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.main.Main.main(Main.java:93)
2014-03-16 17:29:10 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-03-16 17:29:10 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-03-16 17:29:10 [Infos] [STDERR] Caused by: java.lang.NullPointerException
2014-03-16 17:29:10 [Infos] [STDERR] at java.net.URLEncoder.encode(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
2014-03-16 17:29:10 [Infos] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
2014-03-16 17:29:10 [Infos] [STDERR] … 9 more
2014-03-16 17:29:10 [Infos] [STDOUT] –-- Minecraft Crash Report ----
2014-03-16 17:29:10 [Infos] [STDOUT] // I let you down. Sorry
2014-03-16 17:29:10 [Infos] [STDOUT]
2014-03-16 17:29:10 [Infos] [STDOUT] Time: 16/03/14 17:29
2014-03-16 17:29:10 [Infos] [STDOUT] Description: Ticking screen
2014-03-16 17:29:10 [Infos] [STDOUT]
2014-03-16 17:29:10 [Infos] [STDOUT] java.lang.NullPointerException
2014-03-16 17:29:10 [Infos] [STDOUT] at java.net.URLEncoder.encode(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
2014-03-16 17:29:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-03-16 17:29:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-03-16 17:29:10 [Infos] [STDOUT]
2014-03-16 17:29:10 [Infos] [STDOUT]
2014-03-16 17:29:10 [Infos] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2014-03-16 17:29:10 [Infos] [STDOUT] –-------------------------------------------------------------------------------------
2014-03-16 17:29:10 [Infos] [STDOUT]
2014-03-16 17:29:10 [Infos] [STDOUT] – Head –
2014-03-16 17:29:10 [Infos] [STDOUT] Stacktrace:
2014-03-16 17:29:10 [Infos] [STDOUT] at java.net.URLEncoder.encode(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51)
2014-03-16 17:29:10 [Infos] [STDOUT]
2014-03-16 17:29:10 [Infos] [STDOUT] – Affected screen –
2014-03-16 17:29:10 [Infos] [STDOUT] Details:
2014-03-16 17:29:10 [Infos] [STDOUT] Screen name: net.minecraft.client.multiplayer.GuiConnecting
2014-03-16 17:29:10 [Infos] [STDOUT] Stacktrace:
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1580)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
2014-03-16 17:29:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-03-16 17:29:10 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-03-16 17:29:10 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-03-16 17:29:10 [Infos] [STDOUT]
2014-03-16 17:29:10 [Infos] [STDOUT] – System Details –
2014-03-16 17:29:10 [Infos] [STDOUT] Details:
2014-03-16 17:29:10 [Infos] [STDOUT] Minecraft Version: 1.6.4
2014-03-16 17:29:10 [Infos] [STDOUT] Operating System: Windows 8 (x86) version 6.2
2014-03-16 17:29:10 [Infos] [STDOUT] Java Version: 1.7.0_45, Oracle Corporation
2014-03-16 17:29:10 [Infos] [STDOUT] Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation
2014-03-16 17:29:10 [Infos] [STDOUT] Memory: 985416304 bytes (939 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
2014-03-16 17:29:10 [Infos] [STDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2014-03-16 17:29:10 [Infos] [STDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
2014-03-16 17:29:10 [Infos] [STDOUT] Suspicious classes: FML and Forge are installed
2014-03-16 17:29:10 [Infos] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
2014-03-16 17:29:10 [Infos] [STDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active
2014-03-16 17:29:10 [Infos] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 17:29:10 [Infos] [STDOUT] FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 17:29:10 [Infos] [STDOUT] Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 17:29:10 [Infos] [STDOUT] ViruZ{3.0} [ViruZ] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
2014-03-16 17:29:10 [Infos] [STDOUT] Launched Version: 1.6
2014-03-16 17:29:10 [Infos] [STDOUT] LWJGL: 2.9.0
2014-03-16 17:29:10 [Infos] [STDOUT] OpenGL: Intel HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.3347, Intel
2014-03-16 17:29:10 [Infos] [STDOUT] Is Modded: Definitely; Client brand changed to ‘fml,forge’
2014-03-16 17:29:10 [Infos] [STDOUT] Type: Client (map_client.txt)
2014-03-16 17:29:10 [Infos] [STDOUT] Resource Pack: Default
2014-03-16 17:29:10 [Infos] [STDOUT] Current Language: English (US)
2014-03-16 17:29:10 [Infos] [STDOUT] Profiler Position: N/A (disabled)
2014-03-16 17:29:10 [Infos] [STDOUT] Vec3 Pool Size:ERRORNullPointerException: null
2014-03-16 17:29:10 [Infos] [STDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\ViruZ Core Forge 1.6.4_9.11.1.965\forge\mcp\jars.\crash-reports\crash-2014-03-16_17.29.10-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed:::
L’erreur vient aussi bien sur le serveur dédier que j’ai chez OVH, qu’en local !
Voilà j’ai tout dit
-
Quand tu vas dans Window -> Preferences -> General -> Workspace -> choisi UTF8.
-
Je teste tout ça !
Je crash en local ou sur le dédier quand même
-
Quand je t’avais passé l’ip de mon serv ça marché non?
-
Bon je DL forge, et je mets les mains dans le cambouis.
Pour moi, vous ne cherchez pas au bon endroit et c’est pour ça que vous ne trouvez pas.
Ça n’a rien avoir avec l’ip ou l’encodage je pense. -
Ok black dit moi si tu as du nouveau !
Non isa avec toi cela a fonctionné !
-
Est ce que tu pourrais me donner un executable qui test uniquement ta classe ?
Pourquoi faire une fonction actionPerform alors que tu pourrais la mettre directement sur tes boutons ?
Ici tu charges la pile d’exécution inutilement (ça à la limite c’est pas trop grave), et a chaque fois que tu effectues une action ton CPU doit faire n test pour trouver sur lequel tu a appuyé. Ça niveau performance, c’est pas top. -
@‘Blackout’:
Est ce que tu pourrais me donner un executable qui test uniquement ta classe ?
Pourquoi faire une fonction actionPerform alors que tu pourrais la mettre directement sur tes boutons ?
Ici tu charges la pile d’exécution inutilement (ça à la limite c’est pas trop grave), et a chaque fois que tu effectues une action ton CPU doit faire n test pour trouver sur lequel tu a appuyé. Ça niveau performance, c’est pas top.Honnêtement, c’est pas un petit if qui change grand chose.
-
Je sais pas trop de quoi tu parles quand tu me demande un exécutable de la classe GuiMainMenu Ce que je cherche à savoir si chez vous en local vous avez le même problème de connexion, donc un crash, si chez vous vous n’avez rien je re-installerais Eclipse, Mais ce que je ne comprends pas c’est que chez Isador il à eu le même problème que moi quand je lui ai filer l’adresse ip donc ça doit venir de la build du mcpc+ en 1.6.4 mais pas du côté client, à mon avis ! Après je ne suis pas sûr de ce que j’avance ! Car il doit bien y avoir une personne avant moi qui ai eu se problème ! Les logs client rien ne va, mais côté serveur il me détecte juste un lost connexion…
Je sais plus trop où cherché en fait !
Donc voilà si quelqu’un à un petit peu de temps à perdre pour moi: et qu’il veux faire un test en local il lui faut utiliser la dernière build de MCPC+ en 1.6.4 ou sinon tester cette adresse ip:
rdm.bigbrosteam.com (pour vous éviter l’installation du serveur)
Si il faut des screens ou une vidéo du problème je les/la ferais !
Merci de votre aide dans tout les cas !
-
@‘jglrxavpok’:
@‘Blackout’:
Est ce que tu pourrais me donner un executable qui test uniquement ta classe ?
Pourquoi faire une fonction actionPerform alors que tu pourrais la mettre directement sur tes boutons ?
Ici tu charges la pile d’exécution inutilement (ça à la limite c’est pas trop grave), et a chaque fois que tu effectues une action ton CPU doit faire n test pour trouver sur lequel tu a appuyé. Ça niveau performance, c’est pas top.Honnêtement, c’est pas un petit if qui change grand chose.
Il y en a pas qu’un xD Et si tu prends tout les defauts de minecraft + tout les defaut d’autre mods, ça peut faire beaucoup.
@ZeAmateis :
J’entends par exécutable un mod qui ne fait qu’afficher ton GuiMainMenu, sans aucune autre fonctionnalité, histoire que je puisse test la chose
NB : Je ne comprend pas ce que tu fou dans le package net.minecraft. Normalement tu dois créé ton propre package et faire des imports. -
Pour la partie client je modifie le GuiMainMenu car après tout c’est pour mon serveur donc il y aura un launcher … je vais pas m’embêter à faire un mod client/serveur
-
@‘Blackout’:
@‘jglrxavpok’:
@‘Blackout’:
Est ce que tu pourrais me donner un executable qui test uniquement ta classe ?
Pourquoi faire une fonction actionPerform alors que tu pourrais la mettre directement sur tes boutons ?
Ici tu charges la pile d’exécution inutilement (ça à la limite c’est pas trop grave), et a chaque fois que tu effectues une action ton CPU doit faire n test pour trouver sur lequel tu a appuyé. Ça niveau performance, c’est pas top.Honnêtement, c’est pas un petit if qui change grand chose.
Il y en a pas qu’un xD Et si tu prends tout les defauts de minecraft + tout les defaut d’autre mods, ça peut faire beaucoup.
Utiliser du code sur le bouton est pas mieux… Nouvelle classe pour un bouton… (bon, bref, faut retourner au sujet de base)
-
Selon vous que dois-je faire ?
-
@‘jglrxavpok’:
@‘Blackout’:
@‘jglrxavpok’:
@‘Blackout’:
Est ce que tu pourrais me donner un executable qui test uniquement ta classe ?
Pourquoi faire une fonction actionPerform alors que tu pourrais la mettre directement sur tes boutons ?
Ici tu charges la pile d’exécution inutilement (ça à la limite c’est pas trop grave), et a chaque fois que tu effectues une action ton CPU doit faire n test pour trouver sur lequel tu a appuyé. Ça niveau performance, c’est pas top.Honnêtement, c’est pas un petit if qui change grand chose.
Il y en a pas qu’un xD Et si tu prends tout les defauts de minecraft + tout les defaut d’autre mods, ça peut faire beaucoup.
Utiliser du code sur le bouton est pas mieux… Nouvelle classe pour un bouton… (bon, bref, faut retourner au sujet de base)
Avec les classes, tu charges les registres au lieu de la pile d’exécution me semble t’il ^^
Mais encore une fois, ce point est négligeable vu que les registres et la pile d’exécution ne sont pas limitant pour ce qu’on en fait. La je parle vraiment de la succession de if. En langage machine, un if reste un if, tandis que l’appel d’un event par la JVM fait juste appel a un goto.Oui tu as raison, on s’éloigne un peu. Mais je trouve que ça peut toujours servir d’en discuter
@ZeAmateis : Si j’ai bien compris tu écrases une classe déjà existante ?
-
Oui en gros j’ai fait un .old de GuiMainMenu juste l’extension et j’utilise un GuiMainMenu directement dans le package net.minecraft.client.gui
-
Pensez-vous qu’une ré-install d’Eclipse fonctionnerais ?