Code Monkey home page Code Monkey logo

mapwriter's Introduction

mapwriter

MapWriter: A minimap mod for Minecraft

Instructions for development:

  1. Run "gradlew setupDecompWorkspace" in the mapwriter folder.

  2. Run "gradlew eclipse" if using the eclipse IDE. If it does not work you may need to copy the eclipse folder from a Forge src release into the mapwriter folder and retry the command.

  3. Open eclipse and set the workspace directory to mapwriter/eclipse.

  4. You should now be able to modify the code and test by using the "Client" Run Configuration.

Reobfuscation and Packaging:

  1. Edit the version numbers in mapwriter.forge.MwForge and build.gradle. The version numbers in mcmod.info should automatically be set to the same versions as set in the build.gradle file.

  2. Run "gradlew reobf".

  3. The reobfuscated jar should be output to the mapwriter/build/libs folder.

Acknowledgements:

  • Chrixian for the code to get death markers working.
  • ProfMobius for the overlay API.
  • taelnia for extrautils compatibility patch.
  • LoneStar144 for minimap border and arrow textures.
  • jk-5 for updating the mod to be compatible with Minecraft 1.7.

mapwriter's People

Contributors

chrixian avatar daveyliam avatar jeffreykog avatar muink avatar nexusnull avatar profmobius avatar taelnia avatar vectron 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  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  avatar

mapwriter's Issues

1.9 crashes on start

java.lang.NoSuchMethodError: net.minecraftforge.client.event.GuiOpenEvent.getGui()Lnet/minecraft/client/gui/GuiScreen;
at mapwriter.forge.EventHandler.onGuiOpenEvent(EventHandler.java:154)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_29_EventHandler_onGuiOpenEvent_GuiOpenEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:924)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:346)
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)

Latest version of MapWriter

Error spamming logs [IndexOutOfBoundsException]

The following error is spamming my logs/console:

java.lang.IndexOutOfBoundsException
    at java.io.RandomAccessFile.readBytes(Native Method)
    at java.io.RandomAccessFile.read(RandomAccessFile.java:377)
    at javax.imageio.stream.FileImageInputStream.read(FileImageInputStream.java:117)
    at com.sun.imageio.plugins.common.SubImageInputStream.read(SubImageInputStream.java:61)
    at com.sun.imageio.plugins.common.InputStreamAdapter.read(InputStreamAdapter.java:47)
    at java.io.SequenceInputStream.read(SequenceInputStream.java:207)
    at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:238)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
    at java.io.FilterInputStream.read(FilterInputStream.java:83)
    at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1104)
    at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1215)
    at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1330)
    at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1606)
    at javax.imageio.ImageIO.read(ImageIO.java:1448)
    at javax.imageio.ImageIO.read(ImageIO.java:1308)
    at mapwriter.region.SurfacePixels.loadImage(SurfacePixels.java:141)
    at mapwriter.region.SurfacePixels.load(SurfacePixels.java:46)
    at mapwriter.region.SurfacePixels.getPixels(SurfacePixels.java:65)
    at mapwriter.region.SurfacePixels.getOrAllocatePixels(SurfacePixels.java:71)
    at mapwriter.region.SurfacePixels.updateScaled(SurfacePixels.java:115)
    at mapwriter.region.Region.updateNextZoomLevel(Region.java:143)
    at mapwriter.region.Region.updateZoomLevels(Region.java:155)
    at mapwriter.region.SurfacePixels.updateChunk(SurfacePixels.java:91)
    at mapwriter.region.Region.updateChunk(Region.java:166)
    at mapwriter.region.RegionManager.updateChunk(RegionManager.java:123)
    at mapwriter.tasks.UpdateSurfaceChunksTask.run(UpdateSurfaceChunksTask.java:24)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

This bug is also present in "mapwriter 1":
daveyliam#33

Versions:
Forge: 10.13.4.1448
MapWriter: 2.1.9

Request: Multiplayer Support Show Where Others Are.

This has been a long time request by my community is a feature that allows you to see everyone on the server. Great for those small tight communities. But we don't want the xray style of where the client sees it but rather simple server side mod that would show you where other players are no matter their distance.

Thanks.

Saving waypoint in non-default group changes group waypoint that map shows

I have a waypoint group specifically for Immersive Engineering's ore veins. So when I find an ore vein I want to save I open the full screen map, change the group shown to "ore veins", right click my cursor then set a waypoint. But then for some reason the group that the map shows changes to "none". This shouldn't happen.

I'm using MapWriter 2.1.10

Certain areas won't show on certain zoom levels

I've been having this problem for about a year now: Often times in my worlds I end up with something that looks like this, which most of the time appears months into a world, and won't go away.
Is there a fix for this?

Top Right Map in wrong position

On version MapWriter-1.9-2.4.17 the Top Right position for the Minimap got somehow broken and it doesn't place it really on the top top.

Crash On Resource Pack Change

This crash occurs both when I apply a resource pack, and when I remove it.

Running version 2.3.13 on Minecraft 1.8.9

Here is the crash report.

Options Menu?

It may just be me, but is anyone else unable to use the options menu after hitting "m" to pull up the full map? It doesn't seem to do anything when clicking it or hovering over.

Chash with optifne

I suspect that conflict with OptiFine, because without game start normally

---- Minecraft Crash Report ----

WARNING: coremods are present:
Contact their authors BEFORE contacting forge

// Would you like a cupcake?

Time: 15.07.16 10:58
Description: Initializing game

java.lang.OutOfMemoryError: Direct buffer memory
    at java.nio.Bits.reserveMemory(Unknown Source)
    at java.nio.DirectByteBuffer.<init>(Unknown Source)
    at java.nio.ByteBuffer.allocateDirect(Unknown Source)
    at mapwriter.util.Utils.allocateDirectIntBuffer(Utils.java:112)
    at mapwriter.util.Texture.<init>(Texture.java:54)
    at mapwriter.BlockColourGen.genBlockColours(BlockColourGen.java:97)
    at mapwriter.Mw.reloadBlockColours(Mw.java:289)
    at mapwriter.forge.EventHandler.onGuiOpenEvent(EventHandler.java:151)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_27_EventHandler_onGuiOpenEvent_GuiOpenEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)
    at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:931)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:530)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:351)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    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 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 java.nio.Bits.reserveMemory(Unknown Source)
    at java.nio.DirectByteBuffer.<init>(Unknown Source)
    at java.nio.ByteBuffer.allocateDirect(Unknown Source)
    at mapwriter.util.Utils.allocateDirectIntBuffer(Utils.java:112)
    at mapwriter.util.Texture.<init>(Texture.java:54)
    at mapwriter.BlockColourGen.genBlockColours(BlockColourGen.java:97)
    at mapwriter.Mw.reloadBlockColours(Mw.java:289)
    at mapwriter.forge.EventHandler.onGuiOpenEvent(EventHandler.java:151)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_27_EventHandler_onGuiOpenEvent_GuiOpenEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)
    at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:931)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:530)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:351)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    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 net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
    Minecraft Version: 1.10.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 316365976 bytes (301 MB) / 551550976 bytes (526 MB) up to 954728448 bytes (910 MB)
    JVM Flags: 2 total; -XX:HeapDumpPath=ThisTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.32 Powered by Forge 12.18.1.2013 Optifine OptiFine_1.10.2_HD_U_C2 9 mods loaded, 9 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJA  mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJA  FML{8.0.99.99} [Forge Mod Loader] (forge-1.10.2-12.18.1.2013.jar) 
    UCHIJA  Forge{12.18.1.2013} [Minecraft Forge] (forge-1.10.2-12.18.1.2013.jar) 
    UCHIJA  BetterHorseHud{1.0} [Better Horse Hud] (BetterHorseHud-[1.9-1.10.2]-1.0.jar) 
    UCHIJA  inventory_x{1.10-1.0.1} [Inventory X] (inventory_x-1.10-1.0.1.jar) 
    UCHIJA  JEI{3.7.5.227} [Just Enough Items] (jei_1.10.2-3.7.5.227.jar) 
    UCHIJA  MapWriter{2.6.19} [MapWriter] (MapWriter-1.10.2-2.6.19.jar) 
    UCHIJA  Neat{GRADLE:VERSION-GRADLE:BUILD} [Neat] (Neat 1.3-10.jar) 
    UCHIJA  WorldEditCuiFe{1.0.2} [WorldEdit CUI Forge Edition] (WorldEditCuiFe-v1.0.4-mf-1.10.2-12.18.0.2010.jar) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 361.91' Renderer: 'GeForce GT 520M/PCIe/SSE2'
    Launched Version: 1.10.2-forge1.10.2-12.18.1.2013
    LWJGL: 2.9.4
    OpenGL: GeForce GT 520M/PCIe/SSE2 GL version 4.5.0 NVIDIA 361.91, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: Українська (Україна)
    Profiler Position: N/A (disabled)
    CPU: 4x Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz
    OptiFine Version: OptiFine_1.10.2_HD_U_C2
    Render Distance Chunks: 12
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 4.5.0 NVIDIA 361.91
    OpenGlRenderer: GeForce GT 520M/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 4

New mapwriter files getting mixed up with "New World" mapwriter files.

When I make markers on the map, a "New World" folder is created in the save folder, and the configuration is saved there. Then at one point, the map image was getting the image from the right folder, but the configuration was being used from "New World", and the configuration I already placed in there was being overwritten.

EDIT: I just deleted the all the save folders except for mapwriter_mp_worlds (I didn't need them). I entered my server and it's doing sort of the same thing, it's creating a "New World" folder and using a marker that I had there before I deleted it.

[mapwriter.tasks.Task:printException:50]: java.lang.NullPointerException

My game is log spamming this:
[22:55:47] [Client thread/INFO] [STDERR]: [mapwriter.tasks.Task:printException:50]: java.lang.NullPointerException

And my game:
Any button press my keyboard, load the FULL map, and very hard exit. Press ESC button, escape the full map, but load again the full map. This mod is NOT usable this bug....

Config files and Ids

In the config directory there are two files MapWriterBlockColourOverrides.txt and MapWriterBlockColours.txt that contain the id for blocks.
My suggestions are:
1: To replace the ids with the block names, similar to how immibis microblocks for 1.7.10 does it (eg chisel:warningSign:0).
2: To put these two files, including MapWriter.cfg inside their own directory (config/mapwriter) since having multiple files from the same mod in /config feels a bit messy.

Errors on stop: Thermal Dynamics

I am getting the following errors when I "Save and Quit" my single player game.

Short:

[13:45:27] [pool-10-thread-1/ERROR] [FML/]: A TileEntity type cofh.thermaldynamics.duct.fluid.TileFluidDuct has throw an exception trying to write state. It will not persist. Report this to the mod author
java.lang.NullPointerException
    at cofh.thermaldynamics.duct.attachments.ConnectionBase.writeToNBT(ConnectionBase.java:63) ~[ConnectionBase.class:?]
    at cofh.thermaldynamics.duct.attachments.servo.ServoBase.writeToNBT(ServoBase.java:53) ~[ServoBase.class:?]
    at cofh.thermaldynamics.block.TileTDBase.func_145841_b([LP|ASM] TileTDBase.java:716) ~[TileTDBase.class:?]
    at cofh.thermaldynamics.duct.fluid.TileFluidDuct.func_145841_b(TileFluidDuct.java:384) ~[TileFluidDuct.class:?]
    at mapwriter.region.MwChunk.writeChunkToNBT(MwChunk.java:366) [MwChunk.class:?]
    at mapwriter.region.MwChunk.write(MwChunk.java:399) [MwChunk.class:?]
    at mapwriter.tasks.SaveChunkTask.run(SaveChunkTask.java:17) [SaveChunkTask.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_60]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_60]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]

[13:45:27] [pool-10-thread-1/ERROR] [FML/]: A TileEntity type cofh.thermaldynamics.duct.item.TileItemDuct has throw an exception trying to write state. It will not persist. Report this to the mod author
java.lang.NullPointerException
    at cofh.thermaldynamics.duct.attachments.ConnectionBase.writeToNBT(ConnectionBase.java:63) ~[ConnectionBase.class:?]
    at cofh.thermaldynamics.duct.attachments.servo.ServoBase.writeToNBT(ServoBase.java:53) ~[ServoBase.class:?]
    at cofh.thermaldynamics.duct.attachments.servo.ServoItem.writeToNBT(ServoItem.java:59) ~[ServoItem.class:?]
    at cofh.thermaldynamics.block.TileTDBase.func_145841_b([LP|ASM] TileTDBase.java:716) ~[TileTDBase.class:?]
    at cofh.thermaldynamics.duct.item.TileItemDuct.func_145841_b(TileItemDuct.java:477) ~[TileItemDuct.class:?]
    at mapwriter.region.MwChunk.writeChunkToNBT(MwChunk.java:366) [MwChunk.class:?]
    at mapwriter.region.MwChunk.write(MwChunk.java:399) [MwChunk.class:?]
    at mapwriter.tasks.SaveChunkTask.run(SaveChunkTask.java:17) [SaveChunkTask.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_60]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_60]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]

Longer:
https://gist.github.com/QORTEC/92663fc02207b3903ff2

[1.10.2-2.6.19] Client crash on logging in, NPE getting distance to marker

I had a server crash while spawning in the wither boss due to another mod. I have removed it until that is fixed. Don't think it is related to this, but I mention it in case. Now, the client crashes immediately as I spawn in (and the wither boss is still there since I can hear him before it crashes).

This is the crash log: http://pastebin.com/xVQhhcNb

This is with MC 1.10.2, MapWriter2 version 2.6.19 and Forge 2093. Let me know if you need anything else. Thank you!

EDIT: Forgot to mention, I'm logging in in the Nether.

Full localization support

There a lot of hardcoded localization inside code. Can you move it out, so translators can translate it?

Crash with both the 2.1.4 version and the 2.1.6 version

Alright, needless to say I was ecstatic to see a new version of mapwriter, and despite this minor setback I'm still quite pleased to see that someone has taken up the production of it once more. Unfortunately on loading I encountered a crash which I'm hoping you can get to the bottom of.

here's the Error Report: http://pastebin.com/4w8rZ9gi

Now, I'm not entirely sure the crash has to do with Mapwriter, however the log said that mapwriter was doing something with block Color generation right before the crash occurred and removing the mod eliminated the crash, so I'm hoping that this is the right place to report this one.

Anyway, I hope this can be figured out so that I can get back to reveling in full screen map glory, thanks for your work!

Compatibility with JEI 1.8.9

When JEI is installed and mapwriter, when you look at a block and press U the recipe shows up with black boxes.

easiest way i've found is to make a game on Creative with just those 2 mods, use U key on a glass block, will show recipe for beacon - use the U key again on an obsidian block, and viola - nothing but black info boxes

java.lang.NullPointerException at mapwriter.util.Utils.getWorldName(Utils.java:159) with Replay Mod

Hi I'm using Minecraft 1.8 with the following mods

  • forge-1.8-11.14.4.1577
  • LiteLoader 1.8 with Forge 1.8
  • Replay Mod v1.8-2.0.0

When watching my replayfiles (basically a recording of what happend) I get the following

java.lang.NullPointerException
	at mapwriter.util.Utils.getWorldName(Utils.java:159) ~[Utils.class:?]
	at mapwriter.Mw.load(Mw.java:354) ~[Mw.class:?]
	at mapwriter.Mw.onTick(Mw.java:457) ~[Mw.class:?]
	at mapwriter.forge.EventHandler.renderMap(EventHandler.java:105) ~[EventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_55_EventHandler_renderMap_Post.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55) ~[ASMEventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
	at net.minecraftforge.client.GuiIngameForge.post(GuiIngameForge.java:858) [GuiIngameForge.class:?]
	at net.minecraftforge.client.GuiIngameForge.func_175180_a(GuiIngameForge.java:190) [GuiIngameForge.class:?]
	at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1381) [cji.class:?]
	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1055) [bsu.class:?]
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345) [bsu.class:?]
	at net.minecraft.client.main.Main.main(SourceFile:120) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]```

A valid fix seems to verify if the serverIp is not null:
``net.minecraft.client.multiplayer.ServerData serverData = Minecraft.getMinecraft().getCurrentServerData();
if(serverData != null){
	worldName = serverData.serverIP;
	// ....
} else {
	worldName = "default";
}``

Compatibility with Simple Dimensions Mod

Hi there,

the mentioned mod works very well.
It allows the user to create custom dimensions while in the game.

Mapwriter recognizes them and tries to generate the map files.
But also it keeps the files from DIM0 loaded and the result is:

it switches the map between the newly created dimension and DIM0 back and for.

Is it possible to add support for custom dimensions?

Further I noticed, that in the mc saves/mapwriter folder that MapWriter stores the region files for DIM0 in the main folder, while all other region files (ex. : DIM-1) are stored in a subfolder.
Same behavior for the image files.

BTW: the mentioned mod is open source:
Here's the link to it's Github repo: https://github.com/lumien231/Simple-Dimensions

Mini map position always unchanged

I`m having a bit of trouble setting my minimap to the right top corner, if set in M menu it stays in the desired position but after a game restart the minimap resets to the left top corner and the option ingame remains "unchanged". In minimap.cfg i cannot find a value relative to this config option.

p.s. tried to look into the code myself to see where this config is stored but could not found it (I`m not a Java programmer)

Pressing 'M' causes client crash [2.1.10]

Just updated from 2.1.7 to 2.1.10 and now when I press 'M' I get a client crash with the follow problem:

"[10:09:39] [Client thread/FATAL]: Unreported exception thrown!
java.lang.NoSuchFieldError: isKeyBindingPressed"

Full log: https://paste.ee/p/Eia0B

FTB Infinity with added mods. Full list in crash log.

Downgrading back to 2.1.7 fixes the problem, will test with other versions.

Update: Can confirm this is not an issue on 2.1.9.

[1.10.2-2.6.19]Map sometimes derps at certain zoom levels

So, here is what it looks like when at a zoom level where it renders correctly:
image
And here is when I zoom in one level:
image
The section that appeared there is my home area, which has a waypoint set at it, and it is where I spend most of my time.

I have yet to figure out exact steps to reproduce. Perhaps a way to force it to refresh itself would be the best solution.

EDIT: I've noticed that this issue seems to be more common when sprint-flying through the world.

MapWriter has trouble saving and updating map (1.7.10)

This is a known issue dating back awhile. I think daveyliam#3 is related. Known causes are:
When many blocks are changed at once, or too many regions are created too quickly

Known symptoms:
Flashing map (one state has the original, the other has the new state), changes are saved on exit
New chunks are added to the map very slowly, and may or may not save
post processing is not added accurately (lines between chunks, errors in transparency, etc)

These all still occur with 57814da in 1.7.10. I'd offer advice, but after working on it for countless hours over the past several months, I've got no helpful advice other than a possible security error or a disk throttling issue (utorrent has an issue where if the disk gets throttled, it can no longer write to it).

Low FPS on some areas

This bug happened from nowhere. I was playing before there and it was fine. But now when i teleport there the game starts lagging so bad that i have to close it with task manager. Also it spams the console like this: https://pastebin.com/47GPPqQt. Logs have nothing in them related to this bug. I can upload the world if needed. (Sorry for mistakes)

not all zooms get saved

When exploring with zoom lowest zoom level the zoomed out versions dont get saved properly.
(happens in 1.7.10)

Quote from LeslieGilliams»

Now that I've had more time to examine this it does seem the mod can't or won't generate images that are about 2-3 levels zoomed out from the level that you used to visit an area. For example if I fly over an area at level 1 (the most zoomed out) then I can zoom all the way in with no issues. But if I fly over a new area at level 9 (almost zoomed in) then images of the map won't show up if I zoom back to level 6->1. I think this explains the issues I had over the past few months thinking that it wasn't saving areas I had been to - it simply wasn't generating those areas when zoomed out so I though they were still black.

Map writer 1.9 has poor default positioning.

As you may or may not be aware, as of 1.9 minecraft places potion indicators in the upper righthand corner of the screen. While I have temporarily changed my copy of map writer to provide a larger top margin, it would be ideal if this were either on by default, or if the top margin were expanded by the 16 (resolution adjusted) pixels necessary to accommodate the indicator bar when it is displayed. Currently I use a static value of 25 rather than the default 10 pixels and it works perfectly regardless of UI size choice. I would submit a patch but it would be better if it dynamically adjusted. Alternatively, if there was a way to force minecraft to display those indicators below the mini-map, this would accomplish the same end.

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.