Closed godleydemon closed 10 years ago
Hey godleydemon,
The jar.conf the server is launching is cauldron-server.jar.conf, which prepare.sh would interpret the jar being named cauldron-server.jar. So you can either rename cauldron-server.jar.conf to cauldron.jar.conf and it will work with the existing prepare.sh, or you can edit prepare.sh so it looks for cauldron-server.jar instead, line 152 in the prepare.sh you pasted above.
Let me know if this fixes it.
Thank you, Jon
still having the same issue. Went ahead and yanked out the cauldron-server.jar from the zip I had of it and threw it into the jar directory for multicraft (not the client directory). My only guess, it's failing to create the directory and copy the jar from the main jar directory for Multicraft. Prepare.sh has remained unchanged. Only thing that has been changed is that there is now a cauldron-server.jar in the main multicraft jar directory.
Any other suggestions would be appreciated :)
Yep, placing the jar there does not effect anything. the "if" statement in prepare.sh read's the jar name that multicraft is passing it, and multicraft determines the jar name based on the name of the jar.conf, so a godleydemon.jar.conf would be godleydemon.jar. Since you have not renamed the cauldron-server.jar.conf to cauldron.jar.conf, the issue still remains.
Edit prepare.sh, and change the if statement to look for cauldron-server.jar instead of cauldron.jar, and you will be in good shape.
Yups, that seems to have fixed it and now I feel like and idiot and I should have seen that, lol. That's what I get for working so late and getting tunnel vision on things. Now I just have to figure out why in the world my console isn't working correctly. Works for some things, but not for others :/
Could it be because it's putting the log file into the cauldron directory instead of the log directory? That would make sense, and that would mean I have some php errors here on how it grabs the log file.
So it seems I have a problem with my log.php file now, but that's not your issue XD. I was able to figure out why it wasn't displaying the log, but now it's not passing the command to refresh the console window anymore... -.-
Thankyou for your help bud, sometimes you just need someone to smack you in the head.
Anytime, glad you are enjoying the scripts.
Seems to be a problem in changing the directory, and it's causing the server to not launch. Going to include a pastebin with the log and my current Prepare script and directory read out.
Multicraft.log
Prepare.sh
Directory Structure