16 posts
Posted 09 April 2013 - 10:01 AM
Error resuming bios.lua. Check you have installed computercraft correctly…. That's the error message that I am getting from my code. It is just driving me insane. I've been trying to check my code for hours now trying to find the cause but I cannot seem to find it. It took me a few times to get this screenshot because my program would freeze and it was instantly flash up and the computer would shutdown. My code is long, but if you need to see it I will post it. What causes this type of error? Help Please :/
1511 posts
Location
Pennsylvania
Posted 09 April 2013 - 10:06 AM
Redownload ComputerCraft with the recommended version of FML (Forge Mod Loader)
Just make sure to save your work/computers or they will be lost (in your recycle bin actually)
16 posts
Posted 09 April 2013 - 10:14 AM
Redownload ComputerCraft with the recommended version of FML (Forge Mod Loader)
Just make sure to save your work/computers or they will be lost (in your recycle bin actually)
That's not it. I have installed computercraft correctly because ive been using it for the past week with no problems…I've written a lot of other codes than this one that worked just fine. Edit: I think it happens when I call this function
function examine()
if currentLevel[currentY][currentX] == colors.lime then
background = paintutils.loadImage("limebg")
paintutils.drawImage(background, 1, 1)
term.setCursorPos(1, 18)
else if currentLevel[currentY][currentX] == colors.yellow then
background = paintutils.loadImage("yellowbg")
paintutils.drawImage(background, 1, 1)
term.setCursorPos(1, 18)
term.setBackgroundColor(colors.black)
term.clear()
else if currentLevel[currentY][currentX] == colors.brown then
background = paintutils.loadImage("brownbg")
paintutils.drawImage(background, 1, 1)
term.setCursorPos(1, 18)
else
isExamining = false
isPlaying = true
term.clear()
updateTick()
term.setCursorPos(1, 18)
print("There is nothing to see")
end
end
end
end
The else part of the code works. But I get the error upon paintutils.drawImage(background, 1, 1)
1511 posts
Location
Pennsylvania
Posted 09 April 2013 - 10:32 AM
What version (CC and Minecraft) are you on?
16 posts
Posted 09 April 2013 - 10:34 AM
CC 1.52, forge #624…… I just rewrote my code and it works now. But that is really weird :P/>
182 posts
Posted 10 April 2013 - 01:50 AM
Next time can please post the error and your code because in the BIOS it contain functions that if not used correctly will return errors.
7508 posts
Location
Australia
Posted 10 April 2013 - 01:54 AM
Next time can please post the error and your code because in the BIOS it contain functions that if not used correctly will return errors.
He did post the error… this is the error:
Error resuming bios.lua. Check you have installed computercraft correctly…
he says directly after that, that its the error message he is getting. Please read OPs more carefully next time.
2217 posts
Location
3232235883
Posted 10 April 2013 - 01:59 AM
full code would be nice
also, try renaming/deleting the CC folder in mods, if there exists one
182 posts
Posted 10 April 2013 - 02:26 AM
Next time can please post the error and your code because in the BIOS it contain functions that if not used correctly will return errors.
He did post the error… this is the error:
Error resuming bios.lua. Check you have installed computercraft correctly…
he says directly after that, that its the error message he is getting. Please read OPs more carefully next time.
sorry.. I honestly thought he was having an error like: bios.lua:66: attempt to call a nil value