Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] [Release] TWLan / DSLan v1.4.3L1 for Linux
#1
TWLan / DSLan for Linux 1.4.3L1

This package is based on DSLan 1.4.3 (1.4, third release on 10 August 2010).

The official download from DSLan is 35MB in download size (extracted: 74MB). My package is only 10MB in download size (extracted: 21MB).
Why is this package so small in size (72% smaller)?


This package contains:
  • Apache 2.2 webserver
  • MySQL 5.1 database
  • PHP 4 + eAccelerator 0.9.5.3
  • Enhanced DSLan game code (see below)
  • Startup script which takes care of solving common problems

Game code enhancements
  • Added Graphic Packages (v4.x / v5) Defaults to v5
  • Added archers and mounted archers
  • Includes translations for:
    • Deutsch (German) (missing: graphics package)
    • Nederlands (Dutch)
    • English
  • Added translations for the Smithy
  • Fixed character set issues (a questionmark showing up instead of accents)
  • Added "Select all units" in Rally point
  • Fixed other bugs:
    • basic defense was not showing up in Wall
    • Homepage and IRC were not shoting up in tribe profiles
    • targets.tpl: numbers are now properly formatted
    • [technical] Class DB_MySQL: FILTER_LOCKTABLES is now properly used
    • [technical] Class aLang showed only one character in error messages when using the grab() method.
  • Help: added an option to switch between point difference and point total
  • Made all pages XHTML 1.0 Transitional valid

Download
TWLan can be downloaded from http://twlan.lekensteyn.nl/

Installation instructions
See http://twlan.lekensteyn.nl/

Compatiblity tested with Debian and Ubuntu. If it works for your distro, please report it.

Windoze build is in progress.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#2
allowed.
#3
Thanks Smile
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#4
The download links are now available!
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#5
I've uploaded the installer again. It was corrupted because it have been transferred in ASCII mode, while the file was a binary.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#6
I have a error:

Starting Apache...
Checking for port 80: unused
httpd: Syntax error on line 18 of /opt/twlan/apache/conf/httpd.conf: Cannot load /opt/twlan/apache/modules/libphp4.so into server: /opt/twlan/apache/modules/libphp4.so: cannot restore segment prot after reloc: Permission denied
Apache could not be started.

I use centOS 5! Smile
#7
Thanks for your report. After a quick search, I've found it's a problem related to SELinux.

Try this (only if you get that error):
Code:
find /opt/twlan -name '*.so*' -exec chcon -t texrel_shlib_t {} \;
I've been inspired by the selinux script from LAMPP and http://wiki.centos.org/HowTos/SELinux#he...12c2a02199

@k3v95, Linux won't have hidden problems like Windoze (Skype, ..). If an application is using port 80, my startup script will display the path to that application.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#8
(10.11.2010, 17:29)idefixjm Wrote:
(09.11.2010, 20:45)Bettdecke1 Wrote:
(09.11.2010, 17:04)idefixjm Wrote: wie meinst du das mit teamviewer?

entschuldigung, ich versehe bei englischen wörtern nur bahnhof=)

Teamviewer ist ein programm, mit dem z.B. PC A, Laptop B über das Internet steuern kann.. Kannst die das ja mal auf http://teamviewer.de anschauen Smile

ich wollte jetzt eigentlich nicht einen anderen PC steuern, sondern DS-lan spielen=)
gibt es eigentlich ein Programm, das so tut als wäre es Windoof?
so kann ich die Windoof version verwenden...

What operating system are you using? Winblows or Linux?
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#9
(10.11.2010, 18:25)Lekensteyn Wrote:
(10.11.2010, 17:29)idefixjm Wrote:
(09.11.2010, 20:45)Bettdecke1 Wrote:
(09.11.2010, 17:04)idefixjm Wrote: wie meinst du das mit teamviewer?

entschuldigung, ich versehe bei englischen wörtern nur bahnhof=)

Teamviewer ist ein programm, mit dem z.B. PC A, Laptop B über das Internet steuern kann.. Kannst die das ja mal auf http://teamviewer.de anschauen Smile

ich wollte jetzt eigentlich nicht einen anderen PC steuern, sondern DS-lan spielen=)
gibt es eigentlich ein Programm, das so tut als wäre es Windoof?
so kann ich die Windoof version verwenden...

What operating system are you using? Winblows or Linux?

Was heißt das auf deutsch?
ich verstehe nur Windoof und Linux...
#10
Welches Betriebssystem verwendest du?
(Ich nehme an Linux.)

LG
Molt
#11
ich verwende linux und schaffe es nicht, dslan zu spielen...
danke fürs übersetzen
#12
(10.11.2010, 18:34)idefixjm Wrote: ich verwende linux und schaffe es nicht, dslan zu spielen...
danke fürs übersetzen

Was für ein Linux-Distribution hast du? (Ubuntu, Suse, ..?)

(What Linux distribution are you using?)
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#13
Ubuntu 10.04 LTS steht da
#14
OK.
Molt hat ein ausgezeichnete Anleitung geschrieben:
(11.11.2010, 17:54)Molt Wrote: Ok, ich probiers mal dir zu erklären:

1. Das hier downloaden und in deinen Benutzerordner tun.
2. Ein Terminal (Eingabeaufforderung, Kommandozeile, oder wie du es nennen willst) als Administrator starten und folgendes eingeben:
Code:
sudo sh ./twlan-1.4.3L1.sh
Sagt er das:
Code:
TWLan  installation
Select installation type:
1) Standard (recommended for novices)
2) Custom
Choose an option:
drückst du 1 und enter.
Sagt er das:
Code:
Pick the default language for TWLan. Possible options are:
   DE : German (Deutsch)
   NL : Dutch (Nederlands)
   EN : English (English)
Choose a language [de,nl,en]:
schreibst du de und drückst enter.
Sagt er das:
Code:
Choose an password for TWLan admin interface:
oder das:
Code:
Re-enter your password:
gibst du ein Passwort ein, das du dir gut merken kannst.
Und wenn das kommt:
Code:
Got enough information. Press Enter to continue the installation
drückst du enter.

LG
Molt

Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#15
Hi Lekensteyn,

first of all thanks for the time you invested in this release. It's sounds very nice and i would love to try it but here comes the trouble...

The setupscript itself ran without any problem till it should start the httpd server which couldn't be found:
Checking for port 80: unused
env: /opt/dslan/twlan/apache/bin/httpd: No such file or directory
Apache could not be started.

MySQL and the Events handler started normal and the file "/opt/dslan/twlan/apache/bin/httpd" exists.

I use Ubuntu 10.10 server amd64.

Any advise?
#16
port 80 ist aber frei Wink

sagt mir das setup und:
j***@u-server:~$ sudo netstat -nlp
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1547/sshd
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 699/inetd
tcp6 0 0 :::139 :::* LISTEN 628/smbd
tcp6 0 0 :::22 :::* LISTEN 1547/sshd
tcp6 0 0 :::445 :::* LISTEN 628/smbd
udp 0 0 0.0.0.0:68 0.0.0.0:* 785/dhclient3
udp 0 0 192.168.178.255:137 0.0.0.0:* 804/nmbd
udp 0 0 192.168.178.199:137 0.0.0.0:* 804/nmbd
udp 126784 0 192.168.178.255:137 0.0.0.0:* 804/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 804/nmbd
udp 0 0 192.168.178.255:138 0.0.0.0:* 804/nmbd
udp 0 0 192.168.178.199:138 0.0.0.0:* 804/nmbd
udp 50736 0 192.168.178.255:138 0.0.0.0:* 804/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 804/nmbd
Aktive Sockets in der UNIX-Domäne (Nur Server)
Proto RefCnt Flags Type State I-Node PID/Program name Pfad
unix 2 [ ACC ] STREAM HÃRT 6951 723/winbindd /var/run/samba/winbindd_privileged/pipe
unix 2 [ ACC ] STREAM HÃRT 5834 1/init @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM HÃRT 6949 723/winbindd /tmp/.winbindd/pipe

desweiteren würde bei nem blockiertem port nicht diese fehlermeldung auftreten...
#17
(11.11.2010, 22:59)blner Wrote: Hi Lekensteyn,

first of all thanks for the time you invested in this release. It's sounds very nice and i would love to try it but here comes the trouble...

The setupscript itself ran without any problem till it should start the httpd server which couldn't be found:
Checking for port 80: unused
env: /opt/dslan/twlan/apache/bin/httpd: No such file or directory
Apache could not be started.

MySQL and the Events handler started normal and the file "/opt/dslan/twlan/apache/bin/httpd" exists.

I use Ubuntu 10.10 server amd64.

Any advise?
The applications are not 64 bits compatible. Try installing the 32bits compatibility package ia32-libs
I've currently no 64bits pc/OS, so I can't create+test a 64 setup.
When possible, I'll create a separate 64 bits package.

(11.11.2010, 23:03)k3v95 Wrote: have you skype open?
That're windoze problems Wink
(12.11.2010, 06:43)k3v95 Wrote: dann versuch nochmal, weil weil port 80 auch durch andere sachen gespert sein kann
If you run "./twlan.sh status", you'll see whether the ports are in use or not.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#18
(12.11.2010, 10:21)Lekensteyn Wrote: The applications are not 64 bits compatible. Try installing the 32bits compatibility package ia32-libs
I've currently no 64bits pc/OS, so I can't create+test a 64 setup.
When possible, I'll create a separate 64 bits package.
i knew i had forgotten something... but honestly i had
expect another errormessage for a 32bit-64bit compatibility problem...

thanks! now it's working Wink


#19
(11.11.2010, 19:42)Lekensteyn Wrote: OK.
Molt hat ein ausgezeichnete Anleitung geschrieben:
(11.11.2010, 17:54)Molt Wrote: Ok, ich probiers mal dir zu erklären:

1. Das hier downloaden und in deinen Benutzerordner tun.
2. Ein Terminal (Eingabeaufforderung, Kommandozeile, oder wie du es nennen willst) als Administrator starten und folgendes eingeben:
Code:
sudo sh ./twlan-1.4.3L1.sh
Sagt er das:
Code:
TWLan  installation
Select installation type:
1) Standard (recommended for novices)
2) Custom
Choose an option:
drückst du 1 und enter.
Sagt er das:
Code:
Pick the default language for TWLan. Possible options are:
   DE : German (Deutsch)
   NL : Dutch (Nederlands)
   EN : English (English)
Choose a language [de,nl,en]:
schreibst du de und drückst enter.
Sagt er das:
Code:
Choose an password for TWLan admin interface:
oder das:
Code:
Re-enter your password:
gibst du ein Passwort ein, das du dir gut merken kannst.
Und wenn das kommt:
Code:
Got enough information. Press Enter to continue the installation
drückst du enter.

LG
Molt

hat zwar geklappt, aber nach dem ersten mal spielen sagt er jetzt das:

Code:
Warning: Smarty error: unable to read resource: "../templates/index_steps.tpl" in /opt/twlan/htdocs/lib/smarty/Smarty.class.php on line 2

was heißt das und was soll tch tun?
#20
I've deleted a few unnecessary posts that weren't really related to this, a few posts from k3v95 asking the same question if he one had skype open over and over again and a discussion from k3v95 and idefixjm about TeamViewer and Skype.

Ich hab mal ein paar unnötige Beiträge gelöscht...

@idefixjm: Hast du Leserechte vergeben? (Sorry Lekensteyn, my linux support will be horrible since I don't have a working Linux system right now)




Users browsing this thread: 5 Guest(s)