Giter Club home page Giter Club logo

omniocular's Introduction

omniocular's People

Contributors

3tusk avatar amamiya-nagisa avatar exzhawk avatar guro2 avatar laysdragon avatar pr-wing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

omniocular's Issues

Update to 1.8.9

Any chance this mod will be updated to 1.8.9 and 1.9?

I used Waila NBT back in 1.7.10 for Blood Magic and Botania, really useful if you like numbers.

Java 21+lwjgl3ify 客户端貌似无法使用

[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: javax.script.ScriptException: ReferenceError: "load" is not defined. in eval at line number 0 at column number 0
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at org.mozilla.javascript.engine.RhinoScriptEngine.eval(RhinoScriptEngine.java:122)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:262)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at me.exz.omniocular.handler.JSHandler.initEngine(JSHandler.java:135)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at me.exz.omniocular.handler.ConfigHandler.parseConfigFiles(ConfigHandler.java:142)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at me.exz.omniocular.network.NetworkHelper.recvConfigString(NetworkHelper.java:31)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at me.exz.omniocular.network.ConfigMessageHandler.onMessage(ConfigMessageHandler.java:16)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at me.exz.omniocular.network.ConfigMessageHandler.onMessage(ConfigMessageHandler.java:10)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:37)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:17)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(Unknown Source)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.client.Minecraft.func_71407_l(MinecraftMixin.java:1602)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.client.Minecraft.func_71411_J(MinecraftMixin.java:973)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.client.Minecraft.func_99999_d(MinecraftMixin.java:9006)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.client.main.Main.main(SourceFile:148)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:165)
[17:02:59] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:29)

看起来像是错误地使用了 Rhino 引擎?

Failed to release default config on OSX 10.9.5

[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.io.FileNotFoundException: Users/U_Knowledge/Desktop/TriTTestPack/.minecraft/mods/OmniOcular-1.7.10-1.0build70.jar (No such file or directory)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.util.zip.ZipFile.open(Native Method)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.util.zip.ZipFile.<init>(ZipFile.java:219)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.util.zip.ZipFile.<init>(ZipFile.java:149)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.util.jar.JarFile.<init>(JarFile.java:166)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.util.jar.JarFile.<init>(JarFile.java:130)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at me.exz.omniocular.handler.ConfigHandler.releasePreConfigFiles(ConfigHandler.java:70)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at me.exz.omniocular.proxy.ClientProxy.prepareConfigFiles(ClientProxy.java:35)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at me.exz.omniocular.OmniOcular.init(OmniOcular.java:35)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.lang.reflect.Method.invoke(Method.java:497)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.lang.reflect.Method.invoke(Method.java:497)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventBus.post(EventBus.java:275)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.lang.reflect.Method.invoke(Method.java:497)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at com.google.common.eventbus.EventBus.post(EventBus.java:275)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at net.minecraft.client.main.Main.main(SourceFile:148)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.lang.reflect.Method.invoke(Method.java:497)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at java.lang.reflect.Method.invoke(Method.java:497)
[18:25:19] [Client thread/INFO] [STDERR/OmniOcular]: [java.lang.Throwable$WrappedPrintStream:println:748]:  at org.jackhuang.hellominecraft.launcher.Launcher.main(SourceFile:122)

Pretty sure this is caused by a missing slash /, verified by a short lua script:

-- This one will throw exception
wtf = io.open("Users/U_Knowledge/Desktop/TriTTestPack/.minecraft/mods/OmniOcular-1.7.10-1.0build70.jar")
print(wtf:lines())
-- This one works fine
wtf = io.open("/Users/U_Knowledge/Desktop/TriTTestPack/.minecraft/mods/OmniOcular-1.7.10-1.0build70.jar") 
print(wtf:lines())

image

Reference: https://github.com/exzhawk/OmniOcular/blob/master/src/main/java/me/exz/omniocular/handler/ConfigHandler.java#L70

[Feature Request] translateFormatted()

Usually a mooder modder can do this:

net.minecraft.util.StatCollector.translateToLocalFormatted("foo.example.formatted", "something", "something");

Then put following key into lang file:

foo.example.formatted=This is %1$s and %2$s

If you can add a similar method that is able to be 'invoked' in xml, it will benefit a lot to config maker.

Crash with ' in item names

For example:
names['91']='Jack o'Lantern'
You should probably sanity check item names before throwing them in the names array ;)

javax.script.ScriptException: <eval>:1:28 Missing close quote
names['91']='Jack o'Lantern'
                            ^ in <eval> at line number 1 at column number 28
    at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:586)
    at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:653)
    at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:640)
    at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:521)
    at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:192)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
    at me.exz.wailanbt.configuration.config.loadConfig(config.java:64)
    at me.exz.wailanbt.configuration.config.init(config.java:47)
    at me.exz.wailanbt.configuration.ConfigEvent.onPlayerJoinWorld(ConfigEvent.java:15)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_376_ConfigEvent_onPlayerJoinWorld_EntityJoinWorldEvent.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.minecraft.world.World.func_72838_d(World.java:1334)
    at net.minecraft.client.multiplayer.WorldClient.func_72838_d(WorldClient.java:159)
    at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2231)
    at net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2146)
    at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:240)
    at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70)
    at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13)
    at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2061)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: jdk.nashorn.internal.runtime.ParserException: <eval>:1:28 Missing close quote
names['91']='Jack o'Lantern'
                            ^
    at jdk.nashorn.internal.parser.Lexer.error(Lexer.java:1667)
    at jdk.nashorn.internal.parser.Lexer.scanString(Lexer.java:981)
    at jdk.nashorn.internal.parser.Lexer.lexify(Lexer.java:1592)
    at jdk.nashorn.internal.parser.AbstractParser.getToken(AbstractParser.java:124)
    at jdk.nashorn.internal.parser.AbstractParser.nextToken(AbstractParser.java:202)
    at jdk.nashorn.internal.parser.AbstractParser.nextOrEOL(AbstractParser.java:162)
    at jdk.nashorn.internal.parser.AbstractParser.next(AbstractParser.java:149)
    at jdk.nashorn.internal.parser.Parser.parse(Parser.java:211)
    at jdk.nashorn.internal.parser.Parser.parse(Parser.java:189)
    at jdk.nashorn.internal.runtime.Context.compile(Context.java:1045)
    at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1019)
    at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:490)
    at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:651)
    ... 28 more

Fluid name display?

Someone (@Amamiya-Nagisa) told me that several xml files are broken when displaying name of fluids. I have no idea about the origin, but there must be something associated with fluid system change since Forge 1355.
Temporarily I have no screenshot available but I will see if I can reproduce one.

BUG with BuildCraft config

Line 36:
line displayname="hud.msg.common.LiquidAmount=Liquid Amount"

it should be:
line displayname="hud.msg.common.LiquidAmount"
it is a bug work with BC Pump

[suggestion] ingame config editor

it would be awesome if you could add tags to the HUD from the NBTEdit interface (addToWaila button -> UI to customize the entry (or editWailaSettings if the tag got added earlier))
also, could you make a config flag servers can set to allow individual client configs?

Crash Report!

http://openeye.openmods.info/crashes/5002ed09b7ac00c32ee8fd43dbeaba10

"
java.lang.RuntimeException: Method code too large!

at jdk.internal.org.objectweb.asm.MethodWriter.getSize(-1)
at jdk.internal.org.objectweb.asm.ClassWriter.toByteArray(-1)
at jdk.nashorn.internal.codegen.ClassEmitter.toByteArray(ClassEmitter.java:679)
at jdk.nashorn.internal.codegen.CompilationPhase$13.transform(CompilationPhase.java:497)
at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:716)
at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:620)
at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.compileTypeSpecialization(RecompilableScriptFunctionData.java:514)
at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getBest(RecompilableScriptFunctionData.java:688)
at jdk.nashorn.internal.runtime.ScriptFunctionData.getBestInvoker(ScriptFunctionData.java:237)
at jdk.nashorn.internal.runtime.ScriptFunction.findCallMethod(ScriptFunction.java:592)
at jdk.nashorn.internal.runtime.ScriptObject.lookup(ScriptObject.java:1833)
at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:104)
at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:98)
at jdk.internal.dynalink.support.CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation(CompositeTypeBasedGuardingDynamicLinker.java:176)
at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:154)
at jdk.nashorn.internal.runtime.ScriptFunction.createApplyOrCallCall(ScriptFunction.java:772)
at jdk.nashorn.internal.runtime.ScriptFunction.findCallMethod(ScriptFunction.java:583)
at jdk.nashorn.internal.runtime.ScriptObject.lookup(ScriptObject.java:1833)
at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:104)
at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:98)
at jdk.internal.dynalink.support.CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation(CompositeTypeBasedGuardingDynamicLinker.java:176)
at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:154)
at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:253)
at jdk.nashorn.internal.scripts.Script$153$\^eval\_.:program(<eval>:-1)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:640)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:228)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:446)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:403)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:399)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
at javax.script.AbstractScriptEngine.eval(-1)
at me.exz.omniocular.handler.JSHandler.getBody(JSHandler.java:41)
at me.exz.omniocular.handler.TooltipHandler.handleItemTooltip(TooltipHandler.java:32)
at codechicken.nei.guihook.GuiContainerManager.renderToolTips(GuiContainerManager.java:408)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:166)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1358)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1001)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(-2)
at sun.reflect.NativeMethodAccessorImpl.invoke(-1)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(-1)
at java.lang.reflect.Method.invoke(-1)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

"

客户端无法加载服务器端配置

服务器端已有配置文件,但客户端在多人游戏中无法加载配置文件中的内容,使用“/oor”命令无效。单人游戏正常。

Prevent reading nbt from mod blocks

I know that this mod is no longer supported but i hope to find a good man to solve a problem:
Im using steves factory manager and i have there 300+ commands (a lot of TagCompound). So if I look at it, Factory Manager block, it becomes a bit laggy. Is there a way to blacklist a mod or block? Waiting for any answer

Exception while trying to access the method : java.lang.reflect.InvocationTargetException

好一陣子回來看看,期待大大之前說要寫的新mod終於出了,之前一直想要的功能都有了(尤其是nbt變數的加入真是太給力了,舊版本waila nbt我還要繞很大一圈在js裏頭取得完整的nbt資料呢),下載來玩玩結果發現怪怪的,拿網頁上提供的配置檔試驗了下沒反應,怪鬱悶的,/ooe對title entity沒反應,翻了下源碼發現應該是還沒完成吧(還發現/oon改成了/ooi怪不得/oon不能用XD)
然後去翻log發現了
[19:41:50] [Client thread/INFO] [Waila/Waila]: Trying to reflect me.exz.omniocular.handler.EntityHandler callbackRegister
[19:41:50] [Client thread/INFO] [Waila/Waila]: Success in registering OmniOcular
[19:41:50] [Client thread/INFO] [Waila/Waila]: Trying to reflect me.exz.omniocular.handler.TileEntityHandler callbackRegister
[19:41:50] [Client thread/WARN] [Waila/Waila]: Exception while trying to access the method : java.lang.reflect.InvocationTargetException
看起來註冊handler時貌似出問題了。(慢慢看源碼ing,reflect挺有意思的沒接觸過XD)

建議:使用/oor時提示配置檔載入成功與否
加油喔,這個mod超讚。

恳请大大出个单机版本.

OmniOcular无法作为单机mod在服务器使用差评,强制服务端认证,咋们可以换其他方式来限制服务器上的使用,不一定要这么狠的手段.

<ERROR> instead of custom / base config waila tooltip

Hi i'm having an issue where even with default configs when i look at a furnace it showns no burn time but instead
I didnt see this issue anywhere in this github
modlist :
modlist.pdf
other question would this work for a custom furnace script ?

<!--Date: 2015/2/8-->
<!--Version: 1.7.10-->
<oo>
    <init>
        function tick2second(n){return parseInt(n/20)}
    </init>
    <tileentity id="Furnace">
        <line displayname="Burn Time">
            return "Cook time : " + tick2second(nbt['BurnTime']) + " | Cooked items : " + nbt['Items'][3]["Count"]<!--Author: EpixZhang-->
        </line>
    </tileentity>
    <entity id="Sheep">
        <line displayname="Until next love">
            tick2second(nbt['InLove'])
        </line>
    </entity>
    <tooltip id="minecraft:skull">
        <line displayname="OwnerName">
            return nbt['SkullOwner']
        </line>
    </tooltip>
</oo>

In Sever OmniOcular can't be displayed?!

My Waila Settings:
modules {
B:bc.tankamount=true
B:bc.tanktype=true
B:ic2=true
B:ic2.InvSlots.fuel.Contents=true
B:ic2.InvSlots.fuel.Contents.0=true
B:ic2.InvSlots.fuel.Contents.0.Count=true
B:ic2.cropName=true
B:ic2.outputeu=true
B:ic2.storage=true
B:thermalexpansion.cache=true
B:thermalexpansion.energycell=true
B:thermalexpansion.energyhandler=true
B:thermalexpansion.fluidamount=true
B:thermalexpansion.fluidtype=true
B:thermalexpansion.owner=true
B:thermalexpansion.tankmode=true
B:thermalexpansion.tessfreq=true
B:thermalexpansion.tesssendrecv=true
B:vanilla.comparator=true
B:vanilla.jukebox=true
B:vanilla.leverstate=true
B:vanilla.redstone=true
B:vanilla.repeater=true
B:vanilla.silverfish=true
B:vanilla.spawntype=true
}

Use this Settings,in sever the "ic.storage" can be displayed,but the other NBT of IC2 can't!
The other Nbt show less than a second,how to fix it?

I'm running a server from “cauldron-1.7.10-1.1370.01.0-server.jar”
Here is a list of my client mods:
http://git.oschina.net/Antecer/mc/raw/master/PandoraCraft/updatelist.json

创建新的xml文件后无法加载

我想为格雷科技添加一个xml配置文件
以下是新建的xml文件 命名为gregtech.xml 放到了.minecraft\config\OmniOcular下

<!--Author: tomato-->
<!--Date: 2016/2/18-->
<!--Version: gregtech 5.08.33-->
<oo>
    <tileentity id="BaseMetaTileEntity">
        <line displayname="蒸汽量">
            return nbt['mStoredSteam'] + GRAY + "mB";
        </line>
    </tileentity>
</oo>

但是不起作用
单独把tileentity标签中内容粘贴进IC2.xml有效

安装问题

拖入mod文件夹后无法正常识别
请问是无法用作单机版mod还是安装的姿势不对

[Suggestion] Global format configuration

Let me start off with being very excited for this mod. I like the customizability, and will continue to keep updated on your progress. I do, however, find one aspect of this mod very annoying, which is why I'm creating this issue.

Global Customizability
As documented, there are some strings defined by internal id's, more specifically using the "DisplayName" attribute. Since our server uses a specific way to display all the text in Waila, all entries added by your mod are being displayed wrongly. I would like to request a feature with which we can override the display style. For example, add a configuration file in which the display format is displayed as follows and can be edited to reflect global changes:

display {
  # Change the default display format of line nodes.
  S:"Display Format"="DISPLAYNAME + TAB + ALIGNRIGHT + WHITE + RETURN"
}

This is just an example. Please do not feel inclined to do it this way if you would do it at all. It would make it easier for me (and I'm sure a lot of people too) to easily configure the display format of default entries. Of course, this can also easily be achieved by keeping "DisplayName" empty and adding the formatting to "return", but I just feel like this would be helpful to a lot of people, me included.

I would personally use this in the following way (for another example):

display {
  # Change the default display format of line nodes.
  S:"Display Format"="YELLOW + DISPLAYNAME + \": \" + WHITE + RETURN"
}

If this could be added I would be grateful. Again, it's just an ease-of-use thing for "lazy" people. If you have any questions, feel free to ask them -- always prepared to answer them. 👍

Edit:
If you're unclear of what I'm trying to ask specifically, I'm asking for a way to customize this:

if (patternMap == ConfigHandler.tooltipPattern) {
  tip += "\u00A77" + displayname + ": \u00A7f";
} else {
  tip += displayname + "\u00A4\u00A4a\u00A4\u00A4b\u00A7f";
}

JSHandler.java @ line 60

Weird unknown issue caused script unable to execute

Script with problem:

        <line displayname="燃料数量">
        if(nbt['gt.invlist']['0']['Damage']!=8200 && 8201){
        return nbt['gt.invlist']['0']['Count']+GRAY+" 个"}
        </line>
        <line displayname="灰烬数量">
        if(nbt['gt.invlist']['0']['Damage']==8200 || 8201){
        return nbt['gt.invlist']['0']['Count']+GRAY+" 个"}
        </line>

A friend asked me for help on that and I can do nothing but only report it here.
This script is written by the friend for smelter from GregTech 6.
Thanks for your time.

Permissions

Hey,

this is just a quick question. Do I get the permissions to add this mod to the "NonCurseForge-Mod"List? Want to use it in my modpack but I cant until it is on the list ^^'

Greetings Xaikii

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.