Voidi 0 Posted May 3, 2015 Share Posted May 3, 2015 After a converter for Safari Nets is now(in 1.4.0) implemented, i finally tried to manage my Mobfarm with OpenComputers. But neither with the components Inventory_Controller (getStackInSlot) or Database (get) i get an Stackinfo containing infos about the entity.Looking at https://github.com/MightyPirates/OpenComputers/blob/OC1.5-MC1.7.10/src/main/scala/li/cil/oc/integration/mfr/ConverterSafariNet.scala there should be a key 'entity', should'nt it? What i am doing wrong? Quote Link to post Share on other sites
0 Solution Sangar 92 Posted May 5, 2015 Solution Share Posted May 5, 2015 I have indeed had a quick look into how Safari Nets generate the info they display, but from what I could tell this is a mechanic designed for the client-side, and Lua runs server-side. So while it *might* work, it could just as well break stuff where implementers assumed the information accumulator would only be called on the client. As for the label, sounds like MFR registers some localization strings in a... unconventional way, otherwise it'd be 'localizable' on the server, too. Nothing I can do about that I don't think. Quote Link to post Share on other sites
0 Sangar 92 Posted May 4, 2015 Share Posted May 4, 2015 Seems the item name change. Should be fixed in build 612. Quote Link to post Share on other sites
0 Voidi 0 Posted May 4, 2015 Author Share Posted May 4, 2015 Works! Thank you. But i find another thing that could be solved nicer: More detailed properties of Entitys aren't diplayed. While most of them are hide for good reasons, for some it would be nice to distinct different mobs. Normal and Wither Skeleton for example. Is this for you imaginable, or beyond the scope of the Safari Net Converter. Oh and and the Safarinets has as value for Label "item.mfr.safarinet.reusable.name", but only on dedicated Servers in Singleplayer it has the correct display name. Quote Link to post Share on other sites
After a converter for Safari Nets is now(in 1.4.0) implemented, i finally tried to manage my Mobfarm with OpenComputers.
But neither with the components Inventory_Controller (getStackInSlot) or Database (get) i get an Stackinfo containing infos about the entity.
Looking at https://github.com/MightyPirates/OpenComputers/blob/OC1.5-MC1.7.10/src/main/scala/li/cil/oc/integration/mfr/ConverterSafariNet.scala there should be a key 'entity', should'nt it?
What i am doing wrong?
Link to post
Share on other sites