Getting mobs: 96 : attempt to index ? (a nil value) on today's spawner room build. Any clues? Direwolf20 seemed to get the same error and said he will be right back and the computer program worked. What did he change?
Heh, I guess you post ahead with your youtube vids but a few tips I posted to one vid that you may have missed (in regard to reading info from chests and such):
A tip with coding and openperipherals. Don't do a getStackInSlot() on each slot in the chest, on BIG chests that will take forever. Use getAllStacks() and loop through that instead.
ex
for i,data in pairs(chest.getAllStacks()) do
Then i will have your chest slot number and data will have the itemStack for that slot.
Oh, as well, pushItem() and pullItem() do not require the last 2 arguments. Since these nets don't stack and the other inventory only has one slot, you can safely ignore them and just push and pull with direction,slot.
This gives me an idea for a way to automate these kinds of things and, with a table of monsters and loot dropped, scan an AE network to see what is running low and kill monsters/swap nets until all items are at the levels required.
EDIT: Oh, and I love how it filters p u s h i t e m for being a bad word...
What's the difference between Pristine and Ignoble Stock bees?
The primary difference between Pristine and Ignoble bees is their overall lifespan. Pristine bees are pretty much good forever as you can keep breeding them until you no longer need what they provide. Ignoble bees have a limited lifespan after which the queen will not produce a princess to continue the line. If I'm reading the notes right, it's a flat chance that at the end of each generation the queen will fail to produce a princess.
That's why a number of people shun using ignoble bees for breeding and just use them for either generating lots of drones to analyze, turn to Liquid DNA or produce materials. Early game, I use Bee Houses (lowest tier of hive, which Direwolf20 skipped) and tropical drones to eventually get the silk I need to make the aparist suit so when I begin breeding bees in earnest, I have protection from their varied effects.
That's not saying that you can't use them and breed them up to a species you want. Just be aware that in doing so, you risk having your hard work disappear with no warning.
I finally figured it out. For some reason the spawner name that my modem designated for the auto spawner was totally different form the one the it assigned for DIrewolf20.
I remember recently you said server owners complained when you encouraged people to build something in a particular and it caused MASSIVE lag on servers... you are doing that again.
Backstuffed pipes, particularly if someone were to expand this to a few alvearys that crossed a chunk boundary, will cause huge tick-lag from Thermal Expansion. You are better off using an AE subnetwork, slap storage busses on each and every frame housing, then import those frames into the network.
I finally figured it out. For some reason the spawner name that my modem designated for the auto spawner was totally different form the one the it assigned for DIrewolf20.
Does this mean you have it working - can you pastebin if you have
I have not got it working and have got a bit confused because I am trying to adapt it to a slightly different (better?) design, I don't know where my changes are stopping it from working or where the error in the program does.
I think I have a clue or two - in "mobs" about line 71 is a line "print(totalrows)" after that is a "for" and then an "if" which reads "if currName > npp*(page-1) and currName < npp*page+1 then" - note that the "page-1" has () around it and the "page+1" doesn't. Is this the error?
Also while Dire did say he did not think we should use his "buttonAPI" I am fairly sure this program needs it - I think "button.setTable(...." etc is calling the "button" program.
I did a little programming in basic a long time ago and this brings back memories but - any help would be appreciated
well what i did whas pastebin get then gettign the button api and his mobs thing i hope i can find the pastebin codes again :S i was almost the hole day figuring it out how i could solve it :S
I have the pastebin codes for Dire's button API and the mobs programs, I was hoping to get a pastebin of a working version - pastebin put "mobs" or "yourprogramname" (if you changed from mobs) from memory.
I feel your pain, I spent that and more and was so dejected I spent today on .....bees, I hate bees but it will make working on the program feel a hole lot better.
I fell like you would like this guy dire, https://sites.google.com/site/reikasminecraft/rotarycraft , this guy has comparability with buildcraft and I think thermal expansion, sadly IC2 is not able to be powered by rotarycraft or any of the derivatives but I'm sure that universal electricity would help with that
The key is to make sure that when you enable the wireless modems to write down the assigned names for the chest, spawner, and attracter and make sure that you edit the mobs program with the correct names.
Any one else experiencing massive lag with today's LP EP107 reactor build? Everything is fine until the MFSU is around 95% filled. I removed all the wireless transmitters/receivers, cable, etc. and nothing seems to restore any performance. I keep having to restore a backup. I even tried opis and purged all hostile mobs, chunks, etc. . It is so bad that the doors are taking nearly ten seconds to close.
Update: It appears Chicken Bones Wireless Transmitters/Receivers were the cause of the lag. Not sure if it is having three of them in close proximity is the issue, but I replaced them with red alloy wire before the MFSU filled up and I no longer have any lag. If you remove them after the lag issue starts than you are out of luck as removing them will not restore any performance issues.
Update 2: It appears that the issue was not the wireless transmitters/receivers as the lag came back again. I used Opis (/opis command) and determined that the spike was coming from the Overworld. After some time, I figured out the issue and it was the drone from the sugar cane farm that I had set up many episodes before. Good thing I already had a "stupid amount" of sugar cane.
i got it working with the code dire uploaded but now i rebooted and it says File not found Mobs:20: attempt to index ? (a nill value)
What am i doing wrong. i did change the names of the auto spawner atractor and chest ???
It is telling you that the program "Mobs" line 20 is asking for something that is not there. Check the line to see what is is looking for on line 20 .. if it is a chest or attractor, then check the name of that chest or attractor.... I noticed that they get a new "value" each time you place something. For instance I moved a monitor and it went from monitor_1 to Monitor_2, I did not know how to make it "1" again so I changed the program code to "2"
I downloaded episode 40 after my world spectacularly crashed (now have a noddy backup routine!!). I built the uberminer, just the same as dire but with less mining wells for now (I think 10?).
From what I can tell, it uses just a tad under 2 million RF to run 10 wells for 6 seconds. Even with a 10 second pause and 10 steam dynamo's I can only get like 10% of that energy back. So the uberminer with 10 wells can only run a limited number of times before it runs out of power.
But on the video's it looks like dire's energy cell is permanently full???
I downloaded episode 40 after my world spectacularly crashed (now have a noddy backup routine!!). I built the uberminer, just the same as dire but with less mining wells for now (I think 10?).
From what I can tell, it uses just a tad under 2 million RF to run 10 wells for 6 seconds. Even with a 10 second pause and 10 steam dynamo's I can only get like 10% of that energy back. So the uberminer with 10 wells can only run a limited number of times before it runs out of power.
But on the video's it looks like dire's energy cell is permanently full???
What am I doing wrong? I've tried everything!
Cheers!
Tirm
Your a long way back, which is a good thing for you as Dire changes his designs from time to time, You should look at some of the latter videos. He changes some things around on the miner a bit latter on. I think Ep54 the deep dark is a good place to start. Or download world60 and have a walk through his design
For my mine I have (in the deep dark) a tesseract transporting power from my base on one frequency, connected to a resonant energy cell then outputting to another tesseract on a different frequency to the tessenact that runs the mine. I am mining a chunk width (16) bedrock to bedrock with 3 force field projectors clearing the way, so lots of power used, and I am having no issues. It has a 25 second delay (edit - plus a 75 countdown) - its a long way from top to bottom
For anyone having trouble with the auto spawn computer in the world 110 download - the name of the auto spawner came up as miss matched - I changed the "Local s" at line 6 to be "auto_spawner_0" and it runs
Can someone please put all these mods together so me and other lazy people like me can play along with them without going through the trouble of making it into a modpack myself thanks.
A tip with coding and openperipherals. Don't do a getStackInSlot() on each slot in the chest, on BIG chests that will take forever. Use getAllStacks() and loop through that instead.
ex
for i,data in pairs(chest.getAllStacks()) do
Then i will have your chest slot number and data will have the itemStack for that slot.
Oh, as well, pushItem() and pullItem() do not require the last 2 arguments. Since these nets don't stack and the other inventory only has one slot, you can safely ignore them and just push and pull with direction,slot.
This gives me an idea for a way to automate these kinds of things and, with a table of monsters and loot dropped, scan an AE network to see what is running low and kill monsters/swap nets until all items are at the levels required.
EDIT: Oh, and I love how it filters p u s h i t e m for being a bad word...
The primary difference between Pristine and Ignoble bees is their overall lifespan. Pristine bees are pretty much good forever as you can keep breeding them until you no longer need what they provide. Ignoble bees have a limited lifespan after which the queen will not produce a princess to continue the line. If I'm reading the notes right, it's a flat chance that at the end of each generation the queen will fail to produce a princess.
That's why a number of people shun using ignoble bees for breeding and just use them for either generating lots of drones to analyze, turn to Liquid DNA or produce materials. Early game, I use Bee Houses (lowest tier of hive, which Direwolf20 skipped) and tropical drones to eventually get the silk I need to make the aparist suit so when I begin breeding bees in earnest, I have protection from their varied effects.
That's not saying that you can't use them and breed them up to a species you want. Just be aware that in doing so, you risk having your hard work disappear with no warning.
Kzorith
I'm a complete newbie to ComputerCraft and have no idea how to sort it out...
Thank you in advance
Edit: Ah! Actually managed to fix it myself *proud*
Backstuffed pipes, particularly if someone were to expand this to a few alvearys that crossed a chunk boundary, will cause huge tick-lag from Thermal Expansion. You are better off using an AE subnetwork, slap storage busses on each and every frame housing, then import those frames into the network.
Does this mean you have it working - can you pastebin if you have
I have not got it working and have got a bit confused because I am trying to adapt it to a slightly different (better?) design, I don't know where my changes are stopping it from working or where the error in the program does.
I think I have a clue or two - in "mobs" about line 71 is a line "print(totalrows)" after that is a "for" and then an "if" which reads "if currName > npp*(page-1) and currName < npp*page+1 then" - note that the "page-1" has () around it and the "page+1" doesn't. Is this the error?
Also while Dire did say he did not think we should use his "buttonAPI" I am fairly sure this program needs it - I think "button.setTable(...." etc is calling the "button" program.
I did a little programming in basic a long time ago and this brings back memories but - any help would be appreciated
I have the pastebin codes for Dire's button API and the mobs programs, I was hoping to get a pastebin of a working version - pastebin put "mobs" or "yourprogramname" (if you changed from mobs) from memory.
I feel your pain, I spent that and more and was so dejected I spent today on .....bees, I hate bees but it will make working on the program feel a hole lot better.
mobs: http://pastebin.com/n26sDyXN
button: http://pastebin.com/g96XtFVB
The key is to make sure that when you enable the wireless modems to write down the assigned names for the chest, spawner, and attracter and make sure that you edit the mobs program with the correct names.
Update: It appears Chicken Bones Wireless Transmitters/Receivers were the cause of the lag. Not sure if it is having three of them in close proximity is the issue, but I replaced them with red alloy wire before the MFSU filled up and I no longer have any lag. If you remove them after the lag issue starts than you are out of luck as removing them will not restore any performance issues.
Update 2: It appears that the issue was not the wireless transmitters/receivers as the lag came back again. I used Opis (/opis command) and determined that the spike was coming from the Overworld. After some time, I figured out the issue and it was the drone from the sugar cane farm that I had set up many episodes before. Good thing I already had a "stupid amount" of sugar cane.
It is telling you that the program "Mobs" line 20 is asking for something that is not there. Check the line to see what is is looking for on line 20 .. if it is a chest or attractor, then check the name of that chest or attractor.... I noticed that they get a new "value" each time you place something. For instance I moved a monitor and it went from monitor_1 to Monitor_2, I did not know how to make it "1" again so I changed the program code to "2"
i am sure there are others waiting for it
I downloaded episode 40 after my world spectacularly crashed (now have a noddy backup routine!!). I built the uberminer, just the same as dire but with less mining wells for now (I think 10?).
From what I can tell, it uses just a tad under 2 million RF to run 10 wells for 6 seconds. Even with a 10 second pause and 10 steam dynamo's I can only get like 10% of that energy back. So the uberminer with 10 wells can only run a limited number of times before it runs out of power.
But on the video's it looks like dire's energy cell is permanently full???
What am I doing wrong? I've tried everything!
Cheers!
Tirm
Your a long way back, which is a good thing for you as Dire changes his designs from time to time, You should look at some of the latter videos. He changes some things around on the miner a bit latter on. I think Ep54 the deep dark is a good place to start. Or download world60 and have a walk through his design
For my mine I have (in the deep dark) a tesseract transporting power from my base on one frequency, connected to a resonant energy cell then outputting to another tesseract on a different frequency to the tessenact that runs the mine. I am mining a chunk width (16) bedrock to bedrock with 3 force field projectors clearing the way, so lots of power used, and I am having no issues. It has a 25 second delay (edit - plus a 75 countdown) - its a long way from top to bottom