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-11-07 00:00:00Z and 2022-11-08 00:00:00Z
Avatar
25c82c4 M yayita, M Grassland - ddnet-maps
Avatar
On case you don't know, rust analyzer is the Language Server Protocol implementation that gives autocompletion, etc, to most editors for rust related stuff. Apparently it fails due to the build scripts ``` [START][2022-11-07 08:20:35] LSP logging initiated [ERROR][2022-11-07 08:20:35] .../vim/lsp/rpc.lua:733 "rpc" "rust-analyzer" "stderr" "[ERROR project_model::workspace] cyclic deps: ddnet_engine_shared(CrateId(16)) -> ddnet_engine(CrateId(15)), alternative path: ddnet_engine(CrateId...
Avatar
I don't know why we panicked before, but maybe we shouldn't? In the rust-analyzer context, looks like CARGO_FEATURE_LINK_TEST_LIBRARIES is set but DDNET_TEST_LIBRARIES isn't. Maybe there is another solution that keeps the panick if its intended, but i don't know why yet, maybe the libraries aren't needed in the context of rust-analyzer since it only analyzes code, not run tests.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual cha...
Avatar
07be2a7 Add instructions for Rust on Linux/macOS - def- 26a1862 Merge #6018 - bors[bot]
Avatar
:justapentest:
Avatar
merged and released in new version heartw
Avatar
Avatar
Ryozuki
Yes because the new doesnt accept Into<I17F15>
it could maybe get a https://docs.rs/fixed/latest/fixed/traits/trait.ToFixed.html, but that would be yet another fallible conversion. It definitely would make it easier to use, but would hide the inner workings more, I'd be fine with it :)
Avatar
Oh nice
Avatar
@heinrich5991 how do the tw dissector detects if the packet is from a teeworlds/ddnet server or just a random udp packet? (edited)
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
cmake x)
15:02
there are makefile and dockerfile too
Avatar
Avatar
Anime.pdf
Click to see attachment 🖼️
i had this 4 years ago 🙂 🙂 🙂
Avatar
[quakenet] ChillerDragon BOT 2022-11-07 15:04:24Z
It does a prefilter based on port i think @Miguilim
Avatar
script kiddies starter pack
Avatar
@heinrich5991
15:30
you once asked me for this pic without ddnet and gores players
15:30
here it is
15:31
hmm i may have an error
Avatar
Avatar
Ryozuki
@heinrich5991
is this counting fng2 and fng2+ together?
Avatar
[quakenet] ChillerDragon BOT 2022-11-07 15:36:14Z
testddnet is not ddnet axaxax
Avatar
Avatar
noby
is this counting fng2 and fng2+ together?
Thats the error
15:36
If i remove png another mod goes to 60
15:37
So idk i have to investigate xd
15:37
Fng*
Avatar
can someone changed the README.md in github from: -DMYSQL=[ON|OFF] Whether to enable MySQL/MariaDB support for server. Requires at least MySQL 8.0 or MariaDB 10.2. Setting to ON requires the libmariadbclient-dev library installed, which are also provided as bundled libraries for the common platforms. Default value is OFF. to: -DMYSQL=[ON|OFF] Whether to enable MySQL/MariaDB support for server. Requires at least MySQL 8.0 or MariaDB 10.2. Setting to ON requires the libmariadb-dev library installed, which are also provided as bundled libraries for the common platforms. Default value is OFF. the difference is libmariadbclient-dev replaced with libmariadb-dev
15:38
because libmariadbclient-dev is not in the repo after debian9 if you using debian > 9 u need to install libmariadb-dev (edited)
15:38
but i think you already knew and i forgot something
Avatar
Avatar
Daniel
but i think you already knew and i forgot something
Uh libmariadbclient-dev is still available?
15:49
Avatar
ah nvm looks like it was in oldstable on debian 10
15:50
but got removed on 11
15:53
ah nvm
Avatar
Avatar
ReiTW
but got removed on 11
libmariadb-dev is also available at deb 9, even in 8
Avatar
yes ik, I mean @Daniel u could pull request
Avatar
libmariadbclient-dev just has been removed completely as it become obsolete by libmariadb
Avatar
Avatar
Daniel
because libmariadbclient-dev is not in the repo after debian9 if you using debian > 9 u need to install libmariadb-dev (edited)
yea like i said above 9 its not available anymore and this is why i think it could be updated in the README.md
Avatar
Avatar
Daniel
yea like i said above 9 its not available anymore and this is why i think it could be updated in the README.md
Correct, but in this case, the apt pm is smart enough to tell you the correct packages 😄
f3 1
16:21
ok idk probs not bugged
Avatar
Avatar
[quakenet] ChillerDragon
omg poggers it alive! Totally worth the effort xd https://zillyhuhn.com/OpenTube/videos/users/chiller/ruby_gamer_jumping.mp4
nice ruby client 😮
Avatar
the thing is if a server has lot of players in 1 minute only it can make the upper bound of the whole graph sucky
16:24
if a group of servers*
16:26
sampling every 10 mins
16:27
apparently somewhere there is a max 55 players (edited)
16:27
but i cant see it
16:27
stupid bugs
Avatar
Avatar
Miguilim
@heinrich5991 how do the tw dissector detects if the packet is from a teeworlds/ddnet server or just a random udp packet? (edited)
it tries to decode it as a TW packet and if it doesn't have any weirdness, it just decides that it's TW
Avatar
Avatar
Ryozuki
@heinrich5991
cool 🙂
Avatar
Avatar
Miguilim
@heinrich5991 how do the tw dissector detects if the packet is from a teeworlds/ddnet server or just a random udp packet? (edited)
did you find a problem with that heuristic? what are you doing with the dissector? 🙂
Avatar
Avatar
heinrich5991
it tries to decode it as a TW packet and if it doesn't have any weirdness, it just decides that it's TW
O.o
Avatar
Avatar
heinrich5991
did you find a problem with that heuristic? what are you doing with the dissector? 🙂
I'm actually trying to use it with a custom server but its identifying just as default udp
16:50
the client is the default ddnet client, but the sending packets is also "udp"
16:50
if I try to use it on a default server, it runs well
Avatar
you can force it with "decode conversation as..." → TW
Avatar
Avatar
Miguilim
the client is the default ddnet client, but the sending packets is also "udp"
I think it has some problems identifying ddnet correctly ^^
16:52
you could give me the pcap if you want
16:52
or report a bug with it
16:52
so that I remember to fix it
Avatar
Avatar
heinrich5991
you can force it with "decode conversation as..." → TW
ohhh didn't know about that, I will try. Thanks 432271829231730689
Avatar
Avatar
heinrich5991
or report a bug with it
ok, I'll open a issue in the repo
Avatar
Avatar
Anime.pdf
Click to see attachment 🖼️
"often used to share hacking tips" thats called #developer
Avatar
Avatar
Voxel
"often used to share hacking tips" thats called #developer
not even #developer
17:13
btw their email is misspelled
Avatar
Avatar
heinrich5991
so that I remember to fix it
created the issue
Avatar
thanks! I already got an email
17:20
it's detailed, thank you for that
17:21
also from the email I got that you're srdante?
Avatar
Avatar
heinrich5991
also from the email I got that you're srdante?
yes, my github nick
17:22
lab_nuncaNemVi
Avatar
what's your TW nick?
Avatar
Miguilim
Avatar
ah
17:22
cause I didn't recognize Miguilim but did recognize srdante ^^
Avatar
Avatar
Miguilim
I'm actually trying to use it with a custom server but its identifying just as default udp
you're building a custom server in python?
Avatar
Avatar
heinrich5991
you're building a custom server in python?
noooo, its top secret 🤫 (for now)
17:25
I created this script to reproduce the problem
Avatar
I see 🙂
17:26
cool that you're building something
17:26
I'm interested in case you ever want to talk about it
Avatar
Running a server on Debian, freshly downloaded DDNet version for Linux 64 bit. Having random crashes with nothing fishy in the server log even with trace on. Funniest behavior is that there is a particular map that instantly crashes the server when it loads. Server log doesn't say anything weird when the map loads except Segmentation Fault. Any ideas?
Avatar
If you can, compile with AddressSanitizer. Also share the map.
Avatar
Aight I will try compiling it myself. Is there a known issue with addresses on the compiled download?
19:30
Avatar
None that I'm aware of. Maybe it's somehow specific to Debian.
19:44
Compiling with AddressSanitizer should give more useful error messages beyond "Segmentation Fault"
Avatar
Ok, thanks!
Avatar
could an admin please update the twmap-tools binaries for the ddnet discordbot?
21:54
I need a document for how to do that, I keep forgetting on each update 😄
Avatar
thanks!
21:56
I released a new version of twmap, twmap-tools, twmap-py and twmap-blender ( @Ryozuki, @gerdoe, @k2d222, ChillerDragon ) twmap: 0.9.0 contained a rather big bug where the Layer::shape function had x and y mixed up. that is fixed, alongside its uses (somehow I managed to use it the correct wrong way multiple times). apart from the fixes there should not be any breaking changes with 0.9.1, but some nice additions from @Ryozuki twmap-tools: twmap-edit wasn't working properly because of the mentioned bug, everything should work again twmap-py: the to_mesh method on tiles layers now works again, it was broken for a while (also the release was necessary to fix the mentioned bug) twmap-blender: the add-on now automatically downloads the twmap python module with pip, if it isn't installed (release: https://gitlab.com/Patiga/twmap-blender/-/releases/v0.3.0)
22:08
3b7079f nothing, VéNa, Blurry as Testers - murpii 594a6dc Fix - murpii da3c030 Merge pull request #223 from murpii/patch-14 - def-
Avatar
Avatar
deen
I need a document for how to do that, I keep forgetting on each update 😄
cd ~/twmap/twmap-tools && git pull && cargo install --path=. twmap-tools && ls -lha ~/.cargo/bin/twmap*
Avatar
well, now i gotta try to build ddnet with the rust thing on my outdated windows 😄
Avatar
tell me if you encounter problems
Avatar
well, im gonna sleep right now, so probably this weekend
Avatar
Not outdated. Dead
Avatar
what windows are we talking about?
Avatar
should work
22:24
rust only dropped support for xp
Avatar
@deen ddnet can support dns srv records ?
Avatar
ddnet has nothing to do with how u configure ur dns records
Avatar
ddnet usually doesn't connect via DNS, so it's unliekly that you need SRV records for ddnet
Avatar
Avatar
-iᴅiɴ
@deen ddnet can support dns srv records ?
what's your use case of SRV records for ddnet?
Avatar
Avatar
heinrich5991
what's your use case of SRV records for ddnet?
i want to convert ports to subdomain like that 8305.teecorp.ir
Avatar
ah
22:49
I don't think ddnet will get support for that if you don't implement that yourself
Avatar
Avatar
heinrich5991
I don't think ddnet will get support for that if you don't implement that yourself
Im not that type of guy :D
Avatar
then it probably won't get implemented
23:07
1. Create a new map in the editor 2. Create a new group 3. Add two quad layers to the group (or one quad and one tile layer) 4. Select the second layer 5. Also select the first layer by holding shift while clicking 6. Right click the first layer and click "Delete layer" 7. First bug: The second layer is deleted only, same happens with "Duplicate layer", and when the layer's Group or Order property is changed it only applies to the first layer in the selection 8. Second bug: Right click...
Avatar
@Robyt3 Perhaps Debian is the issue. My VPS host has several OS options. What OS do the regular DDNet servers run on, or which one is the most stable for running a server?
Exported 128 message(s)