Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

L2J FreeBsd 11.1 ./startGameServer.sh wont run

Initiate Mage
Joined
Jan 27, 2016
Messages
1
Reaction score
0
Hello friends i have problem starting gameServer.sh ,when i type ./startGameServer.sh i get output "./startGameServer.sh: ./GameServer_loop.sh: not found" all files have permission "chmod +x" RegisterGameServer.sh and other is working. I searching for solution 2 days.
startGameServer.sh file config:


#! /bin/sh

./GameServer_loop.sh &

GameServer_loop.sh file config:

#!/bin/bash

# exit codes of GameServer:
# 0 normal shutdown
# 2 reboot attempt

while :; do
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"
[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
java -Xms1024m -Xmx1024m -cp ./../libs/*:L2JLisvus.jar net.sf.l2j.gameserver.GameServer > log/stdout.log 2>&1
[ $? -ne 2 ] && break
# /etc/init.d/mysql restart
sleep 10
done


Skype:Robertas-Navickas
 
Back
Top