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 2021-01-15 00:00:00Z and 2021-01-16 00:00:00Z
Avatar
[quakenet] fstd BOT 2021-01-15 00:00:08Z
and the recovery trick no longer works so #quit >.>
Avatar
oof, boh in boh is such a sad fail
00:02
huh, now that you remind me, I should play some nethack
Avatar
[quakenet] fstd BOT 2021-01-15 00:07:45Z
doit
Avatar
Avatar
Learath2
if you are a free software proponent you might still be talking about "free" as in beer. If you are a libre software proponent I know you have a shrine to stallman in your closet
i clean the stallman shrine every day with libre chemicals
Avatar
librebleach?
Avatar
@Ryozuki Did I tell you I actually saw stallman in person? Like not talk to him in person but saw him speak in Frankfurt
Avatar
haskell-th-utilities-0.2.4.1-18-x86_64
00:51
haskell ships teehistorian utilities 🙂
Avatar
Is his on my pc when I have haskell stuff installed on arch?
00:52
this
Avatar
probably
00:52
pacman -Q haskell-th-utilities
Avatar
Nop, idk how haskell dependencies work though
Avatar
[quakenet] SnowFox BOT 2021-01-15 01:11:04Z
deen: Re aus people. On the singapore server there are 3 of us :)
01:11
100ms at least isn't so bad
Avatar
Avatar
deen
@cummy DDNet USA - BLOCKER exists
this is late but thanks for replying ig now we just wait for population 😮
02:46
ay chief is there any words about advertising this game or putitng in some microtransactions for advertising revenue?
02:46
*screams in top 50 canada player
02:47
"theres only 50 players in canada and playing 200ping euro race is kinda sickkk"
Avatar
play on usa
Avatar
Avatar
cummy
ay chief is there any words about advertising this game or putitng in some microtransactions for advertising revenue?
devs wont add mtx
02:57
its basically donation funded, only way this game would get advertised is if someone from community sponsored some streamer or yter to play it
Avatar
arent you a dev? or is it just deen
Avatar
im not a dev
03:51
its open source, theres a bunch of devs who contribute small fixes and features etc
03:51
deen is like the main dev tho
Avatar
ᶰ°Konͧsti 2021-01-15 05:18:09Z
deen is legend without who teeworlds already would have died
Avatar
de1e594 M Lobster Party, M WEEDS - ddnet-maps
Avatar
Number of commits does not equal value of contribution. I do lots of small stuff, others work on larger topics
08:09
0aed8cf Fix memory leak in SQLite3 print statement - Zwelf b943ca1 Merge pull request #3509 from Zwelf/pr-fix-memory-leak-sqlite3 - def-
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
commits per author
08:15
lines per author
Avatar
im in the first poggers
Avatar
Btw TW will be 14 years old on 22.5.2021
08:17
@Ryozuki yeah but its funny how bors took over
08:17
Avatar
cuz its a bot
08:18
every pr is merged by it
08:18
but commit wise this is the ranking. But I think it's the same what github shows
08:18
Avatar
it hides bots
08:20
But interesting you can see that ddnet is mainly developed in europe
Avatar
but we might have known that already 😄
08:21
and 2020 was by far the strongest year in development
08:21
Avatar
@Ryozuki que es eso
Avatar
esos datos
08:22
de que son
Avatar
datos del github, del codigo
Avatar
aaaaah
08:23
ok
Avatar
Avatar
Luca
Click to see attachment 🖼️
poggers
Avatar
git is so nice. you can see all this stuff
Avatar
well deen, heinrich and me are germans
09:32
+ ryo who is spanish
09:35
except gdin, is even anyone not from europe? xd
09:35
ok turkey might not count
09:35
as europe
Avatar
@TsFreddie is from China
Avatar
oh, does he also live there?
Avatar
currently yes
Avatar
ok nice, then we have atleast one from far away 😄
Avatar
i only see pictures from airports from u @TsFreddie thats why i wasnt sure xd
Avatar
That was the flight to china toptri
Avatar
i should stop rebasing my commits into a single commit
09:57
so it looks i do more
09:57
Avatar
half of my old commits are style fixes
10:12
so devide it by atleast 2 xd
Avatar
in vanilla I took out all the text and added them back one by one each commit
Avatar
Maybe this fixes https://github.com/ddnet/ddnet/issues/3508 ? Hard to test things involving timeouts tho...

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested t...
Avatar
@deen wait, cancel it, i think it should go above that break
11:12
xd
11:13
[2021-01-15 1202][storage]: failed to remove: /home/ryozuki/.teeworlds/ddnet-info.json.47679.tmp
11:13
this is fine but maybe is there a way to check
11:13
if the file exists?
11:13
i didnt find any method on storage
Avatar
open it and check if haandle is valid
Avatar
virtual bool FindFile
Avatar
@Deleted User did that
11:27
@deen the pylint stuff breaks on the pr
11:27
xd
14:03
066b3a3 remove ddnet info tmp file always when quitting - edg-l 98554be move tmp file deletion before the break - edg-l 4344f46 only delete it if exists - edg-l cc7ed06 Merge pull request #3511 from edg-l/pr-ddnet-info-tmp - def-
14:03
802a543 Send the NETMSG_ITIS/NETMSG_IDONTKNOW from the correct connection - heinrich5991 c0cbef7 Merge pull request #3506 from heinrich5991/pr_ddnet_moreprotocolex - def-
Avatar
Avatar
Learath2
On macOS I can’t get it to link to libraries I want. It always wants to link to the bundled ones
i found a fix for that export CPATH="$CPATH:/usr/local/include:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
Avatar
@heinrich5991 can I hire you to iron out the issues in cmake on macos?
Avatar
i also had to comment out #include <Carbon/Carbon.h> and empty the tools/uuid.cpp and then it finally compiled server
Avatar
@noby does that get it to link to the system sdl?
Avatar
idk i was only compiling srv
Avatar

Checklist

  • [ x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--...
15:38
I am trying to fix 0.7 chat messages when sent from a DDNet client on my server. 0.7 clients can only hold 128 character messages, ddnet has 256. I have made a little macro function and I really dont understand, how the ddnet client can pass through the bottom of the function, because there is a Sevendown check, which means its a ddnet client (0.6).
15:38
#define SEND(id, flags) \ do \ { \ if (Server()->IsSevendown(id) || str_length(Msg.m_pMessage) < 128) \ { \ dbg_msg("hi", "%d break", id); \ Server()->SendPackMsg(&Msg, flags, id); \ break; \ } \ for (int i = 0; i < 2; i++) \ { \ char aTemp[128]; \ for (int pos = 0; pos < 128-1; pos++) \ { \ char c = Msg.m_pMessage[pos+(i*128)-i]; \ aTemp[pos] = c; \ if (c == 0) \ break; \ } \ aTemp[128-1] = 0; \ Msg.m_pMessage = aTemp; \ dbg_msg("hi", "%d sd: %d send %s", id, Server()->IsSevendown(id), aTemp); \ Server()->SendPackMsg(&Msg, flags, id); \ } \ Msg.m_pMessage = aText; \ } while(0)
Avatar
Why is this a macro and not a function?!
Avatar
idk i felt like it
15:40
xd
15:40
because i only need it inside of ::SendChat
Avatar
Make it an inline function if you really think the function call overhead will be bad
Avatar
its only defined inside SendChat
15:40
but yeah a function might be better
15:40
okay thanks
Avatar
then you can also use return instead of confusing breaks
Avatar
yeah
15:41
i will post the result soon
15:41
if its working
Avatar
still not working
Avatar
and don't post code inline here please
15:53
poggers
Avatar
the 0.7 client only prints one the first message
Avatar
bullseye freeze started and its architectures
15:54
Debian 11 inc
Avatar
got it
Avatar
hesy
16:08
hey*
16:08
ich bräuchte hilfe hat jemand villt zeit?
ban 1
Avatar
@oklahoman english. just ask your question
Avatar
I want to set up a teeworlds server at zap hosting get the right mod not set up he keeps changing to dm mod
Avatar
what mod? You need to download the correct modification
Avatar
ddracenetwork new mod for new version
Avatar
that can't switch to DM mod. You should download the server from https://ddnet.tw/downloads/
Avatar
is this for 0.7.2 ?
Avatar
DDNet runs based on Teeworlds 0.6, but supports 0.7 clients
16:17
(assuming you have a maps7 directory with every map converted using map_convert_07
Avatar
the problem he takes over the autoexec but not the server config that he changes the mod on ddnet
Avatar
ok,now i understand. it's a gameserver prehosted by zap-hosting. that won't work with mods like ddnet
16:22
you could ask zap to provide ddnet servers
16:24
You can also host a server for free with https://trashmap.ddnet.tw/ if you just want to play occasionally with friends
Avatar
I did it 2 years ago there too and since I could change the mod with the ftp access
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 16:48:46Z
@fokknaut admit that ur overhyped about macros since you found out about them lol
16:49
@oklahoman yikes zap-hosting is not really having a good rep. I never had a tw server there and if you say it worked once to change mod it might still but meh..
16:50
@oklahoman ill host you a tw server for 1euro a month if you want :)
16:52
oh wait my current price is 2 euros might be not cheaper than zap idk
16:54
oh nvm i can make u a better offer https://zillyhuhn.com/cs/.1610729633.png
16:54
u can get as many slots as u want so for ddnet 64 or fddrace 128 + support for half the price of zaphostings 16 slots lul
Avatar
or buy vps for half of that price https://www.netcup.de/vserver/vps.php
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 16:56:41Z
2,69 > 2 and there is no teeworlds support :) and u have to do all the linux things ur self
16:56
also netcup not too good
Avatar
why not
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 16:57:17Z
i had plenty of lags there
16:57
and not too nice support
Avatar
i never have lags there
16:57
and they have better support than anybody else
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 16:57:37Z
doubt
16:57
best support here
16:57
tw related support
16:58
not too cheap tho
Avatar
can I only host one map per server?
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 16:59:03Z
at the same time yes
16:59
but literally every hoster will probably allow unlimited uploads for maps and you can change them
16:59
well "unlimited" is a strong word xd
Avatar
i will host my 60 old ddrace maps 😄
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 16:59:59Z
i think the teeadventures mod supported multiple maps at once
17:00
for 60 ddrace maps you can slap them all on the server and then add votes to switch maps
17:00
also weird flex that u mapped 60 maps o.O
17:01
ur at netcup Jupstar?
Avatar
I'm an old games i used to have my maps only hosted on xxlddrace games since the 0.5 trunk version
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 17:02:06Z
good ol times
17:02
"I like turtles" times xd
Avatar
I was in the clans BaG F3aR and sMu
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 17:03:01Z
so ur interested in buying my sketchy product or can i go offline? xd
17:03
F3aR nice i remember them
Avatar
I will come back later
Avatar
@ChillerDragon i know about macros for a long time, lol :D i just thought it would be usefull here, since its kinda the same as for example in server.cpp for the serverinfo, where some parts are only used in this function but need to be done multiple times
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 18:35:32Z
the 3rd 500 on github and githubstatus.com still like "this is fine"
Avatar
[quakenet] Ryozuki BOT 2021-01-15 18:38:48Z
this is fine
18:39
ChillerDragon maybe u got so many shit in ur github it bugged
Avatar
[quakenet] ChillerDragon BOT 2021-01-15 18:47:41Z
xd maybe
18:48
maybe i reached some ratelimits for today and they bottleneck me with 500 lol i was active but it was under 1gb traffic i think
Avatar
dysrakescence 2021-01-15 19:17:26Z
Has anyone used code signing before? Is there an alternative (preferably at no cost) to code signing, if any?
Avatar
Two days ago, through its communications regulator, Uganda's government ordered the "Suspension Of The Operation Of Internet Gateways" hours before the country's general election. This action was confirmed by several users and journalists who got access to the letter sent to Internet providers.
20:01
lol
Avatar
ye i read about that
20:03
president has been in power for like 36 years or smth
Avatar
oh no what are we going to do without unganda on th internet
Avatar
some good memes came from uganda @Im 'corneum
Avatar
i hope you dont mean that red little mf
Avatar
no more like ridiculous african news or whatever
Avatar
idk these
Avatar
if u watch forsen
Avatar
Since a few days my ddnet client crashes sometimes when a player joins and it happened once in the Internet tab of the server browser. OS: Debian 10 Version: 15.2.5 This email thread might help to resolve this issue: https://curl.se/mail/lib-2018-12/0070.html ``` [2021-01-14 20:36:34][chat]: *** : 'AloneDeath' entered and joined the game Thread 3 "DDNet" received signal SIGPIPE, Broken pipe. [Switching to Thread 0x7fffea2e0700 (LWP 25512)] __libc_write (nbytes=24, buf=0x7fffdc...
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
8a232eb Add donation by ΛLIVΣ clan - def-
feelsamazingman 1
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Exported 202 message(s)