Heres the custom script: I tried it and it works fine, except I'm not sure how to set some of the settings.
#!/bin/sh
#
# example AssaultCube-Server launch script
# by MeatROme - see
http://assault.cubers.net/wiki/Server_setup# naturally also check your local documentation (docs) folder in the game-installation directory
# how many clients can connect?
CLIENTS=4
# password for admin access:
ADMINPASS=Eclipse
# disconnect when frag-count is ..
KILLLIMIT=-1
# server description
DESC="\f3AC \f2SRV"
# MOTD definition - WYSIWYG
MOTD='\f5http://\f3assault\f5.\f1cubers\f5.\f2net\n\f2 --- -- - -- ---\n Enjoy Your Stay'
TS=$(date +%Y%m%d_%H%M%S)
TSH=$(date +%H:%M:%S\ %d.%m.%y)
#
# run the server:
#
/usr/games/assaultcube-server -x$ADMINPASS -k$KILLLIMIT -c$CLIENTS -n"$DESC" -o"$MOTD" > ServerLog_$TS 2>&1
I want to know how to set a server password. and how i can tell if my server is on the internet. What I cant figure out is how to use the settings file and the script?
specifically this file: servercmdline.txt
I guess I just need to figure out how to set it up where only people with a password can connect, and have it online.
Heres the terminal output:
logging started: console(INFO), file(DISABLED), syslog(INFO, "AssaultCube[local#28763]", local6), timestamp(DISABLED)
logging local AssaultCube server (version 1104, protocol 1132/104) now..
read 58 map rotation entries from 'config/maprot.cfg'
read 1 admin passwords from 'config/serverpwd.cfg'
read 0 (0) blacklist entries from 'config/serverblacklist.cfg', 0 errors
read 0 + 0 entries from nickname blacklist file 'config/nicknameblacklist.cfg', 0 errors
dedicated server started, waiting for clients...
Ctrl-C to exit
looking up assault.cubers.net...
WARNING: master server registration failed: failed pinging server
[192.168.1.15] client connected
[192.168.1.15] Admin logged in (default), AC: 1104|804
Map height density information for ac_scaffold: H = 16.06 V = 158291, A = 9858 and MA = 665
Game start: deathmatch on ac_scaffold, 1 players, 8 minutes, mastermode 0, (map rev 2/9934, official, 'getmap' not prepared)
Demo recording started.
Game status: deathmatch on ac_scaffold, 8 minutes remaining, open, 1 clients
cn name score frag death ping role host
0 Admin 0 0 0 0 normal 192.168.1.15
Status at 30-04-2012 18:24:36: 1 remote clients, 0.0 send, 0.0 rec (K/sec); Ping: #4|64|8; CSL: #0|0|0 (bytes)
[192.168.1.15] disconnected client Admin cn 0, 32 seconds played, score saved
Demo "Mon Apr 30 18:25:06 2012: deathmatch, ac_scaffold, 7.05kB, 8 mr" recorded.
[192.168.1.15] client connected
[192.168.1.15] Admin logged in using the admin password in line 9, AC: 1104|804
Map height density information for ac_desert: H = 11.23 V = 266445, A = 23719 and MA = 2005
Game start: deathmatch on ac_desert, 1 players, 8 minutes, mastermode 0, (map rev 1/12018, official, 'getmap' not prepared)
Demo recording started.
I can't find it on the server list, and I can't figure out how to give the server a password. please help!! I will leave it on for a couple of days to see if anyone can connect. Can anyone help me set it up from the ground up? I think I should just reinstall and re-change the settings?