Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-02-07 00:00:00Z and 2020-02-08 00:00:00Z
Avatar
hey
15:09
i'm trying to install a teeworlds server on my vps
15:09
i do all the command
15:09
install
15:09
teeworlds & teeworlds server
15:09
make & edit the config file
15:09
and when i start
15:09
this show that :
15:09
chose 'master4.teeworlds.com' as master, sending heartbeats [5e3d7d75][register]: WARNING: Master server is not responding, switching master [5e3d7d75][register]: refreshing ip addresses [5e3d7d75][register]: fetching server counts [5e3d7d78][register]: chose 'master3.teeworlds.com' as master, sending heartbeats [5e3d7d7b][register]: no firewall/nat problems detected [5e3d7d7b][register]: no firewall/nat problems detected [5e3d7d7b][register]: server registered
15:09
and i can't connect to the server with my computer
15:09
any idea ?
Avatar
Your server is looking good
15:25
Have you tried entering the IP of the server directly?
Avatar
yes
15:33
IP:PORT or just IP
15:33
don't work
Avatar
give your server a unique name.
Avatar
already done in config file
Avatar
2nd problem is, do not close your terminal ssh session, as this will also close your server as well
15:34
i don't close it
15:35
this is my configuration
15:35
if i have things to delete / change / add, tell me
15:35
(i have add masterserver after but it don't have change anything)
Avatar
how is the config file called?
Avatar
config.cfg
Avatar
change this to autoexec.cfg
Avatar
what's the command to rename a file ? x')
Avatar
mv config.cfg autoexec.cfg
15:36
if it's a linux machine
Avatar
thx
15:36
ubuntu yes
15:36
so
15:36
don? (edited)
15:36
i try to restart? (edited)
Avatar
that's a special config name that is executed if it exists in the same directory as your gameserver
15:37
so you simply restart it by typing ./teeworlds_srv
Avatar
doesn't work
Avatar
with your config, you would need to write ./teeworlds_srv -f config.cfg (edited)
Avatar
yes
15:37
that's what i do
Avatar
what does the output say?
Avatar
same thing
15:38
15:38
Avatar
your server version is 0.6
15:39
meaning, you need to use a 0.6 client to find it online
Avatar
shit
Avatar
if you want a 0.7 server
Avatar
yes ?
Avatar
you gotta download the latest server files from teeworlds.com
Avatar
bcs i use the 0.7.4
15:39
and how i install it on my vps ?
Avatar
or from github
Avatar
bcs actually i have used : sudo apt-get install teeworlds sudo apt-get install teeworlds-server
15:40
and this install 0.6 apparently
Avatar
well, there are many ways
15:40
you can use some file transfer client over ssh
Avatar
a way with command directly on putty, possible ?
Avatar
maybe wget or something like that
15:41
wget https://github.com/teeworlds/teeworlds/releases/download/0.7.4/teeworlds-0.7.4-linux_x86_64.tar.gz
15:41
that downloads the archive
15:41
yeah and i extrat it
Avatar
yeah, but I think teeworlds.com has a working certificate, so it doesn't matter if you add that flag
Avatar
ok done
Avatar
tar xvzf teeworlds-0.7.4-linux_x86_64.tar.gz
Avatar
i have extract and moove to a folder
15:42
so now i'm in my /teeworld/
15:43
Avatar
you gotta move your config file in that directory
Avatar
so i do : vim autoexec.cfg ?
15:43
already done
Avatar
oof, vim
15:43
x)
Avatar
or nano (edited)
15:43
xd
Avatar
nano all the way!
Avatar
i never use nano
15:43
aOof
Avatar
I never use vim 😄
15:44
anyway, paste your config into an autoexec.cfg file
15:44
in that directory
15:45
./teeworlds_srv
15:45
and you should be ready
15:46
what more?
15:46
sv_port 8303 ?
15:47
15:47
all good ?
15:47
8303 is used by default
Avatar
"failed to load the map ctf2"
Avatar
so yeah
Avatar
cd data/maps && ls -la
Avatar
w8 i install nano
15:49
15:49
there is ctf2
15:49
pepowtf
Avatar
mind pasting the full output from the server log
15:50
of better screenshot
15:51
Avatar
you start the server incorrectly
Avatar
but ctf1 and ctf2 exist
Avatar
please uninstall the ubuntu package
Avatar
i have started with -f autoexec.cfg too
15:52
how ?
Avatar
wit the 0.6 server
Avatar
already done
Avatar
apt remove teeworlds-server?
Avatar
oh
15:52
done
Avatar
you start the server from within that folder with ./teeworlds_srv
15:54
2709_pepehype Pepe pepeOK 4642_peepoclap
15:55
how can I thank you ?
Avatar
if you don't want your server to be closed when you disconnect, it would make sense to run it within e.g. tmux, screen or byobu
15:55
when you close your ssh session
Avatar
how to use one of this things?
Avatar
byobu is the easiest to use, I also use it
15:56
apt install byobu
15:56
then you start byobu
15:56
byobu
15:57
and start the server from within byobu
16:00
F2, F3, F4, F5, F6 are the main control keys for byobu to create new sessions, switch between them and detach byobu with F6 so that you can close your ssh connection
Avatar
how i start the server with byobu
Avatar
start byobu
16:56
navigate into the directory
16:56
./teeworlds_srv
16:56
look at the output if the server started correctly
16:56
press F6 to detach byobu
Avatar
There is a bug that allows you to play the menu music while you are ingame and even loop it while the first one is still playing with using the mute shortcut. Here is how to recreate the bug: 1. Go on any server you like to 2. Press Ctrl + S to mute the ingame sound 3. Go into settings and turn the audio back on ( with background music playing ) 4. Now the menu music should play while being ingame. 5. Repeat step 2. and the music should loop itself
Exported 134 message(s)