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!

Linux shell script launcher for xiuzsource

Newbie Spellweaver
Joined
Mar 9, 2016
Messages
29
Reaction score
0
The bash script looks like this:

@echo offcolor bclstitle XiuzSource Starter
echo XiuzSource has started:
start /b launch_world.sh
echo World Launched
ping localhost -w 10000 >nul
ping localhost -w 10000 >nul
start /b launch_login.sh
echo Login Launched
ping localhost -w 10000 >nul
ping localhost -w 10000 >nul
start /b launch_channel.sh
echo Channel Launched

I'm trying to convert this to a shell script but I am not sure how to make the ping or start line work.
When I remove it, the code stops after launch_world.sh

How do I run another sh file on a shell script and be able to run other commands after it?

Thank you!
 
Joined
Apr 10, 2008
Messages
4,087
Reaction score
1,264
The bash script looks like this:
I'm trying to convert this to a shell script but I am not sure how to make the ping or start line work.
When I remove it, the code stops after launch_world.sh

How do I run another sh file on a shell script and be able to run other commands after it?

Thank you!

Not a Linux expert, but .

Also, ping just makes it "delay" so the servers that depend on each other can load after their parent servers have loaded. You can just run them manually and pause for a bit before running the others in this order: LoginServer -> WorldServer -> ChannelServer(s).
 
Upvote 0
Back
Top