Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use
viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Naonah
Posts: 357 Joined: Sun Apr 04, 2010 11:12 pm
Post
by Naonah » Thu Nov 18, 2010 10:45 am
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision
Number :
L2JDP Revision
Number :
Hi
I run servers on Linux and use Putty to start them. All is OK but when
I close Putty servers are killed, lol.
Could you tell me how to close Putty not closing sessions?
Thank you.
Best regards.
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
Aikimaniac
L2j Inner Circle
Posts: 3048 Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia
Post
by Aikimaniac » Thu Nov 18, 2010 10:49 am
you have to run it in separate process...not directly in putty...
Naonah
Posts: 357 Joined: Sun Apr 04, 2010 11:12 pm
Post
by Naonah » Thu Nov 18, 2010 10:50 am
Aikimaniac wrote: you have to run it in separate process...not directly in putty...
Could you make it a bit clear? Sry
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
Negat1ve
Posts: 46 Joined: Thu May 07, 2009 8:46 am
Post
by Negat1ve » Thu Nov 18, 2010 11:06 am
use exit command
Aikimaniac
L2j Inner Circle
Posts: 3048 Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia
Post
by Aikimaniac » Thu Nov 18, 2010 11:10 am
create som file..lets name it GS_Start and open it...then put inside (with proper paths and stuff) following..make same for LS as well...if you use itemlogging...put itemlog in there as well..
Code: Select all
#!/bin/shcd /home/lineage/serverps ux > lineage.pidgalive=`grep -l 'GameServer' lineage.pid | wc -l`;if [ $galive -eq 0 ]thencd /home/lineage/server/gameserverGLOG="log/gconsole-"GMSGLOG="log/gconsole-msg-"CHATLOG="log/chat.log"[ ! -e $GLOG ] && mkfifo $GLOG[ ! -e $GMSGLOG ] && mkfifo $GMSGLOG[ ! -e $CHATOG ] && mkfifo $CHATLOG./startGameServer.sh >$GMSGLOG 2>$GLOG &fi
Naonah
Posts: 357 Joined: Sun Apr 04, 2010 11:12 pm
Post
by Naonah » Thu Nov 18, 2010 11:29 am
Code: Select all
pisior@xxxxx:~/ServerFreya$ chmod +x Lserver.shpisior@xxxxx:~/ServerFreya$ ./Lserver.sh-bash: ./Lserver.sh: /bin/bash^M: bad interpreter: No such file or directorypisior@xxxxx:~/ServerFreya$
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
_DS_
L2j Veteran
Posts: 3437 Joined: Wed Apr 30, 2008 8:53 am
Location: Russia
Post
by _DS_ » Thu Nov 18, 2010 11:50 am
Use windows
PS. man screen
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Naonah
Posts: 357 Joined: Sun Apr 04, 2010 11:12 pm
Post
by Naonah » Thu Nov 18, 2010 1:39 pm
Done.
I made executable files and placed them in /etc/init.d. Now I start servers by commands from root :service login start, service gameserver start.
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
blacksea
Posts: 458 Joined: Fri Oct 05, 2007 1:29 am
Post
by blacksea » Thu Nov 18, 2010 2:01 pm
use startGameServer.sh , startLoginServer.sh and you will have them in background, chmod +x first
Naonah
Posts: 357 Joined: Sun Apr 04, 2010 11:12 pm
Post
by Naonah » Thu Nov 18, 2010 3:39 pm
blacksea wrote: use startGameServer.sh , startLoginServer.sh and you will have them in background, chmod +x first
...so scripts LoginServer_loop.sh and GameServer_loop.sh
are wrong?
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
kotk
Posts: 99 Joined: Wed Jan 04, 2006 12:51 am
Post
by kotk » Thu Nov 18, 2010 4:10 pm
startGameServer.sh and startLoginServer.sh calls the other scripts.
Naonah
Posts: 357 Joined: Sun Apr 04, 2010 11:12 pm
Post
by Naonah » Thu Nov 18, 2010 9:12 pm
kotk wrote: startGameServer.sh and startLoginServer.sh calls the other scripts.
I think the same
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}