ordinastie / malisiscore Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Ordi, In our
which is used to render blocks as items in the GUI (hotbar specifically) in this example.
Problem is that they aren't lit correctly. The hotbar icon is dark in color.
I fixed this issue by modifying this method in MalisisRenderer.java
@OverRide
public void renderInventoryBlock(Block block, int metadata, int modelId, RenderBlocks renderer)
{
set(block, metadata);
// New
RenderHelper.enableGUIStandardItemLighting();
renderBlocks = renderer;
prepare(RenderType.ISBRH_INVENTORY);
render();
clean();
// New
RenderHelper.enableStandardItemLighting();
}
https://dries007.net/screenshots/2016-08-24_23-15-50.png
https://dries007.net/screenshots/2016-08-24_23-16-17.png
~13% of server time is being used on raytracing for zombie AI. Is there a reason for this?
Getting this error now with .5 version of MalisisCore and Guide.
In the following scenario:
debugTitle = new UILabel(this, ChatColor.AQUA + "Almura Debug");
debugTitle.setPosition(0, 3, Anchor.CENTER | Anchor.TOP);
debugTitle.setFontScale(1.1F);
When the debugTitle is drawn on the screen, the fontScale isn't taken into consideration when its drawn, resulting in the text being slightly off-center to the right.
[22:51:10] [Client thread/ERROR] [malisiscore]: An error occured while processing event : HoveredStateChange
java.lang.ClassCastException: net.malisis.core.client.gui.component.interaction.UITextField cannot be cast to net.malisis.core.client.gui.component.control.UIScrollBar
at net.malisis.core.client.gui.component.control.UISlimScrollbar.onMouseOver(UISlimScrollbar.java:175) ~[malisiscore-1.8.9-2.1.7-SNAPSHOT.jar:1.8.9-2.1.7-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_77]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_77]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [guava-17.0.jar:?]
at net.malisis.core.client.gui.component.UIComponent.fireEvent(UIComponent.java:665) [UIComponent.class:1.8.9-2.1.7-SNAPSHOT]
at net.malisis.core.client.gui.component.UIComponent.setHovered(UIComponent.java:399) [UIComponent.class:1.8.9-2.1.7-SNAPSHOT]
at net.malisis.core.client.gui.MalisisGui.setHoveredComponent(MalisisGui.java:803) [MalisisGui.class:1.8.9-2.1.7-SNAPSHOT]
at net.malisis.core.client.gui.component.UIComponent.setHovered(UIComponent.java:394) [UIComponent.class:1.8.9-2.1.7-SNAPSHOT]
at net.malisis.core.client.gui.MalisisGui.handleMouseInput(MalisisGui.java:351) [MalisisGui.class:1.8.9-2.1.7-SNAPSHOT]
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:599) [GuiScreen.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1784) [Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1100) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:384) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_77]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_77]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_77]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_77]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_77]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_77]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
If you create a UITextField, "text here", true, then when it is drawn on the screen, you get this:
http://www.almuramc.com/images/info2-1.png
If you put your cursor in the field and type anything or even a space, the text auto formats to the box and is displayed like this:
If you place a piston crash, the cause of this is because Malisiscore change the way to place it and put the "orientation" of the piston to null. Is it fixed in the most recent versions?
Hi, Ordinastie. I using your core for my mod. I want to create energy progress bar. I have this code:
`import net.malisis.core.client.gui.GuiRenderer;
import net.malisis.core.client.gui.MalisisGui;
import net.malisis.core.client.gui.component.UIComponent;
import net.malisis.core.client.gui.element.SimpleGuiShape;
import net.malisis.core.client.gui.icon.GuiIcon;
import net.malisis.core.renderer.icon.MalisisIcon;
public class UIHeatBar extends UIComponent {
protected GuiIcon barIcon;
protected GuiIcon barFilledIcon;
protected float progress = 0.0F;
protected boolean reversed = false;
public UIHeatBar(MalisisGui gui) {
super(gui);
this.setSize(14, 41);
this.shape = new SimpleGuiShape();
this.barIcon = new GuiIcon(new MalisisIcon("sb:textures/special/atlas.png", 1, 0, 14, 41));//gui.getGuiTexture().getIcon(246, 0, 22, 16);
this.barFilledIcon = new GuiIcon(new MalisisIcon("sb:textures/special/atlas.png", 23, 36, 30, 41));//gui.getGuiTexture().getIcon(246, 16, 22, 16);
}
public float getProgress() {
return this.progress;
}
public UIHeatBar setReversed() {
this.reversed = true;
return this;
}
public void setProgress(float progress) {
if(progress < 0.0F) {
progress = 0.0F;
}
if(progress > 1.0F) {
progress = 1.0F;
}
this.progress = progress;
}
public void drawBackground(GuiRenderer renderer, int mouseX, int mouseY, float partialTick) {
this.shape.resetState();
this.shape.setSize((float)this.height, (float)this.height);
this.barIcon.flip(this.reversed, false);
this.rp.icon.set(this.barIcon);
renderer.drawShape(this.shape, this.rp);
}
public void drawForeground(GuiRenderer renderer, int mouseX, int mouseY, float partialTick) {
int height = (int)((float)this.height * this.progress);
this.barFilledIcon.clip(0, 0, height, 17);
this.barFilledIcon.flip(this.reversed, false);
this.shape.resetState();
this.shape.setSize((float)height, 41.0F);
this.shape.translate(this.reversed?this.height - height:0, 0);
this.rp.icon.set(this.barFilledIcon);
renderer.drawShape(this.shape, this.rp);
}
}Have this "texture sprite": http://i.imgur.com/difveDj.png But texture not working and bar was rotate to right. This my gui for more info:
import net.malisis.core.client.gui.Anchor;
import net.malisis.core.client.gui.MalisisGui;
import net.malisis.core.client.gui.component.container.UIPlayerInventory;
import net.malisis.core.client.gui.component.container.UIWindow;
import net.malisis.core.inventory.MalisisInventoryContainer;
import sb.common.tile.TileHeatGenerator;
public class GuiHeatGenerator extends MalisisGui {
private TileHeatGenerator te;
UIHeatBar heat;
public GuiHeatGenerator(MalisisInventoryContainer inventoryContainer, TileHeatGenerator tileEntity) {
setInventoryContainer(inventoryContainer);
this.te = tileEntity;
guiscreenBackground = false;
}
@Override
public void construct() {
UIWindow window = new UIWindow(this, 200, 150).setPosition(0, 0, Anchor.CENTER | Anchor.MIDDLE).setZIndex(0);
/*
UILabel plateCamoLabel = new UILabel(this, "Plate texture").setPosition(16, 5, Anchor.LEFT);
UILabel buttonCamoLabel = new UILabel(this, "Switch texture").setPosition(-1, 5, Anchor.RIGHT);
window.add(plateCamoLabel);
window.add(buttonCamoLabel);
*/
heat = new UIHeatBar(this).setPosition(0, 0, Anchor.CENTER | Anchor.MIDDLE);
heat.setProgress(te.heat);
UIPlayerInventory playerInv = new UIPlayerInventory(this, inventoryContainer.getPlayerInventory());
window.add(heat);
window.add(playerInv);
addToScreen(window);
}
@Override
public void onGuiClosed() {
super.onGuiClosed();
}
}`
Already thanks for support. And.... Sorry for my english, i very stupid in him, because i live in Russia and here i study english, but know not perfectly, sorry.
Just a heads up.
A user got this crash with the mod
http://i.imgur.com/aVh6jrT.jpg tested on the latest version from Curse. Can it be shorter?
There doesn't appear to be a way to set the width size of the scroll bar on the right side of the widget. At the moment it is extremely small.
Malisisdoors 1.10.2-5.1.0 and malisiscore 1.10.2-4.2.0. forge-1.10.2-12.18.1.2094
If I revert to the previous versions all is good in the world and it loads completely...
My "latest log" only gets this far...
http://pasted.co/36056810
My fml-client-latest has a bit more info
http://pasted.co/e2431473
I am seeing these two messages in the console, fairly frequently (roughly one every minute or two; the "Saving" one is more frequent)
[21:54:00] [Server thread/INFO] [malisiscore]: Saving -1/0
[21:59:15] [Server thread/INFO] [malisiscore]: Chunk
malisiscore-1.10.2-4.2.6 (part of All the Mods 1.38b)
java.lang.IllegalStateException: Already tesselating!
at net.minecraft.client.renderer.Tessellator.startDrawing(Tessellator.java:257)
at net.minecraft.client.renderer.Tessellator.startDrawingQuads(Tessellator.java:247)
at net.minecraft.client.gui.FontRenderer.renderStringAtPos(FontRenderer.java:494)
at net.minecraft.client.gui.FontRenderer.renderString(FontRenderer.java:556)
at net.minecraft.client.gui.FontRenderer.drawString(FontRenderer.java:317)
at net.malisis.core.client.gui.GuiRenderer.drawText(GuiRenderer.java:508)
at net.malisis.core.client.gui.GuiRenderer.drawText(GuiRenderer.java:471)
at net.malisis.core.client.gui.component.interaction.UITextField.drawText(UITextField.java:723)
at net.malisis.core.client.gui.component.interaction.UITextField.drawForeground(UITextField.java:695)
at net.malisis.core.client.gui.component.UIComponent.draw(UIComponent.java:889)
at net.malisis.core.client.gui.component.container.UIContainer.drawForeground(UIContainer.java:524)
at net.malisis.core.client.gui.component.UIComponent.draw(UIComponent.java:889)
at net.malisis.core.client.gui.component.container.UIContainer.drawForeground(UIContainer.java:524)
at net.malisis.core.client.gui.component.UIComponent.draw(UIComponent.java:889)
at net.malisis.core.client.gui.component.container.UIContainer.drawForeground(UIContainer.java:524)
at net.malisis.core.client.gui.component.UIComponent.draw(UIComponent.java:889)
at net.malisis.core.client.gui.GuiRenderer.drawScreen(GuiRenderer.java:229)
at net.malisis.core.client.gui.MalisisGui.drawScreen(MalisisGui.java:356)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1057)
at net.minecraft.client.Minecraft.run(Minecraft.java:951)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85)
at GradleStart.main(GradleStart.java:45)
I'm getting this whenever I try and apply a color code + underline or strikethrough formatting codes on text in UITextField.
Hello, I have been running a 1.9 pack with no issues with the flushable chest from NeoTech for quite some time now. I added MalisisCore/doors/switches/blocks to the pack and suddenly the chest crashes the game. If this is something that should be reported elsewhere let me know. I tried this in a few versions of forge including the recommended version 12.16.1.1887
Can't seem to launch the pack with, Malisis Core, Doors, and Adverts installed, among many other mods, also tested alone with just those 3, gives a crash with Outofboundsarray -1. Pastebin log is below.
Forge: forge-1.7.10-10.13.4.1614-1.7.10
Malisis: malisisdoors-1.7.10-1.13.0 & malisiscore-1.7.10-0.14.2
Error: "A problem occurred while constructing NullPointerException: null"
Error occurs when the player attempts to right-click a placed Door Factory (both existing and newly placed).
Was playing with buttons and noticed if you changed texture packs, the new font is applied to the screen and buttons but the font doesn't auto center on the buttons as it should.
If you listen to the change texture pack method and trigger it to recenter on buttons across the entire container?
See screenshots for issue: If the hotbar is selected on a slot that is empty, the entire hotbar's lighting shade goes darker than it is when the hotbar is rendering an item (on a select slot with an item).
http://www.almuramc.com/images/gui/darkSlot.png
http://www.almuramc.com/images/gui/lightSlot.png
My hack fix to resolve issue: I commented out lines:
and
I am assuming there is a different place to resolve this issue, this was the first "fix" I came to.
The crash occurs if I even glance in the direction of any doors, and yes I'm using the latest version of Java/Optifine/Nvidia Drivers. If any extra information is needed please let me know. http://pastebin.com/KW9vFLNu
Can you add a property to each object that can do a anchor.inherited ?
crashes after the latest update of malisis core.
crash-2017-02-16_15.02.18-client.txt
all information can be found in the crash log.
This is still an issue.
Isn't there a method that could be called on the UIComponents to have it recalculate its width etc when this.mc.scheduleResourcesRefresh(); is called?
From Zidane: Isn't there a forge event you could listen for and just re-run your math calculation?
This is needed for people who depend on you and want to utilize FG's:
minecraft {
useDepAts = true
}
This reads from your manifest and applies it. Otherwise, I have to copy all your AT entries into my AT file for dev environment to work :/.
When I load a schematic using the Schematica mod Minecraft crashes. It stops crashing when I disable Malisis. Don't know if anyone can be done about this but thought I'd let you know.
[13:09:16] [Client thread/INFO] [STDOUT/]: [net.minecraft.init.Bootstrap:func_179870_a:560]: ---- Minecraft Crash Report ----
WARNING: coremods are present:
AppleCore (AppleCore-mc1.10.2-1.3.5.jar)
EnderCorePlugin (EnderCore-1.10.2-0.4.1.41-beta.jar)
LoadingPlugin (Quark-beta-48.jar)
NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar)
FMLPlugin (InventoryTweaks-1.61-58.jar)
CoreMod (Aroma1997Core-1.9.4-1.1.0.3.jar)
MalisisCorePlugin (malisiscore-1.9.4-4.0.1.jar)
Contact their authors BEFORE contacting forge
// This doesn't make any sense!
Time: 7/26/16 1:09 PM
Description: Unexpected error
java.lang.ClassCastException: com.github.lunatrius.schematica.client.world.chunk.ChunkProviderSchematic cannot be cast to net.minecraft.client.multiplayer.ChunkProviderClient
at net.minecraft.client.multiplayer.WorldClient.func_72863_F(WorldClient.java:507)
at net.minecraft.client.multiplayer.WorldClient.func_72863_F(WorldClient.java:49)
at net.malisis.core.util.chunkblock.ChunkBlockHandler.getAffectedChunks(ChunkBlockHandler.java:338)
at net.malisis.core.util.chunkcollision.ChunkCollision.getRayTraceResult(ChunkCollision.java:132)
at net.minecraft.world.World.func_147447_a(World.java:901)
at com.github.lunatrius.schematica.handler.client.RenderTickHandler.rayTrace(RenderTickHandler.java:50)
at com.github.lunatrius.schematica.handler.client.RenderTickHandler.onRenderTick(RenderTickHandler.java:23)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_557_RenderTickHandler_onRenderTick_RenderTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:72)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:168)
at net.minecraftforge.fml.common.FMLCommonHandler.onRenderTickStart(FMLCommonHandler.java:350)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1074)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
at net.minecraft.client.main.Main.main(SourceFile:124)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72863_F(WorldClient.java:507)
at net.minecraft.client.multiplayer.WorldClient.func_72863_F(WorldClient.java:49)
at net.malisis.core.util.chunkblock.ChunkBlockHandler.getAffectedChunks(ChunkBlockHandler.java:338)
at net.malisis.core.util.chunkcollision.ChunkCollision.getRayTraceResult(ChunkCollision.java:132)
at net.minecraft.world.World.func_147447_a(World.java:901)
at com.github.lunatrius.schematica.handler.client.RenderTickHandler.rayTrace(RenderTickHandler.java:50)
at com.github.lunatrius.schematica.handler.client.RenderTickHandler.onRenderTick(RenderTickHandler.java:23)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_557_RenderTickHandler_onRenderTick_RenderTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:72)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:168)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['bsgb'/25, l='MpServer', x=133.25, y=4.00, z=173.38]]
Chunk stats: MultiplayerChunkCache: 4117, 4117
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (130,4,176), Chunk: (at 2,0,0 in 8,11; contains blocks 128,0,176 to 143,255,191), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 4037 game time, 4037 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 8 total; [EntityHorse['Horse'/17, l='MpServer', x=135.13, y=4.00, z=189.98], EntityPig['Pig'/18, l='MpServer', x=142.27, y=4.00, z=207.59], EntityHorse['Horse'/21, l='MpServer', x=189.15, y=4.00, z=240.15], EntityPig['Pig'/23, l='MpServer', x=206.50, y=4.00, z=198.50], EntityPig['Pig'/10, l='MpServer', x=59.50, y=4.00, z=250.50], EntitySheep['Sheep'/12, l='MpServer', x=88.77, y=4.00, z=189.17], EntityCow['Cow'/14, l='MpServer', x=100.50, y=4.00, z=198.50], EntityPlayerSP['bsgb'/25, l='MpServer', x=133.25, y=4.00, z=173.38]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:414)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2660)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:400)
at net.minecraft.client.main.Main.main(SourceFile:124)
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)
The longer you type in a text box the worse the issue becomes. What happens is that the blinking cursor graphic starts to appear before the spot your typing at.
Tested with "Almura Preferred Font.zip" texture pack / font from our public repo
http://www.almuramc.com/images/GuideError3.png
Default font works fine, which mean issue is within MalisisCore and calculating its font and string width with custom fonts.
When placing a block reader from integrated dynamics i get this crash --> http://pastebin.com/khdb6NsA
When placing a item filter conveyor from power advantage i get this crash --> http://pastebin.com/yaRUKMwr
Both mention malisis core chunkcollision (that's why i posted the issue here first).
Integrated dynamics uses Cyclops core.
power advantage is a mod/api needed for electric and steam advantage mods.
If you think/know the other (core-)mods cause the problems i'll post the crashlogs on theyr githubs.
Hi
Ordinastie take a look :
https://gist.github.com/Jiraiyah/284a444e7b56789ddd33
unless you use internal shape variable, no curves are being drawn, and when you use it, u can only draw single curve and not more than 1 in a component :/
At line:
You've specified only \r, which I assume is for Linux. Can you please use:
String[] texts = text.toString().split("(?<=\r)\n?");
As you did in UITextField.
Thank you.
Here is the crash report of this issue:
http://pastebin.com/trnU4V9S
Only changing Optifine from D7 to D6 fixes the problem. I don't know, if this is an issue with MalisisCore or MalisisDoor.
Installed versions:
Michael (aka BakermanLP)
Not sure what to title this issue...
Anyway, I'm running this on a server, and when I visit certain parts of my world, the client crashes. I'm running the latest commit [8726286] on MC 1.10.2. There's nothing in the part of my world that I would think would cause it to crash like this. I was in the Nether for this crash when nearing a portal I haven't been to in a while, and it also seemed to crash in the Overworld when nearing a different portal. But I have a lot of other portals around as well, so I'm not sure if they really have anything to do with it, just thought it was a coincidence that both crashes I had were near portals I haven't been to in a while...
Currently, I'm unable to join back into the server without it crashing, unless I remove the mod first.
Just wanted to report about this spam in console. Using the "Frutas Alocadas" Modpack v2.2.0 (codepack "frutas" on FTB Launcher). I have had latest version of Malisis Doors and Core for a while, but just noticed this. It happens everytime my garage door opens...
Checking on the moment, I noticed it happened the locations mentioned were of the five blocks below the actual door. Those were Carpenter Blocks, with a "Onyx Cobblestone" from GeoStrata. Removing it, and placing the cobblestone directly stopped the spamming... (Just leaving the Carpenter Blocks, with no texture, also caused the spam in console)
When installed malisiscore-1.7.10-0.11.jar or newest version, player cannot place IC2 crop. Latest version without this issue is 0.10.5.
Crash 1.7.10. Laset version mods
http://pastebin.com/ZBZXXaYk
[14:33:17] [main/DEBUG] [FML/]: Validating minecraft
[14:33:17] [main/DEBUG] [FML/]: Minecraft validated, launching...
[14:33:17] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:33:17] [main/DEBUG] [FML/]: Injecting coremod LoadingPlugin {cofh.asm.LoadingPlugin} class transformers
[14:33:17] [main/TRACE] [FML/]: Registering transformer cofh.asm.CoFHClassTransformer
[14:33:17] [main/DEBUG] [FML/]: Injection complete
[14:33:17] [main/DEBUG] [FML/]: Running coremod plugin for LoadingPlugin {cofh.asm.LoadingPlugin}
[14:33:17] [main/DEBUG] [FML/]: Running coremod plugin LoadingPlugin
[14:33:17] [main/DEBUG] [FML/]: Coremod plugin class LoadingPlugin run successfully
[14:33:17] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:33:17] [main/DEBUG] [FML/]: Injecting coremod MalisisCorePlugin {net.malisis.core.asm.MalisisCorePlugin} class transformers
[14:33:18] [main/ERROR] [LaunchWrapper/]: Unable to launch
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204) ~[?:1.8.0_65]
at java.awt.Window.(Window.java:536) ~[?:1.8.0_65]
at java.awt.Frame.(Frame.java:420) ~[?:1.8.0_65]
at javax.swing.JFrame.(JFrame.java:233) ~[?:1.8.0_65]
at net.malisis.javacompat.JavaCompatibility.(JavaCompatibility.java:47) ~[JavaCompatibility.class:1.7.10-0.13.0]
at net.malisis.javacompat.JavaCompatibility.checkVersion(JavaCompatibility.java:205) ~[JavaCompatibility.class:1.7.10-0.13.0]
at net.malisis.core.asm.MalisisCorePlugin.getASMTransformerClass(MalisisCorePlugin.java:41) ~[malisiscore-1.7.10-0.13.0.jar:1.7.10-0.13.0]
at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:105) ~[forge-1.7.10-10.13.4.1558-1.7.10-universal.jar:?]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) [forge-1.7.10-10.13.4.1558-1.7.10-universal.jar:?]
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) [forge-1.7.10-10.13.4.1558-1.7.10-universal.jar:?]
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.reflect.InvocationTargetException
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.reflect.Method.invoke(Method.java:497)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: cpw.mods.fml.relauncher.FMLSecurityManager$ExitTrappedException
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:25)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Runtime.exit(Runtime.java:107)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.System.exit(System.java:971)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[14:33:18] [main/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:748]: ... 6 more
In the pursuit of using a fluent API (which you are aiming for), there are a few spots where the generics aren't correct (making it a concrete class instead of T) or not present at all.
While I am perfectly aware that this makes it basically a UIMultilineLabel, in my mod Guide I have a TextField that has the Guide's text that one can modify and save but if a user doesn't have permission, I want them to still be able to highlight and copy text but not change any contents. Setting the UITextField to disabled stops keystrokes but prevents highlighting and copying.
This is with latest versions of Special mobs and Zombie Awareness, too. I'm not sue which mod's doing what with this crash. All I know is that t the crashes started on the first night after placing a Malisis Door.
Crash.
This is an attempt to explain the alignment issue in further detail and what I did to resolve it.
Here's a Label object I constructed:
// Player Display Name
title = new UILabel(this, ChatColor.AQUA + "Residence Info");
title.setPosition(0, 0, Anchor.CENTER | Anchor.TOP);
title.setColor(0xffffffff);
title.setSize(7, 7);
title.setFontScale(0.8F);
This is the container I drew it in:
// Construct Hud with all elements
resPane = new UIBackgroundContainer(this, 110, 55);
resPane.setPosition(-10, 0);
resPane.setAnchor(Anchor.RIGHT | Anchor.BOTTOM);
resPane.setColor(Integer.MIN_VALUE);
resPane.setBackgroundAlpha(125);
If this is constructed and displayed onto the screen, the label begins its draw at the center of the container and continues right, see picture:
http://www.almuramc.com/images/Issues/Center-Right-Draw.png
I correct this issue by setting the text of the label again after the object is constructed in either an "update" method or before the drawScreen():
As you can see, the text is now centered properly, only corrected by re-setting the text on the label after the object is constructed and displayed on the screen:
http://www.almuramc.com/images/Issues/Center-Center-Draw.png
So, bug: Anchor data isn't respected until after label object is constructed and displayed at least once on the screen.
Forge: 2029
Mods: malisisblocks-1.9.4-4.0.0.jar, malisiscore-1.9.4-4.0.2.jar, malisisdoors-1.9.4-5.0.1.jar
Server starts up fine, but when you teleport to another location, the chunk doesn't load right away, the server CPU rises to 100% and then it crashed
Crash report: http://pastebin.com/raw/mM43MYje
Trying to update All the Mods to fix the dupe glitch but I just got this crash after updating.
Edit: Looks like its MalisisBlocks?
MalisisCore malisiscore-1.1.0.2-4.2.3.jar
MalisisDoors malisisdoors-1.10.2-5.1.2.jar
In modpack All the Mods v1.33
Constant console spam, multiple reports, does not effect everyone.
Log File: https://pastebin.ubuntu.com/23276585/
Screenshots of spam:
https://images-na.curseapp.net/714b771e-cbc3-4a0c-bff3-aabd1508931d/tracefail.jpeg
https://images-na.curseapp.net/95eb9c24-8036-4ab4-9412-b9935d9842c3/Image.png
malisiscore-1.10.2-4.2.1
See http://paste.ubuntu.com/10664959/
I've only had a quick look, but it seems like this mod may be responsible for loading a huge quantity of chunks, most likely unintentionally.
Once you type in the UITextField, the scroll wheel on the mouse no longer works to go down, going up works fine.
When I install MalisisCore, this crash occurs. When I uninstall it, it goes away.
Crash report: http://pastebin.com/TD2d6cne
MalisisCore version 1.8.9-2.0.0
Forge version 11.15.1.1761
Can you please make it so we can use a UIbutton, UIContainerBackground or an UIImage as the piece to control UIMoveHandle?
See this picture: http://www.almuramc.com/images/almura-2-3.png
We would like to be able to click a [ ] button next to the X to move the window around instead of the icon in the upper left corner of the window.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.