Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Voidi

Sorting MFR Safari Nets

Question

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

3 answers to this question

Recommended Posts

  • 0
  • Solution

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.

Link to post
Share on other sites
  • 0

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.