Closed linuxdaemon closed 6 years ago
please retest with our dev builds. we've made many fixes with our ae2 integration https://ci.cil.li/
Tested with exact same setup, OC version 1.7.2.116, different error this time.
When performing any lookup using getItemsInNetwork()
the only result I get is nil, "{damage=0, size=1, hasTag=false, maxDamage=1561, name=minecraft:diamond_sword, maxSize=1, label=Diamond Sword} (of class java.util.HashMap)"
yikes -- ok thanks for the info
This happens for getCraftables()
, store()
, etc as well, it seems anything using the filter table against an ItemStack
fails, so much of the AE API is unusable
please retry with our latest dev builds
Yep, works now, thanks :+1:
What happens
nil "unknown error"
when retrieving a list of items from the AE network withgetItemsInNetwork()
. This seems to only occur with a filter table containing a list of enchantments, for example:This seems to only occur if there is another item in the AE system.
How to replicate
Lua 5.2
(a whole different set of issues occur on 5.3, possible related to #2448 )\item=component.me_controller.getItemsInNetwork({name="minecraft:diamond_sword", hasTag=true})[1]
to find the enchanted diamond sword=component.me_controller.getItemsInNetwork({name=item.name, enchantments=item.enchantments})
The issue seems to occur with any item with NBT (specifically tested with forestry bees though), replicated via
=component.me_controller.getItemsInNetwork(item)
whereitem
is the result from the table returned from an earliergetItemsInNetwork()
call, which has NBT.Forestry bees and enchanted items do seem to have another thing in common, they both have tables as values in the filter table,
individual
andenchantments
respectively, so this may be the issue.Logs
This does produce a stack trace in the log: https://paste.ee/p/cbltx (last 45 lines or so)
Versions
Minecraft: 1.12.2 Forge: 14.23.4.2760 OpenComputers: 1.7.2.67 AE2: rv5-stable-11