Hi guys, new dude here! upon reading the outdated wiki, i came across that alice apparently has computercraft? i was wondering what would happen if someone put a 24/7 chunk loader on there that lags up servers? i know this from Tekkit classic as i was too once a staff member on an old server there and that was a very common problem (no dont ask how to do it, idk how to!) but what would happen is multiple computers were spread around our server which people would type viruses. what would happen is they would slowly (but surely) somehow overload our server ram and we would crash.. how do you guys cope with this? -sincerely Drop the Bacon (Aka MrEs
The current 1.7 pack does not have ComputerCraft; instead it has OpenComputers, which is similar to CC but has a tiering system for computers and (more crucially) their components. Still runs on Lua though, so should be familiar for people coming from CC. There's a loaded chunk limit on Alice of 12 per player. I also believe, though may be wrong, that chunks are only loaded while a player is online. Could probably do with a mod or a member of MPT verifying that, but it seems as though that's the case with my experimenting. Edit: typo.
Looking for verification? Well I'm unsure about the 12 chunk limit (chances are if croxio could pull out a number for a certain given reason, then it's highly likely that it's 12 chunks), but just about everything stated in that message was true to my knowledge (from OpenComputers to chunks being loaded when players are online). One thing I'd like to state however, is that the sheer idea or consideration that people will create viruses is a completely absurd thought to have on SKCraft. We run by a close, whitelisted community, where you WILL get banned for purposefully creating a virus/machine to ruin the experience for other players. Nevertheless, I'm sure that OpenComputers has preventions against viruses and that from then to now, memory leaking issues would be solved (since this is, after all, a different mod by a different author). I don't mean to absolutely shoot you down for thinking such though, I understand your motivation and concern for the server, but I'd like for you to just remember that our server is not one of those servers where anyone can get on and cause havoc easily. Here we abide by strict rules (and of course have fun) to reduce chances of griefing or the chances of having an event like this occurring. As of now, the main problems would most likely be: the speed of the physical server, and the mod issues/crashes that may be preventing the server from starting up. Lastly, I don't plan on stating much about fixing the server (not in this thread), but it would certainly be useful if slightly more people could have more access, as it's been previously stated that anyone who did before...disappeared.
Someone assembling a 1,000,000,000-char string to kill the server would be impeded by the lack of virtual RAM for the computers. At most, you can have (I think) 16MB of RAM on your computer. Not much, isn't it? Also, it consumes lots of resources to make more computers, making it nearly impossible to get all those computers in survival, and it's fairly tedious to construct 256 servers and load them to the top with RAM chips, then program all of them, isn't it?
well i suppose don't get me wrong @Siioh. i only write this as in a state of concern. I would never EVER dare grief a server or anything as i know myself how frustrating it is do cope with.
Of course, I'll always take in someone as innocent unless proven wrong. What I truly mean is that having a virus on an in-game computer isn't a plausible reason given what I stated above. The more likely causes of a crash would be mods interacting with one another to cause problems (as of now there is a chunk error on load according to proger). Therefore, I'm stating that we should simply put aside this reason for now, but I fully understand that you're concerned with the welfare of the server and would like to get it back up (which is why it's helpful to state potential problems like this). Feel free to explain any other possible fixes/causes of issues in the future though, as sometimes they may put new light on solving something (or they might just be impossible and unrelated), but it's better to put the idea out with the chance of it being useful, than to not put it out and keep it to yourself; so we are grateful for you doing such here.
#ChallengeAccepted! (In single player of course, unless I get permission from all online players and somebody is online to restart the server.)
I believe that OpenComputer's Lua implementation actually takes advantage of native code, i.e. running outside of Java, but, as has been mentioned, there's a lot of restrictions and sand-boxing going on between the mod and the JVM inside which it runs.
There were a few issues with CC where you could ruin a server by, for example, creating spamming coroutines. I don't know if that was ever fixed, but it was trivial to do. However, at the moment, Alice has gone completely belly up. Running a modpack in MC 1.2.5 was a walk in the park, by comparison.
as Siioh has said. Alice has caught the "idontwantanyonetoplayanymore" virus. I believe the MPT has found the solution to one of the problems. but hopefully once i figure out how to run Alice w/o crashing i'll join!