Jump to content




Bee Breeding with OpenPeripherals (now with Bee Matron)


  • You cannot reply to this topic
321 replies to this topic

#81 Pixelmnkey

  • Members
  • 31 posts

Posted 02 April 2014 - 02:45 PM

View PostMrEmielH, on 02 April 2014 - 02:39 PM, said:

View PostPixelmnkey, on 02 April 2014 - 12:40 PM, said:

View PostMrEmielH, on 02 April 2014 - 12:18 PM, said:

View PostPixelmnkey, on 02 April 2014 - 10:55 AM, said:

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.

#82 NerdimusPrime

  • Members
  • 21 posts

Posted 02 April 2014 - 02:53 PM

View PostPixelmnkey, on 02 April 2014 - 02:45 PM, said:

View PostMrEmielH, on 02 April 2014 - 02:39 PM, said:

View PostPixelmnkey, on 02 April 2014 - 12:40 PM, said:

View PostMrEmielH, on 02 April 2014 - 12:18 PM, said:

View PostPixelmnkey, on 02 April 2014 - 10:55 AM, said:

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").

#83 Pixelmnkey

  • Members
  • 31 posts

Posted 02 April 2014 - 03:15 PM

View PostNerdimusPrime, on 02 April 2014 - 02:53 PM, said:

View PostPixelmnkey, on 02 April 2014 - 02:45 PM, said:

View PostMrEmielH, on 02 April 2014 - 02:39 PM, said:

View PostPixelmnkey, on 02 April 2014 - 12:40 PM, said:

View PostMrEmielH, on 02 April 2014 - 12:18 PM, said:

View PostPixelmnkey, on 02 April 2014 - 10:55 AM, said:

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.

#84 MrEmielH

  • Members
  • 70 posts

Posted 02 April 2014 - 03:22 PM

View PostPixelmnkey, on 02 April 2014 - 03:15 PM, said:

View PostNerdimusPrime, on 02 April 2014 - 02:53 PM, said:

View PostPixelmnkey, on 02 April 2014 - 02:45 PM, said:

View PostMrEmielH, on 02 April 2014 - 02:39 PM, said:

View PostPixelmnkey, on 02 April 2014 - 12:40 PM, said:

View PostMrEmielH, on 02 April 2014 - 12:18 PM, said:

View PostPixelmnkey, on 02 April 2014 - 10:55 AM, said:

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

#85 McLeopold

  • Members
  • 123 posts

Posted 02 April 2014 - 03:23 PM

View Postkeramond, on 02 April 2014 - 02:11 PM, said:

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.

#86 MrEmielH

  • Members
  • 70 posts

Posted 02 April 2014 - 03:24 PM

View PostMrEmielH, on 02 April 2014 - 03:22 PM, said:

View PostPixelmnkey, on 02 April 2014 - 03:15 PM, said:

View PostNerdimusPrime, on 02 April 2014 - 02:53 PM, said:

View PostPixelmnkey, on 02 April 2014 - 02:45 PM, said:

View PostMrEmielH, on 02 April 2014 - 02:39 PM, said:

View PostPixelmnkey, on 02 April 2014 - 12:40 PM, said:

View PostMrEmielH, on 02 April 2014 - 12:18 PM, said:

View PostPixelmnkey, on 02 April 2014 - 10:55 AM, said:

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?

#87 McLeopold

  • Members
  • 123 posts

Posted 02 April 2014 - 03:49 PM

View PostPixelmnkey, on 02 April 2014 - 10:55 AM, said:

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?

#88 McLeopold

  • Members
  • 123 posts

Posted 02 April 2014 - 04:09 PM

View PostMcLeopold, on 01 April 2014 - 04:59 PM, said:

View PostMcLeopold, on 31 March 2014 - 06:57 PM, said:

View PostMrEmielH, on 31 March 2014 - 06:53 PM, said:

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.

#89 Pixelmnkey

  • Members
  • 31 posts

Posted 02 April 2014 - 04:19 PM

View PostMcLeopold, on 02 April 2014 - 03:49 PM, said:

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?

#90 apemanzilla

  • Members
  • 1,421 posts

Posted 02 April 2014 - 05:58 PM

View PostMcLeopold, on 02 April 2014 - 04:09 PM, said:

View PostMcLeopold, on 01 April 2014 - 04:59 PM, said:

View PostMcLeopold, on 31 March 2014 - 06:57 PM, said:

View PostMrEmielH, on 31 March 2014 - 06:53 PM, said:

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.

#91 MrEmielH

  • Members
  • 70 posts

Posted 02 April 2014 - 07:14 PM

View PostPixelmnkey, on 02 April 2014 - 04:19 PM, said:

View PostMcLeopold, on 02 April 2014 - 03:49 PM, said:

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

#92 keramond

  • Members
  • 13 posts

Posted 03 April 2014 - 02:46 PM

hello

pastebin to the logfile
http://pastebin.com/MjNvHuHd

#93 McLeopold

  • Members
  • 123 posts

Posted 03 April 2014 - 03:10 PM

View Postkeramond, on 03 April 2014 - 02:46 PM, said:

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 by McLeopold, 03 April 2014 - 03:29 PM.


#94 MrEmielH

  • Members
  • 70 posts

Posted 03 April 2014 - 03:57 PM

View PostMcLeopold, on 03 April 2014 - 03:10 PM, said:

View Postkeramond, on 03 April 2014 - 02:46 PM, said:

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?

#95 apemanzilla

  • Members
  • 1,421 posts

Posted 03 April 2014 - 05:08 PM

View PostMrEmielH, on 03 April 2014 - 03:57 PM, said:

View PostMcLeopold, on 03 April 2014 - 03:10 PM, said:

View Postkeramond, on 03 April 2014 - 02:46 PM, said:

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."

#96 keramond

  • Members
  • 13 posts

Posted 03 April 2014 - 11:50 PM

hello again,

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

http://pastebin.com/veTF10VY

Edited by keramond, 04 April 2014 - 12:11 AM.


#97 McLeopold

  • Members
  • 123 posts

Posted 04 April 2014 - 12:13 AM

View Postkeramond, on 03 April 2014 - 11:50 PM, said:

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 by McLeopold, 04 April 2014 - 12:16 AM.


#98 NerdimusPrime

  • Members
  • 21 posts

Posted 04 April 2014 - 01: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 by NerdimusPrime, 04 April 2014 - 01:54 AM.


#99 keramond

  • Members
  • 13 posts

Posted 04 April 2014 - 03: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 by keramond, 04 April 2014 - 03:43 AM.


#100 McLeopold

  • Members
  • 123 posts

Posted 04 April 2014 - 07:01 AM

View Postkeramond, on 04 April 2014 - 03:38 AM, said:

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 by McLeopold, 04 April 2014 - 07:04 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users