Jump to content


McLeopold's Content

There have been 8 items by McLeopold (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#236929 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 02 November 2015 - 08:19 PM in Programs

View PostGManNo99, on 04 October 2015 - 01:58 AM, said:

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

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

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



#229912 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 13 August 2015 - 12:06 AM in Programs

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

having the following issues

http://imgur.com/TdEjIyn

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



#227963 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 27 July 2015 - 11:05 PM in Programs

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

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

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

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



#226882 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 21 July 2015 - 07:05 PM in Programs

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

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

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



#226878 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 21 July 2015 - 06:52 PM in Programs

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

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

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

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

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



#225206 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 11 July 2015 - 12:35 AM in Programs

View PostLuminaryXion, on 23 June 2015 - 05:14 PM, said:

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?



#225205 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 11 July 2015 - 12:19 AM in Programs

View PostRikuSS4, on 11 June 2015 - 08:44 AM, said:

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.

View PostMew99, on 23 June 2015 - 02:51 AM, said:

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

So you are fixed now!

View Postiwantspeed, on 23 March 2015 - 12:51 PM, said:

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.



#205141 Bee Breeding with OpenPeripherals (now with Bee Matron)

Posted by McLeopold on 04 February 2015 - 07:54 PM in Programs

View Postd1red, on 22 December 2014 - 06:03 PM, said:

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.

View PostDigiMe, on 03 February 2015 - 06:07 PM, said:

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