mine tweaker not loading properly

Found a bug? Post it here. NOTE - Please post script-specific questions in the scripting help.

Re: mine tweaker not loading properly

Postby Stan » Tue Dec 16, 2014 9:41 pm

According to the log, it loaded the script. It should have generated a minetweaker.log file - it isn't in there?
User avatar
Stan
Site Admin
 
Posts: 258
Joined: Fri Jul 11, 2014 9:04 pm

Re: mine tweaker not loading properly

Postby goreae » Thu Dec 18, 2014 12:47 am

PotatoSamurai wrote:I'm having the same issue here, unable to get even the "Hello World" to work. I'll try to give as much relevant info as possible.

Script file (hello world) https://drive.google.com/file/d/0B_LzDx ... sp=sharing
Folders: http://imgur.com/a/oDtj0
Launcher Log: http://pastebin.com/ks2z8ctg
Various logs: https://drive.google.com/folderview?id= ... sp=sharing

Did you look in minetweaker's log? It should be right in the minecraft directory. The print command prints to the minetweaker log, not to the minecraft log.
goreae
 
Posts: 90
Joined: Mon Aug 25, 2014 7:07 pm

Re: mine tweaker not loading properly

Postby PotatoSamurai » Fri Dec 19, 2014 4:14 pm

goreae wrote:
PotatoSamurai wrote:I'm having the same issue here, unable to get even the "Hello World" to work. I'll try to give as much relevant info as possible.

Script file (hello world) https://drive.google.com/file/d/0B_LzDxVOZWyAa2l0OHlhRXM4SnM/view?usp=sharing
Folders: ttp://imgur.com/a/oDtj0
Launcher Log: ttp://pastebin.com/ks2z8ctg
Various logs: ttps://drive.google.com/folderview?id=0B_LzDxVOZWyANXVaTGNiNmpIU0E&usp=sharing

Did you look in minetweaker's log? It should be right in the minecraft directory. The print command prints to the minetweaker log, not to the minecraft log.


Okay, I found it.
Since the hello world did work, I re-enabled my other script http://pastebin.com/tH3drR1z

INFO: Adding command minetweaker
INFO: Adding minetweaker command mfr
ERROR: ?:1 > could not find recipe
ERROR: Error executing mc.zs: Truncated class file
java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at stanhebben.zenscript.ZenModule$MyClassLoader.findClass(ZenModule.java:346)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at Mc.__script__(mc.zs:1)
at __ZenMain__.run(mc.zs)
at minetweaker.runtime.MTTweaker.load(MTTweaker.java:157)
at minetweaker.MineTweakerImplementationAPI.reload(MineTweakerImplementationAPI.java:624)
at minetweaker.MineTweakerImplementationAPI.onServerStart(MineTweakerImplementationAPI.java:555)
at minetweaker.mc1710.MineTweakerMod.onServerAboutToStart(MineTweakerMod.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.serverAboutToStart(Loader.java:809)
at cpw.mods.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:273)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:91)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
INFO: Hello world!
PotatoSamurai
 
Posts: 3
Joined: Mon Sep 15, 2014 2:52 pm

Re: mine tweaker not loading properly

Postby goreae » Sat Dec 20, 2014 4:34 am

I don't think you're allowed to add an oreDict entry to an oreDict entry in that fashion. Try replacing bulbplate.add(<ore:plateSteel>); with bulbplate.addAll(<ore:plateSteel>); and do the same with all of the additions to bulbplate and test it again.

On another note, you should really use camel case for your variables. Because this: canyoureadthissentenceitsprobablydifficultto is much harder to read than this: canYouReadThisSentenceItsProbablyDifficultTo.
goreae
 
Posts: 90
Joined: Mon Aug 25, 2014 7:07 pm

Re: mine tweaker not loading properly

Postby PotatoSamurai » Mon Dec 29, 2014 10:09 pm

Eureka!

minetweaker.log:
INFO: Adding command minetweaker
INFO: Adding minetweaker command mfr
INFO: Adding recipe for Concrete Dust
INFO: Copying contents of ore dictionary entry plateSteel to bulbPlate
INFO: Copying contents of ore dictionary entry plateAluminium to bulbPlate
INFO: Copying contents of ore dictionary entry plateAnyIron to bulbPlate
INFO: Adding recipe for IC2 Floodlight Bulb
INFO: Adding recipe for Clock
INFO: Hello world!

Thnx
goreae wrote:I don't think you're allowed to add an oreDict entry to an oreDict entry in that fashion. Try replacing bulbplate.add(<ore:plateSteel>); with bulbplate.addAll(<ore:plateSteel>); and do the same with all of the additions to bulbplate and test it again.

On another note, you should really use camel case for your variables. Because this: canyoureadthissentenceitsprobablydifficultto is much harder to read than this: canYouReadThisSentenceItsProbablyDifficultTo.
PotatoSamurai
 
Posts: 3
Joined: Mon Sep 15, 2014 2:52 pm

Re: mine tweaker not loading properly

Postby Richmond65 » Mon Jun 18, 2018 2:04 pm

Thanks, there are so much Information on this Topic. Keep sharing and posting.
To achieve any thing you need to get through from various Sources https://www.paperwritingpro.com/our-ser ... -services/ so if you have an ability to learn from it than you can achieve whatever you want. Else you need an Expert help.
Richmond65
 
Posts: 1
Joined: Mon Jun 18, 2018 1:55 pm

Previous

Return to Issues and bugs

Who is online

Users browsing this forum: No registered users and 1 guest