Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2018-11-08 00:00:00Z and 2018-11-09 00:00:00Z
Avatar
[freenode] <Digit> why is it happening? what's the motivation behind the attack?
02:48
[freenode] <Digit> v annoyin
Avatar
Translations for Teeworlds 0.7.1 are open : https://www.teeworlds.com/forum/viewtopic.php?id=12573
Helping out with translations for 0.7.1 (Page 1) — Developer Journals — Teeworlds Forum — Everything Teeworlds!
Avatar
[quakenet] <YuGiOhJCJ> hello, I receive a lot of "banned '<IP_ADDRESS>' for 1 minute (Stressing network)" messages when I start a teeworlds server, am I attacked?
12:35
[quakenet] <YuGiOhJCJ> I use teeworlds-0.6.2 as server
12:36
[quakenet] <YuGiOhJCJ> maybe it is fixed in the last release
12:36
[quakenet] <YuGiOhJCJ> who knows...
Avatar
hello YuGiOhJCJ
Avatar
[quakenet] <YuGiOhJCJ> I killed the server
Avatar
0.6.5 fixes some exploits
12:39
(likewise 0.6.3 and 0.6.4)
Avatar
[quakenet] <YuGiOhJCJ> oh nice
Avatar
especially the very troublesome exploit of connecting clients filling all servers
Avatar
[quakenet] <YuGiOhJCJ> well, it's time for an upgrade of my server
Avatar
You should probably upgrade (or apply patches if you're running a modified server)
12:42
YuGiOhJCJ: having any trouble with that?
Avatar
[quakenet] <YuGiOhJCJ> no problem, it should be fine
12:42
[quakenet] <YuGiOhJCJ> thanks
12:43
[quakenet] <YuGiOhJCJ> I will upgrade then I will se of the problem is gone
12:43
[quakenet] <YuGiOhJCJ> *see
12:43
[quakenet] <YuGiOhJCJ> *if
Avatar
cool, thanks :)
Avatar
[quakenet] <YuGiOhJCJ> wow the teeworlds-0.7.0 server is not doing the same thing than teeworlds-0.6.2 at startup, it tries to check for some files and create some directories so I get the following errors: "[storage]: couldn't open storage.cfg", "[storage]: unable to create save directory", "[storage]: initialisation failed" and "[kernel]: ERROR: couldn't register interface storage. null pointer given"
13:56
[quakenet] <YuGiOhJCJ> that's how I run the server: sudo -u teeworlds teeworlds_srv -f /etc/teeworlds/serverconfig.cfg
13:58
[quakenet] <YuGiOhJCJ> the "storage.cfg" file is available in the source archive, but not in the build I did from the source
13:58
[quakenet] <YuGiOhJCJ> I could include it, but where, I don't know
14:00
[quakenet] <YuGiOhJCJ> I built teeworlds more or less following these steps: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=teeworlds-git
14:01
[quakenet] <YuGiOhJCJ> and I see nothing about storage.cfg so I am wondering if it's required
Avatar
[quakenet] <YuGiOhJCJ> can I specify the location of the storage.cfg file when I run the server?
14:12
[quakenet] <YuGiOhJCJ> (by using some flags)
14:14
YuGiOhJCJ: don't run the server as sudo, please
Avatar
[quakenet] <YuGiOhJCJ> I run the server as teeworlds
14:15
[quakenet] <YuGiOhJCJ> (teeworlds is the user)
Avatar
"that's how I run the server: sudo -u teeworlds teeworlds_srv -f /etc/teeworlds/serverconfig.cfg"
14:15
ah
14:15
nvm, sorry
Avatar
[quakenet] <YuGiOhJCJ> -f is already used in my command
Avatar
yeah, I see that
14:16
I didn't know you'd upgrade to 0.7, the 0.6 security issues fixes are 0.6.5
14:16
but that works too, of course
14:17
I think storage.cfg should be in the same folder as teeworlds_srv
14:17
not sure, though
14:18
eh, yeah, that's where I have it YuGiOhJCJ
Avatar
[quakenet] <YuGiOhJCJ> teeworlds_srv is a binary so it is placed in /usr/bin whereas storage.cfg is a configuration file so I would prefer to place it somewhere else like in /etc/teeworlds or something like that
14:21
[quakenet] <YuGiOhJCJ> but it is maybe hardcoded
14:21
[quakenet] <YuGiOhJCJ> no way to specify the location
14:24
[quakenet] <YuGiOhJCJ> OK I found that it is looking in the current directory for 'storage.cfg'
14:25
[quakenet] <YuGiOhJCJ> no matters if it is in the same directory than teeworlds_srv
14:25
[quakenet] <YuGiOhJCJ> now I need to customize this file
14:25
[quakenet] <YuGiOhJCJ> so it will look to writable directories for the teeworlds user
14:27
never tried installing teeworlds_srv in /usr/bin, I usually keep several, each in their own folder
14:27
of course, the way you do it makes sense
Avatar
[quakenet] <YuGiOhJCJ> yes, it's because I like to make a package for my distro, not working in the home directory, it's like package maintainers are working
Avatar
[quakenet] <YuGiOhJCJ> oh "maps" are missing
14:33
[quakenet] <YuGiOhJCJ> they are in a separate package
14:33
[quakenet] <YuGiOhJCJ> on GitHub
Avatar
yeah, you need to load the submodules via git
14:34
git submodule update --recursive --remote
Avatar
[quakenet] <YuGiOhJCJ> well, I will place them in /usr/share/teeworlds/data/maps/ which is an empty directory currently
14:46
[quakenet] <YuGiOhJCJ> or better before the build process, inside the teeworlds source tree at the "datasrc/maps/" location
14:46
[quakenet] <YuGiOhJCJ> I prefer an offline install so without looking for external resources
Avatar
the git submodule thing puts them in datasrc/maps if I'm not wrong
Avatar
[quakenet] <YuGiOhJCJ> yes it makes sense
15:05
[quakenet] <YuGiOhJCJ> I will investigate that later I need to shutdown see you thanks for the help
Avatar
Thanks for the work :)
Avatar
[quakenet] <rand> teeworlds_srv can work without storage.cfg
Avatar
My thoughts too rand, but apparentlyit says it can't create a save directory
Avatar
[quakenet] <rand> I succeeded to run teeworlds_srv as nobody
20:01
[quakenet] <rand> teeworlds user should be fine :]
Avatar
[quakenet] <YuGiOhJCJ> that's weird when I run "sudo -u teeworlds teeworlds_srv -f /tmp/toto/serverconfig.cfg" I got "[console]: failed to open '/tmp/toto/serverconfig.cfg'"
20:50
[quakenet] <YuGiOhJCJ> permissions are: -rwxrwxrwx 1 teeworlds users 377 Nov 8 21:34 /tmp/toto/serverconfig.cfg
20:51
[quakenet] <rand> what about /tmp and /tmp/toto ?
20:53
[quakenet] <YuGiOhJCJ> drwxrwxrwx 6 teeworlds users 4096 Nov 8 21:34 /tmp/toto
20:53
[quakenet] <YuGiOhJCJ> drwxrwxrwt 13 root root 4096 Nov 8 21:26 /tmp
20:54
[quakenet] <YuGiOhJCJ> it's teeworlds-0.7.0
20:55
[quakenet] <YuGiOhJCJ> built from source code
20:58
[quakenet] <YuGiOhJCJ> lol ok with "strace" I see what happens
21:00
[quakenet] <YuGiOhJCJ> the path "/tmp/toto/serverconfig.cfg" is concatenated to the userdir, datadir, currentdir and appdir
21:00
[quakenet] <YuGiOhJCJ> I need to move my file
21:00
[quakenet] <YuGiOhJCJ> to one of these directories
21:01
[quakenet] <YuGiOhJCJ> then just give the filename
21:01
[quakenet] <YuGiOhJCJ> to the command line
21:01
[quakenet] <YuGiOhJCJ> not the full path
21:01
[quakenet] <YuGiOhJCJ> absolute
21:02
[quakenet] <YuGiOhJCJ> that's it: [console]: executing 'serverconfig.cfg'
21:02
[quakenet] <YuGiOhJCJ> :D
Avatar
[quakenet] <Dune> :D
Exported 90 message(s)