MachineMuse / MachineMusePowersuits

Minecraft mod, take 2
236 stars 105 forks source link

How to run client in dev environment? #724

Closed seijinshu closed 8 years ago

seijinshu commented 8 years ago

I am having issues running the dev environment. I cannot build due to scala issues Now, I cannot run Minecraft due to Missing mods, and as I keep adding them, I start getting class not found errors related to entity and livingEntity

seijinshu commented 8 years ago

time to run gradlew setupDevEnvironment EDIT:setupDevWorkspace

seijinshu commented 8 years ago

Now for importing into IntelliJ

seijinshu commented 8 years ago

k Now off to grabbing dependencies.

lehjr commented 8 years ago

Windows vs Linux is a tough choice. The windows video drivers are far better, but everything else, meh. Windows updates drove me away from Windows, both because of the lack of optimization and the code quality (or lack thereof).

seijinshu commented 8 years ago

I've always been using linux, as my first computer ran Ubuntu 6.06 Dapper Drake I only use Windows* since my district has kicked people out because they were a "threat to the district's security" since they used Linux.

*Lol, said computer

seijinshu commented 8 years ago

So what exactly do I need to comment out to fix the chisel mod issues?

seijinshu commented 8 years ago

Is it in the build.gradle, or is it in the code itself?

seijinshu commented 8 years ago

C:\Users\seijinshu\Desktop\MachineMusePowersuits-experimental\build\sources\scala\net\machinemuse\powersuits\event\RenderEventHandler.scala:108: value DARKGREY is not a member of object net.machinemuse.numina.geometry.Colour MuseIconUtils.drawIconAt(x, frame.top, module.getModule.getIcon(null), if (active) Colour.WHITE else Colour.DARKGREY.withAlpha(0.5)) ^ one error found I get this issue when building.

seijinshu commented 8 years ago

K, that didn't work. It only is having issues with Color stuff.

seijinshu commented 8 years ago

Have any idea @lehjr ?

lehjr commented 8 years ago

make sure you are using the right branch of the repo to build Numina (experimental). For Chisel, it's either in src/main/scala/net/machinemuse/powersuits/powermodule/tool/ChiselGetter1.java or src/main/scala/net/machinemuse/powersuits/powermodule/tool/ChiselGetter2.java

lines 9, 10, and 11

seijinshu commented 8 years ago

Oh lol. Forgot to add Numia from expert after I compiled it. Derp Thanks for the lines.

seijinshu commented 8 years ago

C:\Users\seijinshu\Desktop\MachineMusePowersuits-experimental\build\sources\scala\net\machinemuse\powersuits\powermodule\tool\ChiselModule.java:44: error: cannot find symbol ITEM_CHISEL = ChiselGetter2.getChisel(); ^ symbol: method getChisel() location: class ChiselGetter2

seijinshu commented 8 years ago

Just hate how I can't figure out posting code on github in a code box

lehjr commented 8 years ago

comment that line out too (experimental\build\sources\scala\net\machinemuse\powersuits\powermodule\tool\ChiselModule.java:44).

Which line depends on which one you commented out, in this case it would be the line in the error (44)

seijinshu commented 8 years ago

OK I just did that as you commented

seijinshu commented 8 years ago

LOL

seijinshu commented 8 years ago

Now the moment I've been waiting for... can I launch the client?

lehjr commented 8 years ago

All of that is why I try to not mess with the 1.7.10 build any more than I have to.

seijinshu commented 8 years ago

lol. I wish I wasn't the one doing this (my suggestion is mainly why I'm doing it).

seijinshu commented 8 years ago

And I still cannot launch

seijinshu commented 8 years ago

Do I need to remove one of the chisels from the gradle?

lehjr commented 8 years ago

Look at the error and see what it says.

seijinshu commented 8 years ago

I'm getting duped versions of numina from MPS and Numina jar files, and the two chisel files one keeps generating every launch.

seijinshu commented 8 years ago

IDK where the MPS jar file is

seijinshu commented 8 years ago

It must be the one compiled from the dev environment, but how is it compiling numina with it?

lehjr commented 8 years ago

I have no idea what you have going on there. You didn't drop the Numina source into your MPS code did you?

seijinshu commented 8 years ago

I never did that.

lehjr commented 8 years ago

Don't know. What's in your ./libs

seijinshu commented 8 years ago

image

lehjr commented 8 years ago

anything in ./run/mods ?

seijinshu commented 8 years ago

No

seijinshu commented 8 years ago

I'm away from my computer. I can't check things for about 45 minutes

lehjr commented 8 years ago

get rid of one of those chisel mods. I'm not sure which. Other than that I really don't know. I wasn't kidding about getting it to run being a pain.

seijinshu commented 8 years ago

It generate upon building, which happens before launch.

seijinshu commented 8 years ago

Oh and don't worry. This is no where as annoying to run as getting a hackintosh working.

seijinshu commented 8 years ago

I also remove the top chisel mod. I keep chisel 2

seijinshu commented 8 years ago

ok. When I run, does it use the thing made in ./build/libs/ ?

seijinshu commented 8 years ago

image

seijinshu commented 8 years ago

Have not dropped Numina Source into project...

seijinshu commented 8 years ago

Sooo close. I hate to pull you in, @MachineMuse, but do you know what is going on?

seijinshu commented 8 years ago

I know why it is doing the nonsense, it adds numina to the jar for some odd reason. I don't have numina in my project source code, so idk why or how numina is being added. I'm looking into the build.gradle, as I've already had to mess with it (so it stops downloading chisel mod 1)

seijinshu commented 8 years ago

Ok, apparently the build directory had a numina folder in the scala folder in the classes folder.

seijinshu commented 8 years ago

Ok, it now wants a version of CoFH Core (R3 3.1.2) that isn't available anymore!

seijinshu commented 8 years ago

FINALLY! Found the right version of Thermal Foundation to use with the bundled CoFH Core release!

seijinshu commented 8 years ago

Oh, Come on! The Chisel I kept is broken with the Thermal * releases required!

seijinshu commented 8 years ago

And now it is Thermal Foundation having issues

seijinshu commented 8 years ago

[22:43:56] [Client thread/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodleTransformer:printLog:1862]: Galacticraft successfully injected bytecode into: net/minecraft/client/renderer/ItemRenderer (1 / 1) [22:43:57] [Client thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.client.event.TextureStitchEvent$Pre@977fe15: java.lang.NoSuchMethodError: mekanism.api.transmitters.TransmissionType.getTransmission()Ljava/lang/String; at mekanism.client.render.MekanismRenderer.onStitch(MekanismRenderer.java:89) ~[MekanismRenderer.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_166_MekanismRenderer_onStitch_Pre.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?] at net.minecraftforge.client.ForgeHooksClient.onTextureStitchedPre(ForgeHooksClient.java:271) [ForgeHooksClient.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:110) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:98) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:590) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at n et.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [22:43:57] [Client thread/ERROR] [FML]: Index: 7 Listeners: [22:43:57] [Client thread/ERROR] [FML]: 0: NORMAL [22:43:57] [Client thread/ERROR] [FML]: 1: ASM: extracells.proxy.ClientProxy@6a503a3e registerTextures(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 2: ASM: appeng.client.ClientHelper@463cc818 updateTextureSheet(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 3: ASM: cofh.core.ProxyClient@280c1e5c registerIcons(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 4: ASM: buildcraft.BuildCraftCore@1c88d43e textureHook(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 5: ASM: buildcraft.BuildCraftFactory@2fe9bc2a loadTextures(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 6: ASM: buildcraft.BuildCraftBuilders@6282b046 loadTextures(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 7: ASM: mekanism.client.render.MekanismRenderer@44034c25 onStitch(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 8: ASM: crazypants.render.IconUtil@791a231a onIconLoad(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/ERROR] [FML]: 9: ASM: codechicken.lib.render.TextureUtils@17ea7d9c textureLoad(Lnet/minecraftforge/client/event/TextureStitchEvent$Pre;)V [22:43:57] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ---- // Shall we play a game?

Time: 6/3/16 10:43 PM Description: Registering texture

java.lang.NoSuchMethodError: mekanism.api.transmitters.TransmissionType .getTransmission()Ljava/lang/String; at mekanism.client.render.MekanismRenderer.onStitch(MekanismRenderer.java:89) at cpw.mods.fml.common.eventhandler.ASMEventHandler_166_MekanismRenderer_onStitch_Pre.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraftforge.client.ForgeHooksClient.onTextureStitchedPre(ForgeHooksClient.java:271) at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:110) at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:98) at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) at net.minecraft.client.Minecraft.startGame(Minecraft.java:590) at net.minecraft.client.Minecraft.run(Minecraft.java:942) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source)

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

-- Head -- Stacktrace: at mekanism.client.render.MekanismRenderer.onStitch(MekanismRenderer.java:89) at cpw.mods.fml.common.eventhandler.ASMEventHandler_166_MekanismRenderer_onStitch_Pre.invoke(.dynamic) at cp w.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraftforge.client.ForgeHooksClient.onTextureStitchedPre(ForgeHooksClient.java:271) at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:110) at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:98)

-- Resource location being registered -- Details: Resource location: minecraft:textures/atlas/blocks.png Texture object class: net.minecraft.client.renderer.texture.TextureMap Stacktrace: at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) at net.minecraft.client.Minecraft.startGame(Minecraft.java:590)

-- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:942) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source)

-- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 631291184 bytes (602 MB) / 1019740160 bytes (972 MB) up to 1884815360 bytes (1797 MB) JVM Flags: 0 total; AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 58 mods loaded, 58 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH mcp{9.05} Minecraft Coder Pack UCH FML{7.10.99.99} Forge Mod Loader UCH Forge{10.13.4.1558} Minecraft Forge UCH PlayerAPI{1.4} Player API UCH Micdoodlecore{} Micdoodle8 Core UCH appliedenergistics2-core{rv2-stable-10} AppliedEnergistics2 Core UCH RenderPlayerAPI{1.4} Render Player API UCH CodeChickenCore{1.0.7.47} CodeChicken Core UCH {000} CoFH ASM UCH appliedenergistics2{rv2-stable-10} Applied Energistics 2 UCH Baubles{1.0.1.10} Baubles UCH qmunitylib{1.0} QmunityLib UCH bluepower{0.2.962} Blue Power UCH CoFHCore{1.7.10R3.0.3} CoFH Core UCH BuildCraft|Core{7.0.21} BuildCraft UCH BuildCraft|Silicon{7.0.21} BC Silicon UCH BuildCraft|Factory{7.0.21} BC Factory UCH BuildCraft|Builders{7.0.21} BC Builders UCH BuildCraft|Energy{7.0.21} BC Energy UCH BuildCraft|Robotics{7.0.21} BC Robotics UCH BuildCraft|Transport{7.0.21} BC Transport UCH ForgeMultipart{1.2.0.347} Forge Multipart UCH Thaumcraft{4.2.3.5} Thaumcraft UCH Railcraft{9.7. 0.0} Railcraft UCH chisel{2.9.0.3} Chisel UCH CompactMachines{1.7.10-1.20} Compact Machines UCH MineFactoryReloaded{1.7.10R2.8.0} MineFactory Reloaded UCH GalacticraftCore{3.0.12} Galacticraft Core UCH Mekanism{8.1.7} Mekanism UCH EnderIO{1.7.10-2.2.8.381} Ender IO UCH extracells{2.3.2} Extra Cells 2 UCH ForgeMicroblock{1.2.0.347} Forge Microblocks UCH McMultipart{1.2.0.347} Minecraft Multipart Plugin UCH MineFactoryReloaded|CompatAppliedEnergistics{1.7.10R2.8.0} MFR Compat: Applied Energistics UCH MineFactoryReloaded|CompatAtum{1.7.10R2.8.0} MFR Compat: Atum UCH MineFactoryReloaded|CompatBackTools{1.7.10R2.8.0} MFR Compat: BackTools UCH MineFactoryReloaded|CompatBuildCraft{1.7.10R2.8.0} MFR Compat: BuildCraft UCH MineFactoryReloaded|CompatChococraft{1.7.10R2.8.0} MFR Compat: Chococraft UCH MineFactoryReloaded|CompatExtraBiomes{1.7.10R2.8.0} MFR Compat: ExtraBiomes UCH MineFactoryReloaded|CompatForestry{1.7.10R2.8.0} MFR Compat: Forestry UCH MineFactoryReloaded|CompatForgeMicroblock{1.7.10R2.8.0} MFR Compat: ForgeMicroblock UCH MineFactoryReloaded|CompatIC2{1.7.10R2.8.0} MFR Compat: IC2 UCH MineFactoryReloaded|CompatMystcraft{1.7.10R2.8.0} MFR Compat: Mystcraft UCH MrTJPCoreMod{1.1.0.31} MrTJPCore UCH ProjRed|Core{4.7.0pre8.92} ProjectRed Core UCH MineFactoryReloaded|CompatProjRed{1.7.10R2.8.0} MFR Compat ProjectRed UCH MineFactoryReloaded|CompatRailcraft{1.7.10R2.8.0} MFR Compat: Railcraft UCH MineFactoryReloaded|CompatSufficientBiomes{1.7.10R2.8.0} MFR Compat: Sufficient Biomes UCH MineFactoryReloaded|CompatThaumcraft{1.7.10R2.8.0} MFR Compat: Thaumcraft UCH ThermalFoundation{1.7.10R1.2.0} Thermal Foundation UCH ThermalExpansion{1.7.10R4.0.3B1} Thermal Expansion UCH MineFactoryReloaded|CompatThermalExpansion{1.7.10R2.8.0} MFR Compat: Thermal Expansion UCH MineFactoryReloaded|CompatTConstruct{1.7.10R2.8.0} MFR Compat: Tinkers' Construct UCH MineFactoryReloaded|CompatTwilightForest{1.7.10R2.8.0} MFR Compat: TwilightForest UCH MineFactoryReloaded|CompatVanilla{1.7.10R2.8.0} MFR Compat: Vanilla UCH numina{0.4.0.0} Numina UCH SmartRender{2.1} Smart Render UCH powersuits{0.11.0.0} MachineMuse's Modular Powersuits GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4300' Renderer: 'Intel(R) HD Graphics 520' AE2 Version: stable rv2-stable-10 for Forge 10.13.2.1291 CoFHCore: -[1.7.10]3.0.3-303 MineFactoryReloaded: -[1.7.10]2.8.0-104 ThermalFoundation: -[1.7.10]1.2.0-102 ThermalExpansion: -[1.7.10]4.0.3B1-218

Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: Intel(R) HD Graphics 520 GL version 4.4.0 - Build 20.19.15.4300, Intel GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported.

    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)

[22:43:58] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\seijinshu\Desktop\MachineMusePowersuits-experimental\run.\crash-reports\crash-2016-06-03_22.43.57-client.txt AL lib: (EE) alc_cleanup: 1 device not closed

seijinshu commented 8 years ago

Now I get further, now Mekanism crashes!

lehjr commented 8 years ago

And this is a deobfuscated version of Mekanism?