Total servers: 4
The Whole Film Of Storage 24 (LieroX2 General Discussion) by Gloriagrub Today at 07:37:45 am
[Army of Glory] - [AoG] ([AoG]) by Morby May 22, 2013, 10:33:37 pm
- Like a Boss - (Clan threads) by Morby May 22, 2013, 10:30:55 pm
Old community member outreach (LieroX2 General Discussion) by JasonB May 21, 2013, 12:50:52 pm
Saturday Nights (Graveyard [RIP]) by MiLeC May 19, 2013, 01:10:07 am
Komica classic
Liero v2.0 – 44lt
IP: 123.192.2.150
Game Mode: Death Match
Lives: 5
Max Kills: 0
Version: OpenLieroX 0.58 rc3
Players:
Thomas(3 lives, 4 kills)
imdark(2 lives, 4 kills)
fox(0 lives, 2 kills)
Cruel Mod by iRod
Cruel v0.96 – 50lt
IP: 69.255.183.244
Game Mode: Death Match
Lives: 5
Max Kills: 0
Version: OpenLieroX 0.58 rc3
Players:
iRod(0 lives, 0 kills)
[CPU]I'm Not A Human(5 lives, 0 kills)
[CPU]I'm Not A Human(5 lives, 0 kills)
Kurko's testlab
Liero v1.0 – 100lt
IP: 91.156.42.210
Game Mode: Death Match
Lives: 5
Max Kills: 20
Version: OpenLieroX 0.58 rc3
Players:
Tommy_Vercetti(0 lives, 5 kills)
IEmpI^Love(0 lives, 2 kills)
heikki (2 lives, 7 kills)
Hathat(0 lives, 7 kills)
Lindis(0 lives, 0 kills)
mortars by lxalliance.net
Modern Warfare1.0 – 20lt
IP: 37.205.11.54
Game Mode: Death Match
Lives: 7
Max Kills: 23
Version: OpenLieroX 0.58 rc3
Players:
Pages: 1 [2] 3 4  All   Go Down

Author Topic: Plz help me get dedicated server to work.  (Read 4268 times)

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #20 on: February 22, 2010, 05:52:00 pm »
This works very well  :) http://www.expandrive.com/windows
Now I only have to install liero...
I have a little problems with dependencies though  :P
Code: [Select]
root@ServerA:/tmp# gdebi openlierox_0.59.beta5_i386.deb
Reading package lists: Done
Reading state information: Done
Reading state information: Done
Reading state information: Done
Reading state information: Done
This package is uninstallable
Dependency is not satisfiable: libopenal0a|libopenal1a

root@ServerA:/tmp#

I am using latest version of Ubuntu (server edition). Which packages should I install to make it stop whine about OpenAL?

albert

Re: Plz help me get dedicated server to work.
« Reply #21 on: February 22, 2010, 06:04:57 pm »
What OpenAL packages are there?

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #22 on: February 23, 2010, 07:58:09 pm »
What OpenAL packages are there?

I think this is "the OpenAL library" on Ubuntu Karmic Koala (9.10) (latest version of ubuntu):
http://packages.ubuntu.com/en/karmic/libs/libopenal1

When I search for the other two packages "libopenal0a" and "libopenal1a", which seems to be required by openlierox_0.59.beta5_i386.deb I find this:

http://packages.ubuntu.com/search?keywords=libopenal0
http://packages.ubuntu.com/search?keywords=libopenal0a

They seem to exist only in repositories of older versions (dapper and hardy) of ubuntu?

stuff I did:
Code: [Select]
root@GleSYS-VPS:/tmp# apt-get install libopenal1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libopenal1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@GleSYS-VPS:/tmp# apt-get install libopenal1a
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libopenal1a
Means I have libopenal1
Means libopenal1a does not exist?

other stuff I did:
Code: [Select]
root@GleSYS-VPS:/tmp# apt-get install libopenal0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libopenal0
root@GleSYS-VPS:/tmp#  apt-get install libopenal0a
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libopenal0a is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libopenal0a has no installation candidate
root@GleSYS-VPS:/tmp#
Means libopenal0 does not exist?
Means libopenal0a does not exist?

Err... What should I do to make the installation process work?  :)
btw, Wouldn't it be cool if we/openlierox where in repositories (for exampe ubuntu package repositories)? That way perhaps more people would start playing the game as it would be easier to install and more visible?
« Last Edit: February 23, 2010, 08:40:51 pm by Olof Larsson »

SteelSide

Re: Plz help me get dedicated server to work.
« Reply #23 on: February 23, 2010, 10:29:46 pm »
If you're going to be developing for the dedicated server you don't need that.
Instead check the wiki on using git and do a pull, then build it for dedicated only. Will require some development packages but not openAL :)
Get yourselves to IRC asap, I'm lonely. (And please change nick from OpenLieroXor)

albert

Re: Plz help me get dedicated server to work.
« Reply #24 on: February 23, 2010, 11:37:08 pm »
Quote
Means I have libopenal1
Means libopenal1a does not exist?

I guess it was a typo by me in the Debian dependency file. :P

Quote
btw, Wouldn't it be cool if we/openlierox where in repositories (for exampe ubuntu package repositories)? That way perhaps more people would start playing the game as it would be easier to install and more visible?

Yes, that would be very nice! I already have contacted Debian about it - but the progress is very slow. We also have a mentor which is responsible for our project and I have good contact to her (I have met her already personally on the CCC - and that is sth special because she lives in Argentinia). But she is very busy with other stuff and there were some problems with OLX in the beginning (mostly licence problems - and Debian is very strict there). Those should all be fixed but I don't want to annoy her all the time by asking again and again about it.

Quote
Instead check the wiki on using git and do a pull, then build it for dedicated only. Will require some development packages but not openAL

That is of course much more difficult instead of just installing the package (if it would work...).

But as you anyway probably check out the files via Git (to work on it and commit your changes back online), this is not that much additional work.

Read in our Wiki, we have a page which describes exactly how to check out the source via Git and how to compile on Linux.

Anyway, I'm not sure if the compile flag DEDICATED_ONLY=On works right now. Didn't tested that for a long time and I doubt it. But it's not really a problem to compile and use the full OLX. It also doesn't matter what OpenAL version you have when you compile it yourself.

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #25 on: February 23, 2010, 11:46:21 pm »
I guess it was a typo by me in the Debian dependency file. :P
Yeah! I found a typo  :D

Yes, that would be very nice! I already have contacted Debian about it ...
Glad to hear that  :)

I'll try to check out via git and compile  :)
It will be my first time compiling on linux though XD
In case I fail it would be nice if you fixed the dependency file so I can install without compiling  :P

albert

Re: Plz help me get dedicated server to work.
« Reply #26 on: February 23, 2010, 11:53:45 pm »
It will be my first time compiling on linux though XD
In case I fail it would be nice if you fixed the dependency file so I can install without compiling  :P

Sure I will fix that but it will only be for the next release. :P

I doubt that you fail to compile. That is kind of trivial on Linux. If it doesn't work out-of-the-box (but I would even doubt that), maybe some of the information in our Wiki is not correct anymore. But just post the error and I can tell you immediatly what to do.

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #27 on: February 24, 2010, 12:39:20 am »

albert

Re: Plz help me get dedicated server to work.
« Reply #28 on: February 24, 2010, 02:24:35 am »
If you are going to compile the source, I would highly recommend that you use the source from Git. You should do that in any case when you work on the dedicated scripts. Esp. take the 0.59 branch.

Instead of installing libgd2-noxpm-dev, you could also install libgd2-xpm-dev (I don't really understand why Debian has seperated them and made the situation so ugly, resulting in such stupid problems...). That should probably get rid of this problem.

You still have forgotten to installed some of the other dev libs.

Quote
/home/olof/dls/OpenLieroX_0.58_rc3.src/OpenLieroX/./include/HTTP.h:23:23: error: curl/curl.h: No such file or directory

-> You have not installed the curl dev package. :)

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #29 on: February 24, 2010, 09:43:24 am »
If you are going to compile the source, I would highly recommend that you use the source from Git. You should do that in any case when you work on the dedicated scripts. Esp. take the 0.59 branch.
Yes however I thought I should try to make it compile on latest stable version first, to make sure I can do that.

Instead of installing libgd2-noxpm-dev, you could also install libgd2-xpm-dev (I don't really understand why Debian has seperated them and made the situation so ugly, resulting in such stupid problems...). That should probably get rid of this problem.
I installed libgd2-xpm-dev and that worked

-> You have not installed the curl dev package. :)
The curl package was not menitioned in the wiki article. Perhaps it should be added there? however I installed libcurl4-gnutls-dev and then it compiled!  :D


However:

Code: [Select]
olof@GleSYS-VPS:~/dls/OpenLieroX_0.58_rc3.src/OpenLieroX$ ./start.sh dedicated
H: OpenLieroX/0.58_rc3 is starting ...
H: This is a DEBUG build.
n: Free memory: 225 MB
n: Current time: Wed Feb 24 09:40:06 2010
n: ThreadPool: creating 40 threads ...
n: I have now the following searchpaths (in this order):
n:   /home/olof/.OpenLieroX
n:   .
n:   /usr/share/games/OpenLieroX
n:  And that's all.
n: Reading game options from /home/olof/.OpenLieroX/cfg/options.cfg
n: Will write game options to /home/olof/.OpenLieroX/cfg/options.cfg
n: Default theme is used
n: DONE loading options
n: Installing CrashHandler .. installed Breakpad handler
n: Loading network texts... DONE
n: Loading taunts... DONE
n: Hello there, I am initializing me now...
commandline read: openlierox
commandline read: dedicated
commandline read:
commandline read:
commandline read:

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-06-02 06:33)
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
    --> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
E: Failed to initialize the SDL system!
E: ErrorMsg: DirectFBCreate: Initialization error!
E: SystemError: strange problems with the aux library
n: Shutting me down...
(!) [ 6013:    0.000] --> Caught signal 11 (at 0x15, invalid address) <--

It does not start yet :P
And should a dedicated only version really need framebuffer stuff? My server is a minimalistic installation of ubuntu server 9.10 so I'm not sure if it's even able to handle it...
« Last Edit: February 24, 2010, 09:49:26 am by Olof Larsson »

albert

Re: Plz help me get dedicated server to work.
« Reply #30 on: February 24, 2010, 02:14:43 pm »
Quote
The curl package was not menitioned in the wiki article. Perhaps it should be added there?

Yes, please add it. Seems it is outdated. But curl should also be mentioned in the DEPS file.

Quote
It does not start yet
And should a dedicated only version really need framebuffer stuff? My server is a minimalistic installation of ubuntu server 9.10 so I'm not sure if it's even able to handle it...

If you start OLX in normal mode, it needs some sort of gfx output (and as there is no X, it fallsback to framebuffer).

You must start OLX in dedicated mode. You do that with "-dedicated" as a parameter. See the Wiki for more details and further options there.

It should already work.

(Edit: Ah, I see you specified "dedicated". That is wrong, it must be "-dedicated".)

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #31 on: February 24, 2010, 02:55:38 pm »
Ok it worked a little better with -dedicated  ::)

Code: [Select]
olof@GleSYS-VPS:~/dls/OpenLieroX_0.58_rc3.src/OpenLieroX$ ./start.sh -dedicated
H: OpenLieroX/0.58_rc3 is starting ...
H: This is a DEBUG build.
n: Free memory: 227 MB
n: Current time: Wed Feb 24 14:53:12 2010
n: ThreadPool: creating 40 threads ...
n: I have now the following searchpaths (in this order):
n:   /home/olof/.OpenLieroX
n:   .
n:   /usr/share/games/OpenLieroX
n:  And that's all.
n: Reading game options from /home/olof/.OpenLieroX/cfg/options.cfg
n: Will write game options to /home/olof/.OpenLieroX/cfg/options.cfg
n: Default theme is used
n: DONE loading options
n: Installing CrashHandler .. installed Breakpad handler
n: Loading network texts... DONE
n: Loading taunts... DONE
n: Hello there, I am initializing me now...
H: DEDICATED MODE
E: Failed to initialize the SDL system!
E: ErrorMsg: Not enough resources to create thread
E: SystemError: strange problems with the aux library
n: Shutting me down...

My server is to weak? Or is something else wrong?

Quote
Yes, please add it. Seems it is outdated. But curl should also be mentioned in the DEPS file.
Fixed wiki article.
« Last Edit: February 24, 2010, 03:06:24 pm by Olof Larsson »

albert

Re: Plz help me get dedicated server to work.
« Reply #32 on: February 24, 2010, 03:06:04 pm »
I searched a bit around - and found this:
http://www.redhat.com/archives/redhat-list/2000-March/msg01460.html

This is strange though - because 40 threads is pretty low. Maybe check out the file /etc/security/limits.conf and see if there is an entry for nproc.

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #33 on: February 24, 2010, 06:23:30 pm »
Ok it seems this was related to memory usage. The VPS has burst enabled wich means i dont have 512 mb ram, i have only 256. The hosting provider have an option to lend you 1GB ram temporarily and when I did so I could start the game. Also the server was up and running and I could play on it!

strike! :D

This is top before starting liero:
Code: [Select]
root@GleSYS-VPS:/home/olof/dls/OpenLieroX_0.58_rc3.src/OpenLieroX# top
top - 17:56:05 up 1 day,  9:07,  1 user,  load average: 0.02, 0.04, 0.01
Tasks:  29 total,   1 running,  27 sleeping,   1 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2621440k total,   296216k used,  2325224k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      15   0  2392 1328 1088 S  0.0  0.1   0:00.91 init
 5218 root      18   0 35832 8988 4820 S  0.0  0.3   0:00.20 apache2
 5244 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
 5245 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
 5247 root      18   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
 5248 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
 5249 root      18   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
 7615 root      15   0  5564 1048  648 S  0.0  0.0   0:01.96 sshd
 7635 root      18   0  2084  856  680 S  0.0  0.0   0:00.01 cron
 7648 root      18   0  1844  532  440 S  0.0  0.0   0:00.00 dd
 7655 root      25   0  2392  548  308 T  0.0  0.0   0:00.00 init
13346 root      16   0  2332 1096  876 R  0.0  0.0   0:00.14 top
14107 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
21688 postfix   15   0  5860 1728 1376 S  0.0  0.1   0:00.00 pickup
22260 root      15   0  8504 2804 2164 S  0.0  0.1   0:00.52 sshd
22480 root      15   0  4376 1916 1488 S  0.0  0.1   0:00.04 bash
23775 syslog    19   0 33404 1376 1020 S  0.0  0.1   0:00.08 rsyslogd
27791 root      18   0  1744  540  444 S  0.0  0.0   0:00.00 mysqld_safe
27879 postfix   15   0  6232 2488 1792 S  0.0  0.1   0:00.00 tlsmgr
27949 mysql     15   0  129m  35m 6504 S  0.0  1.4   0:10.98 mysqld
27950 root      17   0  2928  680  580 S  0.0  0.0   0:00.00 logger
27966 root      15   0  8500 2776 2156 S  0.0  0.1   0:00.16 sshd
27982 root      15   0  5000 1520 1096 S  0.0  0.1   0:00.02 sftp-server
28144 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
28158 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
28159 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
28160 root      18   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
28337 root      15   0  5848 1756 1400 S  0.0  0.1   0:00.04 master
28340 postfix   15   0  5904 1840 1452 S  0.0  0.1   0:00.03 qmgr


Then i start liero and look at top again:
Code: [Select]
root@GleSYS-VPS:/home/olof/dls/OpenLieroX_0.58_rc3.src/OpenLieroX# nohup ./start.sh -dedicated > olles_nohup_log_file.txt &
[1] 3083
nohup: ignoring input and redirecting stderr to stdout
root@GleSYS-VPS:/home/olof/dls/OpenLieroX_0.58_rc3.src/OpenLieroX# top
top - 18:04:41 up 1 day,  9:15,  1 user,  load average: 0.22, 0.08, 0.03
Tasks:  33 total,   2 running,  30 sleeping,   1 stopped,   0 zombie
Cpu(s):  4.8%us,  1.0%sy,  0.0%ni, 94.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2621440k total,   655364k used,  1966076k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3085 root      25   0  361m  19m 5692 S  0.7  0.8   0:00.37 openlierox
    1 root      15   0  2392 1328 1088 S  0.0  0.1   0:00.91 init
 3083 root      17   0  1744  520  444 S  0.0  0.0   0:00.00 start.sh
 3086 root      18   0 21716 1448  464 S  0.0  0.1   0:00.00 openlierox
 3147 root      18   0  6268 3716 1800 S  0.0  0.1   0:00.01 dedicated_contr
 3257 root      15   0  2332 1096  876 R  0.0  0.0   0:00.00 top
 5218 root      15   0 35832 8988 4820 S  0.0  0.3   0:00.20 apache2
 5247 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
 7615 root      15   0  5564 1048  648 S  0.0  0.0   0:01.96 sshd
 7635 root      18   0  2084  856  680 S  0.0  0.0   0:00.01 cron
 7648 root      18   0  1844  532  440 S  0.0  0.0   0:00.00 dd
 7655 root      25   0  2392  548  308 T  0.0  0.0   0:00.00 init
14107 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
21688 postfix   15   0  5860 1728 1376 S  0.0  0.1   0:00.00 pickup
21842 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
22260 root      15   0  8504 2804 2164 R  0.0  0.1   0:00.55 sshd
22480 root      15   0  4380 1920 1488 S  0.0  0.1   0:00.06 bash
23775 syslog    19   0 33404 1376 1020 S  0.0  0.1   0:00.08 rsyslogd
24222 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
24232 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
24236 root      16   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
24239 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
27791 root      18   0  1744  540  444 S  0.0  0.0   0:00.00 mysqld_safe
27879 postfix   15   0  6232 2488 1792 S  0.0  0.1   0:00.00 tlsmgr
27949 mysql     15   0  129m  36m 6504 S  0.0  1.4   0:11.23 mysqld
27950 root      17   0  2928  680  580 S  0.0  0.0   0:00.00 logger
27966 root      18   0  8500 2776 2156 S  0.0  0.1   0:00.16 sshd
27982 root      15   0  5000 1520 1096 S  0.0  0.1   0:00.03 sftp-server
28144 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
28159 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2
28337 root      15   0  5848 1756 1400 S  0.0  0.1   0:00.04 master
28340 postfix   15   0  5904 1840 1452 S  0.0  0.1   0:00.03 qmgr
28490 root      15   0 35832 4644  464 S  0.0  0.2   0:00.00 apache2

Is this the best way to start liero as a background process? (I'm not used to linux :P) An how should I stop the processes in a nice way afterwards?

And about the memory usage...
655364 - 296216 = 359148 (!!!)
Is the game supposed to allocate that much  ???

Here is the content of the nohup output file:
Code: [Select]
H: OpenLieroX/0.58_rc3 is starting ...
H: This is a DEBUG build.
n: Free memory: 2246 MB
n: Current time: Wed Feb 24 18:04:31 2010
n: ThreadPool: creating 40 threads ...
n: I have now the following searchpaths (in this order):
n:   /root/.OpenLieroX
n:   .
n:   /usr/share/games/OpenLieroX
n:  And that's all.
n: Reading game options from /usr/share/games/OpenLieroX/cfg/options.cfg
n: Will write game options to /root/.OpenLieroX/cfg/options.cfg
H: cfg/options.cfg not found, will use standards
n: Default theme is used
n: WARNING: Version::setByString: '' get parsed as 'LieroX/0.56'
n: WARNING: Version::setByString: './cfg/players.dat' get parsed as './0.0'
n: DONE loading options
n: Installing CrashHandler .. installed Breakpad handler
n: Loading network texts... DONE
n: Loading taunts... DONE
n: Hello there, I am initializing me now...
H: DEDICATED MODE
n: soundsystem completly disabled
H: SmartPointer collision detector initialized
n: Loading: Initializing client and server
n: Loading: Initializing game entities
n: Loading: Loading graphics
n: Loading: Initializing console
n: Loading: Loading sounds
n: Loading: Loading player profiles
n: Dedicated server: running script "/home/olof/dls/OpenLieroX_0.58_rc3.src/OpenLieroX/share/gamedir/scripts/dedicated_control" args "cfg/dedicated_config"
n: Initializing ready
n: Loading: Initializing menu system
n: Loading: Loading main menu
n: Loading: Loading Physics Engine
n: PhysicsEngine LX56 physics loaded
n: Loading: Done! Starting menu
n: Server max upload bandwidth is 50000 bytes/s
H: server started on 127.0.0.1:23400
n: Client connect to 127.0.0.1:23400
n: sending challenge request to 127.0.0.1:23400
n: Server is using OpenLieroX/0.58_rc3
n: CClient: got challenge response from OpenLieroX/0.58_rc3 server
n: GameServer: our local client has connected
n: Our external IP address is 79.99.2.197
H: DedicatedControl: message: 2010-02-24 18:04:32 -- INFO -- Dedicated_control started
n: Current cache size: 6 MB
H: Worm joined: YberNinja (id 0, from 213.113.209.95:42237(OpenLieroX/0.59_beta5))
n: Current cache size: 6 MB
n: GameServer::StartGame(), mod: 8-Bit Warfare v1.2, time: Wed Feb 24 18:09:21 2010
n: CMap::Load: level levels/BoN.lxl is in image format
n: LoadTheme: Theme dirt already loaded
n: Server Map loadtime: 0.0729922 seconds
n: modLog: Loading game mod file 8-Bit Warfare v1.2/script.lgs
n: Server Mod loadtime: 0.00299414 seconds
n: preparing game mode Death Match
n: MaxFPS is 95
n: GameLoopStart
H: DedicatedControl: message: 2010-02-24 18:09:21 -- ERROR -- ('OSError', '<no args>', ['  File  , line 706, in controlHandlerDefault\n    stderr=subprocess.STDOUT, cwd=  )\n', '  File  , line 621, in __init__\n    errread, errwrite)\n', '  File  , line 1126, in _execute_child\n    raise child_exception\n'])
n: Client: Got ParsePrepareGame
n: Client: preparing worm 0:YberNinja for battle
H: Client: we are ready, waiting now for start game signal
n: Server: client local(OpenLieroX/0.58_rc3)(no worms) got ready
H: Server: BeginMatch for local(OpenLieroX/0.58_rc3)(no worms)
n: Server 'Games nonstop + voting' game state:
n:  * playing, Death Match
n:  * level=Base of Nowhere, mod=8-Bit Warfare v1.2
n:  * maxkills=15, lives=-2, timelimit=360 (curtime=0)
n:  + 0:'YberNinja', dead, still weapons selecting, lives=-2, kills=0 on 213.113.209.95:42237(OpenLieroX/0.59_beta5)
n: using max upload rate 48.8281 kb/sec
n: Client: get BeginMatch signal
n: Server:ParseImReady: weapons for 0:YberNinja: Atomic Fire, 3-D Grenade, Atomic Fire, Baby Nuke, 3-D Grenade
n: Server: client 213.113.209.95:42237(OpenLieroX/0.59_beta5)(0 'YberNinja') got ready
H: Server: BeginMatch for 213.113.209.95:42237(OpenLieroX/0.59_beta5)(0 'YberNinja')
n: Client:ParseCLReady: weapons for 0:YberNinja: Atomic Fire, 3-D Grenade, Atomic Fire, Baby Nuke, 3-D Grenade
n: Current cache size: 7 MB
n: ChatCommand from 213.113.209.95:42237(OpenLieroX/0.59_beta5)(0 'YberNinja'): /suicide
n: CHAT: YberNinja: lol
H: Worm left: YberNinja (id 0): removed client (dropped client (client disconnected))

My own server is to weak it seems :-[ ?
I could upgrade it.. or did you possible have a server I could work on?
Or have I compiled it in some dreadful way to achieve this allocate 350mb results?

Arghh  :-\ ... this is rocket science lol  :D

albert

Re: Plz help me get dedicated server to work.
« Reply #34 on: February 24, 2010, 06:39:53 pm »
OLX has an automatic mechanism to detect how much memory it can use for its internal cache (of images, mods, etc.). Normally, if you haven't specified anything, it tries to use as much as possible.

But it is strange/wrong:

1. that it takes already so much memory already in the very beginning,
2. that it takes even more as possible and thus fails here and there.

I know that there is much which can be improved (for example it doesn't really need many of the images which are loaded right now). But this takes time and work. Maybe you can help there? :) (You need some basic coding experience for that and some time to get used to the C++ code base.)

There is also the setting MaxCachedEntries in the option file. I am not exactly sure right now but I think by setting a lower value there, you should limit it.

Quote
Or have I compiled it in some dreadful way to achieve this allocate 350mb results?

I cannot think of any compiler option which would cause more memory usage of OLX.

Quote
[nohup] Is this the best way to start liero as a background process?

I never really have used nohup. :) I think everybody just uses a different personally prefered way to start OLX. :)

I, personally, use screen. And when I want to quit it, I just connect to the screen section and type "quit" into the console. Or you connect to it from OLX and execute it via a chat command.

I think another nice option would be to use start-stop-daemon. You get a pid-file then and you can also stop the process via start-stop-daemon. But be sure that you don't start OLX as root. You can specify a special user (for example just your normal user) as a parameter to start-stop-daemon.

Btw., if you really have so much troubles on your VPS: We can also setup a user account for you on the LXA host (where we run the other LXA dedicated servers). We don't really have that troubles there (and we run even multiple OLX dedservers at the same time).
« Last Edit: February 24, 2010, 06:43:26 pm by albert »

Hatten

Re: Plz help me get dedicated server to work.
« Reply #35 on: February 25, 2010, 11:02:09 pm »
I think nohup is a very simple solution, and it works fine as long as one doesn't do anything complicated. I started using screen recently, but I've been using nohup a lot for many months, and it's certainly a viable alternative. :)

Welcome to the world of linux, let's see how long it takes until you start hating windows ;)
I don't do unintentionall mistakes.

SteelSide

Re: Plz help me get dedicated server to work.
« Reply #36 on: February 26, 2010, 08:45:43 pm »
Use screen now, it provides you with waay better options than nohup, and you're going to be wanting to use it for a lot of stuff.
Get yourselves to IRC asap, I'm lonely. (And please change nick from OpenLieroXor)

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #37 on: February 26, 2010, 11:20:46 pm »
Yes, screen seems much better  :)

Olof Larsson

Re: Plz help me get dedicated server to work.
« Reply #38 on: March 02, 2010, 09:35:55 pm »

DarkCharlie

Re: Plz help me get dedicated server to work.
« Reply #39 on: March 02, 2010, 09:37:30 pm »
You have to install boost C++ development libraries. It will be called libboost-dev orm something like that.
Pages: 1 [2] 3 4  All   Go Up