Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2017-08-07 00:00:00Z and 2017-08-08 00:00:00Z
Avatar
<Henningstone> <Learath2> how is nimda supposed to stop anything if it +v's everyone so quickly? :P
00:28
<Henningstone> apparently she does actually know whom to +v, because Condiment was ignored where Edible did get +v
00:28
<Learath2> Henningstone: we had this conversation with heinrich5991 a couple of days ago
00:29
<Learath2> guess Nimda has some kind of algorithm by which it determines who is worth
00:29
<Learath2> y
00:30
<Edible> first come first served then
00:30
<Learath2> guessing ip close enough or exact matching user@host or simply all nicks that were here before the lockdown
00:30
<Edible> same ip too
00:30
<Learath2> or maybe it keeps a list of regulars
00:30
<Edible> or maybe its about who's authed?
00:30
<Learath2> no i saw it +v people who werent authed
00:31
<Edible> oh, i'm not authed currently
Avatar
1970033 Revert "livstream" - def- c87d19e Add tournament results - def-
Avatar
<Learath2> !ping
10:48
<Nimda> Pong!
Avatar
<Learath2> !ping
10:56
<Nimda> Pong!
Avatar
<Ryozuki> hi
14:06
<heinrich5991> hi
Avatar
some guy is trying to connect to tw servers but it doesn't downloads the maps, his english is not so good, basically what happens to him is that map download doesnt starts https://youtu.be/h19cQW8NeqA?t=65 he made a video xD
16:20
@10100110101Hacker101101101011 you should try to speak this here, maybe they solve ur problem
Avatar
<laxadedi> Henningstone, Learath2: nimda sources are public, not hard to find out :)
16:25
"Locks down the channel by setting the moderated flag and voicing all known users. "
16:25
simple algo
Avatar
<deen> Learath2: ^ downloader problems
16:34
<deen> Ryozuki: as a workaround the guy can disable http map download in settings -> ddnet
16:35
<deen> he has a libcurl.dll.old lying around, maybe libcurl problems
16:36
<deen> or permissions problem
16:38
<Ryozuki> idk it would be to hard to explain this to him, maybe some russian can help him more
16:40
<Ryozuki> hmm disabling http download doesn't work for him either
16:42
no space on hard drive
16:42
(y) definitely
Avatar
<Ryozuki> could be
16:42
<Ryozuki> sec
Avatar
10100110101Hacker101101101011 2017-08-07 16:42:47Z
@Savander You see YouTube?
Avatar
Yes, why
16:43
<Ryozuki> he send me this
16:44
<Ryozuki> i guess he have space
16:44
<Ryozuki> i don't understand russian :/
Avatar
10100110101Hacker101101101011 2017-08-07 16:44:16Z
@Savander why can't? join (edited)
Avatar
yea, he has a lot of space
16:44
1.4 TB
16:44
hmm
Avatar
10100110101Hacker101101101011 2017-08-07 16:44:44Z
wtf
Avatar
<deen> Then wrong permissions
Avatar
oh, maybe right
16:44
permissions
Avatar
<deen> click on config_directory.bat, delete entire directory
Avatar
10100110101Hacker101101101011 2017-08-07 16:44:58Z
my disk E: 1,26 tb
Avatar
<deen> (make backup of settings)
Avatar
@10100110101Hacker101101101011 try to run ddnet as administrator
Avatar
<deen> Learath2: can we have a nice error message if no space or permissions are wrong?
Avatar
10100110101Hacker101101101011 2017-08-07 16:45:44Z
you see youtube have video administrator
16:45
you see (edited)
Avatar
<deen> Hacker: can you show the log output?
Avatar
@10100110101Hacker101101101011
Avatar
@Ryozuki he did it
Avatar
<Ryozuki> when word dont work images are better
16:46
<Ryozuki> oh
16:46
curious
16:47
maybe firewall somehow prevents him from downloading
16:47
hmm
Avatar
<deen> f1, logfile "foo.log"
16:47
<deen> restart client
16:47
<deen> download map
16:47
<deen> send me foo.log
16:47
<deen> (file)
Avatar
will be in main directory
16:47
right?
Avatar
10100110101Hacker101101101011 2017-08-07 16:47:56Z
yea
Avatar
or config_directory
Avatar
10100110101Hacker101101101011 2017-08-07 16:48:14Z
wait
Avatar
<Ryozuki> milk you there? xD
16:48
XD
Avatar
<Ryozuki> he used to be in this irc i think
Avatar
Game of Thrones s07 god !
Avatar
10100110101Hacker101101101011 2017-08-07 16:48:40Z
so
Avatar
@10100110101Hacker101101101011 run game
16:49
f1
16:49
logfile foo.log
Avatar
10100110101Hacker101101101011 2017-08-07 16:49:38Z
ok
Avatar
try to download map
16:49
find foo.log in directory
16:49
send it here
Avatar
10100110101Hacker101101101011 2017-08-07 16:50:00Z
Ok
Avatar
Google Translator
Avatar
10100110101Hacker101101101011 2017-08-07 16:50:23Z
k
Avatar
You can use
Avatar
10100110101Hacker101101101011 2017-08-07 16:50:25Z
yes
16:50
yandex translate use (edited)
16:51
@Savander @Ryozuki Done logfile foo.log {ENTER} Done Server Join can't(
Avatar
<Ryozuki> now show us the logfile
16:51
<Ryozuki> send it on discord
Avatar
10100110101Hacker101101101011 2017-08-07 16:51:41Z
I already can't
Avatar
<Ryozuki> find foo.log
16:52
<deen> maybe no permission to write foo.log either :D
Avatar
<deen> how to enable the cmd window on windows again?
16:54
<deen> cl_show_console 1
16:54
<deen> restart client
16:54
<deen> download map
16:54
<deen> screenshot of look at black window
16:58
<deen> but i think it's a general problem with saving anything, since it can't even save settings_ddnet.cfg?
16:59
<deen> one of his bot clients might have made the entire teeworlds config directory read only
Avatar
that's possible
Avatar
<deen> close steam
17:09
<deen> i remember something about steam locking directories
17:09
<deen> @10100110101Hacker101101101011
Avatar
10100110101Hacker101101101011 2017-08-07 17:10:10Z
ok
17:10
Steam close done
17:10
Auto start disable steam
Avatar
<deen> Send 5 Bitcoin to 1DwyLZZhrAXAm7bF1DYDL94pPR6cTSzSts
feelsamazingman 1
17:11
<deen> close every other program you have, disable all autostart, reboot computer, reboot into recovery mode, reinstall windows, buy new computer, etc
Avatar
<deen> and don't install bots and "cool hacker tools" next time
Avatar
police incoming
17:14
ijo ijo
Avatar
<Ryozuki> woah bitcoin price is really high
17:16
<Ryozuki> $3,390.22 4.15%
Avatar
imagine that you bought 100 bitcoins 6-7 years ago
17:16
😮
17:17
RICH
Avatar
sad i didn't
Avatar
<deen> imagine we live in the other universes where bitcoin failed within the last 6-7 years, POOR
17:18
5 bitcoin = 16950€, deen why would you need so much money? ^^
Avatar
7 years ago, bitcoin was for few cents
17:19
i don't think, That i would go bankrupt
Avatar
0.06€
Avatar
right
Avatar
that was bitcoin price
Avatar
even 1000 bitcoins, don't seems to be so much 😄
17:20
meh. I should be smarter! :<
17:20
but i was 14
Avatar
time to look at new cryptocoins and buy them 👌
17:20
etherum is the thing now
Avatar
i saw
17:20
People says
17:21
"IT GONNA BEAT BITCOIN"
17:21
maybe
Avatar
mm etheurm is 266€
17:22
someday bitcoin will die because of its dificulty
17:22
(i think?)
Avatar
<deen> predicting the future is even more difficult
17:24
you think digital currencies are better than real money?
Avatar
<deen> me?
Avatar
<deen> I think they are a waste of energy and I won't support them
Avatar
i see :o
Avatar
<deen> people mostly use them for speculation right now, no one cares that you can only have very few transactions within a timespan and it takes long to verify
17:28
<deen> (being a waste of energy is not bad in itself, consider trees that generate millions of pollen, thousands of seeds and still only generate a single other tree from that.)
Avatar
i'm not really into cryptocurrency, in fact i never did a transaction so i didn't know they were that slow
Avatar
15 minutes i guess?
Avatar
<deen> yeah, something like that
Avatar
Like now, you are going to the shop
17:34
touch, DONE
Avatar
<deen> and Ethereum is REALLY funny
17:34
<deen> where you can code a contract in something that looks like javascript
17:35
<deen> because javascript is "cool"
Avatar
i see etherum heists in online news very frequently
Avatar
<deen> instead of just having a simple decision table that everyone could understand
Avatar
"Ether Thief Remains Mystery Year After $55 Million Digital Heist" xD
Avatar
<deen> see obfuscated c contest for why this will be fun
Avatar
that contest has nice ascii art
Avatar
<deen> wait, sorry, wrong contest
17:36
<deen> I meant underhanded: http://www.underhanded-c.org/
Avatar
@deen @Ryozuki checked his permissions he is owner of %APPDATA%\Teeworlds, deleting did not help, autoexec is being ignored, settings also the directory remains empty (edited)
Avatar
Anyone want to write the map name here and maybe even add a picture? https://ddnet.tw/tournaments/
Avatar
the name of the tournmap?
18:17
and the small image from /ranks/maps/*.png
18:17
I think that would make it much easier to find the tournament you're looking for
Avatar
<Ryozuki> ill try to add names web scraping with python
Avatar
Guys, can you tell me how Teeworlds know that server have password or not?
18:30
where i can spot the code
18:30
Who is responsible for that
18:31
I remember that, heinrich has some kind of documentation about teeworlds protocol? no?
Avatar
<deen> SERVER_FLAG_PASSWORD
18:40
<deen> I guess
18:40
this?
Avatar
<deen> yes
Avatar
thanks
18:41
i found it a second ago
Avatar
<deen> I just grepped for PASSWORD
18:41
i can't grepp
18:41
never used it
18:41
:/
Avatar
<deen> grep -r PASSWORD src
Avatar
no idea if i can on windows
18:41
:/
Avatar
<deen> or "git grep PASSWORD"
18:41
oh
18:41
hmm
18:42
thank you 😃
18:42
maybe i should learn a bit of that stuff
Avatar
<deen> 99% of cases where people ask "how to do X?" I just grep for X
18:42
Magician
18:43
<deen> Ryozuki: meh, next you need sed and all the other unix shell tools
18:43
<deen> IDEs can also search for patterns I guess
18:44
<Ryozuki> you can download all gnu tools here https://sourceforge.net/projects/getgnuwin32/files/
18:45
<Ryozuki> C:\Users\Edgar\Desktop\ddnet\src (master)
18:45
<Ryozuki> λ sed
18:45
<Ryozuki> Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
18:45
<Ryozuki> i got it :)
18:45
<deen> with pipes?
Avatar
tbh, i don't have teeworlds source at now
Avatar
<deen> also "last modified 2011-05-31"
18:45
<deen> also "sourceforge"
18:46
<Ryozuki> this one is more recent
18:46
<Ryozuki> 2016
18:47
<deen> What about the linux-in-windows thingy? isn't that better?
18:47
<Ryozuki> bash on ubuntu on windows
18:47
<deen> mingw with pacman also looked reasonable for being on windows
18:47
<Ryozuki> i prefer linux ofc
18:47
<Ryozuki> but i like having things handy
18:48
<Ryozuki> yes it supports piping
18:48
<Ryozuki> im using cmder tho
18:50
<deen> anyone built ddnet on the bsds recently?
18:51
<deen> I hope we didn't add anything linux specific
18:51
<deen> bsd people don't have many games to choose, someone should submit ddnet to their packages
18:51
<Ryozuki> :/
18:52
<Ryozuki> is there someone using bsd here?
18:52
<deen> eeeee or fstd I think
18:52
<deen> I used to run the ddnet server on my OpenBSD server a few years ago, used to work just fine
18:53
<deen> libressl might require some #ifdefs
18:53
<deen> or not, since curl will be fixed already on openbsd
18:59
<fstd> Ryozuki: i run netbsd
18:59
<eeeee> have heard you don't have many games to choose
19:00
<eeeee> how do you live like that
19:00
<Ryozuki> teeworlds is enough fun :)
19:01
<eeeee> i once tried to use gentoo portage in cygwin on windows
19:02
<eeeee> it was a really shit experience because portage chmods files all the time and that's a really expensive operation on ntfs
19:02
<eeeee> other than that it worked suprisingly somewhat, actually managed to emerge some things
19:06
<fstd> the cygwin terminal is soo slow
19:07
<fstd> i bet that tripled the emerge time
19:07
<fstd> slow wrt outputting text, i mean
19:12
<deen> fstd: does the current cmake build of ddnet work?
19:14
<fstd> no idea, i haven't built ddnet in a while (and when i did, i used bam)
19:14
<fstd> i can test it when i have time
19:14
<fstd> need to build cmake first, though. i wonder what build system cmake uses
19:18
<deen> the previous version of cmake until 10 years back which uses makefiles
19:18
<deen> obviously
19:20
<fstd> wants autotools teeworlds
19:20
<fstd> </unpopular opinion>
19:22
<deen> I don't like cmake, but I liked autotools even less
Avatar
<laxadedi> How to build sql release with cmake/make ?
19:35
<laxadedi> bam build is broken on my end for sql, dunno why and what changed, too lazy to look into that especially since bam is going to be removed
19:46
b6f70e8 fix bam windows build - Laxa e76db84 Merge pull request #839 from Laxa/fixwinbuild - def-
Avatar
<deen> laxadedi: cmake . -DMYSQL=ON
19:48
<laxa> btw, this should probably be on README
19:48
<deen> sure, add it
Avatar
<laxa> rcon password config changed on ddnet ? I mean, the option to setup rcon password in config files ?
20:02
<deen> yes
20:03
<deen> python scripts/hash_passwords.py
20:03
<deen> create a separate account for each person
20:03
<deen> and write down those things for README, everything that's unclear
20:03
<laxa> yeah...
20:04
<deen> then we can just link other people to that instead of explaining again and again
20:04
<laxa> I'll probably stop hosting an empty ddnet server :(
20:04
<laxa> I don't wanna spend 30/60 minutes finding out what changed everytime I update my server sadly
20:05
<laxa> Don't know people actually having an instance of SQL ddnet running
20:08
<laxa> There is no way to have an rcon password oldschool way ?
Avatar
yes in the autoexec
Avatar
<laxa> "old way" is 'sv_rcon_password password'
20:10
<laxa> that doesn't seems to work anymore
Avatar
login: empty
20:38
then password
20:38
no?
Avatar
<laxa> there is not even a login prompt, just a password one
Avatar
sv_rcon_password "mypass"
20:47
works for me
Avatar
<laxa> ah I know why x)
Avatar
<deen> laxa: so we have to stop development so that no one has to update anything? or what's the solution here?
21:15
<laxa> Well, I know you always try to "not break things" and try to keep ddnet as close as how teeworlds is
21:15
<laxa> I don't know the proper way beside having warnings when something change I guess
21:16
<laxa> but right now I dunno if it's my scripts/setup that makes it fail or not
21:17
<laxa> Like you use a software for years, you just update it from time to time, you don't take the time to read the changelog (that's my bad I guess), and something doesnt work anymore, it's kind of frustrating to spend time trying out to figure why.
21:19
<laxa> yeah, I know what changed
21:20
<laxa> teeworlds@laxadedi:~/Teeworlds/servers/ddnet$ ../binary/DDNet-Server -f ddnet.cfg
21:20
<laxa> [2017-08-07 23:20:06][console]: failed to open '../common.cfg'
21:20
<laxa> ddnet probably setting cwd as ../binary/ instead of the actual one
21:21
<laxa> that's why it's failing loading my common.cfg that holds the rcon_password
21:21
<deen> no, we forbid ..
21:21
<deen> security risk
21:22
<laxa> alright, I kind of disagress about that, it should be the admin/hoster responsibility
21:22
<deen> how so?
21:22
<laxa> well, if I fuck up my host/path/rights, then it's my own fault, not the software faults
21:23
<deen> meh, so I need to make sure that every ddnet server that we run runs as its own user or in a sandbox?
21:23
<deen> if you want to include .., you can add it as a path in storage.cfg
21:23
<laxa> Hum, I don't see how this is a security risk exactly
21:23
<laxa> because of admins ?
21:24
<deen> yes, ingame admin can use exec or change_map with any path
21:24
<laxa> I'll use absolute path, I guess it's overall better security, I agree
21:24
<laxa> Hum right, then okay, I see your point :)
21:24
<deen> exec /etc/passwd is fun too
21:24
<deen> i don't think ingame admins should have that kind of access by default
21:25
<deen> it's like a limited remote shell
21:25
<laxa> but they still can do exec /etc/passwd without ..
21:25
<deen> Especially since we host trashmap where everyone can be admin
21:25
<deen> we also forbid absolute paths
21:25
<laxa> so, exec does'nt work anymore ?
21:25
<deen> only paths listed in storage.cfg are allowed
21:26
<laxa> ah, nice
21:26
<deen> so if you want your admins to access /, then add_path / and use relative paths from there
21:27
<deen> accessing nuclear servers with our future tournament servers with change_map was also fun
21:27
<deen> tournament maps*
21:28
<deen> and of course going on test server, but execing the regular cfg to find out the mod password there
21:29
<laxa> ok fixed finally
21:29
<deen> next time you update and something doesn't work, check the log file
21:29
<deen> it should tell you where it failed
21:29
<laxa> I did, but later on
21:30
<laxa> Well, thanks for your time and sorry for being annoying :)
Avatar
For fun, I made PHP Package to get informations from server. https://packagist.org/packages/savander/twservers Actually, It's possible to extend it to work with 64 clients, but first i need to figure out how to do it.
22:00
With Laravel support
22:01
Compatibility*
Exported 339 message(s)