This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
McLeopold's profile picture

Bee Breeding with OpenPeripherals (now with Bee Matron)

Started by McLeopold, 25 March 2014 - 07:10 AM
McLeopold #1
Posted 25 March 2014 - 08:10 AM
Installation

Download the installer first with:

pastebin get Nq5jEJfM openbee-install
Then run the installer with:

openbee-install
You can now run the program with any target species like so:

openbee Imperial
Run the bee matron for honey production like this:

move matron startup
reboot

github: https://github.com/Forte40/openbee

Bee Breeding with OpenPeripherals



Automatic bee breeding using OpenPeripherals 0.3.1. Setup like the picture and breed away. (NOTE: This screen shot is facing North. You'll need to modify some variables in the bee.config file for a different orientation. There's another screen shot in the thread showing a proxy block setup.) You can to specify a target species like so:


openbee Noble


Summary of the program behavior

Spoiler
  • It will attempt to choose the best princess and drone to breed a specific species by scoring every combination of princess and drone (except for reference bees). A percentage chance is calculated for each combination. Traits are used as tie breakers in order and can be configured by modifying the traitPriority array.
  • If a species is targeted but no combination can produce the target species with a good enough chance (at least half the normal chance with pure bees), then one of the lower tier species needed is the new target. This allows you to target Imperial and have the program know to start with Commons.
  • It will try to keep 1 pure princess and 1 pure drone of each type it knows about. These are reference bees. They may be used to create additional drones, but will not be cross bred. They are moved to the first slots in the chest. This option can be turned off in the code by changing the useReference variable to false.
  • It will try to keep extra drones cleared out of the system. If there is a hybrid drone where both active and inactive species traits have reference drones and princesses, then it is considered obsolete. Extra drones are pushed up from the chest, so you should have a chest on a chest on an apiary.
  • It can run without an analyzer, but makes poor decisions. It can only see the active trait and does not know about the inactive ones. This will get you all of the species, but it will take much longer. Reference bees are turned off in this mode.
  • Extra produce is ditched in a chest below the apiary. The apiary is a full block, so the chest can't be opened. You'll need to pump the items out with pipes from one of the other mods or break the chest periodically. So, that's a chest on a chest on an apiary on a chest.
  • The computer needs to be able to wrap the apiary and chest above the apiary. To see both blocks the chest above needs to be a double chest that is over the apiary and computer, or attached to the computer with a proxy block. Chests are not full blocks, so the apiary can still see the sky. The computer could be far away from both and use a proxy block for both if wanted. The analyzer needs to be next to the chest. The apiary will pull from and push to the chest. The chest will pull from and push to the analyzer. The chest will not pull from or push to the apiary because if in double chest mode this doesn't work. The apiary will push to the product chest. The chest will push to an obsolete drone chest. All directions are configurable at the top of the program.
Changes from previous version: Bee Breeding with Attributes
  • No turtle required, no sorting delay, no spinning
  • Multiple princesses and more drones to choose from
  • Reference bees are kept so you don't lose species
  • ​Better scoring, Less likely to breed down a level or get stuck
  • Trait tie-breakers are configurable
  • Product ditched into separate inventory
  • Needs direction setup in program

Bee Matron



Automatic bee production using computers. Attach up to 5 apiaries by placing next to the computer, or attach as many as you want with OpenPeripheral's proxies. There are 7 apiaries running in the screen shot above. Rename the "matron" program to "startup" to keep it running all the time. Product and extra drones are pushed up. The program uses slot 26 and 27 for the princess and drone when starting a new cycle. There is a redstone output so you can turn off import buses and other extraction devices while this is happening. The program also keeps stats of what has been produced.
Edited on 08 August 2014 - 10:28 PM
Technium #2
Posted 26 March 2014 - 07:24 PM
Excellent - used the old version of this with great success. This new version looks great but is causing me some trouble…

Firstly, OpenPeripherals seems to have a bug with handling double chests (exception thrown when checking slots > 27). I "fixed" this by simply stopping the loop in catalogBees when an empty slot it found (I also see a recently fixed bug in OpenPeripherals so I expect this problem to go away).

Secondly, pushing items from the chest into the analyser just doesn't seem to work. Any ideas? I'm new to OpenPeripherals so don't know where to look.

I'm using OpenPeripherals 0.3.3 in the ResonantRise pack.
McLeopold #3
Posted 26 March 2014 - 09:20 PM
I'm using 0.3.1 and I'm not sure if that's the difference. The double chest is a way for me to be attached to both the chest and the apiary with the apiary able to push and pull from the chest. The chest can't push and pull from the apiary since the direction down is technically the computer. I'll probably support the proxy block attached to the chest instead once I move this to multiple apiaries.

The chest should be pushing to the analyzer and then pulling back. There is a variable called analyzerDir that needs to be configured with the correct direction. Check that first, the default is "east". Second, remove the chest above the apiary to see if the bees are on that side or above the computer. If you're having a problem with only 27 real slots, then maybe the bee is on the wrong side of the double chest.

Also, there's a bug I'm working on with the bee selection getting stuck if missing the correct combination of princess and drone. There will be another update in a few hours. Updated, try it out! Overall this has been quite an improvement over the old version with the ability to choose from multiple princesses.
Edited on 26 March 2014 - 09:48 PM
Technium #4
Posted 26 March 2014 - 11:15 PM
Thanks for the quick reply. Tested the half-chest theory and that seems to not be the case. However, in building and rebuilding the system a number of times it is now somehow working perfectly. Must have been my derp. I thought I had always made it North-facing for testing purposes…

May I suggest you add in my quick fix? It's a fine optimisation regardless of this bug. You are already condensing the chest so the first empty slot should indicate the loop can finish.

My only problem now is when the 27 slots fill up :)/>
VerTiGo_Etrex #5
Posted 27 March 2014 - 01:06 AM
Awesome work!

I had to change and add some entries to the score array ("rock" to "rocks", and add "jungle", among other things), but I eventually got it working.

The top chest fills up with drones a lot though, and it looks like you removed the ability to push "products" into the left-most chest?

Really looking forward to seeing where you take this!
McLeopold #6
Posted 27 March 2014 - 02:11 AM
Awesome work!

I had to change and add some entries to the score array ("rock" to "rocks", and add "jungle", among other things), but I eventually got it working.

The top chest fills up with drones a lot though, and it looks like you removed the ability to push "products" into the left-most chest?

Really looking forward to seeing where you take this!

I got the jungle error too. I'll fix rocks. If you know of the others post them here. I've just been adding them as they come up.

Pushing products wasn't working at all. I've been testing with oblivion frames which don't give the bees time enough to produce any, thus I haven't run a lot of tests yet. The problem is when you push items you have to specify a slot number or it assumes slot 1. If the slot is full it will neither push nor try to find the next free slot. For now it will just go up to the chest. You can put an emerald pipe or other fancy gizmo on the chest to pump out the product.

Also, the reference bees are mostly totally working. Another update in a few hours.

May I suggest you add in my quick fix? It's a fine optimisation regardless of this bug. You are already condensing the chest so the first empty slot should indicate the loop can finish.

My only problem now is when the 27 slots fill up :)/>

Added. I'm working on reference bees and obsolete drones now. It's done! Update to check out the reference bees feature. I'm almost to the point where you can turn this on, go find bees, dump them into a chest and come back to see all species discovered for you!
Edited on 27 March 2014 - 02:27 AM
NerdimusPrime #7
Posted 27 March 2014 - 02:23 AM
I'm using 0.3.1 and I'm not sure if that's the difference. The double chest is a way for me to be attached to both the chest and the apiary with the apiary able to push and pull from the chest. The chest can't push and pull from the apiary since the direction down is technically the computer. I'll probably support the proxy block attached to the chest instead once I move this to multiple apiaries.

The chest should be pushing to the analyzer and then pulling back. There is a variable called analyzerDir that needs to be configured with the correct direction. Check that first, the default is "east". Second, remove the chest above the apiary to see if the bees are on that side or above the computer. If you're having a problem with only 27 real slots, then maybe the bee is on the wrong side of the double chest.

Also, there's a bug I'm working on with the bee selection getting stuck if missing the correct combination of princess and drone. There will be another update in a few hours. Updated, try it out! Overall this has been quite an improvement over the old version with the ability to choose from multiple princesses.
Even with a setup facing the same direction as the default, with a double chest I'm getting the message:
openbee: 108: slot id (27) must be less than size (27)

If I use a half chest I don't get that message, and bees are pushed to the analyzer and back to the chest correctly, but then don't get pushed down into the apiary because there's only a half chest that doesn't cover the apiary.
McLeopold #8
Posted 27 March 2014 - 08:38 AM
Even with a setup facing the same direction as the default, with a double chest I'm getting the message: openbee: 108: slot id (27) must be less than size (27) If I use a half chest I don't get that message, and bees are pushed to the analyzer and back to the chest correctly, but then don't get pushed down into the apiary because there's only a half chest that doesn't cover the apiary.

First, get the new update. Second, try a setup like this with a proxy block and change the chestSide variable to "diamond_0" or whatever the name of it is after right-clicking on the wired modem. Also, this new version doesn't need an analyzer, so you can get started with breeding after finding your first piece of redstone and a few bees in a new world. (It doesn't make as good of decisions, but at least you can get to cultivated by the time you have a diamond and bronze.)

Front Side

Replace the double chest with a single chest of any size. Move the analyzer to still be next to the chest.



Back Side

Place a proxy block facing the new chest. Connect the computer to the proxy block and right-click each modem to turn on. You'll get a chat message displaying the name of the peripheral. Modify the script to use the chest peripheral name instead of "top".

Verox #9
Posted 27 March 2014 - 12:26 PM
This looks pretty awesome, the only question I have is, does it have functionality for Magic Bees?
McLeopold #10
Posted 27 March 2014 - 03:04 PM
This looks pretty awesome, the only question I have is, does it have functionality for Magic Bees?

Yes it does. OpenPeripheral has a function on the apiary called getBeeBreedingData() which returns all the possible mutations and percentage. This replaces the giant mutation graph of the last version and has the benefit of always working with the mod pack you have installed. I'm using forestry+magic bees-extra bees and I've run a test that breeds up to Esoteric.
NerdimusPrime #11
Posted 27 March 2014 - 03:15 PM
Even with a setup facing the same direction as the default, with a double chest I'm getting the message: openbee: 108: slot id (27) must be less than size (27) If I use a half chest I don't get that message, and bees are pushed to the analyzer and back to the chest correctly, but then don't get pushed down into the apiary because there's only a half chest that doesn't cover the apiary.

First, get the new update. Second, try a setup like this with a proxy block and change the chestSide variable to "diamond_0" or whatever the name of it is after right-clicking on the wired modem. Also, this new version doesn't need an analyzer, so you can get started with breeding after finding your first piece of redstone and a few bees in a new world. (It doesn't make as good of decisions, but at least you can get to cultivated by the time you have a diamond and bronze.)

Thanks very much for the help. I'll be trying it out as soon as I can.
apemanzilla #12
Posted 27 March 2014 - 07:06 PM
Nice to see it got ported over :)/> will try later
NerdimusPrime #13
Posted 27 March 2014 - 10:46 PM
First, get the new update. Second, try a setup like this with a proxy block and change the chestSide variable to "diamond_0" or whatever the name of it is after right-clicking on the wired modem. Also, this new version doesn't need an analyzer, so you can get started with breeding after finding your first piece of redstone and a few bees in a new world. (It doesn't make as good of decisions, but at least you can get to cultivated by the time you have a diamond and bronze.)

Thanks very much for the help. I'll be trying it out as soon as I can.
I'm starting to think I'm too stupid to be doing this.

I have the machines set up like in the pics.
I downloaded and ran openbee-install.
I modified openbee so chestSide = "gold_0" (used a gold chest instead of diamond) and saved it.
I put an unanalyzed forest princess and meadows drone in the chest and ran "openbee Imperial".
The bees go into the analyzer, get analyzed, and go back in the chest.
Then I get this: http://i.imgur.com/GMUTzrD.png

No matter how many or what species I put in there and press enter, it returns the same thing. I stopped the program and did it again from scratch, entering Noble instead of Imperial. Then Cultivated. Then Common. Same result every time.

Head –> Desk
Edited on 27 March 2014 - 11:10 PM
Technium #14
Posted 27 March 2014 - 11:04 PM
Okay, the proxy takes care of the chest problem perfectly and the optional analyzer is a great feature, but I clearly don't understand this reference bee system at all :)/>

If I put unanalysed bees in the chest it properly analyses them but won't accept some mundane fresh bees to breed Cultivated or Common ("add more species"). If I start with a selection of random analysed bees it seems to treat most/all of them as reference. I'm lost, and can't get it to start at all no matter what I do.
NerdimusPrime #15
Posted 28 March 2014 - 12:10 AM
Okay, the proxy takes care of the chest problem perfectly and the optional analyzer is a great feature, but I clearly don't understand this reference bee system at all :)/>

If I put unanalysed bees in the chest it properly analyses them but won't accept some mundane fresh bees to breed Cultivated or Common ("add more species"). If I start with a selection of random analysed bees it seems to treat most/all of them as reference. I'm lost, and can't get it to start at all no matter what I do.

Glad I'm not the only one. LOL
Edited on 27 March 2014 - 11:11 PM
McLeopold #16
Posted 28 March 2014 - 12:12 AM
"Reference bees" are a term I made up. I want the system to keep 1 pure-bred bee of each species and type in the chest that won't get used so you don't lose a species. They will be used to bred extra drones if needed. You'll need to start with at least 1 duplicate princess to get started, so 2 forest princesses or 2 meadows. You'll also need a drone of a different species to breed with the duplicate princess.

I started with 2 forest princesses and 1 meadows princess with a drone of each for 5 total bees. The system found 4 "reference" bees, 0 quees, 1 princess and 0 drones. This means only the extra forest princess is available for breeding. It's smart enough to know to breed the meadows reference princess with the meadows reference drone to produce an extra meadows drone, then use that to breed with the extra forest princess.

Overall it make the system slightly slow to breed up to the higher tiers, but you are less likely to lose a stepping stone species. I can put in an option to not use reference bees, but then you are on your own to maintain copies of ones you want to keep.

If you don't have an analyzer, it will not try to keep reference bees and you may lose a species.
VerTiGo_Etrex #17
Posted 28 March 2014 - 12:13 AM
Base on a brief review of the source code, I think it tries to preserve at least one princess of each species.
McLeopold #18
Posted 28 March 2014 - 12:13 AM
Okay, the proxy takes care of the chest problem perfectly and the optional analyzer is a great feature, but I clearly don't understand this reference bee system at all :)/>

If I put unanalysed bees in the chest it properly analyses them but won't accept some mundane fresh bees to breed Cultivated or Common ("add more species"). If I start with a selection of random analysed bees it seems to treat most/all of them as reference. I'm lost, and can't get it to start at all no matter what I do.

Glad I'm not the only one. LOL

If the system doesn't start breeding, take a screenshot of the bees in the chest or make a list. I'll try and replicate it to see if there is a bug.
McLeopold #19
Posted 28 March 2014 - 12:42 AM
Then I get this: http://i.imgur.com/GMUTzrD.png

–snip–

Head –> Desk
I see in the screen shot you have a "bees.species.meadows-bees.species.cultivated Drone" when I would have expected a "Meadows-Cultivated Drone". What version of CC and OpenPeripherals do you have? What mod pack is it?
VerTiGo_Etrex #20
Posted 28 March 2014 - 12:48 AM
I was in the middle of breeding Wight bees, and it crashed for the flowerProvider trait. The primary prints as "Flowers", and the inactive prints as nothing (nil? not sure).

In the beealyzer, it's listed as "Exotic Flowers".

http://snag.gy/jeNq0.jpg
http://snag.gy/Czp9Q.jpg
NerdimusPrime #21
Posted 28 March 2014 - 01:10 AM
Okay, the proxy takes care of the chest problem perfectly and the optional analyzer is a great feature, but I clearly don't understand this reference bee system at all :)/>

If I put unanalysed bees in the chest it properly analyses them but won't accept some mundane fresh bees to breed Cultivated or Common ("add more species"). If I start with a selection of random analysed bees it seems to treat most/all of them as reference. I'm lost, and can't get it to start at all no matter what I do.

Glad I'm not the only one. LOL

If the system doesn't start breeding, take a screenshot of the bees in the chest or make a list. I'll try and replicate it to see if there is a bug.

I started with the same unanalyzed bee complement you described. They got analyzed, then I got prompted for more species. They never got pushed into the apiary. Here are the screenshots, in the order I did things: http://imgur.com/a/g4Pnj#0

Then I get this: http://i.imgur.com/GMUTzrD.png

–snip–

Head –> Desk
I see in the screen shot you have a "bees.species.meadows-bees.species.cultivated Drone" when I would have expected a "Meadows-Cultivated Drone". What version of CC and OpenPeripherals do you have? What mod pack is it?

That shot was after the original attempt failed, and I started throwing princesses and drones at it to see if it needed more. The hybrid one went in there by mistake. I misread that, and see what you mean now: why is the name formatting so screwy? My previous reply is the most current attempt.

OpenPeripherals 0.3.3
CC 1.58
Forestry 2.3.1.0
Magic Bees 2.1.12
No mod pack
Edited on 28 March 2014 - 12:36 AM
McLeopold #22
Posted 28 March 2014 - 02:51 AM
I was in the middle of breeding Wight bees, and it crashed for the flowerProvider trait. The primary prints as "Flowers", and the inactive prints as nothing (nil? not sure).

In the beealyzer, it's listed as "Exotic Flowers".

http://snag.gy/jeNq0.jpg
http://snag.gy/Czp9Q.jpg

I've added "Exotic Flowers" and a check to use the default score if the table entry is not found. Reference bees can be turned off with a boolean at the beginning of the script; Turn it off if you don't want to keep a lot of extra princesses in the chest.
McLeopold #23
Posted 28 March 2014 - 03:07 AM
That shot was after the original attempt failed, and I started throwing princesses and drones at it to see if it needed more. The hybrid one went in there by mistake. I misread that, and see what you mean now: why is the name formatting so screwy? My previous reply is the most current attempt.

OpenPeripherals 0.3.3
CC 1.58
Forestry 2.3.1.0
Magic Bees 2.1.12
No mod pack

Are you on a bukkit server or an MCPC+ server? Are those the only 4 mods used? Is this 1.6.4 with forge-1.6.4-9.11.1.965 or a different version?

There were issues like this in the previous version. Mostly likely the names are not matching between what the bee table is for an itemStack and what the getBeeBreedingData table returns.

EDIT: I've updated it to include the name mangle fix from the last version. I can't fully test it since my names are not mangled. Let me know if this works.

Here's my full mod list:
SpoilerBiblioCraft[v1.5.5].zip
BiblioWoods[BiomesOPlenty][v1.3].zip
BiblioWoods[Forestry][v1.3].zip
BigReactors-0.3.0A.jar
BiomesOPlenty-universal-1.6.4-1.2.1.434.jar
buildcraft-A-1.6.4-4.2.2.jar
CodeChickenCore 0.9.0.9.jar
CoFHCore-2.0.0.2.jar
ComputerCraft1.58.zip
ExplorerCraft_0.9.4.zip
extrautils-1.0.3a.zip
Factorization-0.8.34.jar
forestry-A-2.3.1.1.jar
Galacticraft-1.6.4-2.0.11.978.jar
Galacticraft-Planets-1.6.4-2.0.11.978.jar
IC2NuclearControl-1.6.2e-ic2-experimental.zip
industrialcraft-2_2.0.397-experimental.jar
InventoryTweaks-MC1.6.2-1.56-b77.jar
ironchest-universal-1.6.2-5.3.14.512.zip
LogisticsPipes-MC1.6.4-0.7.4.dev.113.jar
magicbees-2.1.9.jar
MicdoodleCore-1.6.4-2.0.11.978.jar
MineFactoryReloaded-2.7.5-352.jar
NEIPlugins-1.1.0.6.jar
NotEnoughItems 1.6.1.9.jar
OpenBlocks-1.2.5.jar
OpenModsLib-0.2.jar
OpenPeripheralAddons-0.1.1.jar
OpenPeripheralCore-0.3.1.jar
OptiFine_1.6.4_HD_C6.jar
PowerCrystalsCore-1.1.8-9.jar
ProjectRedBase-1.6.4-4.3.2.26.jar
ProjectRedCompat-1.6.4-4.3.2.26.jar
ProjectRedIntegration-1.6.4-4.3.2.26.jar
ProjectRedLighting-1.6.4-4.3.2.26.jar
ProjectRedMechanical-BETA-1.6.4-4.3.2.26.jar
ProjectRedWorld-1.6.4-4.3.2.26.jar
Railcraft_1.6.4-8.4.0.0.jar
RedstoneArsenal-1.0.0.0.jar
StevesCarts2.0.0.b10.zip
TConstruct_mc1.6.4_1.5.3.jar
Thaumcraft4.1.0g.zip
ThaumicTinkerer-2.3-130.jar
ThermalExpansion-3.0.0.2.jar
TMechworks_mc1.6.4_0.1.4.2.jar
Translocator 1.1.0.15.jar
util^iChunUtil2.4.0.zip
Waila_1.5.1a.zip
WR-CBE 1.4.0.7.jar
ZansMinimap1.6.4.zip
[1.6.4]bspkrsCorev5.3.zip
[1.6.4]TreeCapitator.Forge.1.6.4.r09.Universal.zip
Edited on 28 March 2014 - 02:16 AM
VerTiGo_Etrex #24
Posted 28 March 2014 - 03:59 AM
Still trying for Wight bees. It seems like the line that looks for possible mutations for wight bees fail (line 84), mutations[species1] is nil, and species1 prints as "Wight"

Running the latest version of DNS techpack
NerdimusPrime #25
Posted 28 March 2014 - 01:17 PM
That shot was after the original attempt failed, and I started throwing princesses and drones at it to see if it needed more. The hybrid one went in there by mistake. I misread that, and see what you mean now: why is the name formatting so screwy? My previous reply is the most current attempt.

OpenPeripherals 0.3.3
CC 1.58
Forestry 2.3.1.0
Magic Bees 2.1.12
No mod pack

Are you on a bukkit server or an MCPC+ server? Are those the only 4 mods used? Is this 1.6.4 with forge-1.6.4-9.11.1.965 or a different version?

There were issues like this in the previous version. Mostly likely the names are not matching between what the bee table is for an itemStack and what the getBeeBreedingData table returns.

EDIT: I've updated it to include the name mangle fix from the last version. I can't fully test it since my names are not mangled. Let me know if this works.

Here's my full mod list:
— snip —

I'm on a vanilla server running 1.6.4 with forge-1.6.4-9.11.1.965

Here's my full mod list:
Spoilerappeng-rv14-finale3-mc16x.jar
ArchimedesShips.zip
Barrels 3.4.1 - 1.6.4.jar
BiblioCraft[v1.5.5].zip
BiblioWoods[BiomesOPlenty][v1.3].zip
BiblioWoods[Forestry][v1.3].zip
BiblioWoods[Natura][v1.1].zip
BiomesOPlenty-universal-1.6.4-1.2.1.434.jar
buildcraft-A-1.6.4-4.2.2.jar
Carpenter's Blocks v2.0.7 - MC 1.6+.zip
ChickenChunks 1.3.3.4.jar
CoFHCore-2.0.0.2.jar
CodeChickenCore 0.9.0.9.jar
ComputerCraft1.58.zip
EnderNet-rc1.jar
EnderStorage 1.4.3.6.jar
EnhancedPortals-1.6.4-3.0.0b5d.jar
ExtraCells-1.6.8d.jar
flatsigns-1.6.2-universal-1.4.0.15.jar
forestry-A-2.3.1.0.jar
Hats2.1.4.zip
HopperDuctsMod1.2.2.zip
iChunUtil2.4.0.zip
InventoryTweaks-MC1.6.2-1.56-b77.jar
ironchest-universal-1.6.4-5.4.1.702.zip
JourneyMap3.3.2_Unlimited_MC1.6.4.jar
Lanterns and Flashlights(1.63).zip
magicbees-2.1.12.jar
MCA-3.6.0 MC-1.6.4.zip
MineFactoryReloaded-2.7.6-448.jar
mystcraft-uni-1.6.4-0.10.12.01.zip
neiaddons-mc164-1.10.4.64.jar
NEIPlugins-1.1.0.6.jar
Natura_mc1.6.X_2.1.14.jar
NotEnoughCodecs-0.1.jar
NotEnoughItems 1.6.1.9.jar
OpenBlocks-1.2.7.jar
OpenModsLib-0.4b.jar
OpenPeripheralAddons-0.1.3.jar
OpenPeripheralCore-0.3.3.jar
PortalGun2.0.2.zip
PortalGunSounds.pak
PowerCrystalsCore-1.1.8-9.jar
ProjectRedBase-1.6.4-4.3.5.30.jar
ProjectRedCompat-1.6.4-4.3.5.30.jar
ProjectRedIntegration-1.6.4-4.3.5.30.jar
ProjectRedLighting-1.6.4-4.3.5.30.jar
ProjectRedMechanical-BETA-1.6.4-4.3.5.30.jar
ProjectRedWorld-1.6.4-4.3.5.30.jar
Railcraft_1.6.4-8.4.0.0.jar
RedstoneArsenal-1.0.0.0.jar
Ruins_1.6.4.zip
scala-library.jar
StevesCarts2.0.0.b10.zip
Sync2.1.1.zip
TConstruct_mc1.6.4_1.5.3.jar
TMechworks_mc1.6.4_0.1.4.2.jar
TSteelworks-mc1.6.4_0.0.3d1.jar
Thaumcraft4.1.0g.zip
ThaumicTinkerer-2.3-137.jar
ThermalExpansion-3.0.0.2.jar
traincraft-4.1.4_024.jar
Translocator 1.1.0.15.jar
twilightforest-1.6.4-1.20.5.jar
UpdateCheckerMod_1.6.4.zip
VoxelMods
WR-CBE 1.4.0.7.jar
Waila_1.5.1a.zip
Witchery_0-16-3_164.zip
ZansMinimap1.6.4.zip

I won't be able to test until this evening or tomorrow, but I'm hoping that name fix does the trick. Thanks for all the help with this, I really appreciate it.
NerdimusPrime #26
Posted 28 March 2014 - 09:14 PM
http://imgur.com/ippNeCt

I feel guilty because I keep coming back and saying it's still not working. I broke my computer and replaced it, made sure no programs were installed, then installed openbees. First I tried pre-analyzed bees, and I got the message you see at the top: "openbee:85: attempt to index ? (a nil value)"

Then I tried unanalyzed bees, same group as before (2 forest princess, 1 meadows princess, 1 of each drone), and got what you see after "openbee Imperial".
VerTiGo_Etrex #27
Posted 28 March 2014 - 09:55 PM
I guess the bug I was reporting is more obvious than I thought. I'm trying to breed a wight bee, and I have a wight-ghastly hybrid in the chest, so when it looks at all the pairs of bees, the possible mutations for the "wight-ghastly" hybrid is listed as nothing. That's why there's a null pointer exception on line 84 (it's looking for possible mutations for a wight bee, and there is none).

To reproduce the bug cheat in a sulking princess, and a ghastly drone, and then ask it to breed a wight bee. When it makes a hybrid Wight princess (or drone? not sure because I don't have a drone, just a princess.), it'll NPE.
McLeopold #28
Posted 28 March 2014 - 10:51 PM
http://imgur.com/ippNeCt I feel guilty because I keep coming back and saying it's still not working. I broke my computer and replaced it, made sure no programs were installed, then installed openbees. First I tried pre-analyzed bees, and I got the message you see at the top: "openbee:85: attempt to index ? (a nil value)" Then I tried unanalyzed bees, same group as before (2 forest princess, 1 meadows princess, 1 of each drone), and got what you see after "openbee Imperial".

Don't feel guilty. I need testers that report errors to make the program better.

I looks like you've still got the incorrect species names coming through. I've just pushed some more updates. Get the latest version and try again. Also, but a chest on top of the chest. It will ditch obsolete drones now.
NerdimusPrime #29
Posted 28 March 2014 - 11:06 PM
http://imgur.com/ippNeCt I feel guilty because I keep coming back and saying it's still not working. I broke my computer and replaced it, made sure no programs were installed, then installed openbees. First I tried pre-analyzed bees, and I got the message you see at the top: "openbee:85: attempt to index ? (a nil value)" Then I tried unanalyzed bees, same group as before (2 forest princess, 1 meadows princess, 1 of each drone), and got what you see after "openbee Imperial".
Don't feel guilty. I need testers that report errors to make the program better. I looks like you've still got the incorrect species names coming through. I've just pushed some more updates. Get the latest version and try again. Also, but a chest on top of the chest. It will ditch obsolete drones now.

OK, no more guilt. :)/>

Still with the species naming thing, though. At first I got this: http://i.imgur.com/6VLlvpx.png, but now I keep getting this, whether or not the bees are analyzed already: http://imgur.com/7O88Srp

I wonder if going from Forestry 2.3.1.0 to 2.3.1.1 would change anything. I couldn't find any patch notes on it, but you're running it.

Nope.

Hmm, from StackOverflow: "this error usually comes from trying to index a field on something that isn't a table, or nil."
Edited on 29 March 2014 - 12:23 AM
McLeopold #30
Posted 29 March 2014 - 02:03 AM
OK, no more guilt. :)/>

Good. :)/>

I've updated again. Try some more. I'm more concerned with that nil error. The last few updates have been adding feature and introducing bugs.
NerdimusPrime #31
Posted 29 March 2014 - 02:22 AM
"analyzing bee 1…openbee:526: attempt to index ? (a nil value)"
Edited on 29 March 2014 - 01:25 AM
Technium #32
Posted 29 March 2014 - 02:30 AM
I just came to post another problem with looking up species in the mutations table (to do with being called "bees.species.xxx" again I believe) and found this update.

With the latest code I get (after "targetting XXX"):

openbee:578: attempt to perform arithmetic __div on nil and number

Looks like the apiary interface isn't performing exactly as you're seeing there. Can I provide you with any data? or could you test on an up-to-date version of OpenPeripherals? I'd love to get this up and running and will help where I can.


Edit:
My original problem still occurs if I turn reference bees off:

openbee:97: attempt to index ? (a nil value)

I would guess you're looking up the fixed name, but the table contains the original?
Edited on 29 March 2014 - 01:39 AM
McLeopold #33
Posted 29 March 2014 - 02:34 AM
I just came to post another problem with looking up species in the mutations table (to do with being called "bees.species.xxx" again I believe) and found this update.

With the latest code I get (after "targetting XXX"):

openbee:578: attempt to perform arithmetic __div on nil and number

Looks like the apiary interface isn't performing exactly as you're seeing there. Can I provide you with any data? or could you test on an up-to-date version of OpenPeripherals? I'd love to get this up and running and will help where I can.

Just pushed another update. Try again and see if there error is still there.

EDIT: yep, that was a divide by zero error, er a divide a nil error. Who know bee breeding would implode the universe? It's fixed.
Edited on 29 March 2014 - 01:37 AM
McLeopold #34
Posted 29 March 2014 - 02:44 AM
"analyzing bee 1…openbee:526: attempt to index ? (a nil value)"

Yeah, fixed that one too. I'm pushing updates to fast. Gotta slow down.
Edited on 29 March 2014 - 01:45 AM
Technium #35
Posted 29 March 2014 - 02:51 AM
Woah, it started!

Keep up the nice updates, even if they are a little ropey ;)/> Just stay away from dividing by diamonds!
NerdimusPrime #36
Posted 29 March 2014 - 03:03 AM
"analyzing bee 1…openbee:526: attempt to index ? (a nil value)"

Yeah, fixed that one too. I'm pushing updates to fast. Gotta slow down.

WE HAVE A WINNER! http://imgur.com/nI6R4tN
NerdimusPrime #37
Posted 29 March 2014 - 03:14 AM
I've netted a couple cultivated drones already, even though the princess keeps reverting back to forest.

Correction: we're up to cultivated princess. This is awesome, thanks so much! :D/>
Edited on 29 March 2014 - 02:18 AM
McLeopold #38
Posted 29 March 2014 - 03:29 AM
I've netted a couple cultivated drones already, even though the princess keeps reverting back to forest.

Correction: we're up to cultivated princess. This is awesome, thanks so much! :D/>
You should see your reference bee count start to rise too. If it starts using reference bees to breed extra drones, it will go into a mode where it will perfect the reference bees.
NerdimusPrime #39
Posted 29 March 2014 - 03:46 AM
"analyzing bee 1…openbee:526: attempt to index ? (a nil value)"

Yeah, fixed that one too. I'm pushing updates to fast. Gotta slow down.

Oops, ran into another error. "openbee:590: attempt to compare nil with number"

It was going so well up to that point.

I've netted a couple cultivated drones already, even though the princess keeps reverting back to forest.

Correction: we're up to cultivated princess. This is awesome, thanks so much! :D/>
You should see your reference bee count start to rise too. If it starts using reference bees to breed extra drones, it will go into a mode where it will perfect the reference bees.

http://imgur.com/vMQvW1t

I restarted the program using all the bees it had made up to that point and, as of this comment, it's running again.
Edited on 29 March 2014 - 02:59 AM
McLeopold #40
Posted 29 March 2014 - 07:11 AM
Oops, ran into another error. "openbee:590: attempt to compare nil with number"

Fixed.
NerdimusPrime #41
Posted 29 March 2014 - 06:25 PM
Oops, ran into another error. "openbee:590: attempt to compare nil with number"
Fixed.

Looks like it's working great now. I started an imperial run when I got up this morning and I'm up to noble now. I wanted to upgrade to CC 1.6 but now that the breeder is working I'm almost afraid to. lol
Technium #42
Posted 29 March 2014 - 06:52 PM
Right, had some good progress over night on 4 breeders but I've run into:


openbee:126: attempt to index ? (a nil value)

This looks like it's because it hit "Leporine"… an easter special I think?
McLeopold #43
Posted 29 March 2014 - 10:50 PM
Looks like it's working great now. I started an imperial run when I got up this morning and I'm up to noble now. I wanted to upgrade to CC 1.6 but now that the breeder is working I'm almost afraid to. lol

OpenPeripherals isn't ready for CC 1.6 yet. At least the narcissistic turtle weren't available when I tried.

This looks like it's because it hit "Leporine"… an easter special I think?

I got those bees too. Just pull them out for now. I'm not sure how I want to handle unknown bees yet.
VerTiGo_Etrex #44
Posted 30 March 2014 - 12:08 AM
They're not really "unknown", right? They just don't mutate into anything, because their the most mutated bee of their species. Just make them purebred?
NerdimusPrime #45
Posted 30 March 2014 - 12:14 AM
OpenPeripherals isn't ready for CC 1.6 yet. At least the narcissistic turtle weren't available when I tried.

Yeah, we tried it just to see, and quickly reverted back.
McLeopold #46
Posted 30 March 2014 - 02:02 AM
They're not really "unknown", right? They just don't mutate into anything, because their the most mutated bee of their species. Just make them purebred?

Unknown, as in getBeeBreedingData doesn't return them as a mutation. I'd have to hardcode it in.
VerTiGo_Etrex #47
Posted 30 March 2014 - 04:32 AM
Alternatively, you could assume that bees with no mutations can only mutate into themselves? i.e if the mutations table is nil, just make a fake entry for that bee and a drone of the same type, or one mutation below it. Maybe I don't fully understand how bee breeding works?
NerdimusPrime #48
Posted 30 March 2014 - 08:31 PM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
MrEmielH #49
Posted 30 March 2014 - 09:23 PM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
that is probably the leporine thing, i got it too today
McLeopold #50
Posted 30 March 2014 - 11:13 PM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
that is probably the leporine thing, i got it too today
Just pushed a fix for this. I'm assuming these bees have a zero percent chance of mutation. They will be less likely to be picked for any target species, which might be good if they are special.
NerdimusPrime #51
Posted 30 March 2014 - 11:25 PM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
that is probably the leporine thing, i got it too today
Just pushed a fix for this. I'm assuming these bees have a zero percent chance of mutation. They will be less likely to be picked for any target species, which might be good if they are special.

Cool, thanks. I'll give it a try right now.
VerTiGo_Etrex #52
Posted 31 March 2014 - 03:23 AM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
that is probably the leporine thing, i got it too today
Just pushed a fix for this. I'm assuming these bees have a zero percent chance of mutation. They will be less likely to be picked for any target species, which might be good if they are special.

Thy don't have 0 chance of mutation though, do they? If they're a hybrid, then they can mutate into a purebred.
apemanzilla #53
Posted 31 March 2014 - 02:02 PM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
that is probably the leporine thing, i got it too today
Just pushed a fix for this. I'm assuming these bees have a zero percent chance of mutation. They will be less likely to be picked for any target species, which might be good if they are special.

Thy don't have 0 chance of mutation though, do they? If they're a hybrid, then they can mutate into a purebred.
Hybrid to purebred isn't always a mutation. Many times it's just spreading the trait to produce a purebred; not actually mutating.
McLeopold #54
Posted 31 March 2014 - 06:39 PM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
that is probably the leporine thing, i got it too today
Just pushed a fix for this. I'm assuming these bees have a zero percent chance of mutation. They will be less likely to be picked for any target species, which might be good if they are special.

Thy don't have 0 chance of mutation though, do they? If they're a hybrid, then they can mutate into a purebred.
Hybrid to purebred isn't always a mutation. Many times it's just spreading the trait to produce a purebred; not actually mutating.

My 0 percent chance isn't the actual game mechanic chance. I'm just going to return 0 if one of the 2 species is unknown or if the target species is unknown. This should reduce the species score enough that these bees don't get picked.
NerdimusPrime #55
Posted 31 March 2014 - 06:52 PM
Everything has been running pretty smoothly until today when I was making another industrious princess. I've made three of them before and not had a problem, but I just got this partway through the process: http://imgur.com/ig69ur5
that is probably the leporine thing, i got it too today
Just pushed a fix for this. I'm assuming these bees have a zero percent chance of mutation. They will be less likely to be picked for any target species, which might be good if they are special.

Cool, thanks. I'll give it a try right now.

That fix seems to have done the trick; I haven't had an error since, so thanks!

I did get one instance of odd behavior, but it didn't generate any errors, and I was able to bypass it. It was breeding down some advanced species to make reference bees with better traits, before breeding them back up to industrious. At one point it seemed to be stuck in a loop of breeding the same meadows princess and drones over and over again. It went through multiple cycles of this before I noticed what was happening. By then the princess and drones had the exact same traits in every way, as far as I could determine, but it kept re-breeding them anyway.

When I took them out, it grabbed an improved forest princess instead, and continued breeding up to industrious as it should have. I bred one more industrious after that, but the behavior didn't repeat. I only mention it because it was interesting.
MrEmielH #56
Posted 31 March 2014 - 07:53 PM
are there plans to be able to use the indexer instead of a chest?
McLeopold #57
Posted 31 March 2014 - 07:57 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.
MrEmielH #58
Posted 31 March 2014 - 08:03 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.
ok thanks for the quick answer :)/>
Crimor #59
Posted 31 March 2014 - 08:16 PM
I gave it pure common and pure cultivated and set it to create imperial then went away for a few hours to do other stuff, it looks like it's just been breeding cultivated with cultivated the entire time, gave it 4 cultivated and 4 common princesses.
NerdimusPrime #60
Posted 31 March 2014 - 11:13 PM
I gave it pure common and pure cultivated and set it to create imperial then went away for a few hours to do other stuff, it looks like it's just been breeding cultivated with cultivated the entire time, gave it 4 cultivated and 4 common princesses.

So I'm not the only one that's happened to.
McLeopold #61
Posted 01 April 2014 - 06:18 AM
I gave it pure common and pure cultivated and set it to create imperial then went away for a few hours to do other stuff, it looks like it's just been breeding cultivated with cultivated the entire time, gave it 4 cultivated and 4 common princesses.
Did you see any noble or diligent hybrids at all?

Also, I just pushed a version that includes logging. It creates a new log for each run, so make sure you delete older files. If this happens again, post the log so I can review it.
Edited on 01 April 2014 - 04:41 AM
Crimor #62
Posted 01 April 2014 - 06:29 AM
Nope, it only bred cultivated with cultivated, every single other bee I've tried worked though, just did a robust from base bees and it worked totally fine
McLeopold #63
Posted 01 April 2014 - 05:59 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.
MrEmielH #64
Posted 01 April 2014 - 06:49 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.
thanks, thats an inprovement indeed :)/> , would an me drive work? sorry ask so much questions but i would like my bees to bee all in one space :P/> ?
scitor #65
Posted 01 April 2014 - 07:30 PM
Great work!

Hey I've found your other scripts on pastebin and followed right up to here. I forked your openbee repo on github earlier and wanted to contribute.

Yesterday I also tried it with an apiarist chest, the good thing is it doesnt need a proxy but you have to put the apiary and comp on top (switch rows).
Also for that line 402 and 433 needs to use invSize instead of 108.

I tried around with the old script and ported it to op too, but this version is much better.
This is really great work already and I'd be glad to help just tell where to assist you or where to begin.

-scitor
McLeopold #66
Posted 01 April 2014 - 08:22 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.
thanks, thats an inprovement indeed :)/> , would an me drive work? sorry ask so much questions but i would like my bees to bee all in one space :P/> ?

Don't know, try it out. I would assume an ME drive is going to have 63 slots regardless of it's capacity. It is really only useful if you have stacks of things, not unique items.
MrEmielH #67
Posted 01 April 2014 - 08:56 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.
thanks, thats an inprovement indeed :)/> , would an me drive work? sorry ask so much questions but i would like my bees to bee all in one space :P/> ?

Don't know, try it out. I would assume an ME drive is going to have 63 slots regardless of it's capacity. It is really only useful if you have stacks of things, not unique items.
i know but using a drive with 10 times a 1k storage cell woulb be usefull, anyway, do you you have any idea why my computer constantly combined valiant with meadows when i requested an imperial?
scitor #68
Posted 01 April 2014 - 08:58 PM
[…]
Don't know, try it out. I would assume an ME drive is going to have 63 slots regardless of it's capacity. It is really only useful if you have stacks of things, not unique items.

ME chests and interfaces don't work, because it just uses ids to request items. Its like you can tell the ME to give you a chest (146) but for a drone(13340) you'd need to be more specific which you cant, and ME has no slots and sorts automatically.
It works with chests because there you can use the slot number regardles of its contents.
apemanzilla #69
Posted 01 April 2014 - 09:17 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.
thanks, thats an inprovement indeed :)/>/> , would an me drive work? sorry ask so much questions but i would like my bees to bee all in one space :P/>/> ?

Don't know, try it out. I would assume an ME drive is going to have 63 slots regardless of it's capacity. It is really only useful if you have stacks of things, not unique items.
i know but using a drive with 10 times a 1k storage cell woulb be usefull, anyway, do you you have any idea why my computer constantly combined valiant with meadows when i requested an imperial?
Why not use an ME interface connected to a network with a storage bus on an indexer? Set the priority very high on the storage bus and all bees will be sent into the indexer
MrEmielH #70
Posted 01 April 2014 - 09:29 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.
thanks, thats an inprovement indeed :)/>/> , would an me drive work? sorry ask so much questions but i would like my bees to bee all in one space :P/>/> ?

Don't know, try it out. I would assume an ME drive is going to have 63 slots regardless of it's capacity. It is really only useful if you have stacks of things, not unique items.
i know but using a drive with 10 times a 1k storage cell woulb be usefull, anyway, do you you have any idea why my computer constantly combined valiant with meadows when i requested an imperial?
Why not use an ME interface connected to a network with a storage bus on an indexer? Set the priority very high on the storage bus and all bees will be sent into the indexer
can you use an interface with the openbee program? if that is possible, it would be awesome
apemanzilla #71
Posted 01 April 2014 - 09:44 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.
thanks, thats an inprovement indeed :)/>/>/> , would an me drive work? sorry ask so much questions but i would like my bees to bee all in one space :P/>/>/> ?

Don't know, try it out. I would assume an ME drive is going to have 63 slots regardless of it's capacity. It is really only useful if you have stacks of things, not unique items.
i know but using a drive with 10 times a 1k storage cell woulb be usefull, anyway, do you you have any idea why my computer constantly combined valiant with meadows when i requested an imperial?
Why not use an ME interface connected to a network with a storage bus on an indexer? Set the priority very high on the storage bus and all bees will be sent into the indexer
can you use an interface with the openbee program? if that is possible, it would be awesome
Don't see why you couldn't :)/>
MrEmielH #72
Posted 01 April 2014 - 09:48 PM
yay :)/>
and why i am not sure,
i just dont know if the required peripherals are different or not
apemanzilla #73
Posted 01 April 2014 - 09:50 PM
yay :)/>/>
and why i am not sure,
i just dont know if the required peripherals are different or not
With OpenP, they're different but should share the inventory functions.
MrEmielH #74
Posted 01 April 2014 - 09:58 PM
ok thanks, so in theory i could use any kind of storage?
McLeopold #75
Posted 02 April 2014 - 01:19 AM
ok thanks, so in theory i could use any kind of storage?
Yes, anything that open peripherals would consider storage where the slots are consistant. The indexer is out. An ME interface doesn't make any sense. It is used to push specific things to machines which means making decisions about what to push. That's the job of openbee.

Once I get multiple apiaries up and running, you will be able to put an apiarist chest above each apiary. 8 chests equal 1 indexer. (128 * 8 = 1000)

i know but using a drive with 10 times a 1k storage cell woulb be usefull, anyway, do you you have any idea why my computer constantly combined valiant with meadows when i requested an imperial?

Valiant bees are considered hive bees that can be bred into commons. They have a long lifespan. They might have another trait that made them score higher than the other hive bees. It's best to keep valuable and rare bees somewhere else besides the openbee chest.
Pixelmnkey #76
Posted 02 April 2014 - 11:55 AM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
MrEmielH #77
Posted 02 April 2014 - 01:18 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back
Pixelmnkey #78
Posted 02 April 2014 - 01:40 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back

It is on the proxy but it won't activate.
keramond #79
Posted 02 April 2014 - 03:11 PM
Hello

its really a wonderful program, thanks for that, but there seems to be something wrong with breeding, it's breeding cultivated <-> unweary the whole time back and forth to get to noble. It looks like the program tries to breed a common princess, but there are pure hive princess' and drones(more than enough) in the bee chest.
MrEmielH #80
Posted 02 April 2014 - 03:39 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back

It is on the proxy but it won't activate.
on the back?
Pixelmnkey #81
Posted 02 April 2014 - 03:45 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back

It is on the proxy but it won't activate.
on the back?

Yep, the computer one activates tho.
NerdimusPrime #82
Posted 02 April 2014 - 03:53 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back

It is on the proxy but it won't activate.
on the back?

Yep, the computer one activates tho.

The front should look like this (but with another chest on top of the gold one to hold excess drones): http://imgur.com/rYachIf

The back should look like this: http://imgur.com/4ThqVpj

Edit openbee and change the name of chestSide = "top" to whatever the proxy modem reports when you right-click to activate it (in my case, "gold_0").
Pixelmnkey #83
Posted 02 April 2014 - 04:15 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back

It is on the proxy but it won't activate.
on the back?

Yep, the computer one activates tho.

The front should look like this (but with another chest on top of the gold one to hold excess drones): http://imgur.com/rYachIf

The back should look like this: http://imgur.com/4ThqVpj

Edit openbee and change the name of chestSide = "top" to whatever the proxy modem reports when you right-click to activate it (in my case, "gold_0").

Yeah, that's the same exact setup I used, only with a crystal chest, but the modem wich is on the proxy dosn't activates when I right click it, the one on the computer does.
MrEmielH #84
Posted 02 April 2014 - 04:22 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back

It is on the proxy but it won't activate.
on the back?

Yep, the computer one activates tho.

The front should look like this (but with another chest on top of the gold one to hold excess drones): http://imgur.com/rYachIf

The back should look like this: http://imgur.com/4ThqVpj

Edit openbee and change the name of chestSide = "top" to whatever the proxy modem reports when you right-click to activate it (in my case, "gold_0").

Yeah, that's the same exact setup I used, only with a crystal chest, but the modem wich is on the proxy dosn't activates when I right click it, the one on the computer does.
let me try that
McLeopold #85
Posted 02 April 2014 - 04:23 PM
Hello

its really a wonderful program, thanks for that, but there seems to be something wrong with breeding, it's breeding cultivated <-> unweary the whole time back and forth to get to noble. It looks like the program tries to breed a common princess, but there are pure hive princess' and drones(more than enough) in the bee chest.

Pastebin in your bee.#.log so I can look at it.
MrEmielH #86
Posted 02 April 2014 - 04:24 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
you have to connect the proxy with a modem, so a modem on an proxy (proxy facing chest) and a modem on the computer and then you activate them, the modem of the proxy must be on the back

It is on the proxy but it won't activate.
on the back?

Yep, the computer one activates tho.

The front should look like this (but with another chest on top of the gold one to hold excess drones): http://imgur.com/rYachIf

The back should look like this: http://imgur.com/4ThqVpj

Edit openbee and change the name of chestSide = "top" to whatever the proxy modem reports when you right-click to activate it (in my case, "gold_0").

Yeah, that's the same exact setup I used, only with a crystal chest, but the modem wich is on the proxy dosn't activates when I right click it, the one on the computer does.
let me try that
it workst for me, you sure everything else is correct?, its not just a visual bug?
McLeopold #87
Posted 02 April 2014 - 04:49 PM
Hello there! I've used both your setups, the first one with the double chest I'm getting the error "openbee: 522: Not all lua values used, last index: 2", what does it mean? I used Openbee Noble just to try it out. Also with the other setup using the proxy my modem won't activate when rightclicking it on the proxy, anything I'm doing wrong? I'm using these versions:

OpenPeripheralCore-0.3.0-snapshot-39
OpenPeripheralAddons-0.1.0-snapshot-41

Thanks for the help ;)/>
line 522 is inv.pullItem(analyzerDir, analyzerSlot, 64, invSlot). PullItem is a function and I'm passing 4 values to the function. The error says not all the values are being used, only the first 2. I would guess this function is slighly different in 0.3.0 and only accepts 2 values, not 4, but I'm not sure. Are you still getting this error?
McLeopold #88
Posted 02 April 2014 - 05:09 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.

Notes on the indexer. I might be able to get it to work. After I pull a bee, say out of slot 5, every bee after that is moved up to fill the hole, so 6 -> 5 and 7 -> 6 and so on. I can compensate for this. I can't figure out how to put items back into the indexer. It looks like it can't be automated. If it could, I can write a version to use the indexer.
Pixelmnkey #89
Posted 02 April 2014 - 05:19 PM
line 522 is inv.pullItem(analyzerDir, analyzerSlot, 64, invSlot). PullItem is a function and I'm passing 4 values to the function. The error says not all the values are being used, only the first 2. I would guess this function is slighly different in 0.3.0 and only accepts 2 values, not 4, but I'm not sure. Are you still getting this error?

It is not a visual bug, on the computer it clearly sais "Peripheral Computer_7 Connected" On the proxy it dosn't say anything. What do you mean with that, do I need to change anything inside the code?
apemanzilla #90
Posted 02 April 2014 - 06:58 PM
are there plans to be able to use the indexer instead of a chest?

Yes, after I get the product chest going. You can't push product to an apiary chest or indexer, so right now it's not going to work. Go ahead and put it on top to see what the behavior is. I'm think combs would just stay in the apiary and slow down the clearApiary function.

Pushed an update. You can now put a product chest underneath the apiary. I've tested the indexer and it does not work. I'm assuming the ability to sort bees also messes with the slot numbers. The apiarist chest does work and gives you 125 slots for fairly cheap.

Notes on the indexer. I might be able to get it to work. After I pull a bee, say out of slot 5, every bee after that is moved up to fill the hole, so 6 -> 5 and 7 -> 6 and so on. I can compensate for this. I can't figure out how to put items back into the indexer. It looks like it can't be automated. If it could, I can write a version to use the indexer.
On pushing into the indexer: try pushing into slots "0" and the numbers of filled slots + 1. Otherwise, maybe a pipe or other inventory that could drop items into it.
MrEmielH #91
Posted 02 April 2014 - 08:14 PM
line 522 is inv.pullItem(analyzerDir, analyzerSlot, 64, invSlot). PullItem is a function and I'm passing 4 values to the function. The error says not all the values are being used, only the first 2. I would guess this function is slighly different in 0.3.0 and only accepts 2 values, not 4, but I'm not sure. Are you still getting this error?

It is not a visual bug, on the computer it clearly sais "Peripheral Computer_7 Connected" On the proxy it dosn't say anything. What do you mean with that, do I need to change anything inside the code?
try the newest version of all the openmods
keramond #92
Posted 03 April 2014 - 03:46 PM
hello

pastebin to the logfile
http://pastebin.com/MjNvHuHd
McLeopold #93
Posted 03 April 2014 - 04:10 PM
hello

pastebin to the logfile
http://pastebin.com/MjNvHuHd
So, you have a version that had a bug. It's not displaying all of the information after selecting the pair. I can't determine what it's pairing the princess with. I also see that your targeting "imperial" instead of "Imperial". I'll put in a check for proper case. Get the latest version and try again with "Imperial".

I see that your drone count doesn't rise, so all new drones must be getting ditched. I see at the end it just does cultivated bees. I'm wondering if the reference princess and drone are the same. I see you have 22 reference bees. Are there any common bees in there?
Edited on 03 April 2014 - 02:29 PM
MrEmielH #94
Posted 03 April 2014 - 04:57 PM
hello

pastebin to the logfile
http://pastebin.com/MjNvHuHd
So, you have a version that had a bug. It's not displaying all of the information after selecting the pair. I can't determine what it's pairing the princess with. I also see that your targeting "imperial" instead of "Imperial". I'll put in a check for proper case. Get the latest version and try again with "Imperial".

I see that your drone count doesn't rise, so all new drones must be getting ditched. I see at the end it just does cultivated bees. I'm wondering if the reference princess and drone are the same. I see you have 22 reference bees. Are there any common bees in there?
so its required that the first letter is a capital letter?
apemanzilla #95
Posted 03 April 2014 - 06:08 PM
hello

pastebin to the logfile
http://pastebin.com/MjNvHuHd
So, you have a version that had a bug. It's not displaying all of the information after selecting the pair. I can't determine what it's pairing the princess with. I also see that your targeting "imperial" instead of "Imperial". I'll put in a check for proper case. Get the latest version and try again with "Imperial".

I see that your drone count doesn't rise, so all new drones must be getting ditched. I see at the end it just does cultivated bees. I'm wondering if the reference princess and drone are the same. I see you have 22 reference bees. Are there any common bees in there?
so its required that the first letter is a capital letter?
It must match the species name, so for Imperial bees, yes, make sure you use a capital "I."
keramond #96
Posted 04 April 2014 - 12:50 AM
hello again,

i updated to 2.0.3 and ran "openbee Imperial" and got this again:

http://pastebin.com/veTF10VY
Edited on 03 April 2014 - 11:11 PM
McLeopold #97
Posted 04 April 2014 - 01:13 AM
hello again,

i updated to 2.0.3 and ran "openbee Imperial" and got this again:

http://pastebin.com/veTF10VY
All of those bee combos have a 0 percent change of making an Imperial (the first number after the species types) but are not getting eliminated somehow.

Change line 644 to read:

  local baseChance = 1
and see if that helps.

Line 658-659 is an if statement that should return false:

    if (not haveReference and chance >= baseChance / 2) or
        (haveReference and chance > 25) then

We know chance is 0 because it is printed out. If haveReference is incorrect, it still needs to pass one of the two percentage checks. The only possible reason I can think of is because baseChance is 0.

If this is the case then the OpenPeripheral call to getBeeParents is failing to return correct data, but just for you.
Edited on 03 April 2014 - 11:16 PM
NerdimusPrime #98
Posted 04 April 2014 - 02:32 AM
I'm running into another oddity, and I'm not sure if it's the code or me. I've told it "openbee Enchanted", and even though it finds 27 reference bees, 8 princesses, and 42 drones, of 32 different species (including samples of all the prerequisites for Enchanted), I still keep getting this:

targetting Enchanted
lower tier
Please add more bee species and press [Enter]

I don't know what else to give it. In fact, I have nothing else to give it.

EDIT: I had eldritch and charmed drones, but no princess of either, and it wouldn't breed up to them by targetting enchanted. When I targetted eldritch, it started making one.
Edited on 04 April 2014 - 12:54 AM
keramond #99
Posted 04 April 2014 - 04:38 AM
changed your suggested line and now he wants more bees to get to Imperial. I made a switch to "openbee Noble" and it started breeding.

by the way i am using cc 1.57 and openperipheral 0.3.2
Edited on 04 April 2014 - 02:43 AM
McLeopold #100
Posted 04 April 2014 - 08:01 AM
changed your suggested line and now he wants more bees to get to Imperial. I made a switch to "openbee Noble" and it started breeding.

by the way i am using cc 1.57 and openperipheral 0.3.2
It must not be picking up the lower tier properly. I'll look into it.

EDIT: I'm pretty sure your getBeeParents is buggy. You might try upgrading cc and openperipheral. Until then, you can just target each species in line yourself.
Edited on 04 April 2014 - 06:04 AM
SuperZorro #101
Posted 04 April 2014 - 07:39 PM
Could anyone post screenshot and the initial config for a working setup. I can&amp;amp;#39;t get it to work at all.
This is my setup:
http://imgur.com/8xDmjqS

I also tried without the modem, but could never get it to detect the analyzer.

local apiarySide = "left"
local chestSide = "obsidian_0"
local chestDir = "north"
local productDir = "down"
local analyzerDir = "up"

Here is my log:
http://pastebin.com/6MCFjkbd
(The error is just because I'm running openbee without any target bee)
NerdimusPrime #102
Posted 04 April 2014 - 08:12 PM
Could anyone post screenshot and the initial config for a working setup. I can&amp;amp;#39;t get it to work at all.
This is my setup:
http://imgur.com/8xDmjqS

I also tried without the modem, but could never get it to detect the analyzer.

local apiarySide = "left"
local chestSide = "obsidian_0"
local chestDir = "north"
local productDir = "down"
local analyzerDir = "up"

Here is my log:
http://pastebin.com/6MCFjkbd
(The error is just because I'm running openbee without any target bee)

chestDir should be "up"
analyzerDir should be "east"

It seems counter-intuitive, but chestDir and analyzerDir appear to be in relation to the apiary, not the computer.
The productDir is correct, but the product chest should be under the apiary, not under the computer, since products are pushed down from the apiary.
Edited on 04 April 2014 - 06:47 PM
keramond #103
Posted 14 April 2014 - 11:28 PM
hello again,

i just tested it with the new monster (1.1.1) from ftb in singleplayer and the program works just fine. but in multiplayer it still doesn't get the parents. any idea how to get it run correctly on my server?
apemanzilla #104
Posted 15 April 2014 - 01:35 PM
Is the server MCPC+?
keramond #105
Posted 15 April 2014 - 03:43 PM
its the default Monster pack from FeedTheBeast, so i believe its just forge
apemanzilla #106
Posted 15 April 2014 - 04:57 PM
its the default Monster pack from FeedTheBeast, so i believe its just forge
Run /plugins on the server and tell me what it says.
keramond #107
Posted 15 April 2014 - 05:11 PM
its the default Monster pack from FeedTheBeast, so i believe its just forge
Run /plugins on the server and tell me what it says.
it says: "Unknown command. Try /help for a list of commands"
apemanzilla #108
Posted 15 April 2014 - 05:12 PM
its the default Monster pack from FeedTheBeast, so i believe its just forge
Run /plugins on the server and tell me what it says.
it says: "Unknown command. Try /help for a list of commands"
Then ask MacLeopold for help, I've done all I can. Send him the log too ;)/>
Edited on 15 April 2014 - 03:13 PM
keramond #109
Posted 15 April 2014 - 05:20 PM
its the default Monster pack from FeedTheBeast, so i believe its just forge
Run /plugins on the server and tell me what it says.
it says: "Unknown command. Try /help for a list of commands"
Then ask MacLeopold for help, I've done all I can. Send him the log too ;)/>
MacLeopold knows already what my problem is, but thank you. Maybe somebody can write a small program(just a few lines) to test the getBeeParents() method.
keramond #110
Posted 15 April 2014 - 06:27 PM
so i believe that method call does not work at all on multiplayerservers
TrovadorUrbano #111
Posted 17 April 2014 - 02:23 AM
Hello, I cant make the program run neither SMP or SSP this is the setup, log and the mod im using:

Setup Screenshot

Log
http://pastebin.com/1VkkqDXB
Mods
https://www.dropbox.com/s/nkd91nbwhwxu2t7/Carpeta%20de%20mods.zip

Hope someone can help me
McLeopold #112
Posted 17 April 2014 - 02:56 AM
Hope someone can help me

Just posted an update. Try again.
TrovadorUrbano #113
Posted 17 April 2014 - 04:34 AM
Hope someone can help me

Just posted an update. Try again.
Now this is the issue (test made in SSP)
http://pastebin.com/KAERzEAs
As far as i understand the program, it is not recognizing the princesses or drones just queens,

Edit: I rebuilded the system and it worked for a second then freezes, when i terminated it this is what it says http://pastebin.com/p7DrnpQ8
BTW, in the minecraft console log, this is what happens when i terminated the program
2014-04-16 22:49:51 [WARNING] [OpenMods] openperipheral.adapter.peripheral.ExecutionStrategy$Responder.signalEvent(ExecutionStrategy.java:71): Ignoring signal for transaction 3472. (sob)

Another Edit: I'm stupid, i was using only "openbee" instead of "openbee <trait>" it is working now, thanks for all
Edited on 17 April 2014 - 02:16 PM
McLeopold #114
Posted 17 April 2014 - 09:21 PM
Another Edit: I'm stupid, i was using only "openbee" instead of "openbee <trait>" it is working now, thanks for all

The program should actually work by just using "openbee". It's probably another bug that I'll look into later.
fungeh #115
Posted 19 April 2014 - 04:22 PM
Hey mate, loving your program so far, it's finally gotten me starting on the long path of bee breeding.

Is there any chance you could write a quick post on exactly what your program does? I had a quick scan through your source code and it seems like it should be doing something with unneeded drones

-- remove analyzed drones where both the active and inactive species have a both reference princess and drone
but my bees never move from my apiarist's chest. If I've got it completely wrong is there any chance you could make it so it DOES ditch unneeded bees or at least print out a list of reference bees so I can manually clean up my chest? It's starting to get pretty full…
McLeopold #116
Posted 22 April 2014 - 05:11 PM
Hey mate, loving your program so far, it's finally gotten me starting on the long path of bee breeding.

Is there any chance you could write a quick post on exactly what your program does? I had a quick scan through your source code and it seems like it should be doing something with unneeded drones

-- remove analyzed drones where both the active and inactive species have a both reference princess and drone
but my bees never move from my apiarist's chest. If I've got it completely wrong is there any chance you could make it so it DOES ditch unneeded bees or at least print out a list of reference bees so I can manually clean up my chest? It's starting to get pretty full…

Sure, here's a summary of the types of decisions the program makes.
  • It will attempt to choose the best princess and drone to breed a specific species by scoring every combination of princess and drone (except for reference bees). A percentage chance is calculated for each combination. Traits are used as tie breakers in order and can be configured by modifying the traitPriority array.
  • If a species is targeted but no combination can produce the target species with a good enough chance (at least half the normal chance with pure bees), then one of the lower tier species needed is the new target. This allows you to target Imperial and have the program know to start with Commons.
  • It will try to keep 1 pure princess and 1 pure drone of each type it knows about. These are reference bees. They may be used to create additional drones, but will not be cross bred. They are moved to the first slots in the chest. This option can be turned off in the code by changing the useReference variable to false.
  • It will try to keep extra drones cleared out of the system. If there is a hybrid drone where both active and inactive species traits have reference drones and princesses, then it is considered obsolete. Extra drones are pushed up from the chest, so you should have a chest on a chest on an apiary.
  • It can run without an analyzer, but makes poor decisions. It can only see the active trait and does not know about the inactive ones. This will get you all of the species, but it will take much longer. Reference bees are turned off in this mode.
  • Extra produce is ditched in a chest below the apiary. The apiary is a full block, so the chest can't be opened. You'll need to pump the items out with pipes from one of the other mods or break the chest periodically. So, that's a chest on a chest on an apiary on a chest.
  • The computer needs to be able to wrap the apiary and chest above it. To see both blocks the chest above needs to be a double chest that is over the apiary and computer, or attached to the computer with a proxy block. Chests are not full blocks, so the apiary can still see the sky. The computer could be far away from both and use a proxy block for both if wanted. The analyzer needs to be next to the chest. The apiary will pull from and push to the chest. The chest will pull from and push to the analyzer. The chest will not pull from or push to the apiary because if in double chest mode this doesn't work. The apiary will push to the product chest. The chest will push to an obsolete drone chest. All directions are configurable at the top of the program.
fungeh #117
Posted 23 April 2014 - 10:39 AM
Thanks! That helps a lot, I had everything set up correctly besides the chest on a chest, could I suggest mentioning that somewhere? I don't remember reading it anywhere but I might have missed it.
MrEmielH #118
Posted 27 April 2014 - 09:24 AM
A new idea: it would be nice that the program looks if there is a serum available before he breeds up a bee
McLeopold #119
Posted 29 April 2014 - 09:13 AM
At this point the program isn't connected to ExtraBees machines, nor does it know anything about serums. There are 3 machines you need after you have a genome in order to inoculate bees. I'm not sure if you can easily transfer the bee around them. It would be quite a setup including all the power lines and everything. I'll consider this.
fulano #120
Posted 29 April 2014 - 03:01 PM
First of all, thanks for making this script! After going through the breeding process once through manually in the 1.5 days, it's only with better automation that I feel I want to do it again.

I tried it out with both setups (post #1 and #8) to get to Imperial and after reaching Cultivated, it gives me the "Please add more bee species" line. I had Meadows, Forest, Rocky and Tropical (which seemed like enough species!). At first I did not have Magic Bees installed (trying to stick to technology mods as much as I can), but adding in Mystical and Oblivion to the mix still gave the same result.

Help would be much appreciated.

Here is a shot of the bees chest at the end of testing: http://imgur.com/Z7MXmMf
and here is the setup just in case: http://imgur.com/IHiSMIA

I'm running around 100 mods, not from a pack. These are the versions of the ones that seem relevant:

forestry-A-2.3.1.1
binnie-mods-1.8.0
magicbees-2.1.12
ComputerCraft1.58
OpenPeripheralCore-0.3.3
OpenPeripheralAddons-0.1.3
MrEmielH #121
Posted 29 April 2014 - 08:59 PM
At this point the program isn't connected to ExtraBees machines, nor does it know anything about serums. There are 3 machines you need after you have a genome in order to inoculate bees. I'm not sure if you can easily transfer the bee around them. It would be quite a setup including all the power lines and everything. I'll consider this.
it is actually quite simple, if you have a serum, you can inoculate a drone/princess, with it in the inoculator, it wil take 2 uses (to do both active and inactive traits) after that is done, you can recharge it in the synthesizer, that will decrease the quality, to get the quality back to the max you have to use the purifier, but actually it would be fine if the bee is inoculated by the program, we have other mods to recharge the serum
McLeopold #122
Posted 30 April 2014 - 01:23 AM
At this point the program isn't connected to ExtraBees machines, nor does it know anything about serums. There are 3 machines you need after you have a genome in order to inoculate bees. I'm not sure if you can easily transfer the bee around them. It would be quite a setup including all the power lines and everything. I'll consider this.
it is actually quite simple, if you have a serum, you can inoculate a drone/princess, with it in the inoculator, it wil take 2 uses (to do both active and inactive traits) after that is done, you can recharge it in the synthesizer, that will decrease the quality, to get the quality back to the max you have to use the purifier, but actually it would be fine if the bee is inoculated by the program, we have other mods to recharge the serum
Yes, I know how the machines work. Did you read my post? I'm talking about interactions between openp and the machines.
troslim #123
Posted 30 April 2014 - 03:13 PM
Tried running the program using the proxy setup, but just can't seem to connect the computer to the chest I am using. Any tips?
flaghacker #124
Posted 30 April 2014 - 03:52 PM
First of all: Epic program! I have been searching for this a long time!

The program works perfectly for the lowest tier bees, like Common and Cultivated. When I try to make an Imperial bee, it gets stuck at this screen (looks like an infinite loop?):
https://www.dropbox....0breeding_1.PNG
Starting chest:
https://www.dropbox....0breeding_2.PNG
Ending chest:
https://www.dropbox....0breeding_3.PNG
Log:
https://www.dropbox....y8a7/bee.16.log

I tried this a few times, I get always the same result.

I'm playing the DireWolf20 1.6.4 pack with a couple of irrelevant added mods.
Relevant mod versions:
  • Forestry A-2.3.1.1
  • ComputerCraft 1.57
  • OpenmodsLib 0.2
  • OpenPeripheralCore 0.3.1
  • OpenPeripheralAddons 0.11
I can't think of anything to be more specific… :P/>
Could you help me?



Oh and just a little question: What will your program do if its bee storage chest is full?
–EDIT:
Oh damm, it says: "chest is full"
Couldn't you make it so that it dumps useless drones somwhere?




Tried running the program using the proxy setup, but just can't seem to connect the computer to the chest I am using. Any tips?

Send a screenshot maybe?
Edited on 30 April 2014 - 02:05 PM
troslim #125
Posted 30 April 2014 - 04:16 PM
Front:

Back:
flaghacker #126
Posted 30 April 2014 - 04:33 PM
Spoiler
Front:

Back:
Have you set "chestSide" ar line 26 to whatever it said in the chat when you right-clicked the modem on the proxy? (e.g. "diamond_0")

If not:

edit openbee
and go to line 26

	["chestSide"] = "top",
change the "top" into "diamond_0" or similar.

	["chestSide"] = "diamond_0",
Don't forget to save!

And the analyzer will need liquid honey to do someting…
Edited on 30 April 2014 - 02:40 PM
troslim #127
Posted 30 April 2014 - 06:02 PM
I have done that, but it still says that it has found no bees.
flaghacker #128
Posted 30 April 2014 - 07:30 PM
I have done that, but it still says that it has found no bees.

Mmm… Are you playing a modpack? If so, give us a world download.
fulano #129
Posted 30 April 2014 - 08:18 PM
I have done that, but it still says that it has found no bees.

Does your computer already have a bee.config file? It seems that will override the setting in the openbee program.
troslim #130
Posted 01 May 2014 - 01:35 PM
I have done that, but it still says that it has found no bees.

Does your computer already have a bee.config file? It seems that will override the setting in the openbee program.

How can I find out if I already have one?
MrEmielH #131
Posted 01 May 2014 - 01:57 PM
I have done that, but it still says that it has found no bees.

Does your computer already have a bee.config file? It seems that will override the setting in the openbee program.

How can I find out if I already have one?
type in "dir" in your computer
troslim #132
Posted 01 May 2014 - 03:26 PM
Yes, it has one. I changed the chestSide to diamond_0, and now it seems to detect some of the bees inside the chest. It can find some drones but not the rest.
Edited on 01 May 2014 - 01:30 PM
TrovadorUrbano #133
Posted 01 May 2014 - 05:06 PM
Did you changed the line
["chestSide"] = "top"
apemanzilla #134
Posted 02 May 2014 - 02:05 PM
Did you changed the line
["chestSide"] = "top"
Don't do this. You need to supply the actual peripheral name as "top" would refer to the analyzer in that setup.
flaghacker #135
Posted 02 May 2014 - 04:02 PM
Did you changed the line
["chestSide"]="top"
Don't do this. You need to supply the actual peripheral name as "top" would refer to the analyzer in that setup.

No, he meant "Did you change that to whatever it said in the chat?"
apemanzilla #136
Posted 02 May 2014 - 04:41 PM
Did you changed the line
["chestSide"]="top"
Don't do this. You need to supply the actual peripheral name as "top" would refer to the analyzer in that setup.

No, he meant "Did you change that to whatever it said in the chat?"
Ah. I thought he was implying you should change the line to that.
fulano #137
Posted 02 May 2014 - 08:58 PM
So is there a workaround to the "add more bee species" problem?
TrovadorUrbano #138
Posted 03 May 2014 - 12:43 AM
Did you changed the line
["chestSide"]="top"
Don't do this. You need to supply the actual peripheral name as "top" would refer to the analyzer in that setup.

No, he meant "Did you change that to whatever it said in the chat?"
Ah. I thought he was implying you should change the line to that.
Could be a bad direction issue? Which direction are you facing when you are in front of you computer?
apemanzilla #139
Posted 04 May 2014 - 02:10 AM
So is there a workaround to the "add more bee species" problem?
You can try disabling reference bees. Scroll down a bit in the main program and you'll see a line about it.
fulano #140
Posted 04 May 2014 - 06:59 PM
So is there a workaround to the "add more bee species" problem?
You can try disabling reference bees. Scroll down a bit in the main program and you'll see a line about it.

Ah, that does seem to work. I suppose I took that as the program wanting more of the same species since it would not breed with the ones it decided were reference.
apemanzilla #141
Posted 05 May 2014 - 02:41 AM
So is there a workaround to the "add more bee species" problem?
You can try disabling reference bees. Scroll down a bit in the main program and you'll see a line about it.

Ah, that does seem to work. I suppose I took that as the program wanting more of the same species since it would not breed with the ones it decided were reference.

The reference bees are never cross-bred and are always kept pure in case more drones are needed. I don't care about that usually, so I just disable it.
flaghacker #142
Posted 05 May 2014 - 05:47 PM
Spoiler
So is there a workaround to the "add more bee species" problem?
You can try disabling reference bees. Scroll down a bit in the main program and you'll see a line about it.

Ah, that does seem to work. I suppose I took that as the program wanting more of the same species since it would not breed with the ones it decided were reference.

The reference bees are never cross-bred and are always kept pure in case more drones are needed. I don't care about that usually, so I just disable it.

Weird that it prioritizes keeping the reference bees above the breeding itself dought…
Deweyoxberg #143
Posted 06 May 2014 - 08:49 AM
Hi McLeopold,

We have successfully installed/setup your wonderful program and have been breeding bees for some time.

One thing we're noticing is that species are being prioritized over traits at all times. As an example if we have just common drones with semi-ok traits, the program is more focused on improving the species of bee versus related traits.

Is there any way to incorporate both best species and best traits in decisions made by the program, or at least target a trait like we can do for a species?

We tried "openbee rocky speed"; of course the species "speed" was not found.

Thoughts?
MrEmielH #144
Posted 06 May 2014 - 08:57 PM
Hi McLeopold,

We have successfully installed/setup your wonderful program and have been breeding bees for some time.

One thing we're noticing is that species are being prioritized over traits at all times. As an example if we have just common drones with semi-ok traits, the program is more focused on improving the species of bee versus related traits.

Is there any way to incorporate both best species and best traits in decisions made by the program, or at least target a trait like we can do for a species?

We tried "openbee rocky speed"; of course the species "speed" was not found.

Thoughts?
Extra bees/gendustry works realy well
apemanzilla #145
Posted 06 May 2014 - 09:35 PM
Hi McLeopold,

We have successfully installed/setup your wonderful program and have been breeding bees for some time.

One thing we're noticing is that species are being prioritized over traits at all times. As an example if we have just common drones with semi-ok traits, the program is more focused on improving the species of bee versus related traits.

Is there any way to incorporate both best species and best traits in decisions made by the program, or at least target a trait like we can do for a species?

We tried "openbee rocky speed"; of course the species "speed" was not found.

Thoughts?
You can change the prioritization of certain genes in the program. Scroll down a bit.
harukaxxxx #146
Posted 08 May 2014 - 05:19 PM
It's a very gooooooood bee breeding program I've never seen, and I want let some breeding information display on monitor.
Here is my program!!
http://pastebin.com/JP7xJsQf

It's a very stupid way to do this things, so if there have some better way.
Please let me know lol

MrEmielH #147
Posted 08 May 2014 - 06:07 PM
It's a very gooooooood bee breeding program I've never seen, and I want let some breeding information display on monitor.
Here is my program!!
http://pastebin.com/JP7xJsQf

It's a very stupid way to do this things, so if there have some better way.
Please let me know lol

i looked at the code of openbee and adding the monitor writing isn't that bad, i'l add it, then i'll send my version to McLeopold, and then he has to decide what to do with it
harukaxxxx #148
Posted 09 May 2014 - 11:03 AM
It's a very gooooooood bee breeding program I've never seen, and I want let some breeding information display on monitor.
Here is my program!!
http://pastebin.com/JP7xJsQf

It's a very stupid way to do this things, so if there have some better way.
Please let me know lol

i looked at the code of openbee and adding the monitor writing isn't that bad, i'l add it, then i'll send my version to McLeopold, and then he has to decide what to do with it

Hopefully McLeopold will publish a monitor version one!!
MrEmielH #149
Posted 09 May 2014 - 05:12 PM
It's a very gooooooood bee breeding program I've never seen, and I want let some breeding information display on monitor.
Here is my program!!
http://pastebin.com/JP7xJsQf

It's a very stupid way to do this things, so if there have some better way.
Please let me know lol

i looked at the code of openbee and adding the monitor writing isn't that bad, i'l add it, then i'll send my version to McLeopold, and then he has to decide what to do with it

Hopefully McLeopold will publish a monitor version one!!
I have a version working right now, but when i wanted to test it, it seemed that i was running an old version witch worked fine, I implememented my monitor stuff in the new code without realizing that it was an different version than the one I was using, witch is perfectly fine, but when i came to the testing, the newer prog did't even find a mutation graph, so i will search the problem first before I send my prog to McLeopold, normally my code shouldn't mess with McLeopolds, we'll see.
edit: oops I derped my config :P/>
Edited on 10 May 2014 - 01:59 PM
MrEmielH #150
Posted 10 May 2014 - 04:01 PM
My work is done, I implemented the monitor, the message is on the way to McLeopold now, it is his program, he has to decide what to do with it, that is not my responsibility, for those who don't want to use the monitor, there is a config option to turn it of

Edited on 10 May 2014 - 02:37 PM
flaghacker #151
Posted 10 May 2014 - 06:44 PM
My work is done, I implemented the monitor, the message is on the way to McLeopold now, it is his program, he has to decide what to do with it, that is not my responsibility, for those who don't want to use the monitor, there is a config option to turn it of
Spoiler

I don't know if you have done this, but you could just have done

term.redirect(peripheral.wrap("monitor_0"))
at the beginning of the program.
Edited on 10 May 2014 - 04:45 PM
MrEmielH #152
Posted 10 May 2014 - 07:44 PM
My work is done, I implemented the monitor, the message is on the way to McLeopold now, it is his program, he has to decide what to do with it, that is not my responsibility, for those who don't want to use the monitor, there is a config option to turn it of
Spoiler

I don't know if you have done this, but you could just have done

term.redirect(peripheral.wrap("monitor_0"))
at the beginning of the program.
then there is nothing showed on the terminal itself
mistamadd001 #153
Posted 11 May 2014 - 03:47 AM
Is there a version of this for MiscPeripherals? I am using the ultimate modpack and want to try it out
TrovadorUrbano #154
Posted 11 May 2014 - 07:31 AM
Is there a version of this for MiscPeripherals? I am using the ultimate modpack and want to try it out
This is an outdated version of the application, but it runs based on misc peripherals instead of open peripherals
http://www.computercraft.info/forums2/index.php?/topic/14206-bee-breeding-with-attributes-credit-to-direwolf20-for-idea/page__hl__breeding__fromsearch__1
Mr_Pink #155
Posted 11 May 2014 - 09:24 AM
Great program , I must say . Can the apiary be changed to an alveary to speed up the process with frames and mutators ? Without changing much if not all of the code , that would be great !
mistamadd001 #156
Posted 11 May 2014 - 09:45 AM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
MrEmielH #157
Posted 11 May 2014 - 10:15 AM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
then your computer has to be next to the chest to use it as a peripheral
MrEmielH #158
Posted 11 May 2014 - 02:03 PM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
then your computer has to be next to the chest to use it as a peripheral
not only because of the op switch, it seems that there are some bugs in the old version
Edited on 11 May 2014 - 12:03 PM
mistamadd001 #159
Posted 11 May 2014 - 02:26 PM
Ill have a look at the old version and compare it with the new version and see how I go about updating the MP version for us base modpack guys :P/> I will go custom soon I reckon, only thing holding me back atm is having people help me out/ the community of SMP.
apemanzilla #160
Posted 11 May 2014 - 03:04 PM
For the monitor versions of the program, keep in mind you can simply use "monitor <name\side> openbee".

There is not an alveary-specific version yet, but in theory if you hook up peripheral properly you could make it work.
TrovadorUrbano #161
Posted 11 May 2014 - 04:20 PM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
I think the main reason is that Misc Peripherals ceased to be updated
McLeopold #162
Posted 14 May 2014 - 09:31 PM
Great program , I must say . Can the apiary be changed to an alveary to speed up the process with frames and mutators ? Without changing much if not all of the code , that would be great !
I'll be playing with alvearies soon and let you know. The program will be updated if I find issues.

Is there any way to incorporate both best species and best traits in decisions made by the program, or at least target a trait like we can do for a species?
I added this in a few days ago. The proper list of trait names is in the code if you need to know how to spell them and the case.
McLeopold #163
Posted 14 May 2014 - 09:40 PM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
The old version should still work without any bugs, but I'm not going to continue development on it. MiscPeripherals was limited in what it could do; I couldn't get inactive traits on the bees. I was planning to use the chest peripheral with the turtle so I had enough room to do multiple princesses, but it doesn't work and the mod was never fixed and it doesn't look like it ever will be.

OpenPeripheral is the new mod of choice for integrating with CC, so I will be using that for all new programs.

My work is done, I implemented the monitor, the message is on the way to McLeopold now, it is his program, he has to decide what to do with it, that is not my responsibility, for those who don't want to use the monitor, there is a config option to turn it of
I do make frequent updates to this program, so those using the monitor version will always be behind a bit. Thanks for the work on it, but I suggest doing with apemanzilla said and use "monitor <name/side> openbee".

I will be making a UI for openbee in the next week or 2.
mistamadd001 #164
Posted 15 May 2014 - 10:39 AM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
The old version should still work without any bugs, but I'm not going to continue development on it. MiscPeripherals was limited in what it could do; I couldn't get inactive traits on the bees. I was planning to use the chest peripheral with the turtle so I had enough room to do multiple princesses, but it doesn't work and the mod was never fixed and it doesn't look like it ever will be.

OpenPeripheral is the new mod of choice for integrating with CC, so I will be using that for all new programs.

looks like ill either have to create a custom modpack or wait for FTB to get their stuff together
MrEmielH #165
Posted 15 May 2014 - 05:49 PM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
The old version should still work without any bugs, but I'm not going to continue development on it. MiscPeripherals was limited in what it could do; I couldn't get inactive traits on the bees. I was planning to use the chest peripheral with the turtle so I had enough room to do multiple princesses, but it doesn't work and the mod was never fixed and it doesn't look like it ever will be.

OpenPeripheral is the new mod of choice for integrating with CC, so I will be using that for all new programs.

My work is done, I implemented the monitor, the message is on the way to McLeopold now, it is his program, he has to decide what to do with it, that is not my responsibility, for those who don't want to use the monitor, there is a config option to turn it of
I do make frequent updates to this program, so those using the monitor version will always be behind a bit. Thanks for the work on it, but I suggest doing with apemanzilla said and use "monitor <name/side> openbee".

I will be making a UI for openbee in the next week or 2.
oh, that looks like my work is don for nothing, can you still pass the messages trough the log function, so i can look at re-implementing it? That would be great
apemanzilla #166
Posted 15 May 2014 - 06:40 PM
is it outdated simply because the creator changed their mod to OP? I recently updated/ported a fluid controller/monitor from OP to MP, maybe I'll try redoing this as well, only problem is that MP doesn't have proxys or network cable… hmm
The old version should still work without any bugs, but I'm not going to continue development on it. MiscPeripherals was limited in what it could do; I couldn't get inactive traits on the bees. I was planning to use the chest peripheral with the turtle so I had enough room to do multiple princesses, but it doesn't work and the mod was never fixed and it doesn't look like it ever will be.

OpenPeripheral is the new mod of choice for integrating with CC, so I will be using that for all new programs.

My work is done, I implemented the monitor, the message is on the way to McLeopold now, it is his program, he has to decide what to do with it, that is not my responsibility, for those who don't want to use the monitor, there is a config option to turn it of
I do make frequent updates to this program, so those using the monitor version will always be behind a bit. Thanks for the work on it, but I suggest doing with apemanzilla said and use "monitor <name/side> openbee".

I will be making a UI for openbee in the next week or 2.
oh, that looks like my work is don for nothing, can you still pass the messages trough the log function, so i can look at re-implementing it? That would be great
I don't see why you need to have the messages - just redirect the terminal, or if you REALLY want to have access to the messages then use setfenv and overwrite term.write.
Odovbold #167
Posted 21 May 2014 - 02:44 AM
Love this script! :D/>

Just want to let you know I managed to get openbee works with Industrial Apiary from Gendustry




I'm playing on a Resonate Rise 2.8.5.1 SMP server.
MrEmielH #168
Posted 21 May 2014 - 09:04 PM
Love this script! :D/>

Just want to let you know I managed to get openbee works with Industrial Apiary from Gendustry




I'm playing on a Resonate Rise 2.8.5.1 SMP server.
I did that to!!, great isn't it, I even edited some code to ad a mutatron to to system, so if the parents are purebred and not thes same specie, the chest drops them in a mutatron, and from there they are pumped in the apiary end the normal functions of the program continues, mutation garanteed, I post a screenie later (I can't atm, I am on my weak pc now)
Edited on 21 May 2014 - 07:07 PM
gamblerselite #169
Posted 22 May 2014 - 05:34 PM
having a slight issue with this program just wondering if i could get some help all i keep getting is openbee:837" attempt to call nill
MrEmielH #170
Posted 23 May 2014 - 05:30 PM
having a slight issue with this program just wondering if i could get some help all i keep getting is openbee:837" attempt to call nill
it is probably your config that is wrongly configured
stitchfurbix #171
Posted 27 May 2014 - 03:41 AM
Hi guys I'm wondering what I'm doing wrong to get the obsolete bees to output to the extra chest. I have it just as the picture to the left (facing setup), and am using the proxy like many others. Do I need to change the chest name as well and use a proxy on that one too?
MrEmielH #172
Posted 27 May 2014 - 04:18 PM
Hi guys I'm wondering what I'm doing wrong to get the obsolete bees to output to the extra chest. I have it just as the picture to the left (facing setup), and am using the proxy like many others. Do I need to change the chest name as well and use a proxy on that one too?
can you post a picture of your setup?
stitchfurbix #173
Posted 28 May 2014 - 05:40 AM
Sorry about that! It would have made it much more clear had I just done that in the first place.

My biggest wish with this setup would be integrating AE into the whole thing, but from what I'm reading its difficult or not possible.


Proxy going from computer to the chest, and I've tried a iron and a regular vanilla chest right where the iron chest is now.



MrEmielH #174
Posted 28 May 2014 - 04:24 PM
Sorry about that! It would have made it much more clear had I just done that in the first place.

My biggest wish with this setup would be integrating AE into the whole thing, but from what I'm reading its difficult or not possible.


Proxy going from computer to the chest, and I've tried a iron and a regular vanilla chest right where the iron chest is now.



The chest where you ditch the drones has to be in one line with your bee chest and your apiary, for example
A= Apiary
B= bee chest
D= ditch chest

this works:
ABD
this also works
D
B
A

and the chest were the prog puts the drops has to be configured in the config, the options are, down, up, and the 4 directions of the wind
this is relative to the apiary, sow if the productchest is below the apiary, set it to down, etc
ThatHohoGuy #175
Posted 29 May 2014 - 03:25 AM
I keep on getting "openbee:149: attempt to index ? (a nil value)" in the crackpack 1.5.0. Any ideas?

http://pastebin.com/12hUNYtT <-Log
MrEmielH #176
Posted 29 May 2014 - 09:40 AM
I keep on getting "openbee:149: attempt to index ? (a nil value)" in the crackpack 1.5.0. Any ideas?

http://pastebin.com/12hUNYtT <-Log
did your bee went correctly trough the analyzer, and you didn't rearrange the beechest while the prog was running?
Televiewed #177
Posted 30 May 2014 - 03:01 AM
This is awesome dude, I liked the previous version of this so I'll probably like this one too.
Gunner76th #178
Posted 04 June 2014 - 10:52 AM
I am not sure what is causing the issue, but when players on my server attempt to install the computer software they get this error We suspect it is because whatever URL is used within the openbee-install program needs to be whitelisted somewhere, but I have no idea as to where. Does anyone have any experience with this issue, and know how to resolve it?
MrEmielH #179
Posted 04 June 2014 - 08:15 PM
I am not sure what is causing the issue, but when players on my server attempt to install the computer software they get this error We suspect it is because whatever URL is used within the openbee-install program needs to be whitelisted somewhere, but I have no idea as to where. Does anyone have any experience with this issue, and know how to resolve it?
you need to enable http in the computercraft cfg
Gunner76th #180
Posted 04 June 2014 - 09:35 PM
I am not sure what is causing the issue, but when players on my server attempt to install the computer software they get this error We suspect it is because whatever URL is used within the openbee-install program needs to be whitelisted somewhere, but I have no idea as to where. Does anyone have any experience with this issue, and know how to resolve it?
you need to enable http in the computercraft cfg

This is currently in the config, on both the server and on the clients:

# Enable the "http" API on Computers (see "http_whitelist" for more fine grained control than this)
B:http_enable=true

# A semicolon limited list of wildcards for domains that can be accessed through the "http" API on Computers. Set this to "*" to access to the entire internet.
S:http_whitelist=*pastebin.com;*computercraft.info; *

Seems you have to remove everything except the "*" from the list to allow full access.

Got it working now though, thanks.
BookerTheGeek #181
Posted 06 June 2014 - 08:50 AM
So, this is my setup.
Spoiler

And this is my config,
Spoiler

And this is the error I get.
Spoiler

I'm lost and need help.
I'm playing FTB Unleashed 1.1.7 online, default configs.

What did I do wrong, and how can I fix it?
Edited on 06 June 2014 - 02:32 PM
MrEmielH #182
Posted 06 June 2014 - 04:59 PM
So, this is my setup.
Spoiler

And this is my config,
Spoiler

And this is the error I get.
Spoiler

I'm lost and need help.
I'm playing FTB Unleashed 1.1.7 online, default configs.

What did I do wrong, and how can I fix it?
If I am correct it must be "diamond_4" instead of "diamond_chest_4",
and bee.n.log is a plain text file and has to be approached different then a program, when you want to view it you just type edit bee.n.log
(n can be any number, depending on witch file you want to view)
let me know if changing that config option helpêd
Edited on 06 June 2014 - 03:00 PM
BookerTheGeek #183
Posted 06 June 2014 - 05:59 PM
~snip~

If I am correct it must be "diamond_4" instead of "diamond_chest_4",
and bee.n.log is a plain text file and has to be approached different then a program, when you want to view it you just type edit bee.n.log
(n can be any number, depending on witch file you want to view)
let me know if changing that config option helpêd

Here is what it says when I connect the modem to the proxy
Spoiler

But here is me trying the changed config
Spoiler

Me running the program. (Yes, I tried it with the "N" capitalized also)
Spoiler

And here is the new log
Spoiler

and the old log
Spoiler

No, it did not help. Am I using the correct computer? does it make a difference if it is an advanced computer or not?
Edited on 06 June 2014 - 06:34 PM
BookerTheGeek #184
Posted 08 June 2014 - 01:16 AM
Also, I am wondering if this setup would work on the multi-block version instead of the single block version?
MrEmielH #185
Posted 08 June 2014 - 10:59 AM
~snip~

If I am correct it must be "diamond_4" instead of "diamond_chest_4",
and bee.n.log is a plain text file and has to be approached different then a program, when you want to view it you just type edit bee.n.log
(n can be any number, depending on witch file you want to view)
let me know if changing that config option helpêd

Here is what it says when I connect the modem to the proxy
Spoiler

But here is me trying the changed config
Spoiler

Me running the program. (Yes, I tried it with the "N" capitalized also)
Spoiler

And here is the new log
Spoiler

and the old log
Spoiler

No, it did not help. Am I using the correct computer? does it make a difference if it is an advanced computer or not?
witch computer doesn't matter, but have you deleted the bee.config file before you ran the program again, because that file is prioritized above the config in the program itself, type "delete bee.config" and try again.

Also, I am wondering if this setup would work on the multi-block version instead of the single block version?
I think if you can get the siding correct, yes, but that can be difficult i think, but if you are interested, it does work with the industrial apiary from gendustry.
BookerTheGeek #186
Posted 08 June 2014 - 04:39 PM
~snip~
witch computer doesn't matter, but have you deleted the bee.config file before you ran the program again, because that file is prioritized above the config in the program itself, type "delete bee.config" and try again.

OK. I deleted the config file, broke the computer and tried again.

First, Installed program on new computer
Edited the program to make sure it said "diamond_4" where it should of said so.
Tried to run "openbee Noble", but got the same error.

So after that I replaced the computer and made sure there was no "bee.config", there wasn't.
Edited the program to say diamond_4, and then edited the config to say the same thing in the same place.
same problem when trying to run.

Repeated those step but with "diamond_chest_4", and same thing. also tried it with a normal wood chest and it made no difference.

And I would love to use that block from that mod, but I am playing on a server on the FTB Unleashed pack that does not have it
Edited on 08 June 2014 - 02:40 PM
MrEmielH #187
Posted 09 June 2014 - 12:39 PM
~snip~
witch computer doesn't matter, but have you deleted the bee.config file before you ran the program again, because that file is prioritized above the config in the program itself, type "delete bee.config" and try again.

OK. I deleted the config file, broke the computer and tried again.

First, Installed program on new computer
Edited the program to make sure it said "diamond_4" where it should of said so.
Tried to run "openbee Noble", but got the same error.

So after that I replaced the computer and made sure there was no "bee.config", there wasn't.
Edited the program to say diamond_4, and then edited the config to say the same thing in the same place.
same problem when trying to run.

Repeated those step but with "diamond_chest_4", and same thing. also tried it with a normal wood chest and it made no difference.

And I would love to use that block from that mod, but I am playing on a server on the FTB Unleashed pack that does not have it
your in 1.5? that explains it, in the update to 1.6 some functions in peripherals changed, "chest.getSizeInventory()" changed to "chest.getInventorySize" (thats the one called on line 837) and some others changed to, you could try replacing the old with the new ones but I don't know if all the functionality is possible in 1.5, but if I was you, I would try the older version, "bee breeding with attributes", I think it will run fine on unleashed
This also explains the difference between diamond_chest_0 en diamond_0.

I am sorry to dissapoint you
Edited on 09 June 2014 - 11:33 AM
BookerTheGeek #188
Posted 09 June 2014 - 07:25 PM
Darn…. Ok, thank you very much. I will try the other one. When I come back to 1.6 I will try this one again.
Ragazz01 #189
Posted 12 June 2014 - 10:09 AM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?

http://imgur.com/WcOh5iy
MrEmielH #190
Posted 13 June 2014 - 12:53 PM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?
Quote
http://imgur.com/WcOh5iy
it says "scanning 12 slots", so that means he thinks the analyzer is your bee chest, that's the only thing I can say with the information you give, can you post your bee.config, you program itself and a picture of you setup?
Ragazz01 #191
Posted 13 June 2014 - 01:11 PM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?
Quote
http://imgur.com/WcOh5iy
it says "scanning 12 slots", so that means he thinks the analyzer is your bee chest, that's the only thing I can say with the information you give, can you post your bee.config, you program itself and a picture of you setup?

I managed to fix that problem. I had changed wrong the directions in the program.
But now I'm having another problem. Every once in awhile this happens and the program stops:
http://i.imgur.com/jhos46L.png?1
http://i.imgur.com/GPqFaL0.png?1
MrEmielH #192
Posted 14 June 2014 - 01:30 PM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?
Quote
http://imgur.com/WcOh5iy
it says "scanning 12 slots", so that means he thinks the analyzer is your bee chest, that's the only thing I can say with the information you give, can you post your bee.config, you program itself and a picture of you setup?

I managed to fix that problem. I had changed wrong the directions in the program.
But now I'm having another problem. Every once in awhile this happens and the program stops:
http://i.imgur.com/jhos46L.png?1
http://i.imgur.com/GPqFaL0.png?1
The line that crashed tried to get information from the bee in slot 13, but slot 13 is empty, did you rearrange the chest while the program is running?
Ragazz01 #193
Posted 15 June 2014 - 04:11 AM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?
Quote
http://imgur.com/WcOh5iy
it says "scanning 12 slots", so that means he thinks the analyzer is your bee chest, that's the only thing I can say with the information you give, can you post your bee.config, you program itself and a picture of you setup?

I managed to fix that problem. I had changed wrong the directions in the program.
But now I'm having another problem. Every once in awhile this happens and the program stops:
http://i.imgur.com/jhos46L.png?1
http://i.imgur.com/GPqFaL0.png?1
The line that crashed tried to get information from the bee in slot 13, but slot 13 is empty, did you rearrange the chest while the program is running?
Nope , i did not. After the program ran the fuction that rearranges the bees in the chest, it made it with an empty slot when it wasn't supposed to. I reinstalled the program on the computer and it seems to work fine so far
MrEmielH #194
Posted 15 June 2014 - 09:21 AM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?
Quote
http://imgur.com/WcOh5iy
it says "scanning 12 slots", so that means he thinks the analyzer is your bee chest, that's the only thing I can say with the information you give, can you post your bee.config, you program itself and a picture of you setup?

I managed to fix that problem. I had changed wrong the directions in the program.
But now I'm having another problem. Every once in awhile this happens and the program stops:
http://i.imgur.com/jhos46L.png?1
http://i.imgur.com/GPqFaL0.png?1
The line that crashed tried to get information from the bee in slot 13, but slot 13 is empty, did you rearrange the chest while the program is running?
Nope , i did not. After the program ran the fuction that rearranges the bees in the chest, it made it with an empty slot when it wasn't supposed to. I reinstalled the program on the computer and it seems to work fine so far
okay, let me know if it does t again, i can't track the cause of it, if it is something that is a bug in the code, i have to contact McLeopold (the dev of the program), i haven't seen him in a while :(/>
Ragazz01 #195
Posted 16 June 2014 - 02:04 AM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?
Quote
http://imgur.com/WcOh5iy
it says "scanning 12 slots", so that means he thinks the analyzer is your bee chest, that's the only thing I can say with the information you give, can you post your bee.config, you program itself and a picture of you setup?

I managed to fix that problem. I had changed wrong the directions in the program.
But now I'm having another problem. Every once in awhile this happens and the program stops:
http://i.imgur.com/jhos46L.png?1
http://i.imgur.com/GPqFaL0.png?1
The line that crashed tried to get information from the bee in slot 13, but slot 13 is empty, did you rearrange the chest while the program is running?
Nope , i did not. After the program ran the fuction that rearranges the bees in the chest, it made it with an empty slot when it wasn't supposed to. I reinstalled the program on the computer and it seems to work fine so far
okay, let me know if it does t again, i can't track the cause of it, if it is something that is a bug in the code, i have to contact McLeopold (the dev of the program), i haven't seen him in a while :(/>
It happened again, and I noticed what causes it. It's easier with an example:
Imagine there is 1 bee not analyzed in slot 10, for example, and after analyzing it, that bee is exactly the same as the one in slot 5. What is gonna happen when the bee is placed back in the chest from the analyzer is that they are both gonna get stacked in slot 5 and slot 10 will be empty even if there were other bees in the slots after. Then it shows that error message like I posted.
MrEmielH #196
Posted 16 June 2014 - 03:55 PM
Hello, sorry that I'm new at this. I get this when I run the program, even that I have the chest with many princesses and drones of both forest and meadows. I'm using the diamond chest, connected it like you told to and changed the "top" to diamond_0 aswell.
Can someone help me please ?
Quote
http://imgur.com/WcOh5iy
it says "scanning 12 slots", so that means he thinks the analyzer is your bee chest, that's the only thing I can say with the information you give, can you post your bee.config, you program itself and a picture of you setup?

I managed to fix that problem. I had changed wrong the directions in the program.
But now I'm having another problem. Every once in awhile this happens and the program stops:
http://i.imgur.com/jhos46L.png?1
http://i.imgur.com/GPqFaL0.png?1
The line that crashed tried to get information from the bee in slot 13, but slot 13 is empty, did you rearrange the chest while the program is running?
Nope , i did not. After the program ran the fuction that rearranges the bees in the chest, it made it with an empty slot when it wasn't supposed to. I reinstalled the program on the computer and it seems to work fine so far
okay, let me know if it does t again, i can't track the cause of it, if it is something that is a bug in the code, i have to contact McLeopold (the dev of the program), i haven't seen him in a while :(/>
It happened again, and I noticed what causes it. It's easier with an example:
Imagine there is 1 bee not analyzed in slot 10, for example, and after analyzing it, that bee is exactly the same as the one in slot 5. What is gonna happen when the bee is placed back in the chest from the analyzer is that they are both gonna get stacked in slot 5 and slot 10 will be empty even if there were other bees in the slots after. Then it shows that error message like I posted.
aarh, that is a serious bug that has to be fixed for sure, why has anybody had this before, if that is really the cause it should be pretty common, i'll look into the code when i have time (having exams now, so not much time sadly :(/> ), life would be easy if McLeopold was around :(/>
you could post the bug on the github in the meantime, if McLeopold doesn't return i'll look if I can fix it
https://github.com/Forte40/openbee/issues?state=closed
thejigmeister #197
Posted 17 June 2014 - 12:42 PM
At first thank you for sharing this program.
Tough i got a small problem with it…
At the moment i use the setup with the diamond chest and all, and modified the top to the peripheral that is diamond_0 (As example)
It scans the chest, tough in no way it will analyze the bees first, before they are putted in the apiary again.
Can you please help me with this? As it now breeded a lot of bees i didnt want it to breed.
Thanks :)/>
MrEmielH #198
Posted 17 June 2014 - 04:56 PM
At first thank you for sharing this program.
Tough i got a small problem with it…
At the moment i use the setup with the diamond chest and all, and modified the top to the peripheral that is diamond_0 (As example)
It scans the chest, tough in no way it will analyze the bees first, before they are putted in the apiary again.
Can you please help me with this? As it now breeded a lot of bees i didnt want it to breed.
Thanks :)/>
is useAnalyzer turned on?
if so, can you post your bee.config, your openbee and a picture of your setup?
Tigsen #199
Posted 18 June 2014 - 04:15 AM
Love the program when it is working for me, but often, at least once every run I get a

analyzing bee xx open bee: 149: attempt to index ? (a nil value) error.

and can't seem to narrow it down on what is causing it.
MrEmielH #200
Posted 18 June 2014 - 05:28 AM
Love the program when it is working for me, but often, at least once every run I get a

analyzing bee xx open bee: 149: attempt to index ? (a nil value) error.

and can't seem to narrow it down on what is causing it.
that is the same issue Ragazz01 had, it is something internal, in other words a bug, this is what he said about it

It happened again, and I noticed what causes it. It's easier with an example:
Imagine there is 1 bee not analyzed in slot 10, for example, and after analyzing it, that bee is exactly the same as the one in slot 5. What is gonna happen when the bee is placed back in the chest from the analyzer is that they are both gonna get stacked in slot 5 and slot 10 will be empty even if there were other bees in the slots after. Then it shows that error message like I posted.

geez, why have i never seen this bug and suddenly it is everywhere
MrEmielH #201
Posted 22 June 2014 - 03:07 PM
I looked in the code and it may be easy to fix

function clearAnalyzer(inv)
  local invSlot = 1
  local bees = inv.getAllStacks()
  for analyzerSlot = 9, 12 do
	while bees[invSlot] ~= nil do
	  invSlot = invSlot + 1
	  if invSlot > inv.size then
		error("chest is full")
	  end
	end
	inv.pullItem(config.analyzerDir, analyzerSlot, 64, invSlot)
  end
end
this is the code that clears the analyzer, so this means that the bee goes into the slot it came from before it was scanned, this means that there was an empty slot before it scanned all the stuff, the only way to fix this is to rearrange the inventory before scanning all the stuff, does anyone know if there is something from open peripherals to do this? then this problem could fixed relatively fast


function waitApiary(inv, apiary)
  log("waiting for apiary")
  while apiary.getStackInSlot(1) ~= nil or apiary.getStackInSlot(2) ~= nil do
	log(".")
	sleep(5)
	if clearApiary(inv, apiary) > 0 then
	  -- breeding cycle done
	  break
	end
  end
  clearApiary(inv, apiary)
rearrangeChest() //this is where we should rearrange the chest, analyzing happens after this is done
  logLine()
end
Edited on 22 June 2014 - 01:08 PM
MrEmielH #202
Posted 22 June 2014 - 03:40 PM
I may have fixed it, can someone test this, i don't have acces to minecraft right now, the programs rearranges the chest now before scanning
http://pastebin.com/mWKuGjBK

pastebin get mWKuGjBK beeFix
Edited on 22 June 2014 - 01:41 PM
Tigsen #203
Posted 23 June 2014 - 02:26 PM
waiting for apiarybeeFix:682: attempt to call nil when trying to use beeFix program
Edited on 23 June 2014 - 12:27 PM
MrEmielH #204
Posted 23 June 2014 - 08:41 PM
and this one? http://pastebin.com/m8ZjPEFe
Tigsen #205
Posted 23 June 2014 - 11:13 PM
I is running now, will let you know how it goes shortly. TYVM for the effort and fixes.
Tigsen #206
Posted 23 June 2014 - 11:32 PM
Mostly works now it seems, but one in a while it places only a drone into it and not the princess.

if I take the drone out and put it in the chest it picks back up and works again

update:

Fairly often it fails to put in or take out the drone, I am tryig to see why and will let you know what I find
Edited on 23 June 2014 - 11:34 PM
Tigsen #207
Posted 25 June 2014 - 01:26 PM
Still trying to narrow down when and why it only sometimes does that. but still 99.9% of the time it works so I have to say Nicely Done and ty
MrEmielH #208
Posted 26 June 2014 - 12:38 PM
Still trying to narrow down when and why it only sometimes does that. but still 99.9% of the time it works so I have to say Nicely Done and ty
no problem, I like it if I can help people out :)/>, did that dug happen before the fix?
MrEmielH #209
Posted 26 June 2014 - 05:17 PM
if someone is interested, i have in my world a modified openbee-program that drops the couple in an mutatron from gendustry before dropping them in the appiary, if there is interest, i look if i can hook that in the main program with an config option to turn it off
the version I have running is too messy to be released but with a little effort that functionality could be added.

for everyone who doesn't know what a mutatron is, a mutatron is a device that forces a couple to mutate, if you put a forest drone and a meadows princess in the mutatron, the device will give you a common queen with a 100% chance, this device needs power and a special fluid mutagen in order to operate.
Edited on 26 June 2014 - 03:58 PM
Tigsen #210
Posted 26 June 2014 - 08:06 PM
The mutatron version would be greatly appreciated. I am thinking that the sometimes not doing to drone may be a server lag issue, on simple ones like noble it never happens. But on longer ones like radioactive it happens a lot. Still trying to make sure though.
MrEmielH #211
Posted 27 June 2014 - 09:22 AM
The mutatron version would be greatly appreciated. I am thinking that the sometimes not doing to drone may be a server lag issue, on simple ones like noble it never happens. But on longer ones like radioactive it happens a lot. Still trying to make sure though.
I really think it has to be a bug/lag on minecraft/mod their side, maybe i can work around it by adding a sleep, and I am working on the mutatron update, I think it will take about a week to finish
Edited on 27 June 2014 - 08:06 AM
Tigsen #212
Posted 01 July 2014 - 03:41 PM
Look forward to testing the mutatron version
MrEmielH #213
Posted 01 July 2014 - 06:03 PM
Bug testing phase, teaser incoming
Spoilerscreenshot




Lirai #214
Posted 05 July 2014 - 10:04 PM
Would it be possible to make your script avaible without installer as well? Playing on a server can cause some problems there. :D/>
MrEmielH #215
Posted 06 July 2014 - 11:21 AM
Would it be possible to make your script avaible without installer as well? Playing on a server can cause some problems there. :D/>
the reason we use installers is because updates can be on the same url, but all code is on the github, so you can get it there
Edited on 06 July 2014 - 09:21 AM
MrEmielH #216
Posted 06 July 2014 - 12:04 PM
I am searching people who can test the mutatron update before release, if you are interested, shoot me a pm!
zedalius #217
Posted 11 July 2014 - 05:06 PM
I am searching people who can test the mutatron update before release, if you are interested, shoot me a pm!
I can test it for you.
MrEmielH #218
Posted 13 July 2014 - 07:22 PM
I am searching people who can test the mutatron update before release, if you are interested, shoot me a pm!
I can test it for you.
i have send you a pm, thanks!
Damaged #219
Posted 18 July 2014 - 07:34 AM
Not sure if you can use any of my code, but here is a bee breeder that works with alvearies and has hardening to avoid halting due to server crashes/restarts.

If you want to use any of it feel free. There is info in the starting comments in regard to how to setup, you are going to need a JSON converter (link in the comments) (note: future versions will just download this themselves).

It also reads the facing (north, south, east, west) from either a manual setting in the program or you can specify it in the computer's label.

http://pastebin.com/eUe6qc3z
Edited on 18 July 2014 - 05:41 AM
MrEmielH #220
Posted 23 July 2014 - 07:26 AM
i am away from home atm, i will be home in a week and a half, then i'll look at your version Damaged. i'll look if i can merge it with the mutatron update
McLeopold #221
Posted 24 July 2014 - 07:22 PM
@MrEmielH: Bug merged. Sorry for the delay.
MrEmielH #222
Posted 27 July 2014 - 07:22 PM
no problem :)/>, where have you been?
i have a version of the program kinda working that can use a mutatron right now, I am in Italy right now and i will test it some more when i'm home
McLeopold #223
Posted 09 August 2014 - 12:30 AM
There is a new bee matron program included. It can bee used to automate honey production and track some stats. Check out the main post.
MrEmielH #224
Posted 09 August 2014 - 09:43 AM
so bee matron is another program that is used to get your production up and running, not to breed?
McLeopold #225
Posted 09 August 2014 - 09:56 AM
so bee matron is another program that is used to get your production up and running, not to breed?
Yes, and it will also help purify or convert princesses. Basically it will keep an apiary running non-stop; No need for pipes.
thomasd6 #226
Posted 10 August 2014 - 10:51 PM
I am getting an error with the proxy setup saying that the ditch chest is full. I don't know where the chest is supposed to go.
Deweyoxberg #227
Posted 11 August 2014 - 04:04 PM
Hi McLeopold,

Is OpenBee compatible with ComputerCraft 1.6.3 ? We updated CC recently and we get this now whenever we try to run openbee:

openbee:847: attempt to index ? (a nil value)

An error log is written:


openbee version 2.2.0
priority: specieseChance speed fertility nocturnal tolerance effect flowering flowerProiver territory
openbee:847: attempt to index ? (a nil value)

Any ideas?

I've tried re-installing openbee from scratch thinking there was an update to the base code.

The screenshot is facing south:

McLeopold #228
Posted 11 August 2014 - 07:03 PM
Hi McLeopold,

Is OpenBee compatible with ComputerCraft 1.6.3 ? We updated CC recently and we get this now whenever we try to run openbee:

openbee:847: attempt to index ? (a nil value)

An error log is written:


openbee version 2.2.0
priority: specieseChance speed fertility nocturnal tolerance effect flowering flowerProiver territory
openbee:847: attempt to index ? (a nil value)

Any ideas?

I've tried re-installing openbee from scratch thinking there was an update to the base code.

The screenshot is facing south:


It can't find your inventory. The chest direction looks like it should be "up" since the chest is on top. That is the default and you should be able to confirm in the bee.config file.
Deweyoxberg #229
Posted 11 August 2014 - 07:24 PM
Hi McLeoPold,

We haven't made any changes to the physical arrangement. Worked okay before CC 1.6.3 but here's the config:

{["chestSide"]="top",["chestDir"]="up",["productDir"]="down",["apiarySide"]="left",["analyzerDir"]="east",}
McLeopold #230
Posted 11 August 2014 - 09:22 PM
in lua do:


lua> inv = peripheral.wrap("top")
lua> inv.getInventorySize()

and paste what happens.
Deweyoxberg #231
Posted 11 August 2014 - 10:39 PM
As requested: lua:1: attempt to index ? (a nil value)

I tried all sides (top, left, right, front, back, bottom) and the end result was the same.
Edited on 11 August 2014 - 09:00 PM
flaghacker #232
Posted 11 August 2014 - 11:09 PM
As requested: lua:1: attempt to index ? (a nil value)

I tried all sides (top, left, right, front, back, bottom) and the end result was the same.

Then you don't have openperipherals installed.
Deweyoxberg #233
Posted 11 August 2014 - 11:18 PM
Hi Flag,

Actually I do; like I mentioned the only change we made was upgrading CC from 1.5 to 1.6.3. If I go back to CC 1.5, no issues.

Also:

OpenPeripheralAddons-0.1.1.jar
OpenPeripheralCore-0.3.1.jar

They're both installed and running
Deweyoxberg #234
Posted 11 August 2014 - 11:28 PM
Think I found the problem:


The latest release from computer craft makes it no longer compatible with the current version of open peripherals. As such using Computercraft and Turtles to create a semi-automated mystcraft portal system results in the turtle kicking the following error when it tries to send the inventory data of the chest to the computer "books:9: attempt to index ? (a nil value)"
It kicks this error, and then the turtle exits the program it was in. Is there any plans to update Operperiphals to be compatible with Computer craft release 1.63 on MC 1.6.4 ?
This is not a bug. Next release of OpenPeripheral will support CC 1.63

Source: https://github.com/O...eral/issues/166

Found this as well from the OpenPeripheral change log:

0.4
  • Feature: ComputerCraft 1.6 compatible version
  • Feature: common API for 1.5X and 1.6 CC versions
I will go update OpenPeripheral :)/>


-edit-

And that did the trick. Sweet! :D/>
Edited on 11 August 2014 - 09:42 PM
KingDonFlon #235
Posted 12 August 2014 - 09:33 AM
For some reason the Matron will stop working after a while, I have to manually reconnect one of the Proxy's Modem and it will work again. Anyone else got the same problem?
McLeopold #236
Posted 14 August 2014 - 05:48 PM
For some reason the Matron will stop working after a while, I have to manually reconnect one of the Proxy's Modem and it will work again. Anyone else got the same problem?
Do you get an error message or is the apiary count less than it was?
KingDonFlon #237
Posted 17 August 2014 - 10:55 PM
For some reason the Matron will stop working after a while, I have to manually reconnect one of the Proxy's Modem and it will work again. Anyone else got the same problem?
Do you get an error message or is the apiary count less than it was?

Nothing like this. I added a code to show me if the peripheral gets disconnected or anything, but nothing shows. It wont refill the Apiaries for some reason.. After reconnecting the modem on the first apiary in line, it refills them. As if it doesn't check the apiaries before.
McLeopold #238
Posted 19 August 2014 - 05:24 AM
For some reason the Matron will stop working after a while, I have to manually reconnect one of the Proxy's Modem and it will work again. Anyone else got the same problem?
Do you get an error message or is the apiary count less than it was?

Nothing like this. I added a code to show me if the peripheral gets disconnected or anything, but nothing shows. It wont refill the Apiaries for some reason.. After reconnecting the modem on the first apiary in line, it refills them. As if it doesn't check the apiaries before.

Make sure you turned all the modems on, including on the computer. It will display red and a chat message will show up giving you the peripheral name. Show me the code you added. Tell me the apiary count it does have. Try some testing in the lua interpreter to move stacks around the apiary to ensure you mod pack is compatible.
mrfrank #239
Posted 27 September 2014 - 11:18 AM
Will run through and analyze the bees, run once and then always tells me the ditch chest is full.

top
up
down
left
east

are my configs, using vanilla chests, setup just like the op with direction for the analyzer changed
d1red #240
Posted 22 December 2014 - 06:03 PM
im trying to use open bee in 1.7 using
computercraft 1.65
OpenModslib-1.7.10-0.6-snapshot-271
OpenPeripheralCore-1.7.10-0.5.0-snapshot-174
OpenPeripheralAddons-1.7.10-0.2.0-snapshot-141
OpenPeripheralIntegration-1.7.10-0.1.0-snapshot-18
the code throws no errors, it just moves all the bees to the top most chest and then asks for more bees
Edited on 22 December 2014 - 06:46 PM
DigiMe #241
Posted 03 February 2015 - 06:07 PM
Any way to get this to work with the Direwolf20 1.7.10 pack?
McLeopold #242
Posted 04 February 2015 - 07:54 PM
im trying to use open bee in 1.7 using
computercraft 1.65
OpenModslib-1.7.10-0.6-snapshot-271
OpenPeripheralCore-1.7.10-0.5.0-snapshot-174
OpenPeripheralAddons-1.7.10-0.2.0-snapshot-141
OpenPeripheralIntegration-1.7.10-0.1.0-snapshot-18
the code throws no errors, it just moves all the bees to the top most chest and then asks for more bees

OpenPeripherals was updated and changed the name of a bunch of properties. OpenBee has been updated and should work now. It thought all of the bees were product and moved them.

P.S. Everyone should complain to Mikey or whoever is maintaining openp to stop changing properties names for no reason. They've changed "beeInfo" to "individual", "rawName" to "raw_name" and "displayName" to "display_name" on the item put kept "displayName" on the bee, which is inconsistent.

Any way to get this to work with the Direwolf20 1.7.10 pack?
This was just tested in the DireWolf 1.7.10 pack and works now.

Run the following to get the updates:
openbee-install
Edited on 04 February 2015 - 06:54 PM
Thaeyk #243
Posted 19 February 2015 - 12:01 PM
I ran it on the dw20 1.7.10 pack. It works fine, kinda. I have to start with the bees in the apirary and after a while it decides to not keep breeding the bees, it just keeps asking for princesses. I targeted imperial, and it stopped when there's a common princess, common drone and a diligent drone. Something isn't right here. The only way to fix it is to manually breeding the bees and then running the program again.
Uncertified Robot #244
Posted 13 March 2015 - 07:47 PM
Even with a setup facing the same direction as the default, with a double chest I'm getting the message: openbee: 108: slot id (27) must be less than size (27) If I use a half chest I don't get that message, and bees are pushed to the analyzer and back to the chest correctly, but then don't get pushed down into the apiary because there's only a half chest that doesn't cover the apiary.

First, get the new update. Second, try a setup like this with a proxy block and change the chestSide variable to "diamond_0" or whatever the name of it is after right-clicking on the wired modem. Also, this new version doesn't need an analyzer, so you can get started with breeding after finding your first piece of redstone and a few bees in a new world. (It doesn't make as good of decisions, but at least you can get to cultivated by the time you have a diamond and bronze.)

Front Side

Replace the double chest with a single chest of any size. Move the analyzer to still be next to the chest.



Back Side

Place a proxy block facing the new chest. Connect the computer to the proxy block and right-click each modem to turn on. You'll get a chat message displaying the name of the peripheral. Modify the script to use the chest peripheral name instead of "top".


I'm using that setup, but I get this error:
openbee:642: Other inventory not found
iwantspeed #245
Posted 23 March 2015 - 12:51 PM
im trying to run this program on a rr3 3.2.40 server and i get this when i do openbee-install
http://i.imgur.com/qftEjHU.png
Horriblefate #246
Posted 14 April 2015 - 03:46 AM
I'm using that setup, but I get this error:
openbee:642: Other inventory not found


I am getting this as well, any possible future fixes?


Matron seems to work fine however


using Direwolf20 1.7.10 (latest 1.2.1)
Edited on 14 April 2015 - 01:55 AM
Slackratchet #247
Posted 02 May 2015 - 05:01 PM
I'm using that setup, but I get this error:
openbee:642: Other inventory not found


I am getting this as well, any possible future fixes?


Matron seems to work fine however


using Direwolf20 1.7.10 (latest 1.2.1)


I was also getting this error until I modified the bee.config file. I changed the value of Other Inventory from "top" to the name of the proxy gave me which in my case was "container_chest_0". I had missed that step in the directions when I first read it. Turning on the modems helped too.
Horriblefate #248
Posted 04 May 2015 - 01:03 AM
I was also getting this error until I modified the bee.config file. I changed the value of Other Inventory from "top" to the name of the proxy gave me which in my case was "container_chest_0". I had missed that step in the directions when I first read it. Turning on the modems helped too.

by "Other Inventory" do you mean "chestSide"? 'cause that's what ive been changing to my storage name "diamond_0" *shug*
Slackratchet #249
Posted 05 May 2015 - 02:55 AM
I got it to work for a time but after a server reset I have been unable to get them to repair. I have no idea why.
jaspercayne #250
Posted 08 May 2015 - 05:42 PM
I am going completely insane over this thing…. Running FTB Infinity 1.7, updated OpenPeripherals to the latest, but I still cannot seem to get anything to function at all. Openbee never starts up, and always throws back some error or another. I edited bee.config to use the positions I have in my test world, and now it always kicks a nil index error at line 847. The matron program also throws a nil index error at line 60. It will observe a single generation of breeding, then move the princess to the chest above, leaving whatever drones are still in there, then kick the nil index at me. It does this with the first apiary it finds, preventing it from moving to the next one in the line. I've set everything up exactly as it is in the screenshots from page 1, both with and without proxies. I can provide screencaps if requested, but you can just look at the pics on page 1 to see what my setup looks like.

EDIT: Quick update on my progress - I now have managed to get openbee to progress slightly further using the proxy setup, but now at 642 it gives an error about input slot 8 needing to be less than zero? How is that even possible?

EDIT 2: Quick question as well, why do I not have permission to delete the log files?
Edited on 08 May 2015 - 04:21 PM
Horriblefate #251
Posted 09 May 2015 - 04:53 AM
EDIT 2: Quick question as well, why do I not have permission to delete the log files?


i can't help with much else but i know that if you reboot the computer/turtle you're able to delete them
KingofGamesYami #252
Posted 09 May 2015 - 02:22 PM
EDIT 2: Quick question as well, why do I not have permission to delete the log files?

Most likely the program opens them when it runs, and never bothers to close them. This is typically something to be avoided, as it has side effects (such as not having permission to edit / delete / move the file while it's open).
Slackratchet #253
Posted 11 May 2015 - 06:10 PM
I've been messing about with this for a while and I've gotten it working for me. It seems that occasionally the code goes to ditch a bee and for whatever reason sends it up from the top chest. Obviously there is not normally something there so this causes the Other Inventory not Found error. I just put something with an inventory on top of the top left chest, in my case a generic turtle I had handy, and it works, or at least it has worked for the last few hours or so.
Horriblefate #254
Posted 17 May 2015 - 03:44 PM
I've been messing about with this for a while and I've gotten it working for me. It seems that occasionally the code goes to ditch a bee and for whatever reason sends it up from the top chest. Obviously there is not normally something there so this causes the Other Inventory not Found error. I just put something with an inventory on top of the top left chest, in my case a generic turtle I had handy, and it works, or at least it has worked for the last few hours or so.


I'd be curious to see your setup and config if you'd allow.. im starting to think this hates me, although we used to be such good friends lol
Slackratchet #255
Posted 18 May 2015 - 04:48 PM
The overall config is just as described previously. I just stuck a container of some kind on top of the normal chest. The Tesseract on the right is just for power. There is a chest under the apiary that you can't see but that's part of the normal config. Ive had no problems breeding anything I've tried since I added this extra top inventory,


Sure. This is the front.


This is the back


And this is a shot of the bee.config
Edited on 18 May 2015 - 02:49 PM
Horriblefate #256
Posted 18 May 2015 - 07:13 PM
Well, i'll be damned it's working now, i appreciate it :D/>
CaptiveCreeper #257
Posted 23 May 2015 - 08:12 PM
I also get the other inventory not found error but it is at line 456 and when i put another chest on top of the normal one it just throws the contents of the bottom (original) chest to the top(new one to fix the error) chest. 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.

Edit: I am using Direwolf 1.7.10 version 1.3.1
Edited on 23 May 2015 - 06:13 PM
CaptiveCreeper #258
Posted 23 May 2015 - 08:49 PM
I also can't get the matron to work. I have 12 apiaries connected all have iron chests on top and it throws the error matron:60: table expected, got nil. i have drones and either a princess or a queen in all of the apiaries. I don't understand why the error is being thrown any help will be appreciated.
Feldherren #259
Posted 26 May 2015 - 07:42 PM
I've been making some headway on fixing Matron for the current version of FTB Infinity (1.7.10). The code is here: http://pastebin.com/ayVFNZJm

The problem regarding tables is that items are… well, tables. The original Matron code isn't treating them as such (instead treating them as objects and variables in objects). If you're familiar with Python, you could call them dicts.
So where original-Matron has bee.raw_name, ComputerCraft actually wants bee["raw_name"]; the error 'table expected; got nil' likely happens because of that kind of thing.
That said, as indicated by the title this code doesn't quite work. As far as I can tell it isn't pushing items to the correct slot and is instead just pushing them to wherever in the box. Then, because the princess and drone are not in the expected slots, it fails to pull a princess and drone in and just gets stuck at that point, failing to increment generation.
I've been trying to work out why Apiaries are failing to push to the specified slot, as Chests controlled by a computer do manage it with the same command, but I'm having no luck. I may just have the apiary scan the chest inventory and pick up one each of the first drone and princess it comes across, unless anyone has any clues.
Edited on 26 May 2015 - 06:05 PM
KingofGamesYami #260
Posted 27 May 2015 - 04:39 AM
The problem regarding tables is that items are… well, tables. The original Matron code isn't treating them as such (instead treating them as objects and variables in objects). If you're familiar with Python, you could call them dicts.
So where original-Matron has bee.raw_name, ComputerCraft actually wants bee["raw_name"]; the error 'table expected; got nil' likely happens because of that kind of thing.

Tables are objects, at least in lua. bee.raw_name will work, so will bee["raw_name"]. The error "table expected, got nil" would happen when a function expecting a table is handed nil instead.
effervescent #261
Posted 30 May 2015 - 02:43 AM
I'm playing on FTB Infinity 1.4.1 and I am getting the issue where all bees are kicked into the product chest. Even when I can get the bees to remain in their chest, the program doesn't recognize that any are there and just asks for more bees. Am I just overlooking something here, or is there some sort of code incompatibility?
Hiran #262
Posted 03 June 2015 - 05:52 PM
Looking through the code didnt give me the slightest idea how you get bee data from analyzed bees. Could you explain how does this work?
Neferi #263
Posted 04 June 2015 - 06:04 PM
same here had the 456 problem … and if i put a chest ontop of the top chest it just spits all bee's there and asks for more …

been messing now for 4 hours and can't get it to work .. everything is exactly as you showed
Neferi #264
Posted 04 June 2015 - 06:21 PM
I also get the other inventory not found error but it is at line 456 and when i put another chest on top of the normal one it just throws the contents of the bottom (original) chest to the top(new one to fix the error) chest. 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.

Edit: I am using Direwolf 1.7.10 version 1.3.1

exactly the same … also on direwolf 1.3.1 .. you got a fix yet ?
CaptiveCreeper #265
Posted 04 June 2015 - 10:53 PM
Sadly no i have not figured it out. I am waiting for somebody else to figure it out because i spent awhile trying to figure it out with no success.
RikuSS4 #266
Posted 11 June 2015 - 09:44 AM
Even with a setup facing the same direction as the default, with a double chest I'm getting the message: openbee: 108: slot id (27) must be less than size (27) If I use a half chest I don't get that message, and bees are pushed to the analyzer and back to the chest correctly, but then don't get pushed down into the apiary because there's only a half chest that doesn't cover the apiary.

First, get the new update. Second, try a setup like this with a proxy block and change the chestSide variable to "diamond_0" or whatever the name of it is after right-clicking on the wired modem. Also, this new version doesn't need an analyzer, so you can get started with breeding after finding your first piece of redstone and a few bees in a new world. (It doesn't make as good of decisions, but at least you can get to cultivated by the time you have a diamond and bronze.)

Front Side

Replace the double chest with a single chest of any size. Move the analyzer to still be next to the chest.



Back Side

Place a proxy block facing the new chest. Connect the computer to the proxy block and right-click each modem to turn on. You'll get a chat message displaying the name of the peripheral. Modify the script to use the chest peripheral name instead of "top".


I'm using that setup, but I get this error:
openbee:642: Other inventory not found

I did this but also placed a chest on top of the top chest, for unneeded bees, and one under the apiary, for product. I also modified the program. The function getAllStacks seems to have changed. I recreated what I assume it does and replaced all inv.getAllStacks() with getAllStacks(inv), and apiary.getAllStacks() with getAllStacks(apiary). I also replaced the config to refer to the chest by name attached with peripheral proxy. Pastebin is at http://pastebin.com/8stHYBau.
Neferi #267
Posted 11 June 2015 - 11:28 AM
Soo i gess no one knows what is wrong here … shame would have loved to use this … looks kickass
CloudKitteh #268
Posted 23 June 2015 - 03:51 AM
Yea. Got the same problem as you guys. It just shifts it up to the chest above it.
LuminaryXion #269
Posted 23 June 2015 - 06:14 PM
Hi! I LOVE the OpenBee program. You're pretty much brought me into the computercraft world in minecraft. :D/>

I have a couple of requests for future developments in the program- I would like to request that queen support be added if at all possible. in short- please keep queen versions of the reference bees so as to save space (one spot instead of two) and my final product of a perfect princess and drone- sometimes it's hard to tell which bees they are in the chest! So having those come out as a queen so I just grab the queen and I'm good to go! :D/>

I love the idea of the matron program as well, but I can't get it to use the chests properly. Will be watching for when it becomes a bit more userfriendly. ^_^/>

Thanks for this great program! I can't imagine trying to breed bees without it!
CloudKitteh #270
Posted 23 June 2015 - 10:56 PM
Yea. If I put in a Forest Princess and a Meadows Drone all it does now is move it from the bottom chest to the one above it. I am on FTB Infinity 1.6.2 OpenPeripherals 0.3.1 CC 1.73
LuminaryXion #271
Posted 25 June 2015 - 06:04 AM
Hi Again! I have a couple more ideas for the program. My first idea is about the reference bees again- if storing them as queens is impossible, perhaps setting up a more organized storing method would be possible? Being able to see the relevant princess and drone next to eachother would be help (bonus that it would satisfy my OCD!)

My 2nd idea is about a refinement mode. Perhaps if we were to run the openbee program without a parameter it would first analyze the bees in the system and try to determine the best possible feature combination of traits from what is available in the chest. Then it would attempt to recreate better versions of the reference bees wherever possible!

My 3rd idea/1st complaint is about the festive bee branch- I ran the openbee program without a parameter and it attempted to target a bee that can only be bred in April. Obviously that's not gonna happen (it's June)
Is it possible to set the festive bees to be targeted only on the days when they can be bred, or to set them to final priority in the system- provided it cannot breed any other kinds of bees?

Thanks again for a lifesaving program!
pogof #272
Posted 28 June 2015 - 08:34 AM
Hi,

I have a problem, the copmuter still saying: add more princesses. But I add like 10 different with drones and disable reference bees and still asking for more. Also I had problems with chests but I managed it.

My setup:

CH-chest
AP-apiary
AN-analyzer
PC-computer

__ CH CH
__ CH CH AN
CH AP PC

I run on Direwolf20 pack 1.7.10

Thanks,
-pogof
Edited on 28 June 2015 - 06:35 AM
CloudKitteh #273
Posted 29 June 2015 - 11:28 PM
Hi,

I have a problem, the copmuter still saying: add more princesses. But I add like 10 different with drones and disable reference bees and still asking for more. Also I had problems with chests but I managed it.

My setup:

CH-chest
AP-apiary
AN-analyzer
PC-computer

__ CH CH
__ CH CH AN
CH AP PC

I run on Direwolf20 pack 1.7.10

Thanks,
-pogof
This is the exact same problem I have w/ the same setup, but inside of the FTB Infinity 1.6.2 for MC 1.7.10

If I put them in the Apiary however, the program says waiting for Apiary but when finished decides not to analyze and puts them directly into the products chest.

And is there a way to make this work w/ gendustry apiaries?

Anyone have any ideas on why this is happening, or is this thread dead?
Edited on 29 June 2015 - 09:38 PM
pogof #274
Posted 01 July 2015 - 03:32 PM
mew99: gendustry apiary (I think) is same as normal one but it need power. Sides etc. is same and if not there will be just some small tweeks like change number of slot/s etc.


And I hope this thread is not dead! Its great program.
LuminaryXion #275
Posted 09 July 2015 - 04:26 PM
im trying to run this program on a rr3 3.2.40 server and i get this when i do openbee-install
http://i.imgur.com/qftEjHU.png

Did anyone ever get back to you?

After you install, you have to run the "openbee" app, and optionally tell it what breed of bee you want.

Hope you're enjoying it!
McLeopold #276
Posted 11 July 2015 - 01:19 AM
I did this but also placed a chest on top of the top chest, for unneeded bees, and one under the apiary, for product. I also modified the program. The function getAllStacks seems to have changed. I recreated what I assume it does and replaced all inv.getAllStacks() with getAllStacks(inv), and apiary.getAllStacks() with getAllStacks(apiary). I also replaced the config to refer to the chest by name attached with peripheral proxy. Pastebin is at http://pastebin.com/8stHYBau.

Thx, I've update the program to reflect the change in api.

Yea. Got the same problem as you guys. It just shifts it up to the chest above it.

So you are fixed now!

im trying to run this program on a rr3 3.2.40 server and i get this when i do openbee-install
http://i.imgur.com/qftEjHU.png

I'm guessing the http_whitelist config setting in ComputerCraft.cfg is blocking github.com. Switch it to "S:http_whitelist=*" for maximum fun.
McLeopold #277
Posted 11 July 2015 - 01:35 AM
Hi! I LOVE the OpenBee program. You're pretty much brought me into the computercraft world in minecraft. :D/>
–snip–
please keep queen versions of the reference bees so as to save space
–snip–
I love the idea of the matron program as well, but I can't get it to use the chests properly.
–snip–
Being able to see the relevant princess and drone next to eachother would be help (bonus that it would satisfy my OCD!)
–snip–
Perhaps if we were to run the openbee program without a parameter it would first analyze the bees in the system and try to determine the best possible feature combination of traits from what is available in the chest. Then it would attempt to recreate better versions of the reference bees wherever possible!
–snip–
My 3rd idea/1st complaint is about the festive bee branch- I ran the openbee program without a parameter and it attempted to target a bee that can only be bred in April
You can't move a queen out of the queen slot of an apiary. You can only pull from slots 3-9 which is the output area. So I can't store queens for reference bees. I will look into organizing them for you during any waiting phase. What is your OCD going to say about a queen in slot 9 and a drone in slot 10 once you get your 5th reference pair?

Openbee can already do refinement. Pass in the traits in order and the target species. You can get the list of traits from the top of the code. I don't want it to refine with no parameters, most people just want to breed new species and use other techniques for refining.

The matron program should be easy to setup. Chest on top of apiary. Perhaps it was the openp API change that broke it?
LuminaryXion #278
Posted 11 July 2015 - 10:56 AM
Has anyone made this work with an industrial apiary from GenDustry? :D/>


Edit: I was able to get it working with the industrial apiary with minimal changes! For reference, you only need to change this:

  for slot = 7, 15 do

Which can be found in context here:

-- interaction functions --------------
function clearApiary(inv, apiary)
  local bees = getAllBees(apiary)
  -- wait for queen to die
  if (bees[1] ~= nil and bees[1].raw_name == "item.for.beequeenge")
	  or (bees[1] ~= nil and bees[2] ~= nil) then
    log("waiting for apiary")
    while true do
	  sleep(5)
	  bees = getAllBees(apiary)
	  if bees[1] == nil then
	    break
	  end
	  log(".")
    end
  end
  logLine()
  for slot = 7, 15 do
    local bee = bees[slot]
    if bee ~= nil then
	  if bee.raw_name == "item.for.beedronege" or bee.raw_name == "item.for.beeprincessge" then
	    apiary.pushItem(config.chestDir, slot, 64)
	  else
	    apiary.pushItem(config.productDir, slot, 64)
	  end
    end
  end
end

I also connected it with a wired modem and called it out in my config file, though I can't say if that was truly necessary or not.
Edited on 18 July 2015 - 09:28 AM
LuminaryXion #279
Posted 18 July 2015 - 11:23 AM
Thanks so much for replying! I certainly understand the presence of limitations of the machines, so I appreciate you taking the time to explain for me.

You can't move a queen out of the queen slot of an apiary. You can only pull from slots 3-9 which is the output area. So I can't store queens for reference bees. I will look into organizing them for you during any waiting phase. What is your OCD going to say about a queen in slot 9 and a drone in slot 10 once you get your 5th reference pair?

Having them in order like you're describing would be perfectly acceptable! Especially since Diamond chests have 12 spaces across- so it works out evenly. ^_^/>

Will there also be some way of highlighting the finished bee when we're targeting a specific breed? Like when it detects that purebreed state and stops running; have it put the targeted princess and drone into slots 1&amp;2? Just an idea. I struggle sometimes with identifying the "purebred" bees among the mixed bees that it created in the process of getting there.

Openbee can already do refinement. Pass in the traits in order and the target species. You can get the list of traits from the top of the code. I don't want it to refine with no parameters, most people just want to breed new species and use other techniques for refining.

I am able to ask it to use traits as a tiebreaker- but I am unable to pass it traits.


The matron program should be easy to setup. Chest on top of apiary. Perhaps it was the openp API change that broke it?

The issue I'm having with Matron is the same as this here;
As far as I can tell it isn't pushing items to the correct slot and is instead just pushing them to wherever in the box. Then, because the princess and drone are not in the expected slots, it fails to pull a princess and drone in and just gets stuck at that point, failing to increment generation.

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.
CloudKitteh #280
Posted 21 July 2015 - 07:13 PM
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
McLeopold #281
Posted 21 July 2015 - 07:52 PM
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 on 22 July 2015 - 06:13 PM
McLeopold #282
Posted 21 July 2015 - 08:05 PM
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/OpenMods/OpenPeripheral-Addons/issues/28
Are you on the latest version?
LuminaryXion #283
Posted 26 July 2015 - 05:24 AM
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!
McLeopold #284
Posted 28 July 2015 - 12:05 AM
… 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.
bg1987 #285
Posted 06 August 2015 - 09: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 on 09 August 2015 - 04:26 PM
McLeopold #286
Posted 13 August 2015 - 01:06 AM
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?
D3matt #287
Posted 06 September 2015 - 07:50 PM
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?
D3matt #288
Posted 12 September 2015 - 03:37 AM
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 on 12 September 2015 - 01:38 AM
Dewey #289
Posted 18 September 2015 - 04: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?
D3matt #290
Posted 22 September 2015 - 06:00 AM
Any ideas?
I just reported this issue here: https://github.com/OpenMods/OpenPeripheral-Integration/issues/19 so keep an eye out for a fix. That's about all we can do.
Dewey #291
Posted 22 September 2015 - 01: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.
Dewey #292
Posted 23 September 2015 - 09:14 PM
Boq @ OpenPeripherals had the following to say on the subject:


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.
Dewey #293
Posted 24 September 2015 - 02: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.
Dewey #294
Posted 24 September 2015 - 04: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 on 24 September 2015 - 02:05 PM
Dewey #295
Posted 24 September 2015 - 04: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.
Dewey #296
Posted 24 September 2015 - 05:13 PM
Temp fix:

Downgrade to magicbees-1.7.10-2.3.1
D3matt #297
Posted 25 September 2015 - 05:18 AM
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.
Dewey #298
Posted 26 September 2015 - 06:21 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!
This one is already reported and fixed in a recent snapshot.

Do you know which snapshot version?
D3matt #299
Posted 30 September 2015 - 03:02 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!
This one is already reported and fixed in a recent snapshot.

Do you know which snapshot version?
I think snapshot 76 of OpenPeripherals.
GManNo99 #300
Posted 04 October 2015 - 02: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
Dewey #301
Posted 31 October 2015 - 12:20 PM
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.
McLeopold #302
Posted 02 November 2015 - 08:19 PM
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/Forte40/openbee/blob/master/openbee.lua#L225

Line 225 looks like a comment, which indicates you are not on the lastest version. Run openbee-install and try again.
Dewey #303
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.
chanzie #304
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
Dewey #305
Posted 08 November 2015 - 11:32 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

This is a problem earlier reported on Page 15:

http://www.computercraft.info/forums2/index.php?/topic/17658-bee-breeding-with-openperipherals-now-with-bee-matron/page__view__findpost__p__232787
omglolbah #306
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?
TemporalWolf #307
Posted 04 February 2016 - 04:13 PM
*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 on 04 February 2016 - 11:38 PM
gScottSingleton #308
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.
Olvar #309
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 on 26 March 2016 - 12:14 AM
asdfghjkl #310
Posted 27 April 2016 - 04: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 on 27 April 2016 - 07:53 PM
bgarrison25 #311
Posted 26 May 2016 - 08:21 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.

Months later and I am still getting this issue. Something about a method not existing? weird.
bgarrison25 #312
Posted 27 May 2016 - 07: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.
Lyqyd #313
Posted 27 May 2016 - 09:36 PM
Nope. OpenPeripherals proudly only provides documentation in-game. Or you could dig through their source code, I suppose!
apemanzilla #314
Posted 27 May 2016 - 10:02 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.
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.
ankenyr #315
Posted 28 May 2016 - 08: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.
Second_Fry #316
Posted 07 July 2016 - 01: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 on 07 July 2016 - 09:43 AM
justify #317
Posted 07 July 2016 - 02: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"
Bomb Bloke #318
Posted 08 July 2016 - 12:33 AM
http://www.computercraft.info/forums2/index.php?/topic/17658-bee-breeding-with-openperipherals-now-with-bee-matron/page__view__findpost__p__170001
Second_Fry #319
Posted 08 July 2016 - 05: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?
Bomb Bloke #320
Posted 09 July 2016 - 02:54 AM
Yeah, that'd be best.
Horriblefate #321
Posted 01 November 2016 - 09:19 PM
I still use this program all the time and i love it to death :D/>


i just have a small side request/question, how hard would it be to put the bee info output (see image) into a nifty nice viewable format with lines and whatnot almost like a spreadsheet?
Muuhu #322
Posted 30 November 2016 - 01:51 PM
Anyone knows if this still works, ive been trying the setup as guided. But get the error "analyser direction incorrect." I have tried every direction, i simply dont understand how its supposed to work. any help apreciated.