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 2022-06-02 00:00:00Z and 2022-06-03 00:00:00Z
Avatar
Avatar
Mr.Gh0s7
I think it's those 3, not sure tho
sorry for hud, makes it bad visible, but could it be that it's without assets?
00:20
oh, yeah you could be right, just many., small and with tee color
00:22
you are right
Avatar
seems like that initializing all members of class implicitly delete the default constructor...
00:37
i think i need to retake a c++ class
Avatar
live freeze got released so i updated these entities since they're shipped with client

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+U...
Avatar
Avatar
cauldron
sorry for hud, makes it bad visible, but could it be that it's without assets?
howd you make the cursor so unstable?
Avatar
idk, maybe that's the reason xD
00:58
trackpoint image (edited)
Avatar
thats part of the map
Avatar
ohh, lol, i was wondering why there are emotes
Avatar
@louis do you need help with your pr to clean it up a lil bit 😄 ?
Avatar
i think it works now
01:35
uhhh im not sure how to remove all that history lmao
Avatar
you can squash all commits into one
01:36
git checkout l-ouis-comfort-update-1 git rebase -i master
01:37
in the editor, replace all edit with squash except the first one (top one should be your first commit)
01:37
then git push --force
Avatar
ah i see
01:46
i did it all in github web editor which probably is why it is so messy lmao
01:46
it would probably even be easier for me to do it in terminal but i was lazy
Avatar
oh, from web editor, i don't know if its possible to rewrite history
01:48
or, just create a new branch and just add the correct file at the right place and delete the old branch then reopen the same pr
01:50
is it good to go thru that effort to fix it? like does it help with the main github history or something
Avatar
it's easier for us when looking for commit that inserted a bug
01:51
less commit to check
01:52
and cleaner history is nice as well
01:52
though it's a matter of taste
Avatar
Title, after the second shot the prediction gets all messy: https://user-images.githubusercontent.com/60477660/171548445-526c0fab-4387-4ab6-9ba6-658e69b6b4f5.mp4 fokkonaut on Discord:
Because in the server there was a physic change in shotgun
Avatar
what is libwebsockets and why do i not have it
03:53
./DDNet-Server: error while loading shared libraries: libwebsockets.so.8: cannot open shared object file: No such file or directory
03:53
i built this for sure with the libraries
03:56
might have figured it out
Avatar
Avatar
lynn
./DDNet-Server: error while loading shared libraries: libwebsockets.so.8: cannot open shared object file: No such file or directory
which distrib
Avatar
ubuntu 18.04
07:32
LTS
Avatar
did you compile yourself? @lynn
Avatar
yeah, i compiled all the libs listed in README
07:35
even the websockets one
07:35
and also tried to run without websockets too
Avatar
so u've installed the package yes
Avatar
Fixes #5032.

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-address...
Avatar
@lynn do you want to have websockets support?
Avatar
dont care, just want the thing to run
07:39
i guess whatever i did worked tho
Avatar
ok 🙂
07:39
if you don't care, you should build without
Avatar
I wonder how it was even enabled, I think it's off by default
Avatar
i think i uninstalled libwebsockets
07:39
or something
07:39
its on by default lol
Avatar
hmmm. option(WEBSOCKETS "Enable websockets support" OFF)
07:40
can we try something?
Avatar
eda6931 update comfort png and dilate - l-ouis 452ef5b Merge #5305 - bors[bot]
Avatar
[quakenet] JuliasCeasar BOT 2022-06-02 07:57:13Z
Do you guys have girlfriends?
Avatar
Avatar
heinrich5991
can we try something?
going to bed, let me know in dms
Avatar
Avatar
cauldron
anyone know how the dying animation is made in tw? is it with assets? the spawn animation is made with assets right? (the pink clouds i think), but what about the dying? when the tee splashes
anyone know how assets / skins are rendered to the ingame appearance? is it a library or raw c++ code? which library?
09:07
like the splash animation when a tee dies. there are many small assets that spawn where the tee were and move out. what's the code for that? i want to figure out how to create another animation, by either creating a new type of assets, or just reusings what's there
Avatar
i have a crazy idea of making a tee split, with nice animation and divided hitbox for laser / other weapons.
09:20
like this 😅 , but might be hard
Avatar
855fe75 Log chat by default, put it onto INFO instead of DEBUG level - heinrich5991 ce0a262 Merge #5308 - bors[bot]
Avatar
``` 7abeaf0cd7f18c054dbf9f59faff1bd5e8e81c88 is the first bad commit commit 7abeaf0cd7f18c054dbf9f59faff1bd5e8e81c88 Author: c0d3d3v Date: Mon Mar 21 23:50:41 2022 +0100 Preparations for the new HUD
  • add pickup sprites to 0.6 data source
  • New Enum for the 4 pickup categories
  • Remove the unnecessary access to client_data7 for the pickup sprites
  • Use the correct sprite set for the HUD sprites
  • Read existing weapons into m_Predicted so that this inform...
Avatar
pabs3
While there are fewer of them, there are quite a few fully open source, open content games out there, like Thrive, 0ad, Warzone2100, Endless Sky etc.What is your favorite fully open source, open content game?Edit: please vote on the comments people post too. Up if you like, down if you dislike, don't vote if you haven't played it or are neutral ...
Avatar
"unistd.h": No such file or directory but ... iam on windows? 😮
Avatar
Avatar
AssassinTee
"unistd.h": No such file or directory but ... iam on windows? 😮
windows doesn't have that header
Avatar
exactly
Avatar
Avatar
AssassinTee
"unistd.h": No such file or directory but ... iam on windows? 😮
where do you get that error?
Avatar
on the master branch of ddnet on windows (after initializing the ddnet-libs) and compiling
12:21
but it might be a toolchain problem, I guess ddnet doesn't compile out of the box and requires mingw?
Avatar
it should compile out of the box
12:22
without mingw
12:22
can you post the full error?
Avatar
yes, sec
12:25
cannot reproduce and compiled successfully oO I changed nothing.
12:25
I guess thank you for rubberducking 🙂
12:28
I swear the printer wasn't working when you didn't look ^^
Avatar
you can't make it up, but my environment is heavily broken with my windoofs/wsl/ubuntu/mingw/cygwin setup so yeah
Avatar
I explored all notetaking apps out there: I like obsidian but don’t like that it’s not open source and it’s devs seem to be neolibbrained. Logseq is way too ideological with it’s attempt at trying to discourage hierarchy. Evernote is completely proprietary. Standard Notes is free and open source but only the plain text part.
Avatar
I heard onenote is good if you don't mind proprietrary
12:56
is xournalpp a note taking app?
Avatar
I’m going to take chillers advice and use paper for now and the second I get some free time I’m ripping off Obsidian and releasing it under MIT license
f3 1
12:57
I could use onenote for now instead of paper I guess, equally unsortable but it’s nice to use
Avatar
940205b Simplify switch state using NetArray - trml 95c4c2d Move switch state to gamecore - trml 66c0c1e Send timer info for switchers and predict switch state changes - trml 548de38 Rename NumSwitchers to HighestSwitchNumber and remove most references - trml 882ddae Send switch timing info in extended switch state netobject - trml b666533 Merge #4705 - bors[bot]
Avatar
How to add a "dummy" player serverside? I want to add a "dummy" player and it's score shall be the team's score.
13:15
I found an InsertEntity fuction but I don't know how to use it.
Avatar
what are you trying to do? add a dummy that players can interact with?
Avatar
not really just to keep track of team score
Avatar
Ah I forgot I'll also need a way to add dummy players to interact with others :p
Avatar
They only display as shields. Fixes https://github.com/ddnet/ddnet/issues/5039. !grafik

Checklist

  • [x] Tested the change ingame
  • [x] 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
  • [x] Considered possible null pointers and out ...
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
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] 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
d125c91 send normal shields to old clients - C0D3D3V 3c988d8 Merge #5310 - bors[bot]
14:04
Missing: wiki.ddnet.org @edg-l

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/d...
14:17
809309c drop small NETOBJTYPE_SWITCHSTATE - C0D3D3V c609581 Merge #5311 - bors[bot]
Avatar
I just saw this funny video https://www.youtube.com/watch?v=i0EqbeCdAbQ And in the comments: "how did u make the moving freeze tiles tho?" "they are part of KoG servers. I used a KoG test server executable, its included in the download. You need to open a sv with that executable. Then when creating a map add a quad layer named "QFr" for freeze. Or "QStopa" for a wall. At last, animate your quad with envelopes. The collision is tied to the quad position (only quads from qfr and qstopa layers), and they are always square/rectangle shaped I like to make the quads invisible and then add an image, wall or something" Do we already have a discussion about such a feature? I have not found anything I mean if this is polished up a bit and is less like a workaround, it could be pretty cool.
Avatar
Run Python code in your HTML.
Avatar
@c0d3d3v yes, would be cool
Avatar
The moving tiles of kog are still buggy tho, for example, if u are too fast (not even that fast) moving unfreeze wont unfreeze you (edited)
Avatar
they don't have DDNet quality developpers poggers
Avatar
Avatar
c0d3d3v
I just saw this funny video https://www.youtube.com/watch?v=i0EqbeCdAbQ And in the comments: "how did u make the moving freeze tiles tho?" "they are part of KoG servers. I used a KoG test server executable, its included in the download. You need to open a sv with that executable. Then when creating a map add a quad layer named "QFr" for freeze. Or "QStopa" for a wall. At last, animate your quad with envelopes. The collision is tied to the quad position (only quads from qfr and qstopa layers), and they are always square/rectangle shaped I like to make the quads invisible and then add an image, wall or something" Do we already have a discussion about such a feature? I have not found anything I mean if this is polished up a bit and is less like a workaround, it could be pretty cool.
reitw proposed it in this channel a few weeks ago i think
Avatar
Avatar
ReiTW
was it somehow planned to have like dynamic tiles? like on KoG, having dynamic freeze or solid tiles
here
Avatar
i hope they did their website in python then
Avatar
First implementation of #5281. This PR doesn't contain a material directly, it just contains the basis to implement materials
  • implements a material layer in the map
  • implements a material layer in the editor
  • implements the material layer further into the client Screenshots
!screenshot_2022-06-02_17-06-09 ![screenshot_2022-06-02_17-07-17](https://user-images.githubuserconten...
Avatar
i want to use ssg. pelican or hugo. is ddnet.tw made with jekyll? i saw something about jekyll in a commit message.
15:24
maybe i would use jekyll, cause i never used ruby before
Avatar
ddnet.tw is a mix of pure html, php, python with uwsgi, jekyll
Avatar
and am interested
Avatar
don't need to know ruby to use jekyll
Avatar
i just like to get a "feeling" for different languages. ruby is a japanese programming language right? that makes me curious. or maybe i got that wrong.
Avatar
Avatar
Mr.Gh0s7
How to add a "dummy" player serverside? I want to add a "dummy" player and it's score shall be the team's score.
any ideas?
Avatar
MACRO_CONFIG_INT(ClZoomBackgroundLayers, cl_zoom_background_layers, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Zoom background layers") Hi, anyone knows why this parameter is 0 by default? can I make PR to change it to 1? for example due to it I can't make hats for players that would adapt to different zooms
Avatar
Create another CPlayer but control it from the server
16:09
@Faulty because most background layers look better when you don't zoom them
16:09
does it work if you give your hat para 1 (or the smallest possible)
16:09
?
Avatar
it works just on small range, next there will be a shift
Avatar
ok, too bad
16:14
I remember some map had something like hats, how did the mapper solve it?
16:15
the bus in kindergarten at the start for example
16:16
works with zoom
16:16
I think I made that or part of it, but I don't remember how 😄
Avatar
if you make para x is 0 and para y is 1 it will work fine
16:17
so bus on same y
16:17
I will check, but think so
16:18
same problem example
16:18
16:21
16:21
yes, not zero
Avatar
Totoro also has a bus
Avatar
some map by Ama you had a light in your hand
Avatar
There are several cave map where the tee has a light in hand
16:22
Winter Mines (not sure for this one), Cave i think
16:22
Lost Story (2?) has a rocket
Avatar
ok, that map, Cavings I, has the same problem
16:22
hm
16:22
but it's also broken with dyncam
Avatar
yeah, those where always broken with dyncam
Avatar
I don't want maps to forbid dyncam and zoom
Avatar
they don't forbid them, it's just slightly off
Avatar
yes, but I mean to make it always work
Avatar
dynamic camera not a problem I think, I play without it at least
Avatar
not sure it's possible
16:24
i don't know any player using dyncam
Avatar
server can forbid zoom to client
Avatar
more useful in frag game
Avatar
but not dyncam right now
Avatar
give Y para 1 and X para 0 or so
16:33
thats how it works on noby fng
16:33
oh it was mentioned already
Avatar
checked Lost Story 1/2, everything that mooving with you use just one axis
16:58
hook sign that use 0,0 has same issue
17:00
looks like no one does that because it's impossible 🙂
Avatar
[quakenet] ChillerDragon BOT 2022-06-02 18:06:58Z
@Mr.Gh0s7 if you dont mind additional features lemme advertise ddnet++ to you. It ships with dummys (tees controlled by the server) and if you further want to make them move have a look at this file https://github.com/DDNetPP/DDNetPP/blob/dcce0c8e31dbe49a414562501d54305bd16d7e2c/src/game/server/entities/dummy/sample.cpp
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - DDNetPP/sample.cpp at dcce0c8e31dbe49a414562501d54305bd16d7e2c · DDNetPP/DDNetPP
Avatar
Avatar
[quakenet] ChillerDragon
@Mr.Gh0s7 if you dont mind additional features lemme advertise ddnet++ to you. It ships with dummys (tees controlled by the server) and if you further want to make them move have a look at this file https://github.com/DDNetPP/DDNetPP/blob/dcce0c8e31dbe49a414562501d54305bd16d7e2c/src/game/server/entities/dummy/sample.cpp
ok Thanks I will take a look ❤️ (irrelevant but I thought DDNetPP was DDNetPersian lol)
Avatar
[quakenet] ChillerDragon BOT 2022-06-02 18:11:05Z
xd
18:11
@heinrich5991 any chance this ddnet++ server crash makes some sense to you? https://paste.zillyhuhn.com/Yn its a few commits behind ddnet master. Is this a known and maybe even fixed issue?
Avatar
when i load the site then it goes to the other one wtf?
Avatar
Avatar
HappyFray
when i load the site then it goes to the other one wtf?
is that my profile? justatest
Avatar
Avatar
Ravie
is that my profile? justatest
it actually is lmao i was randomly clicking on teams tab
Avatar
Is it possible, that the current master is crashing?
18:41
After compiling on windows and starting the client I get a big error message:
18:42
before I was on an older version of the master and didn't have that issue
18:43
$ git status On branch master Your branch is up to date with 'origin/master'.
18:45
std::vector<CComponent *,std::allocator<CComponent *> >::insert<CComponent * const *,void>(_Vector_const_iterator<std::_Vector_val<std::_Simple_types<CComponent *> > >,CComponent *const *,CComponent *const *) vector:1023 std::vector<CComponent *,std::allocator<CComponent *> >::insert(_Vector_const_iterator<std::_Vector_val<std::_Simple_types<CComponent *> > >,initializer_list<CComponent *>) vector:1035 CGameClient::OnConsoleInit() gameclient.cpp:104 main(int,const char **) client.cpp:4488 invoke_main() 0x0000000000ef2ce3 __scrt_common_main_seh() 0x0000000000ef2b37 __scrt_common_main() 0x0000000000ef29cd mainCRTStartup() 0x0000000000ef2d68 BaseThreadInitThunk 0x000000007703fa29 RtlGetAppContainerNamedObjectPath 0x0000000077e67a7e RtlGetAppContainerNamedObjectPath 0x0000000077e67a4e
Avatar
[quakenet] ChillerDragon BOT 2022-06-02 18:45:54Z
borderline pasteservice worthy
18:46
go make sume github issue
Avatar
nextstep would be to open an issue, but I am already issue spaming
Avatar
[quakenet] ChillerDragon BOT 2022-06-02 18:46:27Z
make fake github acc
18:46
i got like 20 github smurfs
🤣 1
Avatar
any admins?
Avatar
$ git checkout master Switched to branch 'master' Your branch is behind 'origin/master' by 253 commits, and can be fast-forwarded. (use "git pull" to update your local branch) $ git pull origin master compiling and starting updated client ```std::vector<CComponent *,std::allocator >::insert(_Vector_const_iterator<std::_Vector_val<std::_Simple_types > >,CComponent *const *,CComponent *const *) vector:1023 std::vector<CComponent *,std::allocator >::insert(_Vector_const_iter...
Avatar
Closes #5314.

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-addres...
19:05
Just figured out that my pr introduced a bug in switches set from map configs (not opening the correct switches). Sorry about that! Thanks to Faily for finding it.

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
  • [ ] Chan...
Avatar
@Robyt3 thank you! Now i am surprised this was working at all in other OS
Avatar
[quakenet] ChillerDragon BOT 2022-06-02 19:08:10Z
Did it always look that weird with flag render order? And i never realized? https://zillyhuhn.com/cs/.1654196750.png
19:08
i guess it renders flags first then tees. And does not care about me squeezing my flag between the other thee and his flag xd
Avatar
Can DDNet instead of Team <number> display Score <number> in scoreboard? Or is it managed clientside?
Avatar
Turns out it's managed clientside.
Avatar
Avatar
[quakenet] ChillerDragon
Did it always look that weird with flag render order? And i never realized? https://zillyhuhn.com/cs/.1654196750.png
wtf?
19:37
back then when we did stack tower with flags blue flag was over red
19:38
i mean we couldnt see red flag cuz blue cover it
Avatar
Avatar
Mr.Gh0s7
Turns out it's managed clientside.
oh ok
Avatar
23c0b6a Fix wrong iterator being used for inserting into vector - Robyt3 6d1a61f Merge #5316 - bors[bot]
Avatar
i forgot how do i open an issue
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - Issues · ddnet/ddnet
Avatar
thxs
Avatar
New issue button on the right side
Avatar
ok its just issues lmao
19:54
idk i tough it was more complex (edited)
Avatar
The idea is that I write : /team PlayerName in chat and it makes me join the player's team.
20:04
531107e Fix ConSwitchDoorOpen - trml ba05169 Merge #5317 - bors[bot]
Avatar
Avatar
Mr.Gh0s7
Can DDNet instead of Team <number> display Score <number> in scoreboard? Or is it managed clientside?
what kind of score do you mean?
Avatar
[quakenet] MrGh0s7 BOT 2022-06-02 20:21:05Z
I wanted to have per team score. My first idea was to have "dummy" players in each active team to keep track of it. But then if I could change the "Team <TeamNumber>" it would work
Avatar
210b190 Avoid unnecessary copy leading to crash - Learath2 c31d3e5 Merge #5301 - bors[bot]
Avatar
[quakenet] MrGh0s7 BOT 2022-06-02 20:25:02Z
I guess for it to make sense I should also say that I want to port/remake fng to ddnet code and teams should have a score.
Avatar
On huge zoom-out sometimes you can see fragments in the freezebar: !grafik This does not only happen to freezebar, I also have seen such fragments in Quad layer and Tile layers, even tees have fragments sometimes. This is a old graphics bug, from our engine. Would be nice if we could fix this. I already tried to address this, in the way it is done in vanilla by clipping a small margin ...
20:43
Fixes #5307 by updating the prediction to use the new input handling from #5032, and also removed some now no longer used code.

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 m...
20:48
I open this issue so we can talk about getting the sounds of the game managed like the Gameskins. Is it possible ? Is it a good idea ?
Avatar
Avatar
bencie
New issue button on the right side
how can i tag it as a Discussion ?
Avatar
not sure if you can do it but try finding a + icon on the Labels tab
Avatar
humpf, i can't build anymore on windows with Mingw 😦
21:03
i guess i finally have to move to mingw-w64
21:23
b0fcda5 Fix integration test waiting for client to close - heinrich5991 278e003 Merge #5298 - bors[bot]
21:30
09b8b9b Update frontpage video - def-
21:31
Using Mingw64 in git bash: ``` #0 0x000007fefd941b44 in WriteFile () from C:\Windows\system32\KernelBase.dll #1 0x00000000775b1b06 in WriteFile () from C:\Windows\system32\kernel32.dll #2 0x000000000065080a in CWindowsFileLogger::Log (this=0x3c7950, pMessage=0x22e890) at E:\Teeworlds_DDNet\ddnet\src\base\log.cpp:401 #3 0x000000000064d2df in CLoggerCollection::Log (this=0x3c7aa0, pMessage=0x22e890) at E:\Teeworlds_DDNet\ddnet\src\base\log.cpp:193 #4 0x000000000060c4be in l...
Avatar
@Ryozuki is your vim ddnet setup on github? like linting and stuff
22:04
nvim
Avatar
okay i found a git repo
Exported 236 message(s)