Jump to content




Bee Breeding with OpenPeripherals (now with Bee Matron)


321 replies to this topic

#301 Dewey

  • Members
  • 14 posts

Posted 31 October 2015 - 12:20 PM

 GManNo99, on 04 October 2015 - 01:58 AM, said:

hi i just try useing this program in FTB infinity v1.11.2 and keep getting openbee:225: attempt to call nil
plz help thx

I would recommend opening your openbee program in a text editor such as notepad++ and looking for what line 225 is doing. A screenshot of your setup would also be helpful. Sounds like you have a configuration problem going on.

#302 McLeopold

  • Members
  • 123 posts

Posted 02 November 2015 - 08:19 PM

 GManNo99, on 04 October 2015 - 01:58 AM, said:

hi i just try useing this program in FTB infinity v1.11.2 and keep getting openbee:225: attempt to call nil
plz help thx

https://github.com/F...penbee.lua#L225

Line 225 looks like a comment, which indicates you are not on the lastest version. Run openbee-install and try again.

#303 Dewey

  • Members
  • 14 posts

Posted 05 November 2015 - 02:00 PM

Hooray McLeopold, you're alive! :D

Any chance of adding compatibility for AE2 networks? Tried to figure it out on my own but no such luck.

#304 chanzie

  • Members
  • 3 posts

Posted 07 November 2015 - 04:35 AM

openbee version 2.2.1
priority: speciesChance speed fertility nocturnal tolerantFlyer caveDwelling temperatureTolerance humidityTolerance effect flowering flowerProvider territory
Analyzer direction incorrect.  Direction should be relative to bee chest.
openbee:255: Failed to get bee breeding information from magicbees.bees.BeeMutation@635d1776, collected data: {result=Bound, chance=8.0, allele2=Arcane, allele1=Bloody}

this is what my log is showing I am having major issues trying to get this to run

#305 Dewey

  • Members
  • 14 posts

Posted 08 November 2015 - 11:32 AM

 chanzie, on 07 November 2015 - 04:35 AM, said:

openbee version 2.2.1
priority: speciesChance speed fertility nocturnal tolerantFlyer caveDwelling temperatureTolerance humidityTolerance effect flowering flowerProvider territory
Analyzer direction incorrect.  Direction should be relative to bee chest.
openbee:255: Failed to get bee breeding information from magicbees.bees.BeeMutation@635d1776, collected data: {result=Bound, chance=8.0, allele2=Arcane, allele1=Bloody}

this is what my log is showing I am having major issues trying to get this to run

This is a problem earlier reported on Page 15:

http://www.computerc...post__p__232787

#306 omglolbah

  • New Members
  • 2 posts

Posted 14 January 2016 - 02:05 PM

I have been fiddling around trying to get this running on Infinity Expert 2.3.3
So far I have it running, and if I do NOT set a target species (run as simple 'openbee") it seems to run along just fine making tons of different bees.

However, when I -set- a target, like 'Imperial' or 'Silicon' I run into problems fairly quickly.

I have two setups, one for silicon and one for imperial and they both got stuck in a loop. Imperial targeted one gets stuck endlessly trying to make Cultivated, while the Silicon one gets stuck making Unweary.

See log: http://pastebin.com/nDkk5kDU
If I run the program targetting Unweary it immediately tells me that "Bees are purebred". Something is wonky here with how it picks the lower tier?

I am attempting to track down the issue but it is honestly taking me quite a bit of time just understanding how the reference bee cataloging happens, and how bees are picked. I'm not that well versed in the way LUA treats data but I am trying!

Anyone have any ideas for how this could happen?

#307 TemporalWolf

  • Members
  • 4 posts

Posted 04 February 2016 - 04:13 PM

 omglolbah, on 14 January 2016 - 02:05 PM, said:

*snip*
Anyone have any ideas for how this could happen?

EDIT: So I figured out why we can get stuck on Unweary: they have a base fertility of one: breeding the reference pair for additional drones will never result in additional drones, but it will continue to try.

So I'm currently working on updating openbee with some functionality I wanted (monitor support, color support (when available) and reduced monitor output) and I'm encountering the same issue. I may take a stab at fixing it, but the problem as I understand it:

It seems it has issues when trying to do a dependency that's like so:
1 + 2 = 3
2 + 3 = 4

It shoots straight to 3, then gets stuck on 3 because it will never make 2 (so that it can finally get 4).

example:
Eldritch + Charmed = Enchanted
Charmed + Enchanted = Supernatural

It gets stuck infintely making enchanted bees, unless it gets a pure charmed bee on the way through.

Because in targetted mode it will skip purifying charmed if it gets an enchanted mutation before it purifies it, it can then encounter this issue.

if it's not targetted, it will purify and save a charmed before moving on, which is what we want.

Edited by TemporalWolf, 05 February 2016 - 12:38 AM.


#308 gScottSingleton

  • New Members
  • 2 posts

Posted 07 March 2016 - 02:16 AM

I'm having openbee die without a real error message besides the bubbled up call. My Log file:

openbee version 2.2.1
priority: speciesChance speed fertility nocturnal tolerantFlyer caveDwelling temperatureTolerance humidityTolerance effect flowering flowerProvider territory
openbee:255: forestry.api.genetics.IMutation.getAllele0()Lforestry/api/genetics/IAllele;

Any thoughts on this? I'm running FTB Infinity 2.4.1 which appears to have the latest releases of all involved; OP, CC, Forestry, etc.

#309 Olvar

  • New Members
  • 1 posts

Posted 23 March 2016 - 12:35 AM

I'm getting the same error running on 2.4.2, same line number of the error.

Really sucks, was looking forward to giving his program a try.

Editing in the full error from the log files.

[19:12:36] [Coroutine-26/DEBUG] [OpenMods/]: Error during method getBeeBreedingData(6) execution on peripheral tile_for_apiculture_0_name, args: []
java.lang.NoSuchMethodError: forestry.api.genetics.IMutation.getAllele0()Lforestry/api/genetics/IAllele;
at openperipheral.integration.forestry.AdapterBeeHousing.getBeeBreedingData(AdapterBeeHousing.java:68) ~[AdapterBeeHousing.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
at openperipheral.adapter.method.MethodDeclaration$CallWrap.call(MethodDeclaration.java:308) ~[MethodDeclaration$CallWrap.class:?]
at openperipheral.adapter.method.MethodDeclaration$CallWrap.call(MethodDeclaration.java:322) ~[MethodDeclaration$CallWrap.class:?]
at openperipheral.interfaces.cc.wrappers.AdapterPeripheral.executeCall(AdapterPeripheral.java:72) [AdapterPeripheral.class:?]
at openperipheral.interfaces.cc.wrappers.AdapterPeripheral.callMethod(AdapterPeripheral.java:133) [AdapterPeripheral.class:?]
at dan200.computercraft.core.apis.PeripheralAPI$PeripheralWrapper.call(PeripheralAPI.java:110) [PeripheralAPI$PeripheralWrapper.class:?]
at dan200.computercraft.core.apis.PeripheralAPI.callMethod(PeripheralAPI.java:477) [PeripheralAPI.class:?]
at dan200.computercraft.core.lua.LuaJLuaMachine$2.invoke(LuaJLuaMachine.java:332) [LuaJLuaMachine$2.class:?]
at org.luaj.vm2.lib.VarArgFunction.onInvoke(Unknown Source) [VarArgFunction.class:?]
at org.luaj.vm2.TailcallVarargs.eval(Unknown Source) [TailcallVarargs.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.lib.BaseLib.pcall(Unknown Source) [BaseLib.class:?]
at org.luaj.vm2.lib.BaseLib$BaseLibV.invoke(Unknown Source) [BaseLib$BaseLibV.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.lib.BaseLib.pcall(Unknown Source) [BaseLib.class:?]
at org.luaj.vm2.lib.BaseLib$BaseLibV.invoke(Unknown Source) [BaseLib$BaseLibV.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.TailcallVarargs.eval(Unknown Source) [TailcallVarargs.class:?]
at org.luaj.vm2.TailcallVarargs.arg1(Unknown Source) [TailcallVarargs.class:?]
at org.luaj.vm2.LuaClosure.call(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.lib.BaseLib.pcall(Unknown Source) [BaseLib.class:?]
at org.luaj.vm2.lib.BaseLib$BaseLibV.invoke(Unknown Source) [BaseLib$BaseLibV.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.call(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.execute(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaClosure.invoke(Unknown Source) [LuaClosure.class:?]
at org.luaj.vm2.LuaThread$State.run(Unknown Source) [LuaThread$State.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]

Edited by Olvar, 26 March 2016 - 01:14 AM.


#310 asdfghjkl

  • Members
  • 9 posts

Posted 27 April 2016 - 03:44 AM

So, I'm running into a bit of a problem and I didn't see it mentioned anywhere else. I'm running Minecraft 1.7.10, Openbee 2.2.1, Forestry 3.6.12.3, CC 1.74, and OpenPeripherals "AIO-5". I'm not sure I understand how OpenPeripherals numbers their versions, but anyways.
Here's the response I get when I try to do "openbee imperial" https://gyazo.com/eb...e79f727ec618e6b
The log file is just the same thing thats there. My setup looks like this https://gyazo.com/0f...209cd7e887381af
Now, this error only happens when there are bees in the top chest. If I take them out, I get the prompt for adding more princesses. https://gyazo.com/1b...0e5b0a207fe56b3

My best guess is that its probably an inconsistency between Forestry versions, or maybe OpenPeripherals? I know the program is relatively old, and the modpack I'm on has updated nearly every mod important to the functioning of the program. Any clue to help point me in the right direction would be great. And, of course, if I can provide any more information, I will. Thanks!


I did a bit more testing, and I figured it out. I probably should have tried it first, but I updated my OpenPeripherals version, and that seems to get it to run smoothly. It was some issue with Openperipherals not able to get some statistic about bee breeding?

Edited by Adkkid, 27 April 2016 - 08:53 PM.


#311 bgarrison25

  • New Members
  • 2 posts

Posted 26 May 2016 - 07:21 AM

 gScottSingleton, on 07 March 2016 - 02:16 AM, said:

I'm having openbee die without a real error message besides the bubbled up call. My Log file:

openbee version 2.2.1
priority: speciesChance speed fertility nocturnal tolerantFlyer caveDwelling temperatureTolerance humidityTolerance effect flowering flowerProvider territory
openbee:255: forestry.api.genetics.IMutation.getAllele0()Lforestry/api/genetics/IAllele;

Any thoughts on this? I'm running FTB Infinity 2.4.1 which appears to have the latest releases of all involved; OP, CC, Forestry, etc.

Months later and I am still getting this issue. Something about a method not existing? weird.

#312 bgarrison25

  • New Members
  • 2 posts

Posted 27 May 2016 - 06:56 PM

Hey, just out of curiosity. Is there somewhere that lists out the API's for different peripherals? I'm a developer and I am sure I could put programs together for things but trying to find out what methods are available using the tiny screen in-game is REALLY annoying.

#313 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 27 May 2016 - 08:36 PM

Nope. OpenPeripherals proudly only provides documentation in-game. Or you could dig through their source code, I suppose!

#314 apemanzilla

  • Members
  • 1,421 posts

Posted 27 May 2016 - 09:02 PM

 bgarrison25, on 27 May 2016 - 06:56 PM, said:

Hey, just out of curiosity. Is there somewhere that lists out the API's for different peripherals? I'm a developer and I am sure I could put programs together for things but trying to find out what methods are available using the tiny screen in-game is REALLY annoying.

 Lyqyd, on 27 May 2016 - 08:36 PM, said:

Nope. OpenPeripherals proudly only provides documentation in-game. Or you could dig through their source code, I suppose!

Try opdoc, I wrote it specifically to make open peripheral documentation less of a PITA.

#315 ankenyr

  • New Members
  • 1 posts

Posted 28 May 2016 - 07:45 PM

For those who have API issues, I have it running. I spent a bit of time last night using a version of minecraft without a lot of mods. This allowed me to figure out what the the return values of the broken apiary methods were. Unfortunately one of the one really useful ones was broken which gives every mutation. Currently it is a giant table. I currently run the latest FTB Infinity Evolved in Expert Mode

I have no experience with Lua or Computercraft but it seems to work, successfully have it breeding bees. I have not tried using the matron yet.

https://github.com/ankenyr/openbee is my repo, the install script should be updated.

#316 Second_Fry

  • Members
  • 6 posts
  • LocationMoscow

Posted 07 July 2016 - 12:07 AM

For any further readers:

FTB Infinity Evolved 2.5.0 have broken version of OpenPeripheralIntegration which results in
openbee:255: forestry.api.genetics.IMutation.getAllele0()Lforestry/api/genetics/IAllele;
It can be fixed by updating OpenPeripheralIntegration to dev version as suggested in reddit post. You can freely update server, unpatched client will still correctly connect.

Edited by Second_Fry, 07 July 2016 - 10:43 AM.


#317 justify

  • New Members
  • 2 posts

Posted 07 July 2016 - 01:42 PM

anyone know how to make this work with bigger chests? i'm getting this error when using a bigger chest

"input slot id (44) must be less than 28"

#318 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 07 July 2016 - 11:33 PM

http://www.computerc...post__p__170001

#319 Second_Fry

  • Members
  • 6 posts
  • LocationMoscow

Posted 08 July 2016 - 04:21 PM

Question to OP and moderators: forked and rewritten code so it uses AE2 (http://i.imgur.com/wwHN7a5.png). Should I start new topic?

#320 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 09 July 2016 - 01:54 AM

Yeah, that'd be best.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users