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 2020-01-28 00:00:00Z and 2020-01-29 00:00:00Z
Avatar
@heinrich5991 destructor of a member variable? Is it anywhere else mentioned? Smart Pointer?
16:35
Looks like a good use case for a shared pointer for me <.<
Avatar
@Assa yea, but I'm not allowed to use a shared pointer ^^
Avatar
then write one yourself 😮
18:30
this is not that hard, you prob. don#t need most of this
Avatar
yea, would be a nullable unique pointer then
Avatar
fastest gun in the west
19:52
20s from pull request to merge
Avatar
[quakenet] Oy BOT 2020-01-28 20:09:56Z
:)
20:10
Space should put in effect the command. It makes typos less scary, and is generally smoother: Input /team hi⏎ is more convenient than /team⏎hi⏎ [All] /team -&gt; [Team] -&gt; [Team] hi⏎ Inp...
20:12
ah nvm, now i do, the double confirmation
Avatar
[freenode] ChillerDragon BOT 2020-01-28 20:16:05Z
Oy: and especially people who are used to /whisper commands from 0.6 server modifications will enjoy that
20:16
why do i even bother joining irc to ping oy if im using a bridge on freenode anyways :D
Avatar
[quakenet] Oy BOT 2020-01-28 20:19:48Z
never used whisper so far
Avatar
ChillerDragon 2020-01-28 20:41:43Z
Oh why not stop server if logging fails?
20:42
i mean this only happens if one provides the logfile option
Avatar
[quakenet] Dune BOT 2020-01-28 20:42:55Z
logging shouldn't raise critical errors?
Avatar
ChillerDragon 2020-01-28 20:45:07Z
well on start it is very useful imo
20:46
i crafted a very and messy workaround in my scripts repo that checks if logging failed
20:46
but still
Avatar
[quakenet] Oy BOT 2020-01-28 20:48:17Z
users often use a config they got from someone else, and that could have a logfile command
Avatar
ChillerDragon 2020-01-28 20:49:31Z
well
20:49
ok
20:50
imo this change makes it easier for server hosters updating from 0.6
Avatar
[quakenet] Oy BOT 2020-01-28 20:50:26Z
how?
Avatar
ChillerDragon 2020-01-28 20:50:52Z
I was really confused the first time i cam in contact with the new system
20:51
even deen a high skilled admin did not understand why logging broke
20:51
this error would explain it in a few seconds
Avatar
the error is printed to stdout. That should be enough. For a tw server logfiles aren't that crucial that the server should shutdown because of it
Avatar
note that this is about shutdown when the server is initially started(?)
21:12
i.e. when the admin is looking at it anyway
Avatar
ChillerDragon 2020-01-28 21:14:35Z
the log prints a lot of messages it can be easily overseen
Avatar
overseen is the opposite of "übersehen"
21:14
(like overhear btw)
Avatar
ChillerDragon 2020-01-28 21:15:05Z
oh
21:15
overlook then?
21:15
sounds odd
Avatar
It's not like there are thousands of lines to check at the beginning =\
Avatar
ChillerDragon 2020-01-28 21:16:05Z
its not like any one bothers to read them all
Avatar
what do you think about the point that the admin is looking anyway, @redix
Avatar
Well I'm just not a big fan of stopping the whole server just because the logfile failed... But as the logfiles use blocking io I prefer other logging methods in general 😅
Avatar
"stopping the whole server" only means "not starting the server" in this case
Avatar
ChillerDragon 2020-01-28 21:20:06Z
then do not use logfile and u wont be affected
21:20
if u use other logging options server wont stop
Avatar
[quakenet] Oy BOT 2020-01-28 21:20:39Z
how many people have a broken logfile? and how many average users will then show up with "my server doesn't start, just a window pops up and closes" (because of a broken logfile)
Avatar
ChillerDragon 2020-01-28 21:20:45Z
when restarting different servers a lot i do not bother readong every line
21:20
it can get get some lines
21:21
hmm yea the config sharing thing. Tbh i did not think about that and just assumed people who know what they are doing use the logfile setting
Avatar
[quakenet] Oy BOT 2020-01-28 21:22:00Z
that logfile error pops right into ur eyes :P
Avatar
ChillerDragon 2020-01-28 21:22:27Z
yes because my logpath is hilariously long
Avatar
[quakenet] Oy BOT 2020-01-28 21:22:34Z
the average user has no clue what he's doing and downloads some random config
Avatar
ChillerDragon 2020-01-28 21:22:40Z
hm
Avatar
[quakenet] Dune BOT 2020-01-28 21:23:08Z
this warning may be very important to some server hosters, but not critical to others, and that would suck if they are unexperienced
21:23
so I agree with Oy here
Avatar
[quakenet] heinrich5991 BOT 2020-01-28 21:23:45Z
an actual problem here is that we concatenate paths btw
Avatar
ChillerDragon 2020-01-28 21:23:56Z
no why?
Avatar
[quakenet] heinrich5991 BOT 2020-01-28 21:24:02Z
instead of throwing an error when the user passes /abc/def
21:24
the intention of the user is clear, yet we pretend they mean our/path//abc/def
Avatar
ChillerDragon 2020-01-28 21:24:53Z
well this could also seen as absolute path starting from dumps dir but i see what u mean
Avatar
"absolute path starting from" is a relative path
Avatar
ChillerDragon 2020-01-28 21:25:22Z
xd
21:25
idk what happens when ../ i used
21:25
probably also fails
21:26
all these things used to work in 0.6
Avatar
[quakenet] Oy BOT 2020-01-28 21:26:26Z
we should forbid it, if it works
Avatar
it's a security improvement that random server admins cannot take over your server using the teeworlds server
Avatar
ChillerDragon 2020-01-28 21:26:39Z
yy ik
Avatar
Restricting the file access a bit is definitely a good thing
Avatar
[quakenet] Oy BOT 2020-01-28 21:26:55Z
yeah
Avatar
ChillerDragon 2020-01-28 21:27:18Z
logfile was restart only i think exec is even worse
Avatar
Maybe there should be an exception for things that are loaded at server start
Avatar
[quakenet] Oy BOT 2020-01-28 21:29:24Z
how about showing active errors when u log in to rcon?
Avatar
ChillerDragon 2020-01-28 21:31:48Z
doesnt solve the issue if you never auth in rcon
21:32
but would be nice yes to put the master server warning there instead of in the logs :p
21:32
in my 0.6 mod i used to track wrong rcon attempts and showed last login and amount of failed attempts on rcon login
Avatar
[quakenet] Dune BOT 2020-01-28 21:32:59Z
it's a pretty important error, means the server isn't running
21:33
should be all over the place
Avatar
[quakenet] Oy BOT 2020-01-28 21:55:19Z
heinrich5991: on windows you have different absolute paths
Avatar
[quakenet] heinrich5991 BOT 2020-01-28 21:55:55Z
yes, there's another kind which this doesn't detect, C:\
21:56
I feel this is still an improvement over every file exec (e.g. autoexec.cfg) saying that you can't have absolute paths
21:57
*every failed
21:59
anyway, off for tonight
21:59
good night everyone
Avatar
[quakenet] Oy BOT 2020-01-28 22:00:25Z
gn8
Exported 87 message(s)