got a big problem for me bot mabye not for you.
Maybe you know Direwolf20, a guy capturing Modded Minecraft lets plays.
In season 6 of his lets play series he decided to do a computercraft controlled mob farm for different types of mobs + some extra options(turn off the light; open a door, etc.)
So i went throught the code + api and built/coded the exact same thing he did.
first thing i realised was:
Had Openperipheral any important update since maybe 1 year becasue i cant run some strings:
Example for my 1st problem:
i decided to test around a little bit and copied his test program that can access a chest through a peripheral proxy and get certain information like stack size of a chest slot and the id/durability/name/etc and print the result on the screen
c = peripheral.wrap("container_chest_0")
for i = 1,27 do
if c.getStackInSlot(i) then
data = c.getStackInSlot(i)
print(i..":"..data.captured)
end
end
here i get an error in line 5: attempt to concatenate string and nilHere is the code for the main problem:
Button API: http://pastebin.com/7Spj9KBa
Mob Farm: http://pastebin.com/vL4zeCtx
some screen pics: http://www.directupload.net/file/d/4084/j8a527v5_png.htm http://www.directupload.net/file/d/4084/s84ks53g_png.htm
how the code work: direwolf20 created a program where you can control your mob farm + other function(turn off on lights, open close door) over touchscreen of an advanched monitor.
since i think openperiheral has changed and so the code dont work anymore because of some wrong string / codelines.
if screenshots or any other information is needed pls tell me.
the major thing im looking for is get his code working, but i also want to understand it(for example if openperipheral string was changed and why the old string is not working anymore)
im really lokking forward to your answers and will highly appreciate them.
thank you in advantage
best regards
lukas
ps: if you want to look into it here are the yt links to the videos:
setup: https://www.youtube.com/watch?v=BIeuH7y1V_o&index=103&list=PLaiPn4ewcbkFVpHSec5nvnY-HdU5Yptc_
main part + in action: https://www.youtube.com/watch?v=qBiWrSIKKew&index=104&list=PLaiPn4ewcbkFVpHSec5nvnY-HdU5Yptc_
finalizing: https://www.youtube.com/watch?v=ZkvG5roZtmw&index=105&list=PLaiPn4ewcbkFVpHSec5nvnY-HdU5Yptc_
if im not allowed to post outside links, pls tell me im new to this.
also im srry for my language mistakes but my native language is german :)/>