00:00 <@heinrich5991> what do we use filesize for? 00:00 <@deen> hm, or is it right after all. somewhere is an off by one error 00:00 <@deen> embedding sounds into maps for example 00:01 <@deen> and opening sounds in general 00:02 <+ddnet-discord> I wonder, if i can copy ddnet's CMakeLists.txt with CMake folder. It would work? 00:02 <@heinrich5991> embedding sounds into maps -> just read until end? ^^ 00:02 <@deen> currently it uses io_length 00:05 <@deen> ah no, my bad! 00:08 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v5WFX 00:08 < ddnet-commits> ddnet/master bff1c12 def: Don't try to load ddnet-ranks.json while fetcher is downloading it anyway 00:11 <+ddnet-discord> woah, it looks pretty good 😮 00:11 <+ddnet-discord> those flags 00:19 <@deen> If anyone can fix the mac build, would be nice. I might take a look tomorrow. 00:21 <@deen> or I try named semaphores 00:22 <@heinrich5991> maybe the unix version just works on mac as well? 00:22 <@deen> no 00:22 <@deen> there are no unnamed semaphores 00:22 <@heinrich5991> ok 00:22 <@deen> so i will hack around using named ones with unique names 00:22 <@deen> otherwise you couldn't run 2 ddnet clients at once... 00:24 <@deen> i guess tomorrow is good enough, good night 00:24 <@heinrich5991> good night 00:31 <+ddnet-discord> Is it known, that bullets affect only the player who is longest alive, even on solo server? 00:31 <@heinrich5991> what do you mean? 00:31 <@heinrich5991> you can't do grenade jumps? 00:32 <+ddnet-discord> the gametiles (220-223) 00:32 <@heinrich5991> the shotgun things? 00:34 <+ddnet-discord> moving tiles that either hit, freeze or unfreeze you 00:35 <@heinrich5991> ah, the laser bullets 00:35 <+ddnet-discord> ye 00:36 <+ddnet-discord> apparently it doesn't matter if you are longest alive tho 00:36 <+ddnet-discord> seems to be random 00:36 <@heinrich5991> the first one to enter the range, right? 00:37 <+ddnet-discord> no idea, looks random to me 00:38 <+ddnet-discord> anyways, it's annoying that they ignore teams 00:39 <@heinrich5991> I think they don't ignore teams 00:40 <@heinrich5991> only solo 00:40 <+ddnet-discord> solo server is handled like everyone is in a seperate team or not? 00:40 <@heinrich5991> dunno, don't think so 00:41 <@heinrich5991> I think everyone is just solo 00:42 <+ddnet-discord> I think the bullet affects the player that lives the shortest 00:42 <+ddnet-discord> can't be, else switches wouldn't work 00:42 <@heinrich5991> true 00:47 <+ddnet-discord> is it possible to fix it? 00:48 <@heinrich5991> what do you mean with "possible"? 00:48 <@heinrich5991> technically, it is possible – whether such a change would be desired is another question 00:49 <+ddnet-discord> well it's a bug 00:50 <@heinrich5991> if it is a team thing, then yes 00:50 <+ddnet-discord> you can possibly cheat maps if you abuse it 00:50 <@heinrich5991> if it only affects solo (not the solo server kind), then it's not clear that it's a bug 00:51 <+ddnet-discord> hm I tested it on solo server^^ 00:52 <@heinrich5991> maybe the teams stuff of the solo server is just bugged :) 00:54 <+ddnet-discord> ok, tested it with teams instead of solo server. same outcome :p 01:15 < ddnet-commits> [ddnet] heinrich5991 opened pull request #855: Run tests on Travis on Linux (master...pr_ddnet_tests_travis_linux) https://git.io/v5Wh5 01:20 <+ddnet-discord> ^^ 01:44 <+sctt_> heinrich5591: im going to code a map_randomize_names tool, but i'm almost sure you are not interested in merging that right? 01:45 <@heinrich5991> what would that do? 01:45 <+sctt_> randomize the name of map images 01:45 <@heinrich5991> why would you do that? ^^ 01:45 <+sctt_> xD 01:45 <+sctt_> long story 01:45 <+sctt_> i've built a captcha system, a that will help to prevent a bit more in analizing the captcha 01:46 <+sctt_> that's why i wrote a image_replace tool in the first place 01:46 <+sctt_> you can look this demo 01:46 <@heinrich5991> ah 01:46 <+sctt_> https://streamable.com/caeud 01:47 <@heinrich5991> mh :) 01:47 <@heinrich5991> ask deen, but I don't think we need that tool ^^ 01:47 <+sctt_> yeah that's what i thought xD 01:49 <@heinrich5991> night 01:49 <+sctt_> good night! 02:07 <+ddnet-discord> deen 02:07 <+ddnet-discord> or someone 08:15 < ddnet-commits> [ddnet] def- closed pull request #855: Run tests on Travis on Linux (master...pr_ddnet_tests_travis_linux) https://git.io/v5Wh5 09:15 <@Learath2> deen: shouldn't LoadDDnetRanks check the Task instead of checking the resulting file 09:15 <@Learath2> ? 09:24 <@deen> ? 09:25 <@deen> Right now it's not perfect. The task starts overwriting the file immediately, and then it's empty in the beginning 09:36 <@Learath2> oh maybe that wasn't such a good design decision on my part 09:36 <@Learath2> i'm not sure if it's the fetchers business to download to temp first tho 09:47 <+eeeee> sctt_: so what do you need a captcha for? 09:58 <@Learath2> shitty mac and their shitty implementation of posix 09:58 <@Learath2> and their shitty fanboys can all jump off a cliff... 10:16 < ddnet-commits> [ddnet] Learath2 opened pull request #856: Try (ab)using named semaphores on OSX (master...dd_pr_testnamedphores) https://git.io/v5lE7 11:12 <@Learath2> deen: u here? 11:19 <@deen> Learath2: hi 11:21 <@Learath2> deen: how'd you like the interface for semaphores? 11:21 <@Learath2> should i distinguish between named and unnamed ones? 11:21 <@deen> probably not 11:21 <@deen> try using the named ones on linux, easier to test 11:22 <@deen> but we can switch back to the unnamed ones after testing 11:22 <@Learath2> would you mind if i still don't expose the names? 11:22 <@Learath2> not like we could use unlink on linux where we used unnamed ones 11:25 <@deen> ok, i guess 11:26 <@deen> did you look into using Grand Central Dispatch semaphores? 11:28 <@Learath2> deen: yeah, saw some people saying they don't work at all and others saying they conflict with pthread somehow 11:32 <@deen> ok, meh 11:32 <@deen> how come no one uses semaphores? 11:32 <@deen> What's the platform independent way here? 11:32 <@deen> should we use c++ semaphores and make system.c system.cpp? 11:32 <@heinrich5991> semaphores are the things you can wait on? 11:32 <@heinrich5991> and other people can signal you? 11:32 <@heinrich5991> like you'd need for a queue? 11:32 <@Learath2> i guess they use named semaphores 11:33 <@deen> yeah 11:33 <@deen> or we can use mutex + variable instead of semaphore 11:33 <@Learath2> heinrich5991: if semaphore > 0 wait does -- and doesnt block 11:33 <@deen> eg https://stackoverflow.com/questions/4792449/c0x-has-no-semaphores-how-to-synchronize-threads 11:34 <@heinrich5991> do we need more than a semaphore with 1,0? 11:34 <@deen> no, don't think so 11:34 <@Learath2> well if we run more then one fetcher threads, which we don't i guess 11:34 <@deen> I just don't want to busy wait until a new message arrives 11:34 <@heinrich5991> pthread_cond_t 11:34 <@deen> is it implemented on osx? 11:34 <@heinrich5991> is a 1,0 thing 11:35 <@Learath2> deen: does it really matter if the thread is waiting on a lock? 11:35 <@heinrich5991> it seems to be, it's what rust uses for condition variables 11:35 <@deen> Learath2: your thread was NOT waiting on a lock 11:35 <@deen> Learath2: it was running every few milliseconds, checking if something new is there 11:35 <@Learath2> oh true 11:35 <@heinrich5991> yea, that sounds bad 11:37 <@Learath2> can mutexes be unlocked from either side? 11:37 <@deen> condition variable should be fine for our purposes 11:37 <@deen> no 11:37 <@deen> that's forbidden for pthread mutexes 11:37 <@heinrich5991> I can't figure out how to do that with condition variables 11:37 <@deen> i remember trying that and running into weird bugs 11:37 <@heinrich5991> can you elaborate? 11:38 <@deen> fetchthread cond_waits until other thread cond_signals that something is in the queue now 11:38 <@heinrich5991> like that, there is a race I think 11:39 <@heinrich5991> the worker sees no work left 11:39 <@deen> use the lock around that 11:39 <@heinrich5991> k 11:39 <@heinrich5991> yea, works 11:39 <@Learath2> well semaphores should work on osx now 11:52 <@Learath2> love how travis never has enough osx buildbots 12:02 <@Learath2> damn conflicts with mach kernel internals 12:02 <@Learath2> deen || heinrich5991: what to name semaphores? 12:21 <@heinrich5991> ddnet.tw.process-id 12:21 <@heinrich5991> ? 12:22 <+Learath2> heinrich5991: i mean the functions 12:22 <+Learath2> mach kernel already defines semaphore_* 12:23 <@heinrich5991> hm 12:23 <+Learath2> (they are deprecated functions) 12:24 <+Learath2> phore_*? sphore_*? 12:26 <@heinrich5991> I don't know 12:31 <+Learath2> great, named them sphores, feel free to s/sphore_/bla_/ if you figure sth better out. moving out of LTE range for a while so might not be able to respond 12:32 <@heinrich5991> k, is it ready to merge then? 12:32 <+Learath2> give it a minute, i don't have a mac to check it on 12:32 <@heinrich5991> kk 12:32 <+Learath2> and even if it compiles i cant really be sure it works actually 12:33 <+Learath2> we need someone with a mac 12:33 <+Learath2> or a VM for that matter 13:10 <@deen> you can make a unit test 13:10 <@deen> and make the mac ci run it 13:59 <+ddnet-discord> @heinrich5991, Can I ask you something? Based on DDNet CMake, I'm trying to import it to the Pure teeworlds. I got "file COPY cannot find "//freetype.dll"." . I found that line: set(FREETYPE_COPY_FILES "${EXTRA_FREETYPE_LIBDIR}/freetype.dll"). What ${EXTRA_FREETYPE_LIBDIR} does ? I can't figure out 14:00 <+ddnet-discord> it is set in set_extra_dirs in the main CMakeLists.txt 14:03 <+ddnet-discord> @Savander did you find it? 14:04 <+ddnet-discord> a minute, family wants something from me 😃 14:07 <+ddnet-discord> yea, i found it 14:09 <+sctt_> eeeee: bots joining using proxies that fill the players slots until the server is full 14:26 <+ddnet-discord> hmm, no idea how to fix it 14:33 <+ddnet-discord> so i want to set up a tw server with a custom mod. anyone know how with nfoserver 14:52 <+ddnet-discord> it's pretty weird. I want to commit cmake to my repository 14:52 <+ddnet-discord> and i got git commit Segmentation fault 14:52 <+ddnet-discord> o.O 14:53 <@heinrich5991> Ezy: how far did you get? did you buy a server and now you don't know how to put a teeworlds server onto it? 14:53 <@heinrich5991> Savander: mhhh 14:54 <+ddnet-discord> i'll try to update git 14:55 <+ddnet-discord> Anyway, I have some errors with CMake, while building. Don';t know if I will figure it out 14:56 <+ddnet-discord> Great, after update it works 😃 15:23 <+ddnet-discord> ok no 15:23 <+ddnet-discord> i have a different provider 15:23 <+ddnet-discord> hmm 15:30 <+ddnet-discord> https://github.com/savander/teeworlds-cmake/issues/1 15:30 <+ddnet-discord> Anyone have idea? :/ 15:38 <@heinrich5991> you need to link zlib one way or the other 15:40 <+ddnet-discord> ok so i am running ftp to server 15:40 <+ddnet-discord> which files do i put in there? 15:41 <@heinrich5991> the modification's server files 15:41 <@heinrich5991> which modification do you want to run? 15:41 <+ddnet-discord> normal ddrace mod first 15:41 <+ddnet-discord> so i havent changed anything 15:41 <+ddnet-discord> but that mod 15:41 <+ddnet-discord> in my build file 15:41 <@heinrich5991> then download the ddnet mod from the ddnet home page 15:41 <+ddnet-discord> folder 15:42 <+ddnet-discord> no 15:42 <+ddnet-discord> i wanna put my own mod in there 15:42 <+ddnet-discord> it is just not changed for now 15:42 <@heinrich5991> have you set up a ddnet server before? 15:42 <+ddnet-discord> but in the future i plan to change it and then i wont know how to do it 15:43 <+ddnet-discord> only lan but thats different 15:43 <@heinrich5991> well, then maybe try that first 15:43 <+ddnet-discord> ok 15:43 <+ddnet-discord> ah 15:44 <+ddnet-discord> the ddnet download is also for server 15:44 <+ddnet-discord> you need to link zlib one way or the other 15:45 <+ddnet-discord> just transfer the whole ddnet folder per ftp? 15:45 <@heinrich5991> yes 15:45 <+ddnet-discord> So Im linking it twice now? 15:45 <+ddnet-discord> it's DDnet cmake, hmm 15:45 <@heinrich5991> apparantly you're not linking it 15:45 <+ddnet-discord> 😮 15:45 <@heinrich5991> because these are exactly the zlib functions that are missing 15:49 <+ddnet-discord> Okay, fixed lul 15:51 <+ddnet-discord> Great 😃 Thanks @heinrich5991 15:51 <+ddnet-discord> @heinrich5991 ok i got the ddnet client server folder on my server 15:51 <+ddnet-discord> what to do next 15:51 <@heinrich5991> execute it somehow 15:52 <+ddnet-discord> so the ddnet exe 15:52 <@heinrich5991> is this a windows server or a linux server? 15:52 <+ddnet-discord> linux 15:52 <+ddnet-discord> but i can change 15:53 <+ddnet-discord> if wrong 15:53 <+ddnet-discord> wait 15:53 <@heinrich5991> no, that's fine 15:53 <+ddnet-discord> it is wrong 15:53 <+ddnet-discord> ok 15:53 <+ddnet-discord> nvm then 15:53 <+ddnet-discord> xD 15:53 <@heinrich5991> have you downloaded the ddnet version for linux then? 15:55 <+ddnet-discord> xD 15:55 <+ddnet-discord> nope 15:55 <+ddnet-discord> but thats not a problem 15:55 <+ddnet-discord> i can change easily 15:56 <@heinrich5991> how can you change that easily? 15:56 <@heinrich5991> can you show me what server product you bought? 15:56 <+ddnet-discord> virtual server 15:57 <+ddnet-discord> download for linux and ftp again 15:57 <@heinrich5991> ah yes 15:57 <+ddnet-discord> and delete windows version 16:00 <+ddnet-discord> ok so the linux is being uploaded now 16:00 <+ddnet-discord> in the folder 16:01 <+ddnet-discord> there is obviously a map folder 16:01 <+ddnet-discord> is that how you locate the map or what 16:03 <+ddnet-discord> do you know what ovz and kvz is? 16:03 <@heinrich5991> openvz and kvm I think 16:03 <@heinrich5991> different virtualization techniques 16:04 <+ddnet-discord> i have ovz 16:05 <+ddnet-discord> with kvm you have guaranteed resources 16:05 <+ddnet-discord> with openvz, nope 16:05 <+ddnet-discord> that means? 16:06 <@heinrich5991> irrelevant 16:06 <+ddnet-discord> ok 16:06 <+ddnet-discord> im still trying to find a way to controll the server more 16:06 <+ddnet-discord> just sayin.. 16:07 <@heinrich5991> you should have something like ssh access 16:07 <@heinrich5991> that allows you to execute commands 16:10 <+ddnet-discord> is there a program 16:11 <+ddnet-discord> i found ssh port 16:12 <+ddnet-discord> Ezy, are you on windows? 16:13 <+ddnet-discord> if yes, download putty 😃 16:13 <+ddnet-discord> It's program, to connect Via SSH to servers 16:13 <+ddnet-discord> k ty 16:13 <+ddnet-discord> bitvise ssh server 16:13 <+ddnet-discord> or 16:13 <+ddnet-discord> bitvise ssh client 16:14 <+ddnet-discord> hm ? 16:14 <+ddnet-discord> to download 16:14 <+ddnet-discord> just putty 16:14 <+ddnet-discord> https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html 16:14 <@heinrich5991> god no 16:14 <@heinrich5991> they added https 16:14 <+ddnet-discord> Why not? 16:14 <@heinrich5991> :D 16:14 <@heinrich5991> yes, download that 16:14 <+ddnet-discord> :< 16:14 <+ddnet-discord> don't scare me 16:14 <+ddnet-discord> im using it 16:15 <@heinrich5991> it's the right thing 16:15 <@heinrich5991> but putty was notorious for not having https on their download site 16:15 <+ddnet-discord> download what now xD 16:15 <+ddnet-discord> ive downloaded windows 64 bit 16:15 <+ddnet-discord> putty.exe in Alternative binary files 16:15 <+ddnet-discord> you don't need to download isntaller 16:15 <+ddnet-discord> just putty.exe Simple program without installation 😛 16:15 <@heinrich5991> (installer is fine, too) 16:16 <+ddnet-discord> eventually, WinSCP haha 16:17 <+ddnet-discord> or not, I mistook it with something 16:19 <+ddnet-discord> what u mean with winscp 16:19 <+ddnet-discord> nothing, forget 16:20 <+ddnet-discord> ok so 16:20 <+ddnet-discord> to login 16:20 <+ddnet-discord> u need username and pw 16:21 <+ddnet-discord> or login as 16:21 <+ddnet-discord> and password 16:21 <+ddnet-discord> You should have them, while creating a Virtual Server 16:21 <+ddnet-discord> at least password 16:21 <+ddnet-discord> i have password 16:21 <+ddnet-discord> login root 16:21 <+ddnet-discord> ok 16:21 <+ddnet-discord> or is server name login as 16:22 <+ddnet-discord> ill just try 16:22 <+ddnet-discord> with root first 16:22 <+ddnet-discord> type the ip and the port 16:22 <+ddnet-discord> the you get the a console 16:22 <+ddnet-discord> type the user 16:22 <+ddnet-discord> (root) 16:23 <+ddnet-discord> yep im in 16:23 <+ddnet-discord> root worked 16:23 <+ddnet-discord> now 16:23 <+ddnet-discord> you should use a ssh key instead of a password 16:24 <+ddnet-discord> no 16:24 <+ddnet-discord> im in the console 16:24 <+ddnet-discord> well i guess for now password is good 16:24 <+ddnet-discord> would be hard to explain.. 16:24 <+ddnet-discord> @Ryozuki how to generate ssh key? 16:25 <+ddnet-discord> on windows? 16:25 <+ddnet-discord> i was using ssh keys while using 16:25 <+ddnet-discord> Amazon 16:25 <+ddnet-discord> but, never tried to generate it 16:25 <+ddnet-discord> why ssh key instead of password 16:25 <+ddnet-discord> ye could be on windows 16:25 <+ddnet-discord> puttygen 16:25 <+ddnet-discord> Ezy, because its safier 16:25 <+ddnet-discord> i can change the password how i want 16:25 <+ddnet-discord> ok 16:25 <+ddnet-discord> and you can then disable password 16:25 <+ddnet-discord> no brute force 16:26 <+ddnet-discord> how do you make a key 16:26 <+ddnet-discord> @Savander if you have git installed and in your path 16:26 <+ddnet-discord> you have ssh-keygen command 16:26 <+ddnet-discord> ssh-keygen -t rsa -b 4096 -C "your_email@example.com" 16:27 <+ddnet-discord> λ where ssh-keygen C:\Program Files\Git\usr\bin\ssh-keygen.exe 16:27 <+ddnet-discord> yes, i have git instlaled in path 16:27 <+ddnet-discord> i gonna try 16:33 <+ddnet-discord> it generated an image 16:33 <+ddnet-discord> aswell 16:33 <+ddnet-discord> for what 16:36 <+ddnet-discord> @Ryozuki for what is the email useful it gave me a long string of characters and behind the email adress 16:36 <+ddnet-discord> to know whose key is 16:36 <+ddnet-discord> there are 2 keys generated 16:36 <+ddnet-discord> one public which u share 16:36 <+ddnet-discord> and one private, keep it private 16:36 <+ddnet-discord> how you generated it? 16:36 <+ddnet-discord> puttygen? 16:37 <+ddnet-discord> ssh-keygen -t rsa -b 4096 -C "your_email@example.com" C:\Program Files\msys64\usr\bin\ssh-keygen.exe 16:37 <+ddnet-discord> msys64 instead of git 16:37 <+ddnet-discord> just put that into putty 16:40 <+ddnet-discord> so then it made a file 16:40 <+ddnet-discord> exe 16:40 <+ddnet-discord> clicked on that now 16:40 <+ddnet-discord> ok 16:40 <+ddnet-discord> sec 16:40 <+ddnet-discord> made another file 16:42 <+ddnet-discord> so 16:42 <+ddnet-discord> made file here C:\Program Files\msys64\usr\bin\ssh-keygen.exe clicked on that made file here C:\msys64\home\user.ssh\id_rsa 16:42 <+ddnet-discord> u have a id_rsa.pub too? 16:42 <+ddnet-discord> y 16:42 <+ddnet-discord> ok you have to put that in /root/.ssh/authorized_keys 16:42 <+ddnet-discord> public key, is the key which wil be in 16:42 <+ddnet-discord> be sure to install ssh first 16:42 <+ddnet-discord> authorized_keys ./ 16:42 <+ddnet-discord> apt install ssh 16:42 <+ddnet-discord> ?? 16:43 <+ddnet-discord> yes 16:43 <+ddnet-discord> great 😄 16:43 <+ddnet-discord> wait 16:43 <+ddnet-discord> i should use it before. 16:43 <+ddnet-discord> @Ezy run this on your server sudo apt install ssh 16:43 <+ddnet-discord> in putty? 16:44 <+ddnet-discord> sudo apt install ssh Reading package lists... Done Building dependency tree... Done Package ssh is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: openssh-server openssh-client E: Package 'ssh' has no installation candidate 16:45 <+ddnet-discord> first 16:45 <+ddnet-discord> sudo apt-get update 16:45 <+ddnet-discord> yeah xD 16:45 <+ddnet-discord> forgot 16:45 <+ddnet-discord> sudo apt-get update 16:45 <+ddnet-discord> sudo apt-get upgrade -y 16:45 <+ddnet-discord> sudo apt install ssh 16:46 <+ddnet-discord> which one xD or all of them in that row 16:46 <+ddnet-discord> from top to bottom 16:46 <+ddnet-discord> xD 16:46 <+ddnet-discord> upgrade is optional, tho recommended 16:46 <+ddnet-discord> upgrade will just update all of your programs 16:50 <+ddnet-discord> alright everything is donw 16:50 <+ddnet-discord> done 16:50 <+ddnet-discord> now? @Savander @Ryozuki 16:51 <+ddnet-discord> are logged in as root right? 16:51 <+ddnet-discord> what shows ls -la 16:52 <+ddnet-discord> then? 16:53 <+ddnet-discord> so dont i have to do this Ryozuki ok you have to put that in /root/.ssh/authorized_keys 16:57 <+ddnet-discord> wait @Ryozuki this would show my key wouldnt it 16:57 <+ddnet-discord> you can show public key 16:57 <+ddnet-discord> drwx------ 3 root root 4096 Aug 31 10:33 . drwxr-xr-x 24 root root 4096 Aug 31 10:02 .. -rw-r--r-- 1 root root 3106 Oct 22 2015 .bashrc drwx------ 2 root root 4096 Aug 31 10:23 .cache -rw-r--r-- 1 root root 148 Aug 17 2015 .profile -rw------- 1 root root 3243 Aug 31 10:33 C:\msys64\usr\bin\ssh-keygen.exe -rw-r--r-- 1 root root 744 Aug 31 10:33 C:\msys64\usr\bin\ssh-keygen.exe.pub 16:58 <+ddnet-discord> ok do this 16:58 <+ddnet-discord> mkdir .ssh 16:58 <+ddnet-discord> -rw------- 1 root root 3243 Aug 31 10:33 C:\msys64\usr\bin\ssh-keygen.exe -rw-r--r-- 1 root root 744 Aug 31 10:33 C:\msys64\usr\bin\ssh-keygen.exe.pub ? 😮 16:58 <+ddnet-discord> oh 16:58 <+ddnet-discord> thats weird 16:58 <+ddnet-discord> xD 16:58 <+ddnet-discord> a bit 16:58 <+ddnet-discord> mkdir .ssh does absolutely nothing 16:58 <+ddnet-discord> type ls -la again 16:59 <+ddnet-discord> total 32 drwx------ 4 root root 4096 Aug 31 10:58 . drwxr-xr-x 24 root root 4096 Aug 31 10:02 .. -rw-r--r-- 1 root root 3106 Oct 22 2015 .bashrc drwx------ 2 root root 4096 Aug 31 10:23 .cache -rw-r--r-- 1 root root 148 Aug 17 2015 .profile drwxr-xr-x 2 root root 4096 Aug 31 10:58 .ssh -rw------- 1 root root 3243 Aug 31 10:33 C:\msys64\usr\bin\ssh-keygen.exe -rw-r--r-- 1 root root 744 Aug 31 10:33 16:59 <+ddnet-discord> C:\msys64\usr\bin\ssh-keygen.exe.pub 16:59 <+ddnet-discord> same 16:59 <+ddnet-discord> nop 16:59 <+ddnet-discord> except the total 16:59 <+ddnet-discord> .ssh folder 16:59 <+ddnet-discord> mkdir -> make directory 17:00 <+ddnet-discord> do what now 17:00 <+ddnet-discord> i dont understand ur arrows xD 17:00 <+ddnet-discord> gimme a sec 17:00 <+ddnet-discord> now 17:00 <+ddnet-discord> chmod 700 -R .shh 17:01 <+ddnet-discord> then cd .shh 17:01 <+ddnet-discord> touch authorized_keys 17:01 <+ddnet-discord> chmod: cannot access '.shh': No such file or directory 17:01 <+ddnet-discord> mkdir MEANS make directory 17:01 <+ddnet-discord> i mean .ssh 17:01 <+ddnet-discord> sry 17:01 <+ddnet-discord> in human language 17:01 <+ddnet-discord> edited it 17:02 <+ddnet-discord> then do this = 17:02 <+ddnet-discord> xD 17:02 <+ddnet-discord> you did all i said? 17:02 <+ddnet-discord> @Ryder you should be a Teacher 17:02 <+ddnet-discord> who is @maxrider 17:02 <+ddnet-discord> nvm 17:02 <+ddnet-discord> @Ryder 17:02 <+ddnet-discord> that guy 17:02 <+ddnet-discord> @Ryozuki 17:02 <+ddnet-discord> i meant. . 17:02 <+ddnet-discord> xD 17:02 <+ddnet-discord> discord fucked up Xd 17:03 <+ddnet-discord> i'm really bad at explaining things btw 17:03 <+ddnet-discord> oh ye i did all that btw 17:03 <+ddnet-discord> @Ezy if you did all, ls should show authorized_keys 17:03 <+ddnet-discord> then 17:03 <+ddnet-discord> authorized_keys 17:03 <+ddnet-discord> chmod 600 authorized_keys 17:04 <+ddnet-discord> Much better than me, don't be modest 17:04 <+ddnet-discord> chmod modifies the file permissions 17:04 <+ddnet-discord> keep in mind 17:04 <+ddnet-discord> wait 17:04 <+ddnet-discord> Ryozuki - heute um 16:42 Uhr ok you have to put that in /root/.ssh/authorized_keys 17:04 <+ddnet-discord> i didnt do that yet 17:05 <+ddnet-discord> wait 17:05 <+ddnet-discord> you executed the last command i said? 17:05 <+ddnet-discord> y 17:05 <+ddnet-discord> what shows ls -l authorized_keys 17:06 <+ddnet-discord> -bash: -l: command not found 17:06 <+ddnet-discord> huh 17:06 <+ddnet-discord> ls -l authorized_keys 17:06 <+ddnet-discord> you mean ls 17:06 <+ddnet-discord> -rw------- 1 root root 0 Aug 31 11:03 authorized_keys 17:06 <+ddnet-discord> good 17:07 <+ddnet-discord> now copy the contents from id_rsa.pub 17:07 <+ddnet-discord> how 17:07 <+ddnet-discord> use the noob editor: 17:07 <+ddnet-discord> nano authorized_keys 17:07 <+ddnet-discord> -bash: nano: command not found 17:07 <+ddnet-discord> control-x to exit 17:07 <+ddnet-discord> `apt install nano`` 17:08 <+ddnet-discord> ok so exit from that? 17:08 <+ddnet-discord> first nano authorized_keys 17:08 <+ddnet-discord> paste the key in id_rsa.pub 17:08 <+ddnet-discord> which key 17:08 <+ddnet-discord> theres a 1000 17:08 <+ddnet-discord> ?? 17:09 <+ddnet-discord> -rw------- 1 root root 0 Aug 31 11:03 authorized_keys 17:09 <+ddnet-discord> this one xD 17:09 <+ddnet-discord> -rw-r--r-- 1 root root 744 Aug 31 10:33 C:\msys64\usr\bin\ssh-keygen.exe.pub 17:09 <+ddnet-discord> apt install nano then nano authorized_keys 17:09 <+ddnet-discord> ik im there 17:09 <+ddnet-discord> you will be in a editor 17:09 <+ddnet-discord> y 17:09 <+ddnet-discord> i am 17:09 <+ddnet-discord> -rw-r--r-- 17:10 <+ddnet-discord> is that the key from keygen.exe.pub 17:10 <+ddnet-discord> no 17:10 <+ddnet-discord> how do i find it 17:10 <+ddnet-discord> you should generate the key in your desktop better 17:10 <+ddnet-discord> and name it better 17:11 <+ddnet-discord> i have no clue 17:11 <+ddnet-discord> what u mean 17:11 <+ddnet-discord> open the file 17:11 <+ddnet-discord> xD 17:11 <+ddnet-discord> id_rsa.pub 17:11 <+ddnet-discord> "C:\msys64\usr\bin\ssh-keygen.exe.pub" 17:11 <+ddnet-discord> you have a file named like that? 17:11 <+ddnet-discord> y 17:12 <+ddnet-discord> mv C:\\msys64\\usr\\bin\\ssh-keygen.exe.pub id_rsa.pub 17:13 <+ddnet-discord> ok 17:13 <+ddnet-discord> paste it in editor 17:13 <+ddnet-discord> and read file 17:13 <+ddnet-discord> ? 17:13 <+ddnet-discord> you should copy the key inside id_rsa.pub to authorized_keys 17:14 <+ddnet-discord> i have no file to open it with 17:14 <+ddnet-discord> exit the editor 17:14 <+ddnet-discord> control-x 17:14 <+ddnet-discord> then nano id_rsa.pub 17:14 <+ddnet-discord> copy the content 17:14 <+ddnet-discord> exit the editor again 17:14 <+ddnet-discord> and nano authorized_keys 17:14 <+ddnet-discord> and paste 17:15 <+ddnet-discord> should there be content in putty 17:15 <+ddnet-discord> or open the actual file and copy that 17:15 <+ddnet-discord> second 17:16 <+ddnet-discord> r 17:16 <+ddnet-discord> @Ryozuki or better cat id_rsa.pub > authorized_keys 17:16 <+ddnet-discord> done 17:16 <+ddnet-discord> yeah 17:16 <+ddnet-discord> do that 17:17 <+ddnet-discord> i forgot about linux piping.. 17:17 <+ddnet-discord> cat: id_rsa.pub: No such file or director 17:17 <+ddnet-discord> nvm 17:17 <+ddnet-discord> 😃 17:17 <+ddnet-discord> cat: id_rsa.pub: No such file or directory still same 17:17 <+ddnet-discord> @Ryozuki maybe you have idea, how to replace Git Bash with MSYS2 ? 17:17 <+ddnet-discord> no idea 17:17 <+ddnet-discord> i mean, i would like to see 17:18 <+ddnet-discord> pacman in my command line 17:18 <+ddnet-discord> to install packages 17:18 <+ddnet-discord> @Ezy show the output of ls 17:18 <+ddnet-discord> git bash has Msys abilities 17:18 <+ddnet-discord> but not pacman 17:18 <+ddnet-discord> :/ 17:18 <+ddnet-discord> authorized_keys 17:18 <+ddnet-discord> @Ezy okey, on your pc, not the server open a msys console 17:19 <+ddnet-discord> then cd to C:\Users\Desktop 17:20 <+ddnet-discord> well no forget that 17:20 <+ddnet-discord> open C:\msys64\usr\bin\ssh-keygen.exe.pub and copy that 17:20 <+ddnet-discord> i dont have a file to open it with 17:20 <+ddnet-discord> just normal editor? 17:20 <+ddnet-discord> yes 17:20 <+ddnet-discord> open with notepad idk 17:21 <+ddnet-discord> its a really weird name and place for the key tho 17:21 <+ddnet-discord> ehm 17:21 <+ddnet-discord> how is the private key named? 17:22 <+ddnet-discord> you should create another key 17:22 <+ddnet-discord> in a proper place with a proper name 17:22 <+ddnet-discord> ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ .... more characters .... X0rzocKDLks/7KCnhR Lennart@DESKTOP-EBJRRS0 17:22 <+ddnet-discord> thats what is in the file 17:22 <+ddnet-discord> and where is the file with the private key 17:22 <+ddnet-discord> wtf 17:23 <+ddnet-discord> i thought that is the private key 17:23 <+ddnet-discord> no 17:23 <+ddnet-discord> that is the public key 17:23 <+ddnet-discord> is private 17:23 <+ddnet-discord> a key fingerprint 17:24 <+ddnet-discord> @Ryozuki 17:24 <+ddnet-discord> when you generate a key it makes 2 files 17:25 <+ddnet-discord> one x 17:25 <+ddnet-discord> and one x.pub 17:25 <+ddnet-discord> where is xz 17:25 <+ddnet-discord> x 17:25 <+ddnet-discord> if its too hard just go with password 17:25 <+ddnet-discord> be sure its kinda long 17:25 <+ddnet-discord> i think its to complicated for you for now 17:25 <+ddnet-discord> and i have to do other things 17:26 <+ddnet-discord> Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): C:\msys64\usr\bin\ssh-keygen.exe Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in C:\msys64\usr\bin\ssh-keygen.exe. Your public key has been saved in C:\msys64\usr\bin\ssh-keygen.exe.pub. The key fingerprint is: 6:sfwedrLXPKhMPG69RFQaHrxnnvvH8CTlOlplQgGSO68 17:26 <+ddnet-discord> ezyddnet@gmail.com The key's randomart image is: +---[RSA 4096]----+ | .o+.o | | .o.= . | | . .+.. | | EB+.B +| | .ooo +o| +----[SHA256]-----+ 17:26 <+ddnet-discord> @Ezy https://ryanstutorials.net/linuxtutorial/commandline.php 17:27 <+ddnet-discord> So my server is linux 17:27 <+ddnet-discord> My pc windows 17:28 <+ddnet-discord> so learn linux commands 17:28 <+ddnet-discord> i sent a link 17:28 <+ddnet-discord> i gtg now 17:29 <+ddnet-discord> K 18:34 <+EryX> hello my friends, is someone good in matlab + math? i need help :( 18:35 <+ddnet-discord> i know 1+1 = 2 18:35 <+EryX> That's not enough to answer my question :( 18:36 <+ddnet-discord> how many 1+1's? 18:36 <+EryX> 3 18:36 <+ddnet-discord> all computer math is 1+1's 18:36 <+EryX> I need to simulate a collision of a circle with a rectangular 18:36 <+ddnet-discord> K 18:51 <+ddnet-discord> Got any idea how to make toggling to dummy 'faster' 18:51 <+ddnet-discord> http://imgur.com/lJXW3wg 18:51 <+ddnet-discord> when you swap, the tee is rendered for 1 or 2 frames at the other tees position 18:54 <+ddnet-discord> Hm actually, just turning off predict works, nvm 19:14 <+Learath2> deen: i did my best in the middle of sea, unfortunately i couldn't spawn a macbook out of thin air so i just got it to compile 19:16 <+Learath2> deen: fixed 19:16 <+Learath2> i still don't know if it works but it looks like it should for me 19:18 < ddnet-commits> [ddnet] def- pushed 8 new commits to master: https://git.io/v58or 19:18 < ddnet-commits> ddnet/master 153c687 Learath2: Try (ab)using named semaphores on OSX 19:18 < ddnet-commits> ddnet/master a8e1920 Learath2: Fix conceptual mistakes 19:18 < ddnet-commits> ddnet/master fd17477 Learath2: Enable threaded logging on OSX 19:18 < ddnet-commits> [ddnet] def- closed pull request #856: Try (ab)using named semaphores on OSX (master...dd_pr_testnamedphores) https://git.io/v5lE7 19:20 <@deen> Learath2: well, that code was not mac specific, so i tested it on linux and fixed it 19:20 <@deen> Learath2: and I said I would write it myself, not sure why you start developing "in the middle of the sea" 19:20 <+Learath2> thought i could give you a hand 19:21 <@deen> as I keep saying, don't make a PR if it's untested 19:21 <+Learath2> did you test yours on an osx machine? 19:22 <@deen> nope, linux so far 19:23 <@deen> anything missing for release? 19:24 <+Learath2> nothing 19:24 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v58KO 19:24 < ddnet-commits> ddnet/master 9738049 def: Version 10.8 19:25 <+Learath2> deen: well i get the vibe that you don't like to do this stuff so i thought i'd get it out of the way 19:25 <+Learath2> will stay out of your way the next time 19:27 <@deen> nono, it's fine for you to implement something. just make sure that no one else announced that they're working on it before and make the PR once it is ready and tested 19:28 <@deen> i had written pretty much the same code as you already, so we had duplicate work 19:28 <@deen> i just didn't commit because it wasn't tested yet 19:29 <+Learath2> just missed your message, i like to commit as I go so I can revert sth if need be 19:29 <+Learath2> anyways didn't see your message so guess it was my fault 19:32 <+ddnet-discord> Learath2, oh boy 19:32 <+ddnet-discord> take a rest 19:33 <+Learath2> well i'm quite well rested 19:33 <+ddnet-discord> butcoooding 19:33 <+ddnet-discord> on the middle of sea 19:33 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v586G 19:33 < ddnet-commits> ddnet/master a588952 def: Only trust ddnet ca 19:34 <+Learath2> just wanted to relieve deen of that one but caused more pain at the end :P 19:34 <+Learath2> @Savander well now that i'm done i'll go ahead and sip my vodka cherry :3 19:35 <+ddnet-discord> Learath2, i respect you man 19:35 <+ddnet-discord> on the middle of sea, i would do nothing 19:35 <+Learath2> well i go out atleast once a year 19:35 <+Learath2> so nothing special 19:36 <+Learath2> i like to drink until i pass out and stuff my face with food 19:36 <+Learath2> very fun, but can skip a day :) 19:36 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v586F 19:36 < ddnet-commits> ddnet/master 0339999 def: Remove duplicate semaphore 19:37 <+ddnet-discord> crazy 19:37 <+ddnet-discord> so, next year i will switch with you 19:37 <+ddnet-discord> come to poland 19:37 <+ddnet-discord> want to 19:37 <+ddnet-discord> ? 😛 P P 19:37 <+Learath2> i really want to go around eastern europe 19:37 <+ddnet-discord> Poland is cheap, soo 19:37 <+Learath2> have a friend in serbia too, maybe i'll visit you both 19:37 <+ddnet-discord> at least, for you 19:38 <+Learath2> heard beer is cheap 19:38 <+ddnet-discord> everything actually 19:38 <+Learath2> even better \o/ 19:38 <+ddnet-discord> polish "złoty" 19:38 <+ddnet-discord> is pretty low 19:38 <+Learath2> turkey is also decent prices wiht euros 19:38 <+ddnet-discord> lik, 1eur = 4.40 pln 19:38 <+Learath2> ofc very expensive compared to eastern europ 19:38 <+ddnet-discord> for a bread, you will pay maybe 19:38 <+ddnet-discord> 0.7€ 19:38 <+ddnet-discord> or less 19:39 <+ddnet-discord> food is cheap, rent as well 19:41 <+Learath2> will com, next year maybe 19:48 <+ddnet-discord> Remember: u aint going there for savander. Ur going there for the cheap 0.7€ bread 19:49 <+ddnet-discord> 😄 19:49 <+ddnet-discord> it was EXAMPLE 19:52 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v58Xe 19:52 < ddnet-commits> ddnet/master 31ecbc3 def: Don't skip items when logging 19:52 <+ddnet-discord> See 19:52 <+ddnet-discord> Learath 19:52 <+ddnet-discord> Even more cheap stuff for u 20:07 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v581p 20:07 < ddnet-commits> ddnet/master fe208fb def: Cleaner logger 20:11 <@deen> I can't link freetype on macosx anymore 20:11 <@deen> anyone seen this before? 20:14 <@deen> only bam 20:15 <@deen> cmake on the other hand fails to link opus 20:17 <@deen> cmake takes the files from /usr/local/lib first instead of the bundled ones 20:18 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v58Dw 20:18 < ddnet-commits> ddnet/master 1860113 def: Fix freetype on mac 20:22 <+ddnet-discord> It wasn't expected behaviour? 20:22 <+ddnet-discord> to take files from system first? 20:24 <+ddnet-discord> there is a option to force bundled ones 21:17 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v58do 21:17 < ddnet-commits> ddnet/master c66cdf9 def: macosx freetype lib32 bam 21:20 <+ddnet-discord> deen 21:21 <+ddnet-discord> who are the guys that can fix ranks 21:21 <+ddnet-discord> ? 21:22 <@deen> not sure, me? 21:22 <@deen> Learath2, east, HMH too probably 21:51 <+ddnet-discord> brainduck 21:51 <+ddnet-discord> ranks 21:52 <+ddnet-discord> this laan 21:52 <+ddnet-discord> has 3 ranks with same time 21:52 <+ddnet-discord> and 1 minute difference from time he did 21:59 <+ddnet-discord> Are those weird looking eyes wanted in the update? 22:01 <@deen> weird looking eyes? 22:02 <+ddnet-discord> see 22:02 <+ddnet-discord> they look 22:02 <+ddnet-discord> awful 22:02 <+ddnet-discord> they are too close to each other 22:02 <+ddnet-discord> i sent print on ddnet 22:02 <+ddnet-discord> general# 22:02 <+ddnet-discord> * 22:03 <@deen> I see, I think I know where that came from 22:03 <+ddnet-discord> dunno since how many versions (since I'm currently back on WinXP [don't even comment]) but the heart in servers list is broken 22:04 <+ddnet-discord> https://cdn.discordapp.com/attachments/293493549758939136/352906394195722240/obraz.png 22:04 <@deen> yeah, it's 43af1fdb5f3d1ef346537525d07fe10e0a736070 22:04 <@deen> @Soreu that should be a flag 22:04 <+ddnet-discord> maybe one folder didn't update, let me check 22:05 <@deen> do you have a custom data/browse_icons.png? 22:06 <+ddnet-discord> just didn't update /data/ folder due to lots of custom images here 22:06 <+ddnet-discord> but after the update all works 22:06 <@deen> put your custom images in config_directory 22:06 <@deen> then they never get overwritten 22:07 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v58pV 22:07 < ddnet-commits> ddnet/master 583421b def: Revert "fixed sprite rendering. Closes #834"... 22:08 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v58pX 22:08 < ddnet-commits> ddnet/master e36d7ce def: Version 10.8.1 22:26 <+ddnet-discord> I gonna try "Windows subsystem in linux" 22:26 <+ddnet-discord> from Windows 10 f 22:26 <+ddnet-discord> It's probably something like, ubuntu built in windows 22:27 <+ddnet-discord> full-integrated 22:31 <+Learath2> deen: what exactly did "fixed sprite rendering" do? 22:33 <@deen> look at it, pretty small change 22:33 <@deen> aligning the sprites 22:33 <@deen> but that moves them around a bit unfortunately 22:33 <@deen> weird eyes 22:33 <+Learath2> oh that looks like it changes all rendering 22:41 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v54fp 22:41 < ddnet-commits> ddnet/master 8ebac31 def: Use old ddnet-ranks.json when new one can't be fetched currently 22:51 <@deen> phew, my mac vm didn't boot. had to kill it, seems to work again 22:51 <@deen> was scared that I can't build for mac anymore 23:00 <+ddnet-discord> @deen downloads on website are updated with the 10.8.1? 23:00 <+ddnet-discord> should be 23:00 <+ddnet-discord> since when I download it manually & replace, it still says there's new update available 23:01 <@deen> my bad 23:01 <@deen> fixed 23:01 <+ddnet-discord> k 23:02 <+ddnet-discord> Anyone here used Linux subsystem ? 23:03 <+ddnet-discord> Where can I download 10.8? 23:03 <+ddnet-discord> ddnet.tw/downloads ? 23:03 <+ddnet-discord> It says DDNet 10.7.1 there. 23:03 <+ddnet-discord> ctrl + f5 23:04 <+ddnet-discord> magic 23:04 <+ddnet-discord> I am wizard 23:04 <+ddnet-discord> That's why you are purple! 23:04 <+ddnet-discord> 😮 23:04 <+ddnet-discord> Actually, it shocked me 23:28 < ddnet-commits> [ddnet] def- pushed 1 new commit to master: https://git.io/v54LD 23:28 < ddnet-commits> ddnet/master 9b214db def: Force version.ddnet.tw and update4.ddnet.tw 23:30 <+ddnet-discord> New update seems to ignore resolution settings? 23:30 <+ddnet-discord> always at max res fullscreen 23:31 <+ddnet-discord> even tho i have the settings at 640x400 23:31 <+ddnet-discord> damn, i thoguht that was a bug in wine 23:43 < ddnet-commits> [ddnet] def- pushed 2 new commits to master: https://git.io/v54qZ 23:43 < ddnet-commits> ddnet/master 7c6c2f5 def: Fix graphics init to be later so that user resolution is available 23:43 < ddnet-commits> ddnet/master f5edf53 def: Version 10.8.2