Is this intended to run on SMP servers? I attempted to install it, and while it works great in SP, it causes my server window to flash and hangs the system. All the logs show are:
2013-12-23 01:37:34 [SEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-12-23 01:37:36 [INFO] [STDERR] java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:36 [INFO] [STDERR] Exception in thread "Thread-1" java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:37 [INFO] [Minecraft-Server] Stopping server
2013-12-23 01:37:39 [INFO] [STDERR] java.net.SocketException: socket closed
2013-12-23 01:37:39 [INFO] [Minecraft-Server] Saving players
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.DualStackPlainSocketImpl.accept0(Native Method)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.PlainSocketImpl.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.ServerSocket.implAccept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.ServerSocket.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [Minecraft-Server] Saving worlds
2013-12-23 01:37:40 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)
2013-12-23 01:37:43 [INFO] [STDERR] Exception in thread "Listen thread" java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:40 [INFO] [Minecraft-Server] Saving chunks for level 'world'/Overworld
Is this intended to run on SMP servers? I attempted to install it, and while it works great in SP, it causes my server window to flash and hangs the system. All the logs show are:
2013-12-23 01:37:34 [SEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-12-23 01:37:36 [INFO] [STDERR] java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:36 [INFO] [STDERR] Exception in thread "Thread-1" java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:37 [INFO] [Minecraft-Server] Stopping server
2013-12-23 01:37:39 [INFO] [STDERR] java.net.SocketException: socket closed
2013-12-23 01:37:39 [INFO] [Minecraft-Server] Saving players
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.DualStackPlainSocketImpl.accept0(Native Method)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.PlainSocketImpl.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.ServerSocket.implAccept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.ServerSocket.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [Minecraft-Server] Saving worlds
2013-12-23 01:37:40 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)
2013-12-23 01:37:43 [INFO] [STDERR] Exception in thread "Listen thread" java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:40 [INFO] [Minecraft-Server] Saving chunks for level 'world'/Overworld
This is with the latest java on a 64-bit system.
You've got an out of memory error, add this to your startup script for the server:
Hi , it's cool mod XP
I have smal big roblem... I istalled this mod with some others mods(IC2,BC,Gregtech...) and when i want click start button in computer nothing happens. please help btw i have win xp 32bit and i can't instal Visual Studio 2012
I'll have to set up a WinXP machine to test on that system. Since that's a potential time-sink, I just want to be sure: you did try installing the VS2012 VC++ Runtime (the one linked in the OP), not the actual Visual Studio suite itself, yes? Because the runtime should work fine in WinXP (according to the download page).
so are new programming languages planned for future updates?
I don't personally plan to add new languages any time soon, but as I wrote in an earlier post, as long as the languages to be added satisfy some very specific conditions it should be possible to add them in through some relatively thin abstraction layer. If anyone else feels up to the challenge they are invited to have a go at it. I just would like to point out that implementing the actual bootstrapping and "kernel" code in the new language itself could also turn out to be quite a lot of work.
exactly I can installing the VS2012 VC++ Runtime but I can't installing Visual Studio...
No need for Visual Studio, the runtime is enough.
It's just that I just learned that apparently Windows XP is too old to be supported by default. The library has to be compiled with special flags to work on XP, too. Which I tried after setting up an XP installation. And then it crashed. Hard. So I installed Visual Studio 2010 in the VM, compiled it using that and it still crashed. The problem seems to be in the glue library I use (JNLua). I'm sorry to say, I'll have to declare WinXP as unsupported for the moment. I'll look into it, but I can't give you an ETA. I'd recommend upgrading to a more recent Windows instead of holding your breath, though. Sorry for the inconvenience :-/
Place them next to a charger or power distributor.
Ah, right. Power distributors charging them was actually a derpy bug (fixed in 1.0.2), they should only be chargeable via the Charger block. Oh, and once you have some power in them you can also use the generator upgrade.
You've got an out of memory error, add this to your startup script for the server:
-XX:MaxPermSize=128m
I have. I've even set PermSize to 1G and I get the same issue. There's no way it's intended to use that much perm space so quickly. And it works fine in SP. So that leads me to believe there's a catastrophic memory leak when it's run on a server.
I have. I've even set PermSize to 1G and I get the same issue. There's no way it's intended to use that much perm space so quickly. And it works fine in SP. So that leads me to believe there's a catastrophic memory leak when it's run on a server.
Wow, I'm actually impressed it still started with those values, my Java tends to crap out when I set the perm size too high. Which Java distribution are you using, so I can try to reproduce it? Note that I did test it with a dedicated on my Linux laptop, OpenJDK 1.7 64 bit, and that worked fine - with no explicit changes to the available memory. Does this also happen when OC is the only active mod? Or could it be some weird interaction with another mod?
Wow, I'm actually impressed it still started with those values, my Java tends to crap out when I set the perm size too high. Which Java distribution are you using, so I can try to reproduce it? Note that I did test it with a dedicated on my Linux laptop, OpenJDK 1.7 64 bit, and that worked fine - with no explicit changes to the available memory. Does this also happen when OC is the only active mod? Or could it be some weird interaction with another mod?
Could be. I'll have to run some more tests when I get home. I was attempting to transfer my SP stack of 120 mods to a fresh server. It'll eventually run on a linux box I'm building, but right now I'm just trying to put it together and run it on my Windows 8 machine. I'm using the JRE v1.7 64-bit.
When I first noticed the issue I began removing mods I thought may be causing it one by one and then restarting the server. It didn't boot up fully until I removed OpenComputers, but it may have been an interaction between OC and another mod still in the stack. I'll try it alone after work today and report back.
UPDATE: Looks like it's not OpenComputer. After extensive testing I think it just comes down to the forge server being a piece of junk. If I don't run it with 'nogui' command it'll peg out my CPU and give me PermGen errors. With nogui, it idles at 0-4% CPU use. I didn't have this problem a few builds of Forge ago, so I'm going to say it's a Forge issue.
UPDATE 2 (MAJOR ISSUE DISCOVERED): Ok, my bad. This IS an OpenComputers issue, but only if Redlogic is installed with OC. Wow, what a HUGE debugging headache this was. Redlogic seems to work fine on it's own, and OC works fine on it's own. They work great together in SP. But put them together on a server? Infinite loop, pegged CPU, and memory gone in seconds.
UPDATE 2 (MAJOR ISSUE DISCOVERED): Ok, my bad. This IS an OpenComputers issue, but only if Redlogic is installed with OC. Wow, what a HUGE debugging headache this was. Redlogic seems to work fine on it's own, and OC works fine on it's own. They work great together in SP. But put them together on a server? Infinite loop, pegged CPU, and memory gone in seconds.
Thanks for digging into this and pinpointing it. Can you post an image of the exact setup that causes the issue?
I have installed your mod on my serv bassed on FTB Direwolf20 1.6.4 + many other mod and removed computer craft but turtle is for me cheater ( no Gregtech reciple for mining turtle ... ).
It run fine on my local server with another mod, just changing some IDs and no problems, no conflicts.
I have test it on my hosting server and it don't run. I copy information from it ( from error log )
-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Linux (amd64) version 2.6.38.3-mc
Java Version: 1.7.0_03, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 232616072 bytes (221 MB) / 1240240128 bytes (1182 MB) up to 3708551168 bytes (3536 MB)
JVM Flags: 5 total; -Xms256M -Xmx3570M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing
AABB Pool Size: 10131 (567336 bytes; 0 MB) allocated, 9894 (554064 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 4, tallocated: 58
Have you a soluce ?
What i need request from my heberger ?
This may be a bug in last version where a cable next to a keyboard could crash dedicated servers. I had hoped to wrap up version 1.1 today, but had less time than I expected so that will be delayed until tomorrow or so. I'll try to push out another patch with the fix for that in a couple of hours. Could you post your full log nonetheless, in case it is something different? Thanks.
Edit: version 1.0.4 is out, with the following changes:
Fixed potential crashes when robots with upgrades were sent to clients too soon after their chunk was loaded.
Fixed crashes on dedicated server when placing keyboards next to cables.
Added a `sneaky` parameter to `robot.swing`.
Moved whitelist example entries to comments so that the blacklist is used by default.
Did you check the log to see if it says something about the libraries missing? Anything when you use the analyzer on the computer? (note to self: automatically print errors in chat if they happen on startup)
after using analyzer....no errors detected.....no logs....NOTHING....WHHHHYYYYYYY??!?!??!?!!!
I'll release 1.0.5 tomorrow, which should be a little more verbose if something goes wrong while starting a computer. Please try it again, then, to see what it says.
What exactly do I need to be looking for to load this on a server? Details on the native libraries are thin.
If the libraries are available for your type of system it'll "just work", except for Windows where you need the VC2012 runtime as mentioned in the OP, which may not already be installed. The shared libraries for the supported systems are in the mod's ZIP file (assets/opencomputers/lib) and are extracted to the temp folder before being loaded. What else do you want to know?
I got a problem with this mod in MP,the computer shutdown itself after a few seconds
I use exactly the same setup I use in SP and it works,but not in MP
is there something wrong with MP?
There shouldn't be any difference - seeing as it works in the beginning. Any errors in the server log? Anything when you use the analyzer on the computer that stopped?
2013-12-23 01:37:34 [SEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-12-23 01:37:36 [INFO] [STDERR] java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:36 [INFO] [STDERR] Exception in thread "Thread-1" java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:37 [INFO] [Minecraft-Server] Stopping server
2013-12-23 01:37:39 [INFO] [STDERR] java.net.SocketException: socket closed
2013-12-23 01:37:39 [INFO] [Minecraft-Server] Saving players
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.DualStackPlainSocketImpl.accept0(Native Method)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.PlainSocketImpl.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.ServerSocket.implAccept(Unknown Source)
2013-12-23 01:37:40 [INFO] [STDERR] at java.net.ServerSocket.accept(Unknown Source)
2013-12-23 01:37:40 [INFO] [Minecraft-Server] Saving worlds
2013-12-23 01:37:40 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)
2013-12-23 01:37:43 [INFO] [STDERR] Exception in thread "Listen thread" java.lang.OutOfMemoryError: PermGen space
2013-12-23 01:37:40 [INFO] [Minecraft-Server] Saving chunks for level 'world'/Overworld
You've got an out of memory error, add this to your startup script for the server:
I'll have to set up a WinXP machine to test on that system. Since that's a potential time-sink, I just want to be sure: you did try installing the VS2012 VC++ Runtime (the one linked in the OP), not the actual Visual Studio suite itself, yes? Because the runtime should work fine in WinXP (according to the download page).
I don't personally plan to add new languages any time soon, but as I wrote in an earlier post, as long as the languages to be added satisfy some very specific conditions it should be possible to add them in through some relatively thin abstraction layer. If anyone else feels up to the challenge they are invited to have a go at it. I just would like to point out that implementing the actual bootstrapping and "kernel" code in the new language itself could also turn out to be quite a lot of work.
Creator of OpenComputers. My Twitter. My Patreon.
Place them next to a charger or power distributor.
Railcraft Boiler Calculator
No need for Visual Studio, the runtime is enough.
It's just that I just learned that apparently Windows XP is too old to be supported by default. The library has to be compiled with special flags to work on XP, too. Which I tried after setting up an XP installation. And then it crashed. Hard. So I installed Visual Studio 2010 in the VM, compiled it using that and it still crashed. The problem seems to be in the glue library I use (JNLua). I'm sorry to say, I'll have to declare WinXP as unsupported for the moment. I'll look into it, but I can't give you an ETA. I'd recommend upgrading to a more recent Windows instead of holding your breath, though. Sorry for the inconvenience :-/
Ah, right. Power distributors charging them was actually a derpy bug (fixed in 1.0.2), they should only be chargeable via the Charger block. Oh, and once you have some power in them you can also use the generator upgrade.
Creator of OpenComputers. My Twitter. My Patreon.
I have. I've even set PermSize to 1G and I get the same issue. There's no way it's intended to use that much perm space so quickly. And it works fine in SP. So that leads me to believe there's a catastrophic memory leak when it's run on a server.
Wow, I'm actually impressed it still started with those values, my Java tends to crap out when I set the perm size too high. Which Java distribution are you using, so I can try to reproduce it? Note that I did test it with a dedicated on my Linux laptop, OpenJDK 1.7 64 bit, and that worked fine - with no explicit changes to the available memory. Does this also happen when OC is the only active mod? Or could it be some weird interaction with another mod?
Creator of OpenComputers. My Twitter. My Patreon.
Could be. I'll have to run some more tests when I get home. I was attempting to transfer my SP stack of 120 mods to a fresh server. It'll eventually run on a linux box I'm building, but right now I'm just trying to put it together and run it on my Windows 8 machine. I'm using the JRE v1.7 64-bit.
When I first noticed the issue I began removing mods I thought may be causing it one by one and then restarting the server. It didn't boot up fully until I removed OpenComputers, but it may have been an interaction between OC and another mod still in the stack. I'll try it alone after work today and report back.
UPDATE: Looks like it's not OpenComputer. After extensive testing I think it just comes down to the forge server being a piece of junk. If I don't run it with 'nogui' command it'll peg out my CPU and give me PermGen errors. With nogui, it idles at 0-4% CPU use. I didn't have this problem a few builds of Forge ago, so I'm going to say it's a Forge issue.
UPDATE 2 (MAJOR ISSUE DISCOVERED): Ok, my bad. This IS an OpenComputers issue, but only if Redlogic is installed with OC. Wow, what a HUGE debugging headache this was. Redlogic seems to work fine on it's own, and OC works fine on it's own. They work great together in SP. But put them together on a server? Infinite loop, pegged CPU, and memory gone in seconds.
The forums are now open! (Approved by OP)
http://oc.cil.li/
Thanks for digging into this and pinpointing it. Can you post an image of the exact setup that causes the issue?
Creator of OpenComputers. My Twitter. My Patreon.
I have installed your mod on my serv bassed on FTB Direwolf20 1.6.4 + many other mod and removed computer craft but turtle is for me cheater ( no Gregtech reciple for mining turtle ... ).
It run fine on my local server with another mod, just changing some IDs and no problems, no conflicts.
I have test it on my hosting server and it don't run. I copy information from it ( from error log )
Have you a soluce ?
What i need request from my heberger ?
Thanks for help.
Edit: version 1.0.4 is out, with the following changes:
Creator of OpenComputers. My Twitter. My Patreon.
Creator of OpenComputers. My Twitter. My Patreon.
Yes all the componets are where they are suppose to be.
AND YOU SHOULD TOO!
Creator of OpenComputers. My Twitter. My Patreon.
AND YOU SHOULD TOO!
I'll release 1.0.5 tomorrow, which should be a little more verbose if something goes wrong while starting a computer. Please try it again, then, to see what it says.
If the libraries are available for your type of system it'll "just work", except for Windows where you need the VC2012 runtime as mentioned in the OP, which may not already be installed. The shared libraries for the supported systems are in the mod's ZIP file (assets/opencomputers/lib) and are extracted to the temp folder before being loaded. What else do you want to know?
There shouldn't be any difference - seeing as it works in the beginning. Any errors in the server log? Anything when you use the analyzer on the computer that stopped?
Creator of OpenComputers. My Twitter. My Patreon.