OpenComputers icon indicating copy to clipboard operation
OpenComputers copied to clipboard

OC + Forestry 1.12.2 (can't add bees to DB from ME)

Open jackyurchiksparrow opened this issue 1 year ago • 3 comments

Greetings! First of all, I am extremely thankful for providing the mod for 1.12.2! I am having issues with adding forestry bees to a database programmatically. I am able to do it manually, but it doesn't work programmatically. I only have one database on computer: image In my ME network I have the only item which is the Meadows Queen: image Then, I try to add it to the DB (which is the only way to add it to the interface to transfer it to the alveary via the transposer) and get nothing: image

Please, reach out to me, maybe I am doing something wrong? But it works fine with other items..

P.S. yes, I have disabled all other mods.

jackyurchiksparrow avatar Dec 13 '23 10:12 jackyurchiksparrow

Also, when I try to:

component.me_interface.store(nil, component.database.address, 1, 1)

then it adds the very first item from the ME network. Even if the first item in ME is a bee, it still adds it, but I have no control over it. In previous versions it used to say "wrong parameter №1, expected table, got nil".

jackyurchiksparrow avatar Dec 20 '23 18:12 jackyurchiksparrow

New update. When I remove the "individual" table from the bee variable, it stores the bee, but I lose all nbt data, which makes no sense then.

bee = component.me_interface.getItemsInNetwork()[1]
bee.individual = nil
component.me_interface.store(bee, component.database.address) -- success, but no nbt, therefore, fail

jackyurchiksparrow avatar Dec 21 '23 10:12 jackyurchiksparrow