Jump to content




Bee Breeding with OpenPeripherals (now with Bee Matron)


321 replies to this topic

#281 McLeopold

  • Members
  • 123 posts

Posted 21 July 2015 - 06:52 PM

View PostMew99, on 21 July 2015 - 06:13 PM, said:

I'm guessing something changed again. Running the program in Infinity 1.8.2 now results in openbee:154 forestry.api.apiculture.IBee.isIrregularMating()Z

-- fix for yet another API change from openp
function getAllBees(inv)
	local notbees = inv.getAllStacks()
	local bees = {}
	for slot, bee in pairs(notbees) do
		bees[slot] = bee.all()
	end
	return bees
end

Yeah, I ran into that too. I'm guessing something is out of sync between forestry and openp. There is nothing I can do about that bug until it is fixed by one of the 2 mod authors.

EDIT: this is a forestry bug and was introduced in the 3.6.x builds. Downgrade to forestry 3.5.7.16.

Edited by McLeopold, 22 July 2015 - 07:13 PM.


#282 McLeopold

  • Members
  • 123 posts

Posted 21 July 2015 - 07:05 PM

View PostLuminaryXion, on 18 July 2015 - 10:23 AM, said:

The program isn't able to put the princess and drone into the proper slots for the apiary to pull them for the 2nd generation thereafter. It always gets confused with product and stops after only one generation.

There was a bug reported for pushItemIntoSlot
https://github.com/O...ddons/issues/28
Are you on the latest version?

#283 LuminaryXion

  • Members
  • 6 posts

Posted 26 July 2015 - 04:24 AM

View PostMcLeopold, on 21 July 2015 - 07:05 PM, said:

There was a bug reported for pushItemIntoSlot
https://github.com/O...ddons/issues/28
Are you on the latest version?

I'm on version OpenModsLib-1.7.10-0.7.3 Is that the current version?

Thanks!

#284 McLeopold

  • Members
  • 123 posts

Posted 27 July 2015 - 11:05 PM

View PostCaptiveCreeper, on 23 May 2015 - 07:12 PM, said:

... It then prints it can't find any drones princesses or queens and asks "Please add more and press[Enter]" any help would be appreciated.

For anyone who has gotten this error, I've updated the logic to do a better job of figuring out if a usable mating pair exists. Get the update and try it out.

I've also added the ability to ignore a species when using it without parameters. It defaults to Leporine as an example. If you already have a bee.config file, look in the source for the property names and add it in yourself.

#285 bg1987

  • New Members
  • 1 posts

Posted 06 August 2015 - 08:24 PM

hi set up as above

having the following issues

http://imgur.com/TdEjIyn

running ftb infinity

if anyone could give some advice as to how to fix this it would be awesome

cheers

Edited by bg1987, 09 August 2015 - 05:26 PM.


#286 McLeopold

  • Members
  • 123 posts

Posted 13 August 2015 - 12:06 AM

View Postbg1987, on 06 August 2015 - 08:24 PM, said:

having the following issues

http://imgur.com/TdEjIyn

Your getting an error calling apiary.getBeeBreedingData(). That is a bug with openperipherals. What specific version of ftb infinity are you running?

#287 D3matt

  • Members
  • 830 posts

Posted 06 September 2015 - 06:50 PM

View PostMcLeopold, on 21 July 2015 - 06:52 PM, said:

View PostMew99, on 21 July 2015 - 06:13 PM, said:

I'm guessing something changed again. Running the program in Infinity 1.8.2 now results in openbee:154 forestry.api.apiculture.IBee.isIrregularMating()Z

-- fix for yet another API change from openp
function getAllBees(inv)
	local notbees = inv.getAllStacks()
	local bees = {}
	for slot, bee in pairs(notbees) do
		bees[slot] = bee.all()
	end
	return bees
end

Yeah, I ran into that too. I'm guessing something is out of sync between forestry and openp. There is nothing I can do about that bug until it is fixed by one of the 2 mod authors.

EDIT: this is a forestry bug and was introduced in the 3.6.x builds. Downgrade to forestry 3.5.7.16.
I'm getting this error on FTB Infinity 1.8.2, am I screwed until the server updates?

#288 D3matt

  • Members
  • 830 posts

Posted 12 September 2015 - 02:37 AM

View PostMcLeopold, on 13 August 2015 - 12:06 AM, said:

View Postbg1987, on 06 August 2015 - 08:24 PM, said:

having the following issues

http://imgur.com/TdEjIyn

Your getting an error calling apiary.getBeeBreedingData(). That is a bug with openperipherals. What specific version of ftb infinity are you running?
I'm getting this as well on FTB Infinity 1.10.1

Edited by D3matt, 12 September 2015 - 02:38 AM.


#289 Dewey

  • Members
  • 14 posts

Posted 18 September 2015 - 03:24 PM

Also receiving this error on FTB Infinity 1.10.1:

openbee:255: Caught exception class java.lang.NullPointerException without any info


Mod versions:
OpenBlocks-1.7.10-1.4.3
OpenModsLib-1.7.10-0.7.3
OpenPeripheralAddons-1.7.10-0.3.1
OpenPeripheralCore-1.7.10-1.1.1
OpenPeripheralIntegration-1.7.10-0.2.2

These versions were the last known good configuration on FTB Infinity 1.6.2

Forestry is currently running as forestry_1.7.10-3.6.3.20; previously known good configuration was forestry_1.7.10-3.5.6.15.

The version of OpenPeripheral we have currently running is not the default included with Infinity 1.10.1; we attempted to downgrade in the hopes of resolving this issue.

Any ideas?

#290 D3matt

  • Members
  • 830 posts

Posted 22 September 2015 - 05:00 AM

View PostDewey, on 18 September 2015 - 03:24 PM, said:

Any ideas?
I just reported this issue here: https://github.com/O...ation/issues/19 so keep an eye out for a fix. That's about all we can do.

#291 Dewey

  • Members
  • 14 posts

Posted 22 September 2015 - 12:38 PM

May help to know that the versions reported were a downgrade from the latest available and that still did not resolve the issue. Wondering if it's possibly an issue with forestry; was unable to test the forestry version that was last known to be functional.

#292 Dewey

  • Members
  • 14 posts

Posted 23 September 2015 - 08:14 PM

Boq @ OpenPeripherals had the following to say on the subject:


Quote




Ehhhhh, so I had too start my better computer, get FTB, install Infinity, and BAM! the logs are there:
[17:55:22] [Coroutine-2/DEBUG] [OpenMods/]: Error during method getBeeBreedingData(6) execution on peripheral apiculture_2_name, args: []
java.lang.NullPointerException
at net.minecraft.item.ItemStack.func_82833_r(ItemStack.java:427) ~[add.class:?]
at magicbees.bees.BeeMutation.getSpecialConditions(BeeMutation.java:538) ~[BeeMutation.class:?]
at openperipheral.integration.forestry.AdapterBeeHousing.getBeeBreedingData(AdapterBeeHousing.java:78) ~[AdapterBeeHousing.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
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.call(AdapterPeripheral.java:64) [AdapterPeripheral.class:?]
at openperipheral.interfaces.cc.wrappers.AdapterPeripheral.callMethod(AdapterPeripheral.java:85) [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.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_31]

So MagicBees.
With some debugging I found out that faulty species is: BM_BOUND (Blood Magic?) and problem is caused by BeeMutation.requiredBlock == null.
Only thing I can do is add sanity check and ignore faulty bee. Please report this issue to MagicBees here.


#293 Dewey

  • Members
  • 14 posts

Posted 24 September 2015 - 01:15 PM

So this is most definitely not an issue with the program code. I rolled back to a previous version of OpenBee prior to adding support for ignoring species and the same error popped up (this time on line 252), but referencing the same line of code calling apiary.GetBeeBreedingData.

#294 Dewey

  • Members
  • 14 posts

Posted 24 September 2015 - 03:05 PM

I did remove MagicBees from my own install today and received a different error message:
openbee:157:
forestry.api.apiculture.IBee.isIreegularMating()Z

So off to Forestry I go!

Edited by Dewey, 24 September 2015 - 03:05 PM.


#295 Dewey

  • Members
  • 14 posts

Posted 24 September 2015 - 03:40 PM

Updated to a development build of openperipheralintegration and wound up with the following error message when running OpenBee:


openbee version 2.2.1
priority: speciesChance speed fertility nocturnal tolerantFlyer caveDwelling temperatureTolerance humidityTolerance effect flowering flowerProvider territory

openbee:157: Found Chromosome with invalid Alleles.
NBTTagCompound: [0:{UID0:"magicbees.speciesUnusual",UID1:"magicbees.speciesUnusual",Slot:0b},1:{UID0:"forestry.speedSlowest",UID1:"forestry.speedSlowest",Slot:1b},2:{UID0:"forestry.lifespanShorter",UID1:"forestry.lifespanShorter",Slot:2b},3:{UID0:"forestry.fertilityNormal",UID1:"forestry.fertilityNormal",Slot:3b},4:{UID0:"forestry.toleranceBoth2",UID1:"forestry.toleranceBoth2",Slot:4b},5:{UID0:"forestry.boolFalse",UID1:"forestry.boolFalse",Slot:5b},6:{UID0:"forestry.toleranceNone",UID1:"forestry.toleranceNone",Slot:7b},7:{UID0:"forestry.boolTrue",UID1:"forestry.boolTrue",Slot:8b},8:{UID0:"forestry.boolFalse",UID1:"forestry.boolFalse",Slot:9b},9:{UID0:"forestry.flowersVanilla",UID1:"forestry.flowersVanilla",Slot:10b},10:{UID0:"forestry.floweringSlowest",UID1:"forestry.floweringSlowest",Slot:11b},11:{UID0:"forestry.territoryAverage",UID1:"forestry.territoryAverage",Slot:12b},12:{UID0:"forestry.effectNone",UID1:"forestry.effectNone",Slot:13b}]
See config option "genetics.clear.invalid.chromosomes".
Missing: {UID0:"magicbees.speciesUnusual",UID1:"magicbees.speciesUnusual",Slot:0b}

Going to retry adding magic bees now.

#296 Dewey

  • Members
  • 14 posts

Posted 24 September 2015 - 04:13 PM

Temp fix:

Downgrade to magicbees-1.7.10-2.3.1

#297 D3matt

  • Members
  • 830 posts

Posted 25 September 2015 - 04:18 AM

View PostDewey, on 24 September 2015 - 03:05 PM, said:

I did remove MagicBees from my own install today and received a different error message:
openbee:157:
forestry.api.apiculture.IBee.isIreegularMating()Z

So off to Forestry I go!
This one is already reported and fixed in a recent snapshot.

#298 Dewey

  • Members
  • 14 posts

Posted 26 September 2015 - 05:21 PM

View PostD3matt, on 25 September 2015 - 04:18 AM, said:

View PostDewey, on 24 September 2015 - 03:05 PM, said:

I did remove MagicBees from my own install today and received a different error message:
openbee:157:
forestry.api.apiculture.IBee.isIreegularMating()Z

So off to Forestry I go!
This one is already reported and fixed in a recent snapshot.

Do you know which snapshot version?

#299 D3matt

  • Members
  • 830 posts

Posted 30 September 2015 - 02:02 PM

View PostDewey, on 26 September 2015 - 05:21 PM, said:

View PostD3matt, on 25 September 2015 - 04:18 AM, said:

View PostDewey, on 24 September 2015 - 03:05 PM, said:

I did remove MagicBees from my own install today and received a different error message:
openbee:157:
forestry.api.apiculture.IBee.isIreegularMating()Z

So off to Forestry I go!
This one is already reported and fixed in a recent snapshot.

Do you know which snapshot version?
I think snapshot 76 of OpenPeripherals.

#300 GManNo99

  • New Members
  • 1 posts

Posted 04 October 2015 - 01:58 AM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users