This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Bandus's profile picture

[Question] Turtles in SMP

Started by Bandus, 25 March 2012 - 05:52 AM
Bandus #1
Posted 25 March 2012 - 07:52 AM
Something else I've noticed I'm having trouble with is turtles and mining turtles. Regardless of which I create, when I set them down and "right click" to enter the interface it doesn't enter the Craft OS interface. Instead, it just "punches" as if there were nothing there. I'm able to break the turtle and pick it back up, but that's it. Any ideas as to what may be causing this?
Cloudy #2
Posted 25 March 2012 - 06:24 PM
It must be an installation error or a conflict - works fine for everyone else.
Bandus #3
Posted 25 March 2012 - 08:10 PM
Indeed, I never intended to imply that the mod was at fault.

I'm a bit new at administrating a Minecraft server; the only mods I have installed are ComputerCraft, ModLoader, and ModLoaderMP. I'm not really sure how to troubleshoot an installation error or conflict. Everything else, except turtles, seems to work fine. Any hints on where to start troubleshooting in order to determine where my problem is would be greatly appreciated.
Wolvan #4
Posted 25 March 2012 - 08:32 PM
You installed normal MODLOADER on a Server? OK. Did you extract the CC Folder into the mods folder?
Casper7526 #5
Posted 25 March 2012 - 09:02 PM
You can start by giving us all the info you have…

CC Version
MC Version
All other mod versions
Crash Reports
Install procedure
Bandus #6
Posted 25 March 2012 - 09:20 PM
You installed normal MODLOADER on a Server? OK. Did you extract the CC Folder into the mods folder?

Actually, it is interesting you bring that up. I did indeed extra the CC folder into the mods folder on the server. However, after doing so the server began to panic and crash after awhile. I went to the tech support folks for my host provider and they indicated it was an issue with the mod and removed all the folders from the ComputerCraft directory except the /lua directory. It didn't make much sense to me, that being the issue, but the server did start to work again after that and I had no more issues until I ran into this one.

CC Version: 1.31
MC Version: 1.2.3
ModLoaderMP Version: 1.2.3 v3
MineForge Version: 1.4.0.46

I've not seen any crash reports, however, I did notice something else that may or may not be related to this issue. I noticed that when attempting to place monitors into the world (i.e. can craft them, but can't place them), the server crashes also.

As far as installation procedure goes, the hosting provider (MultiPlay) allowed me to simply add "addons" to the server for MineForge and ModLoaderMP. Theoretically, they also let you add ComputerCraft, but that was not working properly so I manually FTPed to the server to put the ComputerCraftServer (ComputerCraft directory from that archive) in the mods directory.

As a first step, I've tried adding the items that were removed by the tech support folks back to see if that causes server panics again.

I really appreciate all the assistance you all are trying to provide. Thank you.

Update: I added back the dan200, licenses, and org directories plus the mod_CCTurtle.class and mod_ComputerCraft.class directories to the ComputerCraft folder in the mods folder on the server. Immediately, clients were unable to connect to the server. The server didn't appear to crash, but wasn't reachable.

Update 2: I've determined that placing modems or disk drives also causes the server to go down. I'm pretty certain at this point it is crashing because of the fact that it is missing files from the mods/ComputerCraft directory. However, once again, the issue is that if the remaining files are added, no one can connect to the server.

Update 3: I've gone back and completely redid the installation manually following the instructions from this thread (http://www.minecraft...-with-monitors/). My installation process was as follows:

Following the server operator instructions I downloaded the minecraft_server.jar to my system, opened it using 7-Zip, and placed the appropriate files from ModLoaderMP Server 1.2.3 v3 and Minecraft Forge Recommended Server into the minecraft_server.jar file. I then uploaded the minecraft_server.jar back to the server. I then extracted and copied the ComputerCraft Server 1.31 ComputerCraft directory to the mods directory on the server. Next, I reverted to a vanilla minecraft.jar on my local client which is version 1.2.3. I followed the player instructions by opening minecraft.jar using 7-Zip and placed the appropriate files from ModLoader 1.2.3, ModLoaderMP 1.2.3 v3, and Minecraft Forge into the minecraft.jar file. I then extracted and copied the ComputerCraft Client folder to the .minecraft/mods directory on my system. The server immediately started crashing and generated the following errors messages:

Lock file '/var/lock/133273.pid'
Game dir '/usr/local/games/minecraft/beta'
Working dir '/usr/local/games/minecraft/beta/133273'
Game exe 'java'
Server 'Multiplay :: Gameserver' [133273]
PID = 84741
Mon Mar 26 02:44:47 2012: Running java:
args[0] = -Xmn128M
args[1] = -Xms160M
args[2] = -Xmx1536M
args[3] = -XX:+UseConcMarkSweepGC
args[4] = -XX:+UseParNewGC
args[5] = -XX:+CMSIncrementalPacing
args[6] = -XX:ParallelGCThreads=2
args[7] = -XX:+AggressiveOpts
args[8] = -classpath
args[9] = minecraft_server.jar
args[10] = net.minecraft.server.MinecraftServer
args[11] = nogui
PID = 84741
PID = 84742
Exception in thread "main" java.lang.IncompatibleClassChangeError: Implementing
class
		at java.lang.ClassLoader.defineClass1(Native Method)
		at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
		at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
		at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
		at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
		at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
		at java.security.AccessController.doPrivileged(Native Method)
		at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
		at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: net.minecraft.server.MinecraftServer. Program wil
l exit.
MC server 'Multiplay :: Gameserver' [133273] failed in under 30 seconds config e
rror? Shutting it down

and



Lock file '/var/lock/133273.pid'
Game dir '/usr/local/games/minecraft/beta'
Working dir '/usr/local/games/minecraft/beta/133273'
Game exe 'java'
Server 'Multiplay :: Gameserver' [133273]
PID = 84537
Mon Mar 26 02:29:24 2012: Running java:
args[0] = -Xmn128M
args[1] = -Xms160M
args[2] = -Xmx1536M
args[3] = -XX:+UseConcMarkSweepGC
args[4] = -XX:+UseParNewGC
args[5] = -XX:+CMSIncrementalPacing
args[6] = -XX:ParallelGCThreads=2
args[7] = -XX:+AggressiveOpts
args[8] = -classpath
args[9] = minecraft_server.jar
args[10] = net.minecraft.server.MinecraftServer
args[11] = nogui
PID = 84537
PID = 84540
182 recipes
27 achievements
2012-03-26 02:30:12 [INFO] Starting minecraft server version 1.2.4
2012-03-26 02:30:12 [INFO] Loading properties
2012-03-26 02:30:12 [INFO] Starting Minecraft server on 69.31.134.130:29665
2012-03-26 02:30:12 [INFO] Preparing level "world"
2012-03-26 02:30:12 [INFO] Default game type: 0
2012-03-26 02:30:12 [INFO] Preparing start region for level 0
Skipping TileEntity with id computer
2012-03-26 02:30:13 [INFO] Done (835416619ns)! For help, type "help" or "?"
2012-03-26 02:30:13 [INFO] Starting GS4 status listener
2012-03-26 02:30:13 [INFO] Starting remote control listener
2012-03-26 02:30:13 [INFO] Query running on 69.31.134.130:29665
2012-03-26 02:30:13 [INFO] RCON running on 69.31.134.130:29675
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000800972786, pid=84540, tid=36228163520
#
# JRE version: 6.0-b23
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode bsd-amd64 compressed oo
ps)
# Problematic frame:
# C  [libc.so.7+0xf4786]  memcpy+0x16
#
# An error report file with more information is saved as:
# /.rw/games/minecraft/beta/133273/hs_err_pid84540.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Mon Mar 26 02:40:47 2012
MC server 'Multiplay :: Gameserver' [133273] failed - signal: 6, exit: 0

Obviously, because the server is continually crashing it is indicating it is unreachable on the client.
Bandus #7
Posted 26 March 2012 - 09:55 PM
The more I've worked on this issue, the more I'm thinking it may be a problem with the folks hosting, etc. I'm going to work with them to attempt to get it resolved and will return to this thread if that turns out not to be the issue. Thank you all for the assistance you've provided.
dark #8
Posted 27 March 2012 - 03:58 PM
does your host provider have your server files and mods/jar files separated into different directories. I have a server threw mossycobble and they use multicraft to run all there minecraft servers. Using mutlicraft the jars/mods are in a folder called jars and the server files/config/saves are in a folder called servers/ServerName. In doing this i had issues with my computercraft running and had to create a new folder in the server directory and place a copy of computercraft in it. This way computer craft would be loaded from the jar/mod folder yet get all of its lua resrouce from the server/servername/mods folder.

another thing you might want to look at is that the block ids match both multiPlayer and singlePlayer. Some times if they do not you can get strange crashs crafting, placing and using. Also check too see if your Gui ids match or are being used by another mod. I'm not sure what the defaults are but for bukkit ComputerCraft 1.31 backport its 100, 101 which will conflict with Buildcraft-IC2 crossover mod. Gui ids can't normaly be change on computercraft so its a good ideal to fix them on other mods to work around computercraft. If you cant there is a good tool on mcportcentral forum that can open up a class file and let you change the base settings.