LCKB
.startService.sh for EP1 - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep1 Support (https://lckb.dev/forum/forumdisplay.php?fid=177)
+------ Forum: Solved Topics (https://lckb.dev/forum/forumdisplay.php?fid=145)
+------ Thread: .startService.sh for EP1 (/showthread.php?tid=2367)

Pages: 1 2 3


- BaZZtian - 08-27-2013


Hey Guys i search a working .startService.sh for EP1 Linux Files ...

 

i tried

#!/bin/sh

cd Connector;
./start;
sleep 5;

cd ../../;
cd Helper;
./start;
sleep 5;

cd ../../;
cd Messenger;
./start;
sleep 5;

cd ../../;
cd GameServer;
./start;
sleep 5;

cd ../../;
cd LoginServer;
./start;
sleep 5;

but it gives me this

[root@kd27358 ~]# cd /home/LastChaos                                           
[root@kd27358 LastChaos]# ./startService.sh                                    
cp: cannot stat `../../new/Connector: No such file or directory
Loading Setting File...
LastChaos Connector Running... (Language:Korean)
./startService.sh: line 9: cd: Helper: No such file or directory
./startService.sh: line 10: ./start: No such file or directory
./startService.sh: line 14: cd: Messenger: No such file or directory
./startService.sh: line 15: ./start: No such file or directory
./startService.sh: line 19: cd: GameServer: No such file or directory
./startService.sh: line 20: ./start: No such file or directory
./startService.sh: line 24: cd: LoginServer: No such file or directory
./startService.sh: line 25: ./start: No such file or directory

can any1 help me ?

 

 




- HateMe - 08-28-2013


 

 
#!/bin/sh

cd Connector;
./start;

cd ../;
cd Helper;
./start;

cd ../;
cd Messenger;
./start;

cd ../;
cd GameServer;
./start;

cd ../;
cd LoginServer;
./start;
 




- BaZZtian - 08-28-2013


thx but now ...
 

[root@kd27358 ~]# cd /home/LastChaos
[root@kd27358 LastChaos]# ./startService.sh
[root@kd27358 LastChaos]# cp: cannot stat `../../new/Helper: No such file or directory
cp: cannot stat `../../new/Messenger: No such file or directory
cp: cannot stat `../../new/Connector: No such file or directory
Load setting file....
Helper Server Running...
cp: cannot stat `../../new/*tar.gz: No such file or directory
Load setting file....
Messenger Server Running...
Loading Setting File...
LastChaos Connector Running... (Language:Korean)
cp: cannot stat `../../new/LoginServer: No such file or directory
Load setting file....
tar: *tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Login Server Running...
rm: cannot remove `*tar.gz: No such file or directory
cp: cannot stat `../../new/GameServer: No such file or directory
Load setting file....
SETTINGS
: Old Network Format
: Little Endian
Force start zone 0
LastChaos Running...

i dont know what is worng there -.-

 

i got same error like my first when i make a /new/ folder ...




- Wizatek - 08-28-2013

./Helper start &




- Paramount - 08-28-2013


I dont understand, you need to start EP1 on Linux?

If yes, you need to install mono or wine. Then something like this:

 

 

cd Connector;
mono Connector.exe

cd ../;
cd Helper;
mono Helper.exe

cd ../;
cd Messenger;
mono Messenger.exe

cd ../;
cd GameServer;
mono GameServer.exe

cd ../;
cd LoginServer;
mono LoginServer.exe
 



- BaZZtian - 08-28-2013



 

I dont understand, you need to start EP1 on Linux?

If yes, you need to install mono or wine. Then something like this:

cd Connector;
mono Connector.exe

cd ../;
cd Helper;
mono Helper.exe

cd ../;
cd Messenger;
mono Messenger.exe

cd ../;
cd GameServer;
mono GameServer.exe

cd ../;
cd LoginServer;
mono LoginServer.exe
 

 

i dont have Windows Files on Linux ...

my Server Files are 100% Linux

Undecided




- Paramount - 08-28-2013



i dont have Windows Files on Linux ...

my Server Files are 100% Linux

Undecided

This means you are using EP2? I have never seen EP1 in linux lol, only 2005




- Nymphetamine - 08-28-2013


This means you are using EP2? I have never seen EP1 in linux lol, only 2005

Same :o




- BaZZtian - 08-28-2013

thats what i wnat to start ... i have 2005 Files that i want to start




- BaZZtian - 08-28-2013


thats my run file ... that cant work -.-

#!/bin/bash

while ( : ) do
DATE=`date`
if [ -r .shutdown ]; then
rm -f .shutdown
fi

#cp ../../new/Connector .
./Connector test

DATE2=`date`
if [ -r .shutdown ]; then
echo "***** Shutdown $DATE ~ $DATE2" >> rebootlog
exit
fi

echo "!!!!! Reboot $DATE ~ $DATE2" >> rebootlog
sleep 2
done