Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »GBKing« (12. April 2012, 13:51)
Benutzer, die sich für diesen Beitrag bedankt haben:
FrOgH (14.03.2012), DerHase (14.03.2012), KingteEGER (15.03.2012), EpicTheFaiLLorD (25.03.2012), FuN~EleFanT (21.04.2012), Julian (02.05.2012), Timmy (03.05.2012), sui' (05.05.2012)
Benutzerinformationen überspringen
Wohnort: Dresden
Beruf: Schulsklave
Ingame-Name: Üpel
Clan: iRéfleX
Renommeemodifikator: 5
Benutzerinformationen überspringen
Wohnort: Deutschland
Beruf: Schüler
Ingame-Name: Timmy
Clan: buycity.org
Renommeemodifikator: 5
Quellcode |
|
1 2 3 |
add_path $USERDIR add_path $DATADIR add_path $CURRENTDIR |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Timmy« (2. Mai 2012, 17:56)
Benutzerinformationen überspringen
Wohnort: Deutschland
Beruf: Schüler
Ingame-Name: Timmy
Clan: buycity.org
Renommeemodifikator: 5
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
[[email protected] teeworlds]$ sh start.sh start Welcome to the CEHosting startscript! Starting the Teeworlds server(s)... Checking defined variables and values.. Done Checking for online servers.. Done Checking internet connection.. Done Giving permissions.. Done Clearing old PID and LOG files.. Done Creating directories.. Done Starting the servers.. Started server '1' All servers are started! Checking server status.. Di 1. Mai 22:46:28 CEST 2012 WARNING: Not all servers have started! Only '0' of '1' servers have started! You might want to check the log files of the not running servers! |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# This is the configuration file for the Teeworlds server scripts # SRVTOTAL=1 # Please provide the total number of servers that you want to run # LOG=true # Please provide here whether you want log files to be made of your server(s) # DEBUG=false # Please provide here whether you want to start the childscript(s) in debug mode # Should only be set if 'LOG=true' # LAN=true # Please provide here whether you want your server(s) to connect to the internet # QUICKSTART=false # Please provide here whether you want the Teeworlds to be started faster than usually # NOT recommended # MAXRESTART=10 # Set here how often the script tries to start the Teeworlds server, before aborting # Recommended: 5 - 10 # CHKINTERVAL=1m # Insert here how often the script checks if the Teeworlds server is (still) running # Recommended: 0.1s - 60s/1m # USER=teeworlds # Provide here how the user is called that the servers are running on # ##### # # This is where you define the configuration file and the serverfile for each server # CONFIGFILE[1]=configdm1.cfg SRVFILE[1]=teeworlds_srv |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
#### # This specifies where and in which order Teeworlds looks # for its data (sounds, skins, ...). The search goes top # down which means the first path has the highest priority. # Furthermore the top entry also defines the save path where # all data (settings.cfg, screenshots, ...) are stored. # There are 3 special paths available: # $USERDIR # - ~/.appname on UNIX based systems # - ~/Library/Applications Support/appname on Mac OS X # - %APPDATA%/Appname on Windows based systems # $DATADIR # - the 'data' directory which is part of an official # release # $CURRENTDIR # - current working directory # # # The default file has the following entries: # add_path $USERDIR # add_path $DATADIR # add_path $CURRENTDIR # # A customised one could look like this: # add_path user # add_path mods/mymod #### add_path $USERDIR add_path $DATADIR add_path $CURRENTDIR # # For the scripts to work, you have to add following: # 1. line is the path to the Teeworlds directory add_path ~/Desktop/teeworlds/ # 2. line is the path to the data directory in the Teeworlds directory add_path ~/Desktop/teeworlds/data |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Timmy« (4. Mai 2012, 16:09)
Benutzerinformationen überspringen
Wohnort: Deutschland
Beruf: Schüler
Ingame-Name: Timmy
Clan: buycity.org
Renommeemodifikator: 5
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
[[email protected] teeworlds]$ sh -x start.sh start ++ tput setaf 1 + TXTRED='' ++ tput setaf 2 + TXTGRN='' ++ tput setaf 3 + TXTYLW='' ++ tput sgr0 + TXTRST='' +++ readlink -f start.sh ++ dirname /home/teeworlds/Desktop/teeworlds/start.sh + DIRECTORY=/home/teeworlds/Desktop/teeworlds + '[' '!' -f /home/teeworlds/Desktop/teeworlds/scripts.cfg ']' + source /home/teeworlds/Desktop/teeworlds/scripts.cfg ++ SRVTOTAL=1 ++ LOG=true ++ DEBUG=false ++ LAN=true ++ QUICKSTART=false ++ MAXRESTART=10 ++ CHKINTERVAL=1m ++ USER=teeworlds ++ CONFIGFILE[1]=configdm1.cfg ++ SRVFILE[1]=teeworlds_srv + case "${1}" in + echo 'Welcome to the CEHosting startscript!' Welcome to the CEHosting startscript! + echo 'Starting the Teeworlds server(s)...' Starting the Teeworlds server(s)... + echo 'Checking defined variables and values..' Checking defined variables and values.. + VARIABLECHK1 + '[' 1 -lt 1 ']' + '[' 10 -lt 1 ']' ++ whoami + '[' '!' teeworlds = teeworlds ']' + VARIABLECHK2 + '[' '!' -f /home/teeworlds/Desktop/teeworlds/server.sh ']' + '[' '!' -d /home/teeworlds/Desktop/teeworlds/srvfiles ']' + '[' '!' -f /home/teeworlds/Desktop/teeworlds/srvfiles/storage.cfg ']' + '[' '!' -d /home/teeworlds/Desktop/teeworlds/configs ']' + '[' '!' -f /home/teeworlds/Desktop/teeworlds/configs/configdm1.cfg ']' + '[' '!' -f /home/teeworlds/Desktop/teeworlds/data/maps/ctf1.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf2.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf2_old.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf3.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf3_old.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf4.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf4_old.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf5.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf6.map /home/teeworlds/Desktop/teeworlds/data/maps/ctf7.map /home/teeworlds/Desktop/teeworlds/data/maps/dm1.map /home/teeworlds/Desktop/teeworlds/data/maps/dm2.map /home/teeworlds/Desktop/teeworlds/data/maps/dm6.map /home/teeworlds/Desktop/teeworlds/data/maps/dm6_old.map /home/teeworlds/Desktop/teeworlds/data/maps/dm7.map /home/teeworlds/Desktop/teeworlds/data/maps/dm8.map /home/teeworlds/Desktop/teeworlds/data/maps/dm8_old.map /home/teeworlds/Desktop/teeworlds/data/maps/dm9.map /home/teeworlds/Desktop/teeworlds/data/maps/dm9_old.map ']' + echo 'Done' Done + echo 'Checking for online servers..' Checking for online servers.. + SRVONLINECHK + SRVNO=0 + ONLINE=0 + '[' 0 -lt 1 ']' ++ expr 0 + 1 + SRVNO=1 + '[' -s /home/teeworlds/Desktop/teeworlds/pids/server1.pid ']' +++ cat /home/teeworlds/Desktop/teeworlds/pids/server1.pid ++ kill -0 6214 + sleep 0.1s + '[' 1 -lt 1 ']' + '[' 0 -eq 1 ']' + echo 'Done' Done + echo 'Checking internet connection..' Checking internet connection.. ++ ping -c 1 teeworlds.com + echo 'Done' Done + echo 'Giving permissions..' Giving permissions.. + chmod -f 744 /home/teeworlds/Desktop/teeworlds/server.sh + echo 'Done' Done + echo 'Clearing old PID and LOG files..' Clearing old PID and LOG files.. + rm -R -f '${DIRECTORY}/logs' + rm -R -f '${DIRECTORY}/pids' + echo 'Done' Done + echo 'Creating directories..' Creating directories.. + mkdir -p /home/teeworlds/Desktop/teeworlds/pids + '[' true = true ']' + mkdir -p /home/teeworlds/Desktop/teeworlds/logs + echo 'Done' Done + echo 'Starting the servers..' Starting the servers.. + '[' false = true ']' + INTERVAL=5s + SRVNO=0 + '[' 0 -lt 1 ']' ++ expr 0 + 1 + SRVNO=1 + '[' true = true ']' + '[' false = true ']' + '[' -s /home/teeworlds/Desktop/teeworlds/pids/server1.pid ']' +++ cat /home/teeworlds/Desktop/teeworlds/pids/server1.pid ++ kill -0 6214 ++ whoami + '[' '!' teeworlds = teeworlds ']' + echo 'Started server '\''1'\''' Started server '1' + sleep 5s + nohup sh /home/teeworlds/Desktop/teeworlds/server.sh 1 + '[' 1 -lt 1 ']' + echo 'All servers are started!' All servers are started! + echo 'Checking server status..' Checking server status.. + SRVONLINECHK + SRVNO=0 + ONLINE=0 + '[' 0 -lt 1 ']' ++ expr 0 + 1 + SRVNO=1 + '[' -s /home/teeworlds/Desktop/teeworlds/pids/server1.pid ']' +++ cat /home/teeworlds/Desktop/teeworlds/pids/server1.pid ++ kill -0 6257 + sleep 0.1s + '[' 1 -lt 1 ']' + '[' 0 -lt 1 ']' ++ date + echo -e '\a' Di 1. Mai 23:51:22 CEST 2012 'WARNING: Not all servers have started!' Di 1. Mai 23:51:22 CEST 2012 WARNING: Not all servers have started! + echo 'Only '\''0'\'' of '\''1'\'' servers have started!' Only '0' of '1' servers have started! + echo 'You might want to check the log files of the not running servers!' You might want to check the log files of the not running servers! + exit 0 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
[4fa05b86][engine]: running on unix-linux-ia32 [4fa05b86][engine]: arch is little endian [4fa05b86][storage]: warning no data directory found [4fa05b86][storage]: added path '$USERDIR' ('/home/teeworlds/.teeworlds') [4fa05b86][storage]: added path '$CURRENTDIR' ('/home/teeworlds/Desktop/teeworlds') [4fa05b86][storage]: added path '/home/teeworlds/Desktop/teeworlds/' [4fa05b86][console]: failed to open 'autoexec.cfg' [4fa05b86][console]: executing '/home/teeworlds/Desktop/teeworlds/configs/configdm1.cfg' [4fa05b86][server]: starting... [4fa05b86][datafile]: loading. filename='maps/dm1.map' [4fa05b86][datafile]: could not open 'maps/dm1.map' [4fa05b86][server]: failed to load map. mapname='dm1' |
Benutzerinformationen überspringen
Wohnort: NRW
Beruf: Student + Ausbildung (dual)
Ingame-Name: +Shini!
Renommeemodifikator: 9
Benutzerinformationen überspringen
Ingame-Name: Minato/DarkDragon
Clan: Dragonfight
Renommeemodifikator: 6
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Henry "Heliux"« (25. Juli 2012, 01:23)
Benutzerinformationen überspringen
Wohnort: de_cache
Ingame-Name: kickz
Clan: ÐøÐ
Renommeemodifikator: 13
Ach du hast die die Scripts also runtergeladen ? mkaydanke fuer die scripst! ich hätte dir 1000000 renomee gegeben aber ich kann nicht eenomees geben. sry
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »GBKing« (7. Oktober 2012, 00:48)