Git Product home page Git Product logo

retrostorage's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

retrostorage's Issues

Autocrafting uses items from all stacks beyond the first 64

Having one stack of 64 of a crafting ingredient, and then multiple others will use the required ingredients for a craft from all stacks except the first one, unless the craft would use all remaining ingredients, then it will use some from the 64-stack aswell.

2022-06-15.15-52-09.mp4

Request Terminal voiding bug

Requesting an autocraft while the output slot of the request terminal is full will use up the items required for the craft, but not output anything to either the slot or the system, voiding the ingredients.

Autocrafted storage discs "sync up" even across worlds

Inserting an item into an autocrafted storage disc will add it to every other existing and future autocrafted discs. It appears that taking out items from any disc doesn't change this behaviour, all disc retain what has been put into them.

These items sync up across worlds, but get reset after closing and re-opening the game. A similar effect can be achieved by giving yourself the discs through HMI.

Repro steps:
-give yourself 2 or more discs through hmi, or have a retrostorage system craft them for you
-insert one disc into a digital chest, then put an item in the disc
-all discs should now have this item inside them

8mb.video-Jiw-pSXXjP3M.mp4

Item exporter duplication/voiding bug

Duplication:

8mb.video-V82-10KjbzwE.mp4

Voiding:

2022-06-15.14-43-06.mp4

Reproduction steps:
Voiding:
-set up a system with a digital terminal and an exporter pointing to a chest
-put two stacks of 64 items into the system
-put in another, non-64 stack
-set the exporter to export the items you just put in
-the chest should only have one 64 stack and the non-64 stack, deleting the second 64 stack

Duplicating:
-put a 64 stack of an item into the system
-put multiple non-64 stacks into the system
-set the exporter to export the item you just put in
-every non-64 stack should have turned into a 64-stack in the chest, except the last one

Crash with Disc Drive (1.1 for BTA)

if you pop disk in disc drive, then unpower it and break it game will crash (only in survival)

[22:19:52] [Minecraft main thread] java.lang.NullPointerException: Cannot invoke "net.minecraft.src.ItemStack.copy()" because the return value of "sunsetsatellite.retrostorage.tiles.TileEntityDiscDrive.getStackInSlot(int)" is null
[22:19:52] [Minecraft main thread] at sunsetsatellite.retrostorage.blocks.BlockDiscDrive.onBlockRemoval(BlockDiscDrive.java:46)
[22:19:52] [Minecraft main thread] at net.minecraft.src.Chunk.setBlockID(Chunk.java:317)
[22:19:52] [Minecraft main thread] at net.minecraft.src.World.setBlock(World.java:598)
[22:19:52] [Minecraft main thread] at net.minecraft.src.World.setBlockWithNotify(World.java:727)
[22:19:52] [Minecraft main thread] at net.minecraft.src.PlayerController.destroyBlock(PlayerController.java:128)
[22:19:52] [Minecraft main thread] at net.minecraft.src.PlayerControllerSP.destroyBlock(PlayerControllerSP.java:14)
[22:19:52] [Minecraft main thread] at net.minecraft.src.PlayerController.mine(PlayerController.java:99)
[22:19:52] [Minecraft main thread] at net.minecraft.client.Minecraft.mineBlocks(Minecraft.java:909)
[22:19:52] [Minecraft main thread] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1455)
[22:19:52] [Minecraft main thread] at net.minecraft.client.Minecraft.run(Minecraft.java:3369)
[22:19:52] [Minecraft main thread] at java.base/java.lang.Thread.run(Thread.java:833)

Storage Containers drop items unintuitively

Containers dropping items in a random direction is rather unintuitive and can lead to losing items in certain situations. They should always drop items in the direction they're facing, possibly even just spawning the items in the block in front of them with no velocity.

Digital Terminal duplication bug #2

Clicking an item on the terminal display with another item of the same type on the cursor will fill the stack on the cursor without taking out items from the system, provided that the amount in the system + the stack on the cursor <= 64.

2022-06-15.15-11-24.mp4

Autocrafting deleting items it shouldn't be

Crafting recipes that leave an item behind, such as cake leaving empty buckets or any EE transmutation recipes consume the items instead of leaving them in the system.

Repro steps:
-set up a system with an assembler
-teach the system to craft cake
-request cake
-the cake will be crafted, but the buckets will be gone

Digital Terminal duplication bug

Reproduction steps:
-have a system with a terminal and a disc drive
-put in one stack of 64 items into the terminal
-put in 10 more of the same item, one by one
-you should now see 2 stacks of 64 among the single-stacks
-taking one 64-stack out will create another one, this will repeat for every single 1-stack except the last one

2022-06-15.14-59-12.mp4

Digital Terminal voiding issue

When multiple stacks of the same item and the same amount are present in the system, attempting to take one out will remove all of those stacks, but only put one in the output slot, voiding the rest.

Failed autocrafting request affecting future successful requests

Attempting to request an autocraft while not having enough ingredients makes the next successful autocraft happen 3 times. Attempting to craft the item you're lacking ingredients for again after that crafts a fourth of the previous item. Doesn't happen if the UI is left between the unsuccessful craft and the successful one.

Repro steps:
-set up 2 recipe discs with recipes requiring different materials, a chest and a furnace for example
-insert wood into the system
-request a furnace to be crafted, then, without leaving the UI, request a chest
-there should be 3 chests waiting for you in the output slot
-attempting to request a furnace again will make another chest, but only the first time, further clicks do nothing

Items consumed by the crafting appear to be the correct amounts, except for #14

Encoding a recipe with extra items will use extra items

If a recipe is encoded with a stack of items >1 then the amount encoded will be used in crafting.

Example/repro steps:
-encode the recipe for sticks, using 2 wooden planks, but make one of the planks have 2 of the item, effectively using 3
-put 3 planks in the system
-request a stick craft
-3 planks will be used instead of 2

Buildcraft pipe issues

Buildcraft pipes can connect to digital and request terminals. Piping items into them will put the items in the output slot, if the item being pumped in isn't already stored in the system. If it is stored in the system, the items will be voided instead. (the item in the system will go up by 1 briefly, but go back to the previous amount right after)

Item dupe when taking out disc from drive

Pulling out a disc from a drive doesn't always clear the inventory of the terminal, so items can be duped by repeatedly pulling out and re-inserting the same disc.

Repro steps:

  • set up a network with a disc drive and terminal
  • insert any disc in the drive
  • insert items through the terminal
  • remove disc
  • the disc drive should now say x/0, x being the amount of stacks put in
  • you can now take the items out of the terminal, or just put the disc back in to stack the duped items with existing ones

Tested on a fresh install of beta with modloader, forge 1.0.7 and HMI 4.2

Also got a crash doing it one time but couldn't repro:
https://mclo.gs/OsdYMyt

Digital chest removing disc

Attempting to insert a disc with items on it into a digital chest will instead turn the disc into a random(?) item stack from the disc, voiding the rest.

Tested on a fresh install of beta with modloader, forge 1.0.7 and HMI 4.2

UI misalignment in certain UIs

Here's an example inside a vanilla crafting table, the whole inventory is shifted up and the "Inventory" text is in the wrong place.

image

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.