Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-08-13 00:00 and 2024-08-14 00:00
Avatar
2024-08-13 00:03:42 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server. 2024-08-13 00:03:42 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303. I have udp enabled in input and ouput for port 8303 but it is still failing, what could it be?
Avatar
Avatar
Oropher
2024-08-13 00:03:42 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server. 2024-08-13 00:03:42 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303. I have udp enabled in input and ouput for port 8303 but it is still failing, what could it be?
if you are home hosting you have to open ports
Avatar
I mean it is in a hosting and the ports are open, the strange thing is that when I compile it in a docker and I gave him if for the sql is when the register fails, if I compile it in sql off if it registers it.
Avatar
GitHub BOT 2024-08-13 00:24
#8712 https://github.com/user-attachments/assets/1bcf442c-42ce-4949-969d-853fef9f9df8

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested th...
Avatar
Avatar
Oropher
I mean it is in a hosting and the ports are open, the strange thing is that when I compile it in a docker and I gave him if for the sql is when the register fails, if I compile it in sql off if it registers it.
if you are paying for a vps there may be a web control panel you can access to see their firewall
00:48
make sure it's accessible through both your OS's firewall and your host's
00:49
you will usually have neither by default
Avatar
and query, I have been looking for the kog maps, with the voting configuration, does it exist in any repository ?
Avatar
ws-client BOT 2024-08-13 02:34
<ChillerDragon> @.A to build with debug symbols go to your build folder and run cmake .. -DCMAKE_BUILD_TYPE=Debug && make then you can run it with gdb again and the gdb bt command should show you details you can then report to fokkonaut here https://github.com/fokkonaut/F-DDrace/issues/
F-DDrace is a server-side modification of Teeworlds, developed by fokkonaut. - Issues · fokkonaut/F-DDrace
02:36
<ChillerDragon> @Oropher no kog is quite closed
02:37
<ChillerDragon> i mean the maps it self you can download in game or on their website https://kog.tw/#p=maps but their infrastructure is fully closed source
Avatar
Avatar
ws-client
<ChillerDragon> i mean the maps it self you can download in game or on their website https://kog.tw/#p=maps but their infrastructure is fully closed source
The download doesn't work I think xd
Avatar
ws-client BOT 2024-08-13 02:38
<ChillerDragon> trol kog
Avatar
lol what
04:21
kog has a twitch channel
Avatar
ws-client BOT 2024-08-13 04:29
<ChillerDragon> watfak xd send
04:29
<ChillerDragon> are they ever live?
05:04
it was linked on their site
Avatar
ws-client BOT 2024-08-13 05:41
<ChillerDragon> > kogtw last streamed 3 years ago.
Avatar
@heinrich5991 what's the current state of bans command ? Pagination still temporary?
Avatar
heinrich5991 2024-08-13 08:09
not sure what bans command/pagination you're referring to
08:09
ingame rcon?
Avatar
GitHub BOT 2024-08-13 08:40
1563b4a Spawn a confetti when connecting on your DDNet birthday - furo321 ef6fd80 Merge pull request #8715 from furo321/birthday-confetti - def-
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Avolicious 2024-08-13 08:42
Sadly you cant rotate the confetti 😦
Avatar
no confetti rotation D:
Avatar
Hey, could I become code owner of src/game/editor/mapitems/map_io.cpp? I tend to miss changes to the map format, but would like to have a say whenever changes happen. I also try to be compatible with twmap, which I was now often behind on after some changes (e.g. the most recent change: empty quads/sounds layers)
😢 1
f3 1
Avatar
{"response":"failure","message":"Order could not be created","data":"Failed"} I love this shitty api
Avatar
GitHub BOT 2024-08-13 09:03
This allows us to give birthdays a different effect in the future if we want to.

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with ...
Avatar
Avatar
Learath2
{"response":"failure","message":"Order could not be created","data":"Failed"} I love this shitty api
heinrich5991 2024-08-13 09:04
do these APIs usually communicate this through the HTTP status code, too?
Avatar
Avatar
heinrich5991
do these APIs usually communicate this through the HTTP status code, too?
Depends on the error. This api returns a 500 on invalid json, 200 on that failure above (missing field in valid json)
Avatar
heinrich5991 2024-08-13 09:07
I guess the first one should be 400 instead?
Avatar
Avatar
Learath2
Depends on the error. This api returns a 500 on invalid json, 200 on that failure above (missing field in valid json)
heinrich5991 2024-08-13 09:08
how would you design such an API wrt. HTTP status codes?
Avatar
400 for both imo
Avatar
Avatar
Learath2
{"response":"failure","message":"Order could not be created","data":"Failed"} I love this shitty api
wait whats bad abt that 💀 other than the redundant failure message
Avatar
heinrich5991 2024-08-13 09:09
nonspecific error
09:09
it's unclear what's wrong
Avatar
Avatar
louis
wait whats bad abt that 💀 other than the redundant failure message
It took me 40 minutes to figure out why the "order could not be created"
Avatar
what you it rather do?
Avatar
The correct error message should be "Order could not be created: Validation failed: Missing field 'currency'"
Avatar
heinrich5991 2024-08-13 09:11
or even just "couldn't parse input"
Avatar
oh like a shop order or something i see
Avatar
(which it correctly does for some other fields, so someone manually added the correct error return for some cases and not others)
Avatar
heinrich5991 2024-08-13 09:12
it doesn't even tell you that it's the input that's wrong, rather than some external API it couldn't contact
Avatar
I diffed it against a payload that I knew worked as a last resort
09:13
Then I started adding fields until I found the one that is actually required, (the api docs mark "currency" optional)
09:13
And the docs are for an older version of the api, we just got an updates document that only reports changed paths but payload changes are like surprise eggs, you figure them out when your old requests don't work through the new path
09:14
If this is the state of apis in the wild I'm starting to see why people need backend engineers 😄
Avatar
is there any shortcut to click the editor layer eyeball so that only that layer is visible and everything else invisible?
Avatar
Avatar
heinrich5991
ingame rcon?
Yes, bans command showing the ban list
Avatar
Avatar
louis
is there any shortcut to click the editor layer eyeball so that only that layer is visible and everything else invisible?
heinrich5991 2024-08-13 09:33
not aware of any, but also haven't looked at the code
Avatar
Avatar
ReiTW
@heinrich5991 what's the current state of bans command ? Pagination still temporary?
Probably permanent. It does make sense to paginate long results even if we fix the underlying protocol shortcoming
Avatar
since playing modded minecraft i have the urge to do mods
09:45
and looks like there is more mod loaders nowadays
09:45
forge was forked into neoforge
09:45
and there is fabric
09:45
justatest
10:00
c0ec918 Remove comments that just describe the next line - heinrich5991 585a36d Distinguish birthday from finish events - heinrich5991 192ae58 Merge pull request #8717 from heinrich5991/pr_ddnet_birthday - def-
Avatar
GitHub BOT 2024-08-13 10:07
594968f Improve cl_show_ids: support spectator menu, optimize, refactor - Robyt3 4f09d3f Merge pull request #8701 from Robyt3/Client-Spectate-ClientIds - heinrich5991
Avatar
GitHub BOT 2024-08-13 10:28
2c6eb73 new lock indic. partially closes ddnet#8467 - BlaiZephyr 871cec9 Merge pull request #8502 from BlaiZephyr/upd-teamlock - heinrich5991
Avatar
Avatar
Learath2
Probably permanent. It does make sense to paginate long results even if we fix the underlying protocol shortcoming
Alright, it seems like you can do bans 1200 and will not print out that the page does not exist. Also doesn't print the number of available pages
Avatar
GitHub BOT 2024-08-13 10:31
On request by @Patiga.

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 (especially base/) or added coverage to integration test
  • [ ] 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/ddn...
10:36
ae36494 Add spectator clans rendering in scoreboard - gerdoe-jr 4cbdf20 Merge pull request #8577 from gerdoe-jr/scoreboard-spectator-clans - heinrich5991
Avatar
GitHub BOT 2024-08-13 10:45
Not sure if this single string helps to understand anything for how much space it takes. See screenshots: old: !screenshot_2024-08-13_12-39-16 new: !screenshot_2024-08-13_12-42-38

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with po...
Avatar
I should learn how to pull req, never done it before. Maybe I can make bans better
Avatar
@ReiTW call me, i'll teach you the ways of githubbing
Avatar
I'm not home but later why not
Avatar
Avatar
ReiTW
I should learn how to pull req, never done it before. Maybe I can make bans better
thought you were big githubber :0
Avatar
gitlabber :(
Avatar
I'm what we call the worst and laziest githuber
KEKW 1
10:48
master only pusher
10:48
force pusher?
Avatar
the only right way of pushing
Avatar
Ah not that one
Avatar
are you a jedi?
Avatar
But spam pusher too
10:49
Well only on my repo, should learn to be clean lmao
greenthing 2
Avatar
i'll show you basics, fork, new branch, PR, squash, (how to be nice so your stuff gets merged) etc etc!
Avatar
"how to be nice"
10:50
put that one at the end
10:50
xD
10:50
cuz that will take a lifetime
Avatar
i played CoD with Rei, trust me.. i know :(
Avatar
Lmao, first game top1
Avatar
kekw true
Avatar
can't have everything
11:01
sounds pretty bad
Avatar
Jupstar ✪ 2024-08-13 11:05
interesting
11:05
github does not disable the auto merge when force pushing
11:05
that sounds rather dangerous
11:06
i already saw that on the pr that should not be named xd
Avatar
lemme fuess
11:06
chiller's pr
11:06
guess
Avatar
ws-client BOT 2024-08-13 11:07
<ChillerDragon> i still dont understand how confetti are that much less controversial than the colored broadcast
11:07
<ChillerDragon> protocol decisions being merged without a clear plan or discussion
Avatar
Avatar
Jupstar ✪
github does not disable the auto merge when force pushing
heinrich5991 2024-08-13 11:08
only for people with write access to the repository
11:08
AFAIK
Avatar
Avatar
heinrich5991
only for people with write access to the repository
Jupstar ✪ 2024-08-13 11:08
but the pr whos name should not be said was chillers (edited)
Avatar
Avatar
ws-client
<ChillerDragon> protocol decisions being merged without a clear plan or discussion
speaking of the devil
Avatar
ws-client BOT 2024-08-13 11:09
<ChillerDragon> @Patiga you have my vote as code owner xd. What does being code owner even mean? Is there a github feature that can give you notifications if parts of the code are touched?
Avatar
heinrich5991 2024-08-13 11:09
the confetti is a simple net object, and it's even used in ddnet directly
Avatar
ws-client BOT 2024-08-13 11:10
<ChillerDragon> @Jupstar ✪ i was so sure it would
Avatar
heinrich5991 2024-08-13 11:10
the broadcast thing invented a text markup language for a thing that ddnet had no use case for
11:10
(so far)
Avatar
Jupstar ✪ 2024-08-13 11:11
also broadcast how you want to use them sound like they must be kinda stable. the confetti can simply be removed again
Avatar
ws-client BOT 2024-08-13 11:11
<ChillerDragon> if i had known it does not abort the force push i would have closed the pr. But i was soooo sure it would abort the merge. It did with bors iirc
Avatar
hm, this concludes my guess ._.
Avatar
ws-client BOT 2024-08-13 11:11
<ChillerDragon> @Jupstar ✪ why can confetti be removed and broadcast cant?
Avatar
Jupstar ✪ 2024-08-13 11:11
bcs u rely on it logically or not
11:11
u want to abuse it for your mod
Avatar
ws-client BOT 2024-08-13 11:12
<ChillerDragon> same applies for confetti?
Avatar
Jupstar ✪ 2024-08-13 11:12
sure, but that mod has yet to be invented xD
Avatar
heinrich5991 2024-08-13 11:12
also, we made it kinda clear that it's the finish effect
Avatar
Jupstar ✪ 2024-08-13 11:12
for ddnet its just visual rn
Avatar
ws-client BOT 2024-08-13 11:12
<ChillerDragon> @heinrich5991 we didnt its now also the birthday effect xd
11:13
<ChillerDragon> thats my point
Avatar
heinrich5991 2024-08-13 11:13
already fixed, see my PR from an hour or so ago
Avatar
ws-client BOT 2024-08-13 11:13
<ChillerDragon> also i think the color broadcast use case for ddnet was pretty clear imo.
11:13
<ChillerDragon> ah ok
Avatar
how about a net object for broadcast color
11:13
._.
Avatar
Avatar
ws-client
<ChillerDragon> @Patiga you have my vote as code owner xd. What does being code owner even mean? Is there a github feature that can give you notifications if parts of the code are touched?
yep, is part of the review thing https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners I hope to stay up-to-date with map format changes with this
Avatar
ws-client BOT 2024-08-13 11:15
<ChillerDragon> you got the role? @Patiga
Avatar
yes
🪨 1
Avatar
ws-client BOT 2024-08-13 11:15
<ChillerDragon> pog
Avatar
Avatar
heinrich5991
sounds pretty bad
CoC suck, indeed
Avatar
Jupstar ✪ 2024-08-13 11:16
@Ryozuki r u in holidays?
Avatar
Jupstar ✪ 2024-08-13 11:18
@Ryozuki do you compile mesa with high optmizations?
11:18
flags
Avatar
Avatar
Ryozuki
CoC suck, indeed
heinrich5991 2024-08-13 11:18
having no rules sucks as well. I don't think you can take one malfunction to declare that CoCs as a concept don't work
11:18
but this example looks very bad indeed
Avatar
Avatar
Jupstar ✪
@Ryozuki do you compile mesa with high optmizations?
i Guess o2
Avatar
ws-client BOT 2024-08-13 11:19
<ChillerDragon> @Ryozuki do ppls say "I use neoforge BTW" ?
11:19
<ChillerDragon> ppl*
Avatar
idk
Avatar
Avatar
Jupstar ✪
github does not disable the auto merge when force pushing
it doesnt disable it when the person forcepushing has write access*
Avatar
ws-client BOT 2024-08-13 11:20
<ChillerDragon> @heinrich5991 2nd time i requested a protocol change on a pending pr and got ignored until it was merged but then the change was applied after that -.-
Avatar
Avatar
meloƞ
it doesnt disable it when the person forcepushing has write access*
Jupstar ✪ 2024-08-13 11:20
that is true, but apparently also for those without xD
Avatar
ah man why is it that autoscrolling isnt working
11:21
i always answer to things that have been asnwererd already XDD
Avatar
ws-client BOT 2024-08-13 11:21
<ChillerDragon> where can i obtain a maintainer role to be taken seriously :p
Avatar
Avatar
Jupstar ✪
that is true, but apparently also for those without xD
huh? i forcepushed like 3 of my PR's that cancled the auto-merge
11:21
doesnt sound like intended behaviour at all
Avatar
Avatar
meloƞ
huh? i forcepushed like 3 of my PR's that cancled the auto-merge
Jupstar ✪ 2024-08-13 11:21
then it must be some kind of bug xD
Avatar
and really damn dangerous XDDD
Avatar
ws-client BOT 2024-08-13 11:21
<ChillerDragon> the epic 0.7 bug
Avatar
Jupstar ✪ 2024-08-13 11:23
chiller
11:23
deen force pushed before you right?
11:23
u just changed the author again
Avatar
ws-client BOT 2024-08-13 11:23
<ChillerDragon> yes
11:23
<ChillerDragon> ouuu
Avatar
Jupstar ✪ 2024-08-13 11:23
i wonder if that is the reason
Avatar
ws-client BOT 2024-08-13 11:23
<ChillerDragon> does maintainer force push unlock the epic bug?
11:24
<ChillerDragon> github 0d
Avatar
Jupstar ✪ 2024-08-13 11:24
maybe, dunno xd
11:24
or github didnt see it as "real" change
Avatar
ws-client BOT 2024-08-13 11:24
<ChillerDragon> ayyy
Avatar
Avatar
Jupstar ✪
or github didnt see it as "real" change
heinrich5991 2024-08-13 11:24
such a feature would sound very dangerous
Avatar
ws-client BOT 2024-08-13 11:24
<ChillerDragon> ddnet 0.7 by deen -.-
11:24
<ChillerDragon> i will cry forever about this xd
Avatar
still sounds horribly abusable if it works with actual code-changes aswell, when you're then able to just git rm *, force push it and annoyingly delete the repo for a short amount of time kekw
Avatar
ismt there force push with leasw
11:25
lease
Avatar
dennisdragon who?
Avatar
xD wtf
Avatar
Jupstar ✪ 2024-08-13 11:27
imo it should cancel the auto merge even for repo members. you can easily forget to disable it, if you happen to add something last minute
11:27
then all go sleep and u have it in xd
Avatar
ws-client BOT 2024-08-13 11:27
<ChillerDragon> ye thats crazy
Avatar
GitHub BOT 2024-08-13 11:32
9109922 Add @Patiga as owner of src/game/editor/mapitems/map_io.cpp - heinrich5991 21ed4cf Merge pull request #8718 from heinrich5991/pr_ddnet_patiga_codeowner - heinrich5991
Avatar
ws-client BOT 2024-08-13 11:34
<ChillerDragon> @meloƞ no it did not merge the forced pushed things. It merged the things before the force push. So it will be missing the latest fix or the unaudited malicious change.
Avatar
ah okay, i see - thanks! (edited)
Avatar
Avatar
ws-client
<ChillerDragon> @meloƞ no it did not merge the forced pushed things. It merged the things before the force push. So it will be missing the latest fix or the unaudited malicious change.
Jupstar ✪ 2024-08-13 11:36
wait wat
11:36
that stupid as well
Avatar
GitHub BOT 2024-08-13 11:38
b998937 Remove "Player Options" - Jupeyy 5a28919 Merge pull request #8719 from Jupeyy/pr_remove_player_options - heinrich5991
Avatar
cyberfighter 2 2024-08-13 11:39
i got a very weird bug once
11:40
i timed out and rejoined, the only thing visible was my cursor
11:40
then my game crashed
Avatar
Jupstar ✪ 2024-08-13 11:53
creepypasta
11:53
@cyberfighter 2 send crash dumps
11:58
Avatar
Jupstar ✪ 2024-08-13 11:58
can u reproduce it already or what
Avatar
cyberfighter 2 2024-08-13 11:58
no that was when it happened idk
11:58
depends if i can timeout again i guess
Avatar
Avatar
cyberfighter 2
depends if i can timeout again i guess
Jupstar ✪ 2024-08-13 11:59
oh ok
Avatar
Avatar
Ewan
gm
Jupstar ✪ 2024-08-13 11:59
good morning game master
Avatar
good morning game master
Avatar
ws-client BOT 2024-08-13 12:25
<ChillerDragon> ddnet creepypasta xd @Jupstar ✪
Avatar
Give Music recs
Avatar
porter robinson 👹
Avatar
Lol ofc u like porter robinson
Avatar
Avatar
Ewan
Give Music recs
Jupstar ✪ 2024-08-13 12:51
passionate duelist
Avatar
Avatar
Ewan
Give Music recs
Jupstar ✪ 2024-08-13 12:53
black and white 2 legendary theme
12:53
xd
Avatar
Avatar
Ewan
Give Music recs
Gunship
12:58
the Unicorn album is nice
Avatar
Avatar
Ewan
Lol ofc u like porter robinson
wtf
Avatar
today is left handedness dat
14:31
day
14:31
im left handed btw, but i use mouse with right hand
14:31
xd
14:31
i write with left
Avatar
Avatar
Ryozuki
im left handed btw, but i use mouse with right hand
Jupstar ✪ 2024-08-13 14:33
real gamers are both handed 😬
Avatar
Mixed-handedness or cross-dominance is the change of hand preference between different tasks. This is about as widespread as left-handedness.[17] This is highly associated with the person's childhood brain development
14:34
i guess im mixed
Avatar
Jupstar ✪ 2024-08-13 14:35
@Ryozuki top is left hand writing with mouse, bottom right hand xdd (edited)
14:35
i rarely use my mouse with left hand
14:36
only when i eat and have smth in my right hand
14:36
😬
Avatar
no left handed emojis
Avatar
i managed to run the server but even though we see it in browser, can connect and all we still get the error
Avatar
Jupstar ✪ 2024-08-13 14:38
@Ryozuki can u also write with right
14:38
if u game a lot
14:38
i mean that gives quite some skill doesnt it
Avatar
Avatar
.A
i managed to run the server but even though we see it in browser, can connect and all we still get the error
your firewall is blocking access, I guess
Avatar
Avatar
jxsl13
your firewall is blocking access, I guess
chiller said its all open in ovh. i mean we can see it and connect but the error is showing would you know a command to allow it through the firewall ?
Avatar
so you can connect by using the ip + port?
Avatar
then it's not the firewall
14:42
is it maybe tcp that is blocked for communicating with ddnet master server?
14:42
tcp traffic
14:42
hm
Avatar
Avatar
Jupstar ✪
i mean that gives quite some skill doesnt it
i play tw aiming with right hand
14:42
its weird
Avatar
hm, dunno how the communication with ddnet master server works
Avatar
Avatar
Ryozuki
i play tw aiming with right hand
Jupstar ✪ 2024-08-13 14:43
yeah that is insane
14:43
that's why i wondering
Avatar
if u ask me with what hand i woukld punch u
14:43
sometimes i have a hard time deciding
14:43
i think left but maybe right
14:43
xd
14:43
ok maybe left
Avatar
dual wielding fists
Avatar
i would bat a ball from the left side
14:45
definitly
Avatar
Avatar
GitHub
Click to see attachment 🖼️
everyday new record
14:54
We announced support for HTTP/3, the successor to HTTP/2, during Cloudflare’s birthday week last year. Our goal is and has always been to help build a better Internet.
Avatar
Jupstar ✪ 2024-08-13 15:02
that is closer than i'd have expected
Avatar
Avatar
Ryozuki
im left handed btw, but i use mouse with right hand
MilkeeyCat 2024-08-13 15:06
same xd
Avatar
GitHub BOT 2024-08-13 16:05
Reported by cyberfighter 2 on Discord:
i got a very weird bug once i timed out and rejoined, the only thing visible was my cursor then my game crashed
``` DDNet.exe caused an Access Violation at location 00007FF7E5EB063F in module DDNet.exe Reading from location FFFFFFFFFFFFFFFC. Module offset: 0x00007FF7E5C70000 Image base: 0x0000000140000000 0x000000014024063f: CCollision::IsHookBlocker(int, int, vector2_base, vector2_base) const at src/game/collision.cpp:619 0x00000001...
Avatar
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
MilkeeyCat 2024-08-13 17:20
Code owners are automatically requested for review when someone opens a pull request that modifies code that they own.
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
👍 1
Avatar
ChillerDragon: take this https://assets.ddstats.org/teedata-dump.zip and check https://assets.ddstats.org/ save the data somewhere open and unforgettable pls
17:32
ur the best for this
Avatar
ez fix
kek 1
Avatar
does anyone know how to use the F-DDrace entities.png in editor? Do i need to name them "game" ? because then some will be overwritten I'd like to call them fddrace or something like that
Avatar
Jupstar ✪ 2024-08-13 18:56
18:56
but question usually go into #questions or #mapping
18:56
jupsti
18:56
fast
😬 1
Avatar
GitHub BOT 2024-08-13 18:56
This improves readability and makes it easier to navigate through a large list of bans using pagination. The list is empty : !image The list contains few entries only : !image Invalid page is sent to the rcon command : !image Last ...
18:56
tysm xD
Avatar
first pull request of my life damn
Avatar
Jupstar ✪ 2024-08-13 18:57
gg
Avatar
IT TOOK ME
18:59
HOURS TO EXPLAIN
18:59
SCHIZO
Avatar
you're bad
18:59
took me 10mins to top1 with you
Avatar
Avatar
Nouaa
fast
why isnt there a description for each tile 😮
19:01
its hard af figure it out from source
Avatar
there is
19:58
Avatar
Hi, i tried to add my ddnet server (compiled with mysql) to master server. i have the same error using an own mastersrv and ddrace mastersrv using ipv4 ./mastersrv --listen 168.195.128.149:8080 --out servers.json --connecting-ip-header CF-Connecting-IP --write-dump test.txt sv_register_url "https://master1.zgaming.host/ddnet/15/register" (edited)
Avatar
did you hardcode ur mastersrv ip into your server? (edited)
Avatar
why do you want your own masterserver?
Avatar
Avatar
deen
why do you want your own masterserver?
for testing and verify if server sent data
Avatar
Avatar
JoaquoCL
for testing and verify if server sent data
verifying what
Avatar
do you have the same ip for outgoing and incoming?
Avatar
verify if send ipv4, port, etc test.txt {"now":745002,"addresses":{"tw-0.7+udp://168.195.128.149:28000":{"kind":"mastersrv","ping_time":734248,"secret":"9c008119-bc08-4735-aa42-70af8c80fb34"}},"servers":{"9c008119-bc08-4735-aa42-70af8c80fb34":{"info_serial":0,"info":{"max_clients":64,"max_players":64,"passworded":false,"game_type":"TestDDraceNetwork","name":"My DDNet server","map":{"name":"Tutorial","sha256":"796a3716fe64657bfb8bc6af5f9422b197278919a9d875e43b9bbbcb73262fc0","size":1060483},"version":"0.6.4, 18.4","client_score_kind":"time","requires_login":false,"clients":[]}}}} servers.json {"servers":[{"addresses":["tw-0.7+udp://168.195.128.149:28000"],"info":{"max_clients":64,"max_players":64,"passworded":false,"game_type":"TestDDraceNetwork","name":"My DDNet server","map":{"name":"Tutorial","sha256":"796a3716fe64657bfb8bc6af5f9422b197278919a9d875e43b9bbbcb73262fc0","size":1060483},"version":"0.6.4, 18.4","client_score_kind":"time","requires_login":false,"clients":[{"name":"Joaquo","clan":"","country":-1,"score":-9999,"is_player":true,"skin":{"name":"hammie-chew"},"afk":false,"team":0}]}}]} (edited)
Avatar
and can others connect to the server from internet?
Avatar
Yes
Avatar
@heinrich5991 any ideas?
Avatar
SPOILER
Image attachment
20:25
its a VPS from Chile
Avatar
why is it announced as tw0.7?
20:27
so only the 0.6 registration is failing i guess
Avatar
i used cmake -DDEV=OFF -DCMAKE_BUILD_TYPE=Release -DPREFER_BUNDLED_LIBS=OFF -DAUTOUPDATE=ON -DVIDEORECORDER=OFF -DDOWNLOAD_GTEST=ON -DUPNP=ON -DVULKAN=OFF -DCLIENT=OFF -DMYSQL=ON -DWEBSOCKETS=ON ..
20:28
and other only with -DMYSQL=ON, and same errors
Avatar
mysql shouldn't cause the issue
20:37
what happens if you disable sixup
20:37
sv_sixup 0 I think
Avatar
same, 2024-08-13 16:38:31 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server. 2024-08-13 16:38:31 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 28000.
Avatar
ah well afterall 0.7 registration works so not sixup, idk (edited)
Avatar
Avatar
.A
why isnt there a description for each tile 😮
Avatar
@Patiga im sorry for ping, but is there a way to iterate over layers to do same thing for underlying Array2 field without matching it? im trying to reshape all physics layers from on dim to another, didn't find any other way (but there is, i guess?)
Avatar
I think he means for F-DDrace entities
Avatar
Avatar
Nouaa
I think he means for F-DDrace entities
yeah
21:24
does anyone have invite for fokko discord ?
Avatar
which is true, the client displays no explanation for all gamemodes except ddrace
Avatar
Avatar
.A
does anyone have invite for fokko discord ?
mp
Avatar
Avatar
Nouaa
which is true, the client displays no explanation for all gamemodes except ddrace
yeah i checked the source
Avatar
Avatar
Nouaa
which is true, the client displays no explanation for all gamemodes except ddrace
looks like there are for fng
Avatar
Avatar
zhn
@Patiga im sorry for ping, but is there a way to iterate over layers to do same thing for underlying Array2 field without matching it? im trying to reshape all physics layers from on dim to another, didn't find any other way (but there is, i guess?)
you can do generic programming with this trait: https://docs.rs/twmap/0.12.4/twmap/trait.TilemapLayer.html
Avatar
le god patiga 🙏
kek 1
Avatar
I'm not really a fan of #8542 adding legacy 64 client support forever, but I guess it's already mostly done so it will get added.
Avatar
Hey, this Pull Request will add support for 128 (n) clients at the same time. Good for t0 maps, Multeasy, modders, etc. It&#39;s based on my implementation in F-DDrace, where it works pretty fl...
Avatar
protocol is so bloated D:
Avatar
@zhn that was the briefest explanation ever, ping me on things I should elaborate ^^
Avatar
Avatar
Patiga
you can do generic programming with this trait: https://docs.rs/twmap/0.12.4/twmap/trait.TilemapLayer.html
18 loc into 4 owo
🎉 1
Avatar
(btw feel free to ping me whenever you have anything twmap related, I'm glad whenever those libraries/tools are of use)
Avatar
hm, i can't just do fn clear_layer(layer: &mut impl TilemapLayer) { layer.tiles_mut().unwrap_mut().fill(Default::default()) } map.physics_group_mut().layers.iter_mut().map(|layer| clear_layer(layer)); since physics_group(_mut).layers is just a vector of Layer
21:46
there's no way to divide them into physics layers and other layers i guess
Avatar
you still need to match the layer, but on each tilemap layer, you can then call that function here I define a function that uses the trait https://gitlab.com/Patiga/twmap/-/blob/a7ed9ac7fbc27544610b0211158ad9c86adc627b/twmap/src/map/edit/mirror.rs#L134 here I call that function on the layer with matching https://gitlab.com/Patiga/twmap/-/blob/a7ed9ac7fbc27544610b0211158ad9c86adc627b/twmap/src/map/edit/mirror.rs#L66
21:47
ah you asked for smth without matching
21:48
there is no function without matching. but with this trait, you can access the Array2 of any tilemap layer, and do stuff with generic programming
Avatar
hm, what if you divide Layer into Physics(PhycicsLayer) [which is another enum :/] and Design(DesignLayer) [same here]? another layer of abstraction and not quite useful (edited)
21:49
but easier for using with TilemapLayer xd
Avatar
I don't quite see yet how that makes it easier
21:49
you'd still need to handle all the different tile types
Avatar
not since all physics layers are tilemaps, arent they
21:50
design layers are just for tiles, quads and sounds
21:51
and PhysicsLayer will implement TilemapLayer
21:51
what do you think? i just don't know if it fits in terms of twmap (edited)
Avatar
it can't really implement TilemapLayer, as it can't give a concrete type T for which it will return Array2<T>
Avatar
that can't be done dynamically with such a trait
Avatar
if you would need to match often, you could do smth like fn edit_tilemap<T: AnyTile, F: Fn(&mut Array2<T>)>(layer: &mut Layer, f: F) { match layer { Layer::Tiles(l) => f(l.tiles.unwrap_mut()), Layer::Quads(l) => {}, Layer::Game(l) => f(l.tiles.unwrap_mut()), etc } } This doesn't actually use the TilemapLayer trait. now you can just do a function like yours fn clear_layer<T: AnyTile>(tiles: &mut Array2<T>) { tiles.fill(Default::default()) } and then use that function with let mut layer: Layer = todo!(); edit_tilemap(&mut layer, clear_layer)
22:07
( @zhn )
Avatar
Avatar
Patiga
if you would need to match often, you could do smth like fn edit_tilemap<T: AnyTile, F: Fn(&mut Array2<T>)>(layer: &mut Layer, f: F) { match layer { Layer::Tiles(l) => f(l.tiles.unwrap_mut()), Layer::Quads(l) => {}, Layer::Game(l) => f(l.tiles.unwrap_mut()), etc } } This doesn't actually use the TilemapLayer trait. now you can just do a function like yours fn clear_layer<T: AnyTile>(tiles: &mut Array2<T>) { tiles.fill(Default::default()) } and then use that function with let mut layer: Layer = todo!(); edit_tilemap(&mut layer, clear_layer)
thank you once more!
heartw 1
Avatar
GitHub BOT 2024-08-13 22:16
Due to network issues, I would like to have a full server on my PC but I don't know exactly how to install the server. The server works but no way to make random votes work. Currently I tried putting the files directly in the C:\Program Files (x86)\Steam\steamapps\common\DDraceNetwork\ddnet folder, in the C:\Program Files (x86)\Steam\steamapps\common folder \DDraceNetwork\ddnet\data and put only the files the server needs to run in another folder on my desktop but in all 3 cases random votes ...
Avatar
Avatar
Patiga
if you would need to match often, you could do smth like fn edit_tilemap<T: AnyTile, F: Fn(&mut Array2<T>)>(layer: &mut Layer, f: F) { match layer { Layer::Tiles(l) => f(l.tiles.unwrap_mut()), Layer::Quads(l) => {}, Layer::Game(l) => f(l.tiles.unwrap_mut()), etc } } This doesn't actually use the TilemapLayer trait. now you can just do a function like yours fn clear_layer<T: AnyTile>(tiles: &mut Array2<T>) { tiles.fill(Default::default()) } and then use that function with let mut layer: Layer = todo!(); edit_tilemap(&mut layer, clear_layer)
seems rust can't distinguish types in this case: mismatched types expected mutable reference `&mut ArrayBase<OwnedRepr<T>, _>` found mutable reference `&mut ArrayBase<OwnedRepr<twmap::Tile>, _>`
Avatar
pls give related code ^^
Avatar
it comes from edit_tilemap itself
22:19
on unwrap_mut()
Avatar
the code is just copied over?
22:20
(I'm ingame rn, hard to type a lot)
Avatar
fn edit_tilemap<T: AnyTile, F: Fn(&mut Array2<T>)>(layer: &mut Layer, f: F) { match layer { Layer::Game(l) => f(l.tiles.unwrap_mut()), Layer::Front(l) => f(l.tiles.unwrap_mut()), Layer::Tele(l) => f(l.tiles.unwrap_mut()), Layer::Speedup(l) => f(l.tiles.unwrap_mut()), Layer::Tune(l) => f(l.tiles.unwrap_mut()), _ => {} } }
Avatar
Avatar
zhn
fn edit_tilemap<T: AnyTile, F: Fn(&mut Array2<T>)>(layer: &mut Layer, f: F) { match layer { Layer::Game(l) => f(l.tiles.unwrap_mut()), Layer::Front(l) => f(l.tiles.unwrap_mut()), Layer::Tele(l) => f(l.tiles.unwrap_mut()), Layer::Speedup(l) => f(l.tiles.unwrap_mut()), Layer::Tune(l) => f(l.tiles.unwrap_mut()), _ => {} } }
ah, T is defined by caller, seems thats why it can't infer it from inside
Avatar
hm, I tried out similar code ant that worked
22:33
*and
Avatar
maybe rust analyzer just fools me
22:38
closed laptop, eep time
Avatar
nah, have the same error in the playground rn
22:54
but tbf, this code isn't all that necessary, a match each time is fine ^^
Exported 363 message(s)
Timezone: UTC+0