Main Contents

L2j, Auto Startup On Server Crash

November 26, 2008

This script is not mine. I stole it somewhere from l2j forums.
You create a file and copy-paste the following text in it:
#!/bin/bash
pid=`ps -C GameServer_loop.sh -o pid=`
pid2=`ps -C java -o pid=`
if [ ! $pid ] ;
then
if [ $pid2 ] ;
then
kill $pid2
fi
echo “Gameserver was restarted “`date` >> /path/to/gameserver/log/restarter.log
cd /path/to/gameserver #PATH TO YOUR SERVER
./startGameServer.sh &
fi
Then by crontab we [...]

Filed under: Linux | Comments (0)

L2j, Auto Server Restart

November 24, 2008

This is for Linux and only Linux and will work on more distros (I use Debian Stable).

First you enable telnet on gameserver. Set password, post etc.
You create a file with any name, lets say here: rr_telnet.sh
Write in this file (or copy-paste):
(echo “password”; sleep 3; echo “shutdown 600″; sleep 3; echo “exit”) | telnet 127.0.0.1 12345
Save [...]

Filed under: Linux | Comments (1)

How to play Lineage II Gracia Part 2 from Linux

November 20, 2008

This method is not that hard but requires -some- knowledge.
What you will need:
Internet, a Linux with installed VGA drivers, a private server with gameguard check disabled (like RaidFight), Patience.

Install Lineage 2 Gracia: Part 2, update client.
Get patched system: http://www.raidfight.com/files/linux/Linux_Gracia_Part_2.tar.gz
Remove/backup old system and use the one provided above.
Get Tahoma font, and place it inside ~/.wine/drive_c/windows/fonts - [...]

Filed under: Linux | Comments (0)

How to play Lineage 2 Gracia: Part 1 from Linux

August 15, 2008

This method is not that hard but requires -some- knowledge.
What you will need: Internet, A Linux install with VGA drivers, a private server with gameguard check disabled (like RaidFight), Patience.
1- Install Lineage 2 Gracia: Part 1.
2- Get patched system: Here
3- Delete old system and use the one provided above.
4- Get Tahoma font, and place it [...]

Filed under: Linux | Comments (0)