OpenMods / OpenPeripheral-Integration

Extra OP adapters
MIT License
9 stars 9 forks source link

OC and AE2 thru OC adapter #15

Open adamsonich opened 9 years ago

adamsonich commented 9 years ago

I'm using OpenPeripheral-1.7.10-AIO-4 OpenComputers-MC1.7.10-1.5.3.10-universal trying program:

component=require("component")
ae2=component.proxy(component.list("tileinterface")())
item_list=ae2.getAvailableItems()
ae2.requestCraft(item_list[9].fingerprint,10)

and get error on last line

"kernel 913: failed to convert arg fingerprint"
error come from line 725 in file "OpenComputers-MC1.7.10-1.5.3.10-universal.jar\assets\opencomputers\lua\machine.lua" in function "xpcall"

i get same error if use

ae2.exportItem(item_list[9].fingerprint,"south",10)

if I print item_list[9].fingerprint on screen I get

{dmg=0,
id="minecraft:sand"}
adamsonich commented 9 years ago

Update dublicate structure with ComputerCraft and it's work fine

boq commented 9 years ago

Umm, I'm not really sure what happened there. I can't reproduce this issue (with OpenComputers-MC1.7.10-1.5.12.26-universal.jar) even though I've run almost exactly same code.

But I've added more verbose error descriptions (will be in next version), so debugging it will be easier in future.

adamsonich commented 9 years ago

updated OpenComputers-MC1.7.10-1.5.12.26-universal 2015-06-12_14 10 21 found that in single world every thing is work correctly but on server I get errors server has same version of mod: OpenComputers-MC1.7.10-1.5.12.26-universal