feldim2425 / oc-minecarts Goto Github PK
View Code? Open in Web Editor NEWMinecraft Mod / Addon for OpenComputers
License: MIT License
Minecraft Mod / Addon for OpenComputers
License: MIT License
Hey, can you post a todo list of whats missing for the 1.10.2 build?
I just had a server crash when I inserted a Beep Card by Computronics in a Card Container Tier 2 in a Tier 2 oc-minecart.
After restarting the cart was gone
Crashlog:
https://www.dropbox.com/s/bo4slolnhhkdtv0/crash-2016-03-15_18.58.37-server.txt?dl=0
When I restart my server the module in the locomotive no longer responds to messages.
When I break the locomotive no module drops.
The remote module analyzer says the module is still there though.
After applying a new module to the locomotive everything works again.
Hi,
i've found an error in the count() method.
Not easy to explain :-)
Source is :
local component = require("component")
local cart = component.computercart
for i = 1, cart.inventorySize() do
print(i, cart.count(i))
end
The first slot (i=1) will give an error "no slot selected". So i did it from 2.
Count is not starting at slot 1. It goes from slot 2 to inventorySize + 1.
Possible picture will explain it better ;-)
Hi,
if i do a suck on a chest the cart allways sucks the whole chest, but in the inventory is only one stack.
lua> cart.setEngineSpeed(-100)
-100
And not long after, all reversing (outside of rotate()) breaks.
I just crashed after I placed the creative oc-minecart on a network rail
Crashlog:
`
---- Minecraft Crash Report ----
// Oops.
Time: 01.05.16 15:39
Description: Ticking entity
java.lang.NoSuchMethodError: li.cil.oc.api.driver.Item.createEnvironment(Lnet/minecraft/item/ItemStack;Lli/cil/oc/api/driver/EnvironmentHost;)Lli/cil/oc/api/network/ManagedEnvironment;
at mods.ocminecart.common.inventory.ComponetInventory.connectComponents(ComponetInventory.java:187)
at mods.ocminecart.common.minecart.ComputerCart.connectNetwork(ComputerCart.java:365)
at mods.ocminecart.common.minecart.ComputerCart.func_70071_h_(ComputerCart.java:322)
at net.minecraft.world.World.func_72866_a(World.java:2070)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
at net.minecraft.world.World.func_72870_g(World.java:2034)
at net.minecraft.world.World.func_72939_s(World.java:1887)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
`
If you recycle the tier 1 cart, you will get a tier 2 cart
and when you assemble a tier 1 cart, you will get a tier 2 cart too
An upgrade for the computer cart to let it set/get the routing value, also events for track like locomotive track and whistle track. (So I could, say, fire computer.beep() on an active whistle track, also move to a specific destination using railcraft routing)
The Remote Module should control locomotives from a bigger distance than 4 blocks.
The problem is that a wireless communication over more than 4 blocks without energy is a bit unbalanced.
My ideas:
What did you think?
using version 1.7-oc1.5. edit. may just be a bug with my version. the game also crashes when the cart is placed on a normal vanilla track.
It would be a really nice feature to have a lock/unlock command. Maybe a new Component?
It would lock/unlock the last cart in the specified direction.
So maybe
lockFront(number?)
unlockFront(number?)
lockBack(number?)
unlockBack(number?)
The number would be the number of carts to lock/unlock. So one could have 5 carts on an OCCart an unlock them all from the OCCart, while leaving them locked to themself.
For that you would maybe have a function getCartCountFront() and getCartCountBack() so one can check how many carts he is pulling.
That would make the OCCarts much more usefull for Trains and shunting of carts
Just to let you know that I have already found this bug.
I will fix it in the next version.
Crash Report:
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mcp/mobius/waila/api/IWailaEntityProvider at cpw.mods.fml.common.LoadController.transition(LoadController.java:163) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:739) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Getting this issue in my dedicated server console: http://pastebin.com/UejU2WJu
OC Minecarts 1.0, Forge 1566.
Hi, i have done a setup, with some network rail controller and one computer controlling routing over switches and redstone signals. Now i stuck, because i can't address the network controller. It would be nice, if every controller can get an own address. This would make it possible to do routing for ocminecarts without using any extra stuff.
The latter is the spelling for the device used to reduce speed. The former is how something becomes broken.
ocminecart 1.5-oc1.6
Minecraft 1.7.10
OpenComputers 1.6.0.907-dev
Running a computer cart on electric track charges it as usual, but when it leaves the electric track, it continues to recharge.
ocminecart-1.5-oc1.5
OpenComputers-MC1.7.10-1.5.22.46-universal
Railcraft_1.7.10-9.12.2.0
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.