Author Topic: Soldat server tutorial for linux  (Read 58257 times)

0 Members and 1 Guest are viewing this topic.

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Soldat server tutorial for linux
« on: February 27, 2007, 11:19:34 am »
Soldat Server Tutorial on Linux

Ok, I'll explain how to succesfully download, install, configure and run a soldat server under linux using command line mode (remote SSH or a terminal).

Step I - Creating a directory and downloading the zip


// Create the directory

mar77a@scarecrow:~$ mkdir solserver

// Move to it

mar77a@scarecrow:~$ cd solserver

// Download the soldatserver zip
// Check soldat.pl for the latest version
// http://soldat.pl/en/downloads

mar77a@scarecrow:~/solserver$ wget http://static.soldat.pl/downloads/soldatserver265.zip
--14:16:07--  http://static.soldat.pl/downloads/soldatserver265.zip
           => `soldatserver263.zip'
Resolving static.soldat.pl... 24.105.170.112
Connecting to static.soldat.pl|24.105.170.112|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,813,544 (2.7M) [application/zip]

100%[====================================>] 2,813,544     --.--K/s

14:16:09 (52.65 MB/s) - `soldatserver263.zip' saved [2813544/2813544]

mar77a@scarecrow:~/solserver$

//Check that it's there

mar77a@scarecrow:~/solserver$ ls -l
total 2404
-rw-r--r-- 1 mar77a mar77a 2455679 2006-10-30 17:48 soldatserver263.zip
mar77a@scarecrow:~/solserver$



Step II - Unzipping and Configuring


// Using unzip

mar77a@scarecrow:~/solserver$ unzip soldatserver263.zip
Archive:  soldatserver263.zip
   creating: anims/
  inflating: anims/barret.poa
  inflating: anims/bezbroni.poa
  inflating: anims/biega.poa
  inflating: anims/biegaranny.poa
  inflating: anims/biegatyl.poa
  inflating: anims/bije.poa
  inflating: anims/celuje.poa
  inflating: anims/celujeodrzut.poa
  inflating: anims/change.poa
  inflating: anims/chat.poa
(...)
  inflating: objects/para.po
  inflating: objects/stat.po
  inflating: readme.txt
 extracting: remote.txt
   creating: scenery-gfx/
   creating: scripts/
  inflating: scripts/AdminCore.pas
  inflating: scripts/Core.pas
  inflating: scripts/Includes.txt
  inflating: scripts/NetworkCore.pas
  inflating: server.ini
  inflating: serverscript
  inflating: soldat.ini
  inflating: soldatserver
  inflating: soldatserver.exe
   creating: textures/
  inflating: weapons.ini
  inflating: weapons121.ini
mar77a@scarecrow:~/solserver$

// Check that all files and directories were inflated

mar77a@scarecrow:~/solserver$ ls
anims        lobby_servers.txt  objects      scripts       soldatserver         weapons121.ini
banned.txt   logs               readme.txt   server.ini    soldatserver263.zip  weapons.ini
bots         maps               remote.txt   serverscript  soldatserver.exe
Changes.txt  mapslist.txt       scenery-gfx  soldat.ini    textures
mar77a@scarecrow:~/solserver$

// Now configure the .ini files and mapslist

Use your favourite plain text editor (nano,vi,etc) to edit soldat.ini, server.ini, weapons.ini & mapslist.txt .
Here's a page with the description of each line in the file soldat.ini



Step III - Running the server!


// We give the right permissions to the files

mar77a@scarecrow:~/solserver$ chmod +x soldatserver
mar77a@scarecrow:~/solserver$ chmod -R 0777 logs

// We run the server; there are many ways:

// Way I: Standard, useful for debugging if the server isn't working

mar77a@scarecrow:~/solserver$ ./soldatserver

             -= Soldat Dedicated Server 1.3.1 - BETA 2.6.3 =-

----------------------------------------------------------------
       Caution! This software is still in BETA phase.
         Soldat Dedicated Server initializing...
----------------------------------------------------------------

   Need help running your server?
   IRC: #soldat.servers @ irc.quakenet.org

   Additional parameters:
   ./soldatserver -p PORT -l MAXPLAYERS -p PASSWORD
   Example: ./soldatserver -p 23073 -l 16 -p "my pass"



 The server must be started with an Admin Password parameter to run Admin
   edit SOLDAT.INI section [Network] Admin_Password=

 Hit CTRL+C twice to exit
 Please command the server using the Soldat Admin program
Welcome to Soldat 1.3.1

  No maps list found (adding default). Please add maps in mapslist.txt

 Server name: Soldat dedicated server
 Server PID: 19665
 
  • ScriptCore v2.0 loaded! Found 1 scripts...
  • Compiling default -> Core.pas...
  • Compiling default -> NetworkCore.pas...
  • Compiling default -> AdminCore.pas...
  • Compilation Complete.

----------------------------------------------------------------
Soldat Arena One - version 2.1
 Server IP: 24.105.170.112 Port: 23070
 ASE Port: 23193
 Connection for file server started. Port: 23080
Registering server @ ASE Master Server
BattlEye anti-cheat enabled
Registering server @ 67.106.77.193
Game server added to lobby server @ 67.106.77.193
BattlEye Server: Initialized

(...)

// Otherwise, if we want to run it in the background, we can use nohup as follows,

mar77a@scarecrow:~/solserver$ nohup ./soldatserver > /dev/null &
[1] 27800
mar77a@scarecrow:~/solserver$


// You can also run it using screen <- will write another time how to, or you can just google

Step IV - Shutting down the server!


// If we are running it using ./soldatserver, we hit ^C (CTRL+C)

[...]
Server Encountered an error:
Control-C hit
Shutting server...
Shutting down fileserver...
mar77a@scarecrow:~/solserver$

// Otherwise, if we used nohup to run it in the background, we first get it's process id (PID), and then use 'kill' to shut it down

mar77a@scarecrow:~/solserver$ ps x
  PID TTY      STAT   TIME COMMAND
 4542 ?        Ss     0:13 SCREEN
 4543 pts/2    Ss     0:00 /bin/bash
 4567 pts/2    S+     0:34 irssi
27424 ?        S      0:00 sshd: mar77a@pts/3
27425 pts/3    Ss     0:00 -bash
27800 pts/3    Sl     0:00 ./soldatserver
27841 pts/3    R+     0:00 ps x
mar77a@scarecrow:~/solserver$ kill 27800
mar77a@scarecrow:~/solserver$ ps x
  PID TTY      STAT   TIME COMMAND
 4542 ?        Ss     0:13 SCREEN
 4543 pts/2    Ss     0:00 /bin/bash
 4567 pts/2    S+     0:34 irssi
27424 ?        S      0:00 sshd: mar77a@pts/3
27425 pts/3    Ss     0:00 -bash
27845 pts/3    R+     0:00 ps x
[1]+  Exit 1                  nohup ./soldatserver >/dev/null
mar77a@scarecrow:~/solserver$


Step V - Admining the server

From in-game:
1. type /adminlog adminpwd
- or -
2. type /adm Soldier

// The /adminlog command will make you admin until you exit the game, if you add an admin using /adm <player>, then his/her IP will be added to remote.txt and he'll be admined until his ip changes or is removed from remote.txt

Editing remote.txt:
1. we open remote.txt and add our IP in a new line

Using a remote admin:
1. From windows:
There are many soldat server admins for windows: ARSSE & Soldat Admin 1.2 are the most popular. I suggest the second one if you just want to do simple admining and ARSSE if you want scripts and other automation tasks (like in-game commands).
2. From Linux:
- ARSSE runs fine under WINE.
- From a terminal, type:
mar77a@scarecrow:~/solserver$ echo adminpwd | netcat localhost 23073
Soldat Admin Connection Established...
Succesfully logged in.
Welcome, you are in command of the server now.
 List of commands available in the Soldat game Manual.
Server Version: 2.6.3
[...]

// Replace adminpwd with the value entered in soldat.ini, under [Network], do that same with the port if you modified its value.
// if you don't have NETCAT you can a. download it, b. replace it with TELNET (in that same command). Telnet is nasty though ;)


LIST OF SERVER COMMANDS

That's all, if you have problems such as routing, and others, make sure you read THIS GUIDE.


---
Updated: 2.5.4 version
Updated: 2.6.5 (jrgp)
« Last Edit: January 30, 2011, 09:29:21 pm by jrgp »

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: - Soldat server tutorial for linux -
« Reply #1 on: February 27, 2007, 05:15:48 pm »
Useful tutorial. Don't forget there is another way to run the soldatserver in the background:
./soldatserver -d

I request that this gets stickied.
« Last Edit: February 27, 2007, 05:18:58 pm by jrgp »
There are other worlds than these

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: - Soldat server tutorial for linux -
« Reply #2 on: February 27, 2007, 06:57:37 pm »
Don't use kill -9, that shuts it down uncleanly.  kill <pid> should work fine in 2.5.2 or later

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: - Soldat server tutorial for linux -
« Reply #3 on: March 01, 2007, 09:33:12 am »
Very nice tutorial. :)

Im sure this will be handy for some people new to Linux.
Fight! Win! Prevail!

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: - Soldat server tutorial for linux -
« Reply #4 on: March 10, 2007, 10:57:43 pm »
tried logging in with netcat and it does.
I can read all details sent by server, but I can't seem to send commands to it.

btw funny how you describe how to setup a 2.5.2 server and at the end you login and it says
Quote
Server Version: 2.5.3
:D
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline sakae

  • Soldier
  • **
  • Posts: 161
Re: - Soldat server tutorial for linux -
« Reply #5 on: April 21, 2007, 07:04:09 pm »
./soldatserver &
doesnt work  with all servers.

./soldatserver -d
neither work on all servers.

screen ./soldatserver
works.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: - Soldat server tutorial for linux -
« Reply #6 on: April 21, 2007, 07:52:39 pm »
The original post should be updated so it says 2.5.4 instead of 2.5.2 and 2.5.3, especially since  < 2.5.4 has that nasty hole

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: - Soldat server tutorial for linux -
« Reply #7 on: April 21, 2007, 10:00:45 pm »
./soldatserver &
doesnt work  with all servers.

./soldatserver -d
neither work on all servers.

screen ./soldatserver
works.

"nohup ./soldatserver &" may also work

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: - Soldat server tutorial for linux -
« Reply #8 on: April 21, 2007, 11:27:21 pm »
./soldatserver > /dev/null &disown also works (it works without the > /dev/null, but then you still get output to the terminal... this may not matter depending upon your use)

I've started using this more lately since it is shorter and more straightforward than using nohup.

From what I undertand:
Code: [Select]
nohup ./soldatserver &
is functionally identical to

Code: [Select]
./soldatserver > nohup.out 2>&1 &disown
« Last Edit: April 21, 2007, 11:29:22 pm by FliesLikeABrick »

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: - Soldat server tutorial for linux -
« Reply #9 on: April 22, 2007, 03:04:28 am »
tried logging in with netcat and it does.
I can read all details sent by server, but I can't seem to send commands to it.

Can someone tell help/tell me on how to send commands to the server using netcat?  :)
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: - Soldat server tutorial for linux -
« Reply #10 on: April 22, 2007, 09:21:59 am »
just type them  [retard]

you'll get an echo of all you type if it was acknowledged by the server

and the reason i add > /dev/null is to avoid having a huge a.out while logging is turned on

Offline Kazappin

  • Major(1)
  • Posts: 5
Re: Soldat server tutorial for linux
« Reply #11 on: August 20, 2007, 01:42:26 pm »
If I am running this on a domain, where is says "mar77a@scarecrow", would I put in my username@mydomain?

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Soldat server tutorial for linux
« Reply #12 on: August 20, 2007, 03:07:02 pm »
No, just execute the commands after it. user@hostname:~$ is what you get in the terminal, just like C:\Dir\> in Dos prompts.

Offline Kazappin

  • Major(1)
  • Posts: 5
Re: Soldat server tutorial for linux
« Reply #13 on: August 20, 2007, 05:30:37 pm »
Okay, thanks a lot!

Offline {[MS]}Pyro

  • Major(1)
  • Posts: 20
Re: Soldat server tutorial for linux
« Reply #14 on: November 27, 2007, 12:45:47 pm »
How could i (auto)run server at startup on debian? Google has answers which are frustrating and confusing :p
server is located home/user/soldat/
command for starting the server ./soldatserver -d -safe 0

nevermind
like this:
nano /etc/init.d/rc.local
add to the end: home/user/soldat/./soldatserver -d -safe 0
ctrl+x and save
done
« Last Edit: November 27, 2007, 12:52:08 pm by {[MS]}Pyro »

Offline uberspleen

  • Major(1)
  • Posts: 2
Re: Soldat server tutorial for linux
« Reply #15 on: February 09, 2008, 04:53:46 pm »
well im new here and so ya    how do you create a soldat server?

Offline Fubister

  • Major
  • *
  • Posts: 63
Re: Soldat server tutorial for linux
« Reply #16 on: May 27, 2009, 09:20:05 am »
ok, how about to run 2nd server? :> cause when I try to run 2nd process it's automaticlly neutralized, before you ask, 2nd soldat server is in other folder with diffrent settings (like port etc)

Offline Vermithrax

  • Major
  • *
  • Posts: 88
  • Noob
Re: Soldat server tutorial for linux
« Reply #17 on: May 27, 2009, 10:01:18 am »
You run the first server in deamon mode or normal? also, you tiped "./soldatserver" or "./soldatserver -d" ?
English mark: 6 ^^...

typing errors are special effects! :)

All servers are offline!

Offline Fubister

  • Major
  • *
  • Posts: 63
Re: Soldat server tutorial for linux
« Reply #18 on: May 27, 2009, 10:47:59 am »
don't get ya.. I am doing as Mar77a said so

nohup ./soldatserver > /dev/null & and thats it, the same thing when I try to run 2nd server

Offline Vermithrax

  • Major
  • *
  • Posts: 88
  • Noob
Re: Soldat server tutorial for linux
« Reply #19 on: May 27, 2009, 12:45:25 pm »
Try this:

Go into the 2nd server folder, and than type this: "./soldatserver -d".

I don't know much about linux, but may it helps...
English mark: 6 ^^...

typing errors are special effects! :)

All servers are offline!

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Soldat server tutorial for linux
« Reply #20 on: May 27, 2009, 04:28:45 pm »
run it using just ./soldatserver and check what error it gives before exiting

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Soldat server tutorial for linux
« Reply #21 on: May 28, 2009, 06:17:18 am »
And make absolutely sure that you're running the two servers in two folders (eg: server1/ server2/, each with the files for a dedicated server), one for each and that they are using different ports.
There are other worlds than these

Offline Fubister

  • Major
  • *
  • Posts: 63
Re: Soldat server tutorial for linux
« Reply #22 on: May 30, 2009, 01:00:20 pm »
ok guys, it's working now (-d) thanks ;)

Offline Ericroot

  • Major(1)
  • Posts: 1
Re: Soldat server tutorial for linux
« Reply #23 on: July 19, 2010, 01:26:16 am »
HELP! Linux server error...

./soldatserver: error while loading shared libraries: libz.so: cannot open shared object file: No such file or directory

From: July 19, 2010, 01:45:01 am
Sorry, itself has understood. There was no package zlib-devel
« Last Edit: July 19, 2010, 01:45:01 am by Ericroot »

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #24 on: February 02, 2011, 02:39:10 am »



help ;\

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Soldat server tutorial for linux
« Reply #25 on: February 02, 2011, 07:06:50 am »
Did you install zlib? And what OS do you use?

http://forums.soldat.pl/index.php?topic=34467
The truth is out there? Does anyone know the URL?
The URL is here

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #26 on: February 02, 2011, 07:30:00 am »
yes zlib is installed.

Ubuntu 10.04 x86 64bit

« Last Edit: February 02, 2011, 07:34:07 am by TheV »

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Soldat server tutorial for linux
« Reply #27 on: February 02, 2011, 07:39:07 am »
Code: [Select]
ls -al /usr/
Post results
Code: [Select]
cd /usr/lib/
ls -al libz*
Post results again
The truth is out there? Does anyone know the URL?
The URL is here

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #28 on: February 02, 2011, 07:42:45 am »


Offline SyavX

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 338
Re: Soldat server tutorial for linux
« Reply #29 on: February 02, 2011, 07:50:00 am »
Quote
// We give the right permissions to the files

mar77a@scarecrow:~/solserver$ chmod +x soldatserver
mar77a@scarecrow:~/solserver$ chmod -R 0777 logs

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #30 on: February 02, 2011, 07:51:16 am »

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Soldat server tutorial for linux
« Reply #31 on: February 02, 2011, 07:54:24 am »
lib32 is missing. Try to create the folder manually and do ln -s libz.so.1 libz.so again.

Im not sure about that, so someone who knows better may correct me.
The truth is out there? Does anyone know the URL?
The URL is here

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #32 on: February 02, 2011, 07:55:33 am »
wouldn't 32 correlate with 32bit os, and 64 with 64bit, I run a 64bit.

?

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Soldat server tutorial for linux
« Reply #33 on: February 02, 2011, 07:58:27 am »
I think the soldatserver tries to access the lib32-folder of your server. So you create it and link it to the lib-folder like you did with lib64.

As I said, Im not 100% sure about that.
« Last Edit: February 02, 2011, 08:01:58 am by Stuffy »
The truth is out there? Does anyone know the URL?
The URL is here

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #34 on: February 02, 2011, 08:02:59 am »
I hear what you're saying, but You can't download itunes 32bit for an operating system that runs 64bit.

So... why would I want the 32bit version if I run a 64bit os.

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Soldat server tutorial for linux
« Reply #35 on: February 02, 2011, 08:08:29 am »
I hear what you're saying, but You can't download itunes 32bit for an operating system that runs 64bit.

So... why would I want the 32bit version if I run a 64bit os.
the soldatserver binary is 32 bit which mean you need lib32 to emulate 32 bit on your 64 bit cpu

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #36 on: February 02, 2011, 08:10:00 am »
so should I run a 32bit os?

cause... I can reinstall that pretty fast...

Whats the easiest os to run this on >.>

List of available:

arch-2010-05-i686
ArchLinux (2010) 32-BIT    
   arch-2010-05-x86_64
ArchLinux (2010) 64-BIT    
   centos-4-x86
CentOS 4 32-BIT    
   centos-4-x86_64
CentOS 4 64-BIT    
   centos-5-i386-default-cpanel
CentOS 5 32-BIT W/ cPanel Pre-installed    
   centos-5-x86_64-default-cpanel
CentOS 5 64-BIT W/ cPanel Pre-installed    
   centos-5.5-x86
CentOS 5.5 32-BIT    
   centos-5.5-x86_64
CentOS 5.5 64-BIT    
   debian-4.0-x86
Debian 4.0 32-BIT    
   debian-4.0-x86_64
Debian 4.0 64-BIT    
   debian-5.0-x86
Debian 5.0 32-BIT    
   debian-5.0-x86_64
Debian 5.0 64-BIT    
   fedora-10-x86
Fedora 10 32-BIT    
   fedora-10-x86_64
Fedora 10 64-BIT    
   fedora-11-x86
Fedora 11 32-BIT    
   fedora-11-x86_64
Fedora 11 64-BIT    
   fedora-12-x86
Fedora 12 32-BIT    
   fedora-12-x86_64
Fedora 12 64-BIT    
   fedora-13-x86.
Fedora 13 64-BIT    
   fedora-13-x86_64
Fedora 13 64-BIT    
   gentoo-04282010-i386
Gentoo 32-BIT    
   owl-current-20100323
Owl Current 32-BIT    
   owl-current-20100323-x86_64
Owl Current 64-BIT    
   slackware-13.0-i386-minimal
Slackware 13.0 32-BIT    
   suse-11.1-x86_64
Suse 11.1 64-BIT    
   suse-11.3-x86
Suse 11.3 32-BIT    
   suse-11.3-x86_64
Suse 11.3 64-BIT    
   Ubuntu-10.04-x86
Ubuntu 10.04 32-BIT    
   Ubuntu-10.04-x86_64
Ubuntu 10.04 64-BIT    
   ubuntu-8.04-x86
Ubuntu 8.04 32-BIT    
   ubuntu-8.04-x86_64
Ubuntu 8.04 64-BIT    
   ubuntu-8.10-x86
Ubuntu 8.10 32-BIT    
   ubuntu-9.04-x86
Ubuntu 9.04 32-BIT    
   ubuntu-9.04-x86_64
Ubuntu-9.04 64-BIT    
   ubuntu-9.10-x86
Ubuntu 9.10 32-BIT    
   ubuntu-9.10-x86_64
« Last Edit: February 02, 2011, 08:12:18 am by TheV »

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Soldat server tutorial for linux
« Reply #37 on: February 02, 2011, 08:32:41 am »
I would recommend either centos or debian but you should really take what you feel comfortable with.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #38 on: February 02, 2011, 08:33:51 am »
Well, which can you walk me through better.

Lol I'm not comfortable with any of them ha

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Soldat server tutorial for linux
« Reply #39 on: February 02, 2011, 10:04:33 am »
Its really sad that the soldatserver doesnt support 64bit OS's, but maybe the new devs are going to change this.
The truth is out there? Does anyone know the URL?
The URL is here

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #40 on: February 02, 2011, 10:11:34 am »
Yessirrr, so I installed a new os, ubuntu 32bit.

and its giving me an ERROR msg now, thank god. lul

but its about the zlib.

I made the lib32 directory.
but Idk what else I need to put in it ;\


« Last Edit: February 02, 2011, 10:14:21 am by TheV »

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: Soldat server tutorial for linux
« Reply #41 on: February 02, 2011, 10:25:50 am »
1) cp /usr/lib/libz.so.* /usr/lib/libz.so   (where * put what appears)

2) cp /usr/lib32/libz.so.* /usr/lib32/libz.so   (where * put what appears)

try ./soldatserver

Why not try to run your application as a user?

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #42 on: February 02, 2011, 10:32:48 am »
no such file requested.

It won't let me login to the user I created ;\

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: Soldat server tutorial for linux
« Reply #43 on: February 02, 2011, 11:04:18 am »
moment why u have created /usr/lib32? :S isn't necessary

try his (with root account).

apt-get update
apt-get remove zlib
apt-get install zlib

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Soldat server tutorial for linux
« Reply #44 on: February 02, 2011, 11:40:47 am »
lib32 only on 64 bit OS's
The truth is out there? Does anyone know the URL?
The URL is here

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #45 on: February 03, 2011, 08:13:26 am »
[spoiler]root@Game:/usr/lib# rm libz.so
rm: cannot remove `libz.so': No such file or directory
root@Game:/usr/lib# ln -s libz.so.1 libz.so
root@Game:/usr/lib#  cd /
root@Game:/# cd home
root@Game:/home# login vtx
Password:
Last login: Thu Feb  3 15:56:23 MSK 2011 on pts/0
Linux Game 2.6.18-194.26.1.el5.028stab079.1 #1 SMP Sat Nov 27 00:56:10 MSK 2010 i686 GNU/Linux
Ubuntu 10.04 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/
vtx@Game:~$ cd /
vtx@Game:/$ cd home
vtx@Game:/home$ cd vtx
vtx@Game:~$ cd soldatserver
vtx@Game:~/soldatserver$ ls
BattlEye     lobby_servers.txt  scenery-gfx   soldatserver.exe
Changes.txt  logs               scripts       soldatserver265.zip
README.txt   maps               server.ini    textures
anims        mapslist.txt       serverscript  weapons.ini
banned.txt   objects            soldat.ini    weapons_realistic.ini
bots         remote.txt         soldatserver
vtx@Game:~/soldatserver$ ./soldatserver
./soldatserver: error while loading shared libraries: libz.so: cannot open shared object file: No such file or directory
vtx@Game:~/soldatserver$ ^C
vtx@Game:~/soldatserver$
[/spoiler]

Help ;\

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Soldat server tutorial for linux
« Reply #46 on: February 03, 2011, 08:24:20 am »
[spoiler]root@Game:/usr/lib# rm libz.so
rm: cannot remove `libz.so': No such file or directory
root@Game:/usr/lib# ln -s libz.so.1 libz.so
root@Game:/usr/lib#  cd /
root@Game:/# cd home
root@Game:/home# login vtx
Password:
Last login: Thu Feb  3 15:56:23 MSK 2011 on pts/0
Linux Game 2.6.18-194.26.1.el5.028stab079.1 #1 SMP Sat Nov 27 00:56:10 MSK 2010 i686 GNU/Linux
Ubuntu 10.04 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/
vtx@Game:~$ cd /
vtx@Game:/$ cd home
vtx@Game:/home$ cd vtx
vtx@Game:~$ cd soldatserver
vtx@Game:~/soldatserver$ ls
BattlEye     lobby_servers.txt  scenery-gfx   soldatserver.exe
Changes.txt  logs               scripts       soldatserver265.zip
README.txt   maps               server.ini    textures
anims        mapslist.txt       serverscript  weapons.ini
banned.txt   objects            soldat.ini    weapons_realistic.ini
bots         remote.txt         soldatserver
vtx@Game:~/soldatserver$ ./soldatserver
./soldatserver: error while loading shared libraries: libz.so: cannot open shared object file: No such file or directory
vtx@Game:~/soldatserver$ ^C
vtx@Game:~/soldatserver$
[/spoiler]

Help ;\

you need to install zlib
apt-get install zlib1g-dev
should solve that

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: Soldat server tutorial for linux
« Reply #47 on: February 03, 2011, 08:26:32 am »
OMG, You are a godsend.

<3

so much...

fucking ur my jesus.

Offline Mercury92

  • Camper
  • ***
  • Posts: 284
Re: Soldat server tutorial for linux
« Reply #48 on: March 08, 2011, 01:54:55 pm »
Hello!
Trying to run latest (1.5.1e) soldatserver on Ubuntu 10.04 64bit.
After following this tutorial I am stuck when trying to start it.
Code: [Select]
soldat@minekraft:/home/Soldat# ./soldatserver
soldat@minekraft:/home/Soldat#
Nothing is starting, no messages.

Also.
Code: [Select]
root@minekraft:/home/Soldat# ls -al /usr/
total 88
drwxr-xr-x  10 root root  4096 Jul  8  2010 .
drwxr-xr-x  20 root root  4096 Mar  4 20:16 ..
drwxr-xr-x   2 root root 28672 Jan 22 18:50 bin
drwxr-xr-x   2 root root  4096 Jul  8  2010 games
drwxr-xr-x  39 root root  4096 Jan 22 18:49 include
drwxr-xr-x  69 root root 20480 Jan 22 18:49 lib
lrwxrwxrwx   1 root root     3 Dec 16 21:31 lib64 -> lib
drwxr-xr-x  11 root root  4096 Mar  8 20:48 local
drwxr-xr-x   2 root root 12288 Feb 11 01:53 sbin
drwxr-xr-x 110 root root  4096 Jan 22 18:49 share
drwxrwsr-x   2 root src   4096 Jul  8  2010 src


Code: [Select]
root@minekraft:/home/Soldat# cd /usr/lib/
root@minekraft:/usr/lib# ls -al libz*
-rw-r--r-- 1 root root 118210 Nov  9  2009 libz.a
lrwxrwxrwx 1 root root     20 Dec 22 11:34 libz.so -> /lib/libz.so.1.2.3.3
root@minekraft:/usr/lib#

[saw]  on 1.5.1

Offline BicMac

  • Major(1)
  • Posts: 5
Re: Soldat server tutorial for linux
« Reply #49 on: June 25, 2011, 12:17:57 pm »
TY for this helpfully tutorial
~ Life is a Rollercoaster

Offline Irlandec

  • Soldier
  • **
  • Posts: 176
Re: Soldat server tutorial for linux
« Reply #50 on: December 05, 2011, 05:41:19 am »
It is wise to change the download link of the current dedicated server release to it's latest.

Offline soldat-game

  • Camper
  • ***
  • Posts: 407
Re: Soldat server tutorial for linux
« Reply #51 on: July 19, 2016, 04:31:14 pm »
Fix commands!
Go server catalog next use command "sudo -u <USER NAME> nohup ./soldatserver> /dev/null &"
How kill u see pid number save it or write command "top" and see ur server pid, or go to server catalog and use "kill `cat ./logs/soldatserver.pid`"
If u use scripts using sc3 you must give the appropriate permissions for the folder scripts "chmod -R 0777 scripts"
U also must give "chmod -R 0777 remote.txt" if not and if u ussing admin command maybe disable the server.
This same for bannedhw.txy and banned.txt

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Soldat server tutorial for linux
« Reply #52 on: July 20, 2016, 08:13:41 pm »
Fix commands!
Go server catalog next use command "sudo -u <USER NAME> nohup ./soldatserver> /dev/null &"
How kill u see pid number save it or write command "top" and see ur server pid, or go to server catalog and use "kill `cat ./logs/soldatserver.pid`"
If u use scripts using sc3 you must give the appropriate permissions for the folder scripts "chmod -R 0777 scripts"
U also must give "chmod -R 0777 remote.txt" if not and if u ussing admin command maybe disable the server.
This same for bannedhw.txy and banned.txt

You really shouldn't advocate using world-readable permissions (777). Learn to use chown to make the files owned by the user you run the server as and use 755 (and 644 for non-exec files) instead.
There are other worlds than these