You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i call iview (all required libraries are installed) it only gets to "Decode NBT", prints a table id and then terminates without printing the serialized version of the NBT data.
"As for get (or whatever it'd be called), I'd imagine it to return what getItemStack does now, minus the NBT (or, if so configured in the settings, including the NBT, I'd still leave that in for those that want it, but defaulting to false)."
I turned on NBT values in the settings, so theoretically it should work
I spent a good amount of time hammering on this issue and it seems to be fixed by taking a couple steps:
disable the crc32 check by editing the following line in item.lua: output = function(byte)out[#out+1]=string.char(byte)end})
to output = function(byte)out[#out+1]=string.char(byte)end, disable_crc=true})
edit nbt.lua from libnbt to replace the following line: local bit32 = bit32
with local bit32 = require "bit32"
If the packages were installed via oppm, both files are in /usr/lib/.
Reacted by Gabriel, ThatOneGuy and Gabriel Minossi
Activity
magik6k commentedon Jan 25, 2016
It's due do fact that NBT reading was removed from OC as discussed there: MightyPirates/OpenComputers#649
shadoxxhd commentedon Jan 25, 2016
"As for get (or whatever it'd be called), I'd imagine it to return what getItemStack does now, minus the NBT (or, if so configured in the settings, including the NBT, I'd still leave that in for those that want it, but defaulting to false)."
I turned on NBT values in the settings, so theoretically it should work
magik6k commentedon Jan 25, 2016
Oh, so it's apparently not removed. I'll take a look if I have time.
shadoxxhd commentedon Jul 19, 2016
did you find something out yet?
shadoxxhd commentedon Jul 31, 2017
bumping for attention :P
TaiGel commentedon Mar 16, 2019
I'm still interesting in this issue =)
shadoxxhd commentedon Jul 28, 2019
Is this project dead?
ABCRic commentedon Aug 19, 2019
I spent a good amount of time hammering on this issue and it seems to be fixed by taking a couple steps:
output = function(byte)out[#out+1]=string.char(byte)end})to
output = function(byte)out[#out+1]=string.char(byte)end, disable_crc=true})nbt.luafrom libnbt to replace the following line:local bit32 = bit32with
local bit32 = require "bit32"If the packages were installed via oppm, both files are in
/usr/lib/.