Odd. The good news is, it's not the libraries, the computer wouldn't turn on otherwise. The bad news is, I have no clue what's going on. I just tried the same setup in a game without any other mods, and it worked fine. Is there anything suspicious in the logs? Could you try typing "shutdown" and confirm it with enter to see if the computer powers off? (In which case the screen works, it just fails to render)
i think the main reason people think this is a ripoff is that it uses Lua, i would have liked something more low level to make it more challenging
The thought crossed my mind, but then I remembered how much fun it was to get the 8080 emulator I once wrote in AS3 (yes, Flash) running... and I really like Lua
The thought crossed my mind, but then I remembered how much fun it was to get the 8080 emulator I once wrote in AS3 (yes, Flash) running... and I really like Lua
How difficult would be to encapsulate the lua aspect behind an abstraction that could be implemented for any language?
The thought crossed my mind, but then I remembered how much fun it was to get the 8080 emulator I once wrote in AS3 (yes, Flash) running... and I really like Lua
I think lua is a good middleground. More basic languages (like the one RedPower2's computers used that I forget the name of, FORTH) would put a lot of people off, especially those who have already learned lua.
How difficult would be to encapsulate the lua aspect behind an abstraction that could be implemented for any language?
So-so, I guess. Unless I'm forgetting something, all actual Lua interop is handled in one class already (the Computer component). All of the functions that are currently called on the Lua state would have to be abstracted. It'd very much depend on how the other languages you have in mind would work, since right now it's very Lua specific, of course (i.e. values get pushed to the stack, then Lua is told to call a function on the stack with the top n values on the stack as parameters and so on). Another key feature the other languages would have to support would be yielding / continuations.
Just checked the log for anything suspicious but everything looks ok, at least there are no errors. Also tried the shutdown command as you said but the computer still has the green light on the block and inside the interface.
What version of Forge are you running? Does this happen in a version with no other mods present? If no, what other mods are present when this happens? Would it be possible for you to ZIP a minimal test case world where this happens and upload it somewhere so I can see if I can reproduce it that way? (PM me the link if you want)
It looks like it can't find the configuration file.
Running Forge 9.11.1.953 on Windows 7 Home Premium 64bit, I'm certain I have Visual C++ 2012 Redistributable installed (Both x86 and x64)
It looks like it can't find the configuration file.
Running Forge 9.11.1.953
Could you upload the current config file to pastebin, please? I can only imagine it got corrupted somehow when being saved to the config folder, so I'd have to see how exactly to figure out where the problem comes from. You should be able to get it back running by deleting the current config file. Sorry about that.
Could you upload the current config file to pastebin, please? I can only imagine it got corrupted somehow when being saved to the config folder, so I'd have to see how exactly to figure out where the problem comes from. You should be able to get it back running by deleting the current config file. Sorry about that.
There isn't a config file in my config folder
EDIT: It appears that OpenComputers 1.0.1 and 1.0.2 aren't generating config files, I tried 1.0.0 after trying 1.0.1, and it generated the file. 1.0.2 now works fine without a startup crash.
This is the config file 1.0.0 created:
There isn't a config file in my config folder
EDIT: It appears that OpenComputers 1.0.1 and 1.0.2 aren't generating config files, I tried 1.0.0 after trying 1.0.1, and it generated the file. 1.0.2 now works fine without a startup crash.
Huh. Well, this is... interesting. I just re-downloaded and double checked, but it works for me (pretty much the same system configuration). It creates the config and everything... it sounds like it fails to find the default config in the mod's ZIP file. Could you have a look into the ZIP if there's a reference.conf in it? (top level) If not try re-downloading. I'll see if I can throw in a couple more checks, but it's still a weird issue.
I don't know what mods may have corrupted my test world but on my main world it is working. Just thuoght this info would be helpful to you. If you still want the old test world (lots of mod adding and removing) I can give it to you.
Very interesting. If you can give me the list of mods you used that should be enough to try narrowing it down. Thanks!
Huh. Well, this is... interesting. I just re-downloaded and double checked, but it works for me (pretty much the same system configuration). It creates the config and everything... it sounds like it fails to find the default config in the mod's ZIP file. Could you have a look into the ZIP if there's a reference.conf in it? (top level) If not try re-downloading. I'll see if I can throw in a couple more checks, but it's still a weird issue.
There is a reference.conf in the zip file.
I re-downloaded the mod, and ran it again with the 1.0.0 generated config file in the config folder, and it worked, but when I remove that config file from the folder, it gives the same crash again.
There is a reference.conf in the zip file.
I re-downloaded the mod, and ran it again with the 1.0.0 generated config file in the config folder, and it worked, but when I remove that config file from the folder, it gives the same crash again.
Could you also upload the ForgeModLoader-client log? The point where that error originates is actually triggered by another error which should be logged in there. Maybe that'll help me figure things out.
I don't remember what mods I used in the past (possibly every mod that exists :P) but now with the setup I have it runs smoothly. If it will occur again after installing a mod I will inform you. Thank you for being so quick and supportive and way to go on this great mod! Keep up the great work!
Sure thing! Let me know if you can reproduce it by chance.
That one seems to have fixed the config file creation error.
Great! I would have been really confused if that didn't work, because it's the same method by which the other assets (such as Lua scripts) are accessed. So that means no more errors, right? Thanks for testing this out for me.
Not directly, no, someone could make an expansion card or so for that and tell me if they're missing anything from the API, though
However, there'll be an upgrade for robots that'll at least allow the robot to tell its relative location in a certain area (determined by the map the upgrade is crafted with).
Sorry, adding new features and fixing bugs takes priority for now. And when it's time, porting it to 1.7 will. It's open source, though, maybe you can find someone else who wants to have a go at a downport.
Odd. The good news is, it's not the libraries, the computer wouldn't turn on otherwise. The bad news is, I have no clue what's going on. I just tried the same setup in a game without any other mods, and it worked fine. Is there anything suspicious in the logs? Could you try typing "shutdown" and confirm it with enter to see if the computer powers off? (In which case the screen works, it just fails to render)
The thought crossed my mind, but then I remembered how much fun it was to get the 8080 emulator I once wrote in AS3 (yes, Flash) running... and I really like Lua
Creator of OpenComputers. My Twitter. My Patreon.
How difficult would be to encapsulate the lua aspect behind an abstraction that could be implemented for any language?
that I forget the name of, FORTH) would put a lot of people off, especially those who have already learned lua.Railcraft Boiler Calculator
So-so, I guess. Unless I'm forgetting something, all actual Lua interop is handled in one class already (the Computer component). All of the functions that are currently called on the Lua state would have to be abstracted. It'd very much depend on how the other languages you have in mind would work, since right now it's very Lua specific, of course (i.e. values get pushed to the stack, then Lua is told to call a function on the stack with the top n values on the stack as parameters and so on). Another key feature the other languages would have to support would be yielding / continuations.
What version of Forge are you running? Does this happen in a version with no other mods present? If no, what other mods are present when this happens? Would it be possible for you to ZIP a minimal test case world where this happens and upload it somewhere so I can see if I can reproduce it that way? (PM me the link if you want)
Creator of OpenComputers. My Twitter. My Patreon.
Running Forge 9.11.1.953 on Windows 7 Home Premium 64bit, I'm certain I have Visual C++ 2012 Redistributable installed (Both x86 and x64)
Could you upload the current config file to pastebin, please? I can only imagine it got corrupted somehow when being saved to the config folder, so I'd have to see how exactly to figure out where the problem comes from. You should be able to get it back running by deleting the current config file. Sorry about that.
Creator of OpenComputers. My Twitter. My Patreon.
There isn't a config file in my config folder
EDIT: It appears that OpenComputers 1.0.1 and 1.0.2 aren't generating config files, I tried 1.0.0 after trying 1.0.1, and it generated the file. 1.0.2 now works fine without a startup crash.
This is the config file 1.0.0 created:
Huh. Well, this is... interesting. I just re-downloaded and double checked, but it works for me (pretty much the same system configuration). It creates the config and everything... it sounds like it fails to find the default config in the mod's ZIP file. Could you have a look into the ZIP if there's a reference.conf in it? (top level) If not try re-downloading. I'll see if I can throw in a couple more checks, but it's still a weird issue.
Very interesting. If you can give me the list of mods you used that should be enough to try narrowing it down. Thanks!
Creator of OpenComputers. My Twitter. My Patreon.
There is a reference.conf in the zip file.
I re-downloaded the mod, and ran it again with the 1.0.0 generated config file in the config folder, and it worked, but when I remove that config file from the folder, it gives the same crash again.
Could you also upload the ForgeModLoader-client log? The point where that error originates is actually triggered by another error which should be logged in there. Maybe that'll help me figure things out.
Creator of OpenComputers. My Twitter. My Patreon.
It was a bit too big for pastebin
Hmm, sadly that doesn't help much. It's a bit of a shot into the blue, but could you give
this versiona try, see if it behaves differently?Creator of OpenComputers. My Twitter. My Patreon.
It still crashed without using the config file from 1.0.0 in the config folder, but the crash is slightly different:
All right,
one last test, if that fails I'll have to hard-code the defaults after all.Sure thing! Let me know if you can reproduce it by chance.
Creator of OpenComputers. My Twitter. My Patreon.
That one seems to have fixed the config file creation error.
Great! I would have been really confused if that didn't work, because it's the same method by which the other assets (such as Lua scripts) are accessed. So that means no more errors, right? Thanks for testing this out for me.
Creator of OpenComputers. My Twitter. My Patreon.
Not directly, no, someone could make an expansion card or so for that and tell me if they're missing anything from the API, though
However, there'll be an upgrade for robots that'll at least allow the robot to tell its relative location in a certain area (determined by the map the upgrade is crafted with).
Creator of OpenComputers. My Twitter. My Patreon.
Creator of OpenComputers. My Twitter. My Patreon.
Sorry, adding new features and fixing bugs takes priority for now. And when it's time, porting it to 1.7 will. It's open source, though, maybe you can find someone else who wants to have a go at a downport.
Creator of OpenComputers. My Twitter. My Patreon.