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-06-12 00:00:00Z and 2017-06-13 00:00:00Z
Avatar
writing code that generates code is not fun...
14:08
and i is not punctuation...
Avatar
its an upside down !
Avatar
@Learath2 are u doing metaprogramming?
Avatar
Are you doing a robot, which will code for you?: O
Avatar
well i guess yeah it is metaprogramming
15:01
https://learath2.info/kek.png the reason we don't get that many people willing to code for tw
Avatar
TW is not THAT bad. Usually you can find what you're looking for with grep
15:07
and don't have to understand dependencies
15:08
DDNet is worse though^^
Avatar
well that's from ddnet
15:10
networkx is fun to play with, python isn't too much fun, will report more later
15:10
libclang is fun too
Avatar
I wanted to make a graph of all players on ddnet
15:10
and who plays with whom
15:10
but it's kind of a lot of data, hard to visualize
15:10
the idea was that you can scroll around in your browser
15:10
and you can zoom out and see countries, communities etc
Avatar
It looks kinda complex
15:16
:<
15:31
@Savander better? ^^
Avatar
@deen thats a nice idea actually
Avatar
@Learath2 a bit 😄
15:42
15:42
Rooster ! 😮 (edited)
Avatar
bool CheckClientID(int ClientID) { dbg_assert(ClientID >= 0 || ClientID < MAX_CLIENTS, "The Client ID is wrong"); if (ClientID < 0 || ClientID >= MAX_CLIENTS) return false; return true; } it's me or the debug assertion is the other way around?
Avatar
that should be a &&...
15:46
and don't use dbg_assert!
15:46
the next line already returns false, just delete it
Avatar
its in the code
Avatar
yeah, get rid of it, it's wrong and will crash the server
Avatar
dbg_assert will crash server/
Avatar
@Ryozuki think of the meaning of the word assert and you'll understand why asserts always seem the wrong way around
15:50
and why it can crash server?
Avatar
well what do if your assertion is false?
15:51
can't really continue execution can you? 😛
Avatar
it rly stops whole execution?
Avatar
ddnet - DDraceNetwork, a mod of Teeworlds
Avatar
luckily that assertion was wrong, ohterwise it would have crashed server
Avatar
what does that xD
Avatar
dereferences null pointer
Avatar
5f23a68 get rid of wrong dbg_assert - Ryozuki 49e4501 Merge pull request #785 from Ryozuki/pr_ddnet_f... - Learath2
Avatar
HMH: It used to do that in release builds too..
15:55
Until I removed it
Avatar
it dereferences a nullpointer and assigns to it (edited)
Avatar
and that makes the crash?
Avatar
4 people were typing, not a single message was sent
Avatar
is trying to serialize the entire state of a tw game
Avatar
@HMH have you made progress with ddnet-django ?
Avatar
what are those?
Avatar
brackets
Avatar
@Ryozuki nope, no time have not touched it :/
Avatar
maybe ill try to continue it in summer, as i'll have lot of time
Avatar
the menu does apply only to main page? 👀
🤦🏻 1
Avatar
I noticed the menu still isn't perfect
16:04
So I'm fixing some stuff first
16:04
removing duplication etc
Avatar
actually it should be also on forum, dk why its not
16:05
Avatar
I know...
Avatar
deen? i really need your help .
16:05
can you help me, please?
Avatar
@deen you moved the forum link up now i see statistics all time feelsbadman
Avatar
@fokkonaut just send the picture and someone will help you
Avatar
@fokkonaut rainbow and blood?
Avatar
i cant find the add files button here
16:06
ryozuki no
16:06
visual studio 17 and c++
16:06
he might not be able to send pics as he is not verified
Avatar
wow cool thx
Avatar
that's the img
Avatar
im a beginner so i dont know what to do
Avatar
beginneron what (edited)
Avatar
u r a bad boy
Avatar
coding
16:07
xd
16:07
its for a friend
Avatar
i sent you 3 links to tutorials...
Avatar
i'll call the police
feelsamazingman 2
👌 1
🚔 1
🚓 1
🚨 1
banhammer 1
Avatar
ryozuki
Avatar
open ports > hamachi
Avatar
i cant even install it
Avatar
then it must be that you need to learn how to use the computer first (don't want to sound rude xD)
Avatar
dude
Avatar
bloody hell just tell him what to do
Avatar
@Learath2 click on the install button?
Avatar
i did
16:09
then this comes up
Avatar
it shows some weird error in german
Avatar
idk i don't understand beerlang
🍆 1
Emoticon_Smile_Face 1
Avatar
same :v
16:09
@Gratzl halp
16:09
5 ppl trying to install visual studio 17 that comes with single click installer
16:10
🤔
Avatar
ok thx guys really
Avatar
@fokkonaut apparently I was wrong about people being helpful
Avatar
yes i clearly see that
16:12
i really thought that ddnet (deen!) would be helpful to everyone
Avatar
wanted to help, don't understand the text in window (edited)
Avatar
they even answer sp someone more than me
16:12
im sad
Avatar
@fokkonaut i think deen doesn't use vs 2017 oop
Avatar
Hitler's speeches don't include tech terms :/
Avatar
@fokkonaut maybe you can translate the error to english?
Avatar
@fokkonaut
Avatar
i think deen hates me
Avatar
oh no, emo mode on...
Avatar
DO WHAT I AM SAYING
Avatar
i do
16:14
wait
Avatar
I even downloaded the shit installer 😂 (edited)
Avatar
or you can get a non-shit OS
Avatar
@xPapla wait
16:15
@Learath2 u mean?
Avatar
@Learath2 go play with your penguin somewhere else :v
16:16
i like Penguins :<
16:16
in Wrocław, in afrykarium
16:17
16:17
Look
16:17
so sweet
Avatar
@fokkonaut he means u should use the linux master race
Avatar
Debian 8
Avatar
@Savander u on pic? (edited)
Avatar
@Savander is that a picture of you?
16:18
damnit
16:18
ofc its me
16:18
you didn't know that im little girl?
16:18
:/
16:18
shame on you!!!
Avatar
i bet his name was ubuntu
Avatar
i think i now know why it doesnt work for me
Avatar
47fcd6f Revert "Added new menu" - def-
Avatar
well thats quite expected, you seem to be the only one who can speak german
Avatar
except me
16:21
👋
Avatar
i get an error 1606 could not access network location. not only here, in some other microsoft programs too. does anyone know why?
Avatar
check ur hosts file
Avatar
ok that might sound really stupid but where?
Avatar
\system32\drivers\etc.
Avatar
/etc/hosts
Avatar
then?
Avatar
or that ^^ on the inferior OS
Avatar
is M$ IP blocked? :D
Avatar
Anyone know how to setup trashmap?
Avatar
timakro
Avatar
I want to set it up on a few ddnet locations
16:23
anyone who is online I mean
Avatar
wait i check
Avatar
@Gratzl how do i get to the path u showed?
Avatar
it's not documented :/
Avatar
C:\Windows\System32\drivers\etc
16:24
usually
Avatar
ddnet-trashmap - DDNet Trashmap is a service for mappers who can't host their own servers
Avatar
what do i have to do now?
Avatar
tho idk how it works
Avatar
is ur hosts file empty?
16:25
yes
16:25

Copyright (c) 1993-2009 Microsoft Corp.

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

# This file contains the mappings of IP addresses to host names. Each

entry should be kept on an individual line. The IP address should

be placed in the first column followed by the corresponding host name.

The IP address and the host name should be separated by at least one

space.

# Additionally, comments (such as these) may be inserted on individual

lines or following the machine name denoted by a '#' symbol.

# For example:

# 102.54.94.97 rhino.acme.com # source server

38.25.63.10 x.acme.com # x client host

localhost name resolution is handled within DNS itself.

127.0.0.1 localhost

# ::1 localhost
16:25
yes
Avatar
nothing blocked
16:26
maybe that yes tho
Avatar
i wrote that yes
16:26
xd
Avatar
@deen well where do we have it set-up?
Avatar
in timakro vps :)
16:26
i can access it to see if u want
Avatar
oh I thought it was a distributed service
Avatar
@Learath2 nowhere, I'm trying to set it up on South Africa
16:28
also teamspeak, anyone have experience setting that up
16:28
?
Avatar
teampeak comes with scripts
Avatar
well I did set-up TS before
Avatar
its easy
16:28
i have a ts sv
Avatar
but why do you want a ts in south africa? 😛
Avatar
@Learath2 good, want to set it up? It's extracted already
16:28
They always had their own TS
16:29
:V?
Avatar
and lordtheuns ran it, so I don't know
16:29
Now I have a new server and he's not around anymore
Avatar
teamspeak is pretty easy to run up screen -S teamspeak -dm ./ts3server_minimal_runscript.sh serveradmin_password=<passwordl>
16:30
ha
16:30
:<
Avatar
@Savander no need of screen
16:30
😄
Avatar
show-offs
Avatar
CHANGELOG query_ip_blacklist.txt ts3server_minimal_runscript.sh doc query_ip_whitelist.txt ts3server.pid files redist ts3server.sqlitedb libts3db_mariadb.so serverquerydocs ts3server_startscript.sh libts3db_sqlite3.so sql tsdns LICENSE ts3server logs ts3server.ini
16:31
ls of my teamspeak folder
16:31
u can see the scripts
16:31
just do ./ts3server_startscript.sh start
16:31
or restart
Avatar
@deen something feels broken with the terminal on ddnetksa
Avatar
yeah, stupid centos
Avatar
okay, i don't know how to look into
16:32
when you run it in that way
Avatar
@deen ddnet can't use c++11 still?
Avatar
so i preffer screens
Avatar
TERM="xterm-256color" "fixes" it
Avatar
@Learath2 fixed?
16:33
@Learath2 so you're setting up Teamspeak?
Avatar
yeah i'll set teamspeak up
16:34
well idk how to fix the terminal permanently but connecting with TERM="xterm-256color" gets you a working term
Avatar
I fixed it i believe
Avatar
a teamspeak?
16:35
what for?
Avatar
african ts
Avatar
@deen well not for me :/
Avatar
@Gratzl voice in ts is much niver
16:35
nicer
heartw 1
Avatar
ts still better imo
16:37
i notice it a lot
16:37
ts is a "native" app while discord is just a web app
Avatar
Yup, me too. I think, denoise works better on teamspeak
Avatar
mumble is 10/10 ts is 9/10 discord is 7/10 at best
Avatar
haven't tried mumble, none of my friends use it
Avatar
@fokkonaut protip: disable cortana : - D
Avatar
had to ditch mumble because me friends refused to use it too
Avatar
@Gratzl where
Avatar
@deen if you still want, I can set up trashmap
Avatar
No, I'm doing it already
17:29
It's a lot of fun actually
Avatar
8988780 try to reconnect to database if connection is lost - H-M-H
Avatar
@HMH where to start reading ddnet-django?
Avatar
i'd suggest to have a look at the models first: https://github.com/ddnet/ddnet-django/blob/master/maps/models.py then one can head over to views.py and urls.py
Contribute to ddnet-django development by creating an account on GitHub.
17:46
the functions used to start a maprelease can be found here: https://github.com/ddnet/ddnet-django/blob/master/maps/utils.py#L95
Contribute to ddnet-django development by creating an account on GitHub.
17:48
please note that quite some work of the releaseprocess itself is delegated to programms that need to be located in $PATH
Avatar
I guess daemon_log.txt should not be tracked by git
Avatar
ddnet-trashmap - DDNet Trashmap is a service for mappers who can't host their own servers
18:00
I guess that should also go in gitignore, thanks
Avatar
c943efb Add tool to extract images and sounds from maps - def-
Avatar
Should I just distribute that tool with the client?
19:07
or where, hm
19:08
maybe with the mapping graphics tools
Avatar
12286fe Add map_extract to distribution - def-
19:13
19:13
[ddnet/ddnet] New tag created: 10.6.3
19:18
3aaf38c Fix map_extract usage a bit - def-
19:24
2365958 Fix cmake build of map_extract - def-
19:25
Avatar
@deen mapping graphics tools sounds about right
Avatar
well, too late^^
Exported 288 message(s)