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-12-17 00:00 and 2024-12-18 00:00
Avatar
ws-client BOT 2024-12-17 02:35
<ChillerDragon> changed my mind again 0.6.5 is trash
02:36
<ChillerDragon> unlike the name suggests it is not backwards compatible to 0.6.4 because of a bug in 0.6.4 also it is wasting 512 null bytes on every connection on reflection attack protection client side which is not even checked server side
Avatar
if using semver logic havinga 0 before all that means 6 is shifted to major and 4 is shifted to minor, which can have changes like that
02:38
i think
Avatar
ws-client BOT 2024-12-17 02:43
<ChillerDragon> the way i understand semver 0.1 to 0.2 is version breaking but 1.1 to 1.2 is not
02:43
<ChillerDragon> and teeworlds seems to use it the same way 0.6 to 0.7 is version breaking because of the leading zero
02:43
<ChillerDragon> but 0.6.4 to 0.6.5 should not be breaking
02:45
<ChillerDragon> it was also not planned as breaking it just happend that 0.6.4 interprets a bit as part of the ack number which was thought to be unused and is now used for a 0.6.5 flag bit
02:45
<ChillerDragon> so that can then break the sequence number check and the server will drop the connection because of that
Avatar
GitHub BOT 2024-12-17 05:30
ba280e3 A JustRocket, M Kevin - ddnet-maps
Avatar
Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.
07:04
pretty much says any version change may break. I personally also try to increase the minor version when introducing breaking changes but that's up to every individual to decide.
07:05
also, often security fixes are considered as patch version updates which may still break existing code.
Avatar
You might think that semantic versioning (SemVer) is the only versioning scheme in open source software, but there’s actually an array of alternatives out there. In this post, I’ve compiled a comprehensive list of the various versioning schemes floating around in the internet, from ZeroVer to SemVer, and everything in between.
poggers2 1
Avatar
Version 0.0.1 of ZeroVer was published by Mahmoud Hashemi on 2018-04-01.
07:44
self referencing joke
07:45
and too old young to be used in Teeworlds (edited)
Avatar
Its definitely older than 2018, and doesn't need a publication lol
👀 1
Avatar
GitHub BOT 2024-12-17 07:55
Rendering the angle used by the hookcoll will be change when spectating other tees.Btw,this is visual only. Before: https://github.com/user-attachments/assets/1a13e0be-abf1-4603-990f-1c61105daccf after: https://github.com/user-attachments/assets/b75e93fd-6902-4afc-8043-af9cc646d5bb

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [ ] Written a u...
Avatar
you are indeed right, I assumed that it would be the first time that versioning was mentioned, highly likely not the case. (edited)
Avatar
GitHub BOT 2024-12-17 08:14
9115440 GER10 starts costing money - def-
Avatar
Avatar
GitHub
Click to see attachment 🖼️
NOTED
Avatar
chillerdragon BOT 2024-12-17 08:23
Teeworlds even made it into the official ZeroVer specification https://0ver.org
Software's most popular versioning scheme!
08:24
lua developers hate this versioning trick
Avatar
Avatar
ws-client
<ChillerDragon> so if you implement only 0.7 you should be able to receive connection from pretty much every player
There is a caveat though. The bridge layer is pretty darn janky. It works(tm) but it has many bugs
Avatar
Avatar
zhn
master branch with last commit crashes too?
nankudo ᵃᵗᵗᵃᶜᵏ 2024-12-17 09:17
idk, because i’m using old version
09:18
but now I'll try to transfer it to the new version
Avatar
chillerdragon BOT 2024-12-17 09:24
Name one bug
Replying to @Learath2 There is a caveat though. The bridge layer is pretty darn janky. It work…
Avatar
Avatar
Mathis
halloo automapper support was left in a broken state for a long time but I fixed it a couple weeks ago. I just updated the server with the new fixes 🙂
your project is linked in the ddnet wiki in the automapper section, if you want to add text or change something feel free to do so: https://wiki.ddnet.org/wiki/Automapper#Tools
09:29
That's the reason i pinged chillerdragon in the first place 😄
Avatar
morning
Avatar
Also @Patiga you said you reimplemented automappers in twmap, I don't know if I should link this as well (because I don't understand the extend of your automapper support)
Avatar
Avatar
Ryozuki
morning
GG OO OO DD MM OO RR NN II NN GG
09:32
whoever made this emojis is a genius btw, easy to use, no need to search, nice to look at (edited)
Avatar
Avatar
Assa
your project is linked in the ddnet wiki in the automapper section, if you want to add text or change something feel free to do so: https://wiki.ddnet.org/wiki/Automapper#Tools
Thanks! you could add that it has support for rules++ too. Also twwe uses Patiga's twmap automapper on the server side and has a javascript implementation on the client side.
09:45
I think twmap deserves to be listed here too
heartw 1
Avatar
GitHub BOT 2024-12-17 09:48
aec89d5 use remote tee angle when spectating - ASKLL-STAR d0e2d8c Merge pull request #9397 from ASKLL-STAR/Fix-The-Angle-Of-Hookcoll-Use-When-Spectating - def-
Avatar
The readme states, that it's checking and running automapper files. In the tooling section I tried to list tools helping with the creation of them
09:52
But I guess by this logic your tool doesn't belong there, too 🤔 @Mathis
09:53
or does it? At least from the video you are either choosing predefined automappers or uploading .rules files
09:55
Nevermind it does, just needed to watch ALL of the video
👍 1
09:55
sorry I need more coffee
09:55
Also great video @Mathis 👍 nice tool
heartw 1
09:58
I should do that as well for my tool 🙈 but video creation is so meh
Avatar
Avatar
Mathis
I think twmap deserves to be listed here too
I believe twmap deserves it's own wiki page there. Its a bazooka for developers who want to create a map
Avatar
Avatar
chillerdragon
Name one bug
I think 0.7 skin translation still has bugs in it e.g.
Avatar
Jupstar ✪ 2024-12-17 11:17
chiller u here
Avatar
Damage indicators are unfixably behaving differently between the two versions is another I can think of
Avatar
Original message was deleted or could not be loaded.
What editor did you use, Kdenlive?
Avatar
Avatar
meloƞ
What editor did you use, Kdenlive?
Jupstar ✪ 2024-12-17 11:23
yeah
Avatar
Good editor, I tried writing custom transitions but i failed miserabley (edited)
11:24
I did my first video using devinci resolve and it was great, but I wanted a FOSS alternative and Kdenlive is really damn good
Avatar
Original message was deleted or could not be loaded.
hm, Saskia
Avatar
Jupstar ✪ 2024-12-17 11:30
xd
11:30
random things i found in my room
11:30
the vr headset isnt even mine xD
Avatar
I think the thought process was something along the lines of: Must look as natural and human as possible, because I'm an alien >:D
11:33
I beliebe Saskia to be pretty human. Humans need water.
11:34
believe
Avatar
Jupstar ✪ 2024-12-17 11:34
my thought indeed was something like: normally you have water and maybe some food (the nuts on the right) on your table
11:34
that's why i included them xD
Avatar
Super cool -- I don't understand the ordering part though even though it should be my domain 😅🥲 how does this work? My understanding is that it's actually not ordered, but instead random???
Avatar
i don't either. there might be some proof that it is indeed one to one mapped, but it didn't really go into that
11:37
but to be fair, as long as it is one to one mapped then it is ordered.
Avatar
So I have a question about demo -> video rendering. Would I be able to convert a demo to video using an .sh or some kind of terminal script/file? And my guess is that I would need some kind of (compatible) graphics driver, correct? How does/would GPU/hardware assigning work for video rendering?
Avatar
Avatar
TsFreddie
but to be fair, as long as it is one to one mapped then it is ordered.
I guess I don't understand why it couldn't just simply be +1 +1 +1 in index, render 10 or so, then have 100 ready. I understand that it tricks the viewer by it not being a real list, but yeah, still confused about why it would be random
Avatar
Avatar
Pathos
I guess I don't understand why it couldn't just simply be +1 +1 +1 in index, render 10 or so, then have 100 ready. I understand that it tricks the viewer by it not being a real list, but yeah, still confused about why it would be random
oh, no reason at all, the guy just want it to look random
11:41
i can understand it really
11:42
it's like adding a layer of mystery just to be cool or soemthing
11:42
i mean it's not like the website is made to serve any purpose to begin with
Avatar
I mean, it may serve a purpose to someone, but I get what you mean
Avatar
Avatar
Pathos
So I have a question about demo -> video rendering. Would I be able to convert a demo to video using an .sh or some kind of terminal script/file? And my guess is that I would need some kind of (compatible) graphics driver, correct? How does/would GPU/hardware assigning work for video rendering?
iirc, it is done by simply taking screenshots in game to stack them as video frames with ffmpeg so i think you'll definitely need the game running in a GPU.
Avatar
I just don't understand the constraint 'We should display every UUID exactly once'
Avatar
justatest the guy want to build a joke website to display every UUID
Avatar
Avatar
TsFreddie
iirc, it is done by simply taking screenshots in game to stack them as video frames with ffmpeg so i think you'll definitely need the game running in a GPU.
Ah yeah, I remember seeing the ffmpeg library, and I guess audio is just pasted on to the video file hmm
11:44
And 'game running in a GPU' meaning I have to have the DDNet client open?
Avatar
probably?
11:45
i'm not exactly sure if you can render a frame without ddnet client.
11:45
it is just taking screenshots tho, cuz the game had codepath to hide UIs when rendering video so it is just taking the framebuffer of the currently running game
Avatar
Yeah I want to do it with commands, that's why
Avatar
Jupstar ✪ 2024-12-17 11:47
sadly our current way of rendering stuff for ffmpeg requires a window. a vulkan first ddnet engine could handle complete offscreen rendering and could even work as terminal app
👍 1
Avatar
But yeah I understand, I guess then I will have to somehow run a desktop on my server, have some macro that renders it through the client
Avatar
Avatar
Jupstar ✪
sadly our current way of rendering stuff for ffmpeg requires a window. a vulkan first ddnet engine could handle complete offscreen rendering and could even work as terminal app
does vulkan do software rendering too
Avatar
Jupstar ✪ 2024-12-17 11:48
on linux there are software rendering drivers yes
11:48
called lavapipe
Avatar
that's cool
Avatar
Avatar
Jupstar ✪
called lavapipe
!?
Avatar
Jupstar ✪ 2024-12-17 11:48
i even use it on my vps
Avatar
so you might be able to do it
11:49
it would be nice if someone could move the rendering to an offscreen context tho. just for displaying progress and not tied to the current resolution
😮 1
11:52
this was done exactly as you say
Avatar
Avatar
Jupstar ✪
this was done exactly as you say
Do you have script for this!?
Avatar
Avatar
Pathos
Do you have script for this!?
Jupstar ✪ 2024-12-17 11:53
this isnt ddnet
Avatar
thanks my phone crashed
Avatar
Avatar
Jupstar ✪
this isnt ddnet
Then what was it?
Avatar
Avatar
Pathos
Then what was it?
Jupstar ✪ 2024-12-17 11:55
an alternative client that uses a vulkan first engine
🥲 1
11:55
xD
11:55
but it's not compatible to ddnet in almost any way
Avatar
so ddpg
Avatar
https://github.com/ChillerDragon/teeworlds-headless-clients 'Compile with -DHEADLESS_CLIENT=ON to get a ddnet client without graphics' Doable?
A curated list of teeworlds and ddnet clients without graphics. - ChillerDragon/teeworlds-headless-clients
Avatar
i think no
Avatar
Avatar
Pathos
https://github.com/ChillerDragon/teeworlds-headless-clients 'Compile with -DHEADLESS_CLIENT=ON to get a ddnet client without graphics' Doable?
Jupstar ✪ 2024-12-17 11:59
that is just a hack, but really can't render anything
11:59
as said in current ddnet there is no way
Avatar
you need a window and renderer running. maybe just try to use a software renderer
🥲 1
12:00
imagine building a rendering backend to render to davinci resolve projects
Avatar
Jupstar ✪ 2024-12-17 12:01
it would be cool if obs has a plugin to directly render to a obs screen. then we could provide proper support for streamers to hide chat for the stream, while the streamer still sees it
Avatar
Avatar
Jupstar ✪
it would be cool if obs has a plugin to directly render to a obs screen. then we could provide proper support for streamers to hide chat for the stream, while the streamer still sees it
prob easier to just use two windows?
Avatar
Jupstar ✪ 2024-12-17 12:03
if that doesn't overload the graphics output sure a offscreen canvas would be kinda more flexible tho
12:04
(e.g. can windows even deal with 2 fullscreen apps?)
Avatar
maybe not idk
12:05
speaking of fullscreen, a lot of games stopped supporting exclusive fullscreen now
😮 1
Avatar
Jupstar ✪ 2024-12-17 12:06
i know
12:07
ddpg even doesn't work with it rn. i wonder if ddnet cpp only works bcs of the windows 7 manifest file
12:07
Afaik DXGI flip model surfaces (https://devblogs.microsoft.com/directx/dxgi-flip-model/) don't support exclusive fullscreen, only borderless fullscreen. In Bevy we've had some users running...
12:07
that's just such a stupid windows thing
12:07
this os is just so bad xD
Avatar
Hello everyone! I have a couple of questions about the community tab. What are the criteria for getting into it?
Avatar
iirc currently we are not accepting any new entries
Avatar
Just to double check, just running LXDE or LXQt should be fine for running DDNet client + rendering video, right? https://wiki.debian.org/DesktopEnvironment
Avatar
Avatar
TsFreddie
iirc currently we are not accepting any new entries
Oh... okay, what are the general criteria, for example: open source or something like that?
Avatar
the ones that exists currently is there before any security concern is brought up
Avatar
Avatar
Pathos
Just to double check, just running LXDE or LXQt should be fine for running DDNet client + rendering video, right? https://wiki.debian.org/DesktopEnvironment
Jupstar ✪ 2024-12-17 12:13
worth a try, but ig nobody ever tried it
Avatar
Avatar
Jupstar ✪
worth a try, but ig nobody ever tried it
Yeah I understand, thanks 🙂 👍
Avatar
Jupstar ✪ 2024-12-17 12:13
i read you can somehow make virtual monitors and have real desktops, but i never really tried it
Avatar
Avatar
! sqwinix
Oh... okay, what are the general criteria, for example: open source or something like that?
Sad
Avatar
#9262
Avatar
Hello DDNet Team, I’d like to request adding my SlowNet server to the community tab. Feel free to adjust the details as needed: Server Name: [Official] SlowNet #1/2 Region: GER (with plans to expan...
Avatar
Avatar
Jupstar ✪
i read you can somehow make virtual monitors and have real desktops, but i never really tried it
What about instead of SSH, just use something like X2Go or some remote desktop?
Avatar
Jupstar ✪ 2024-12-17 12:20
Never used any of those, but maybe it works
12:20
but keep in mind vps cores are super slow
12:20
i doubt u have a good experience xD
Avatar
I would assume DDNet client would run 1080p (maybe even 1440p?) 60 FPS fine on 1 core CPU, no?
Avatar
Jupstar ✪ 2024-12-17 12:21
no 😄
12:21
my 16 core desktop cpu can manage around 300 fps while using map design on 1440p maybe
Avatar
DDNet can multicore? 😮
Avatar
Jupstar ✪ 2024-12-17 12:22
well lavapipe does it
12:22
rendering is very threaded
Avatar
But hmm, I think rendering waits for each frame to finish rendering anyway, so I think it should be fine
12:22
I see
Avatar
Jupstar ✪ 2024-12-17 12:23
if you are on linux
12:23
just try it out yourself
👍 1
Avatar
Yeah, will have to experiment few things discusses here, thanks for the tip on llvmpipealso
Avatar
Jupstar ✪ 2024-12-17 12:24
on 720p on multeasymap i get around 350fps (edited)
12:24
that's enough to play for sure, but the quality isn't the greatest
Avatar
chillerdragon BOT 2024-12-17 12:57
Ok fair
Replying to @Learath2 I think 0.7 skin translation still has bugs in it e.g.
Avatar
Jupstar ✪ 2024-12-17 13:00
chiller
13:00
did u see the video
Avatar
Jupstar ✪ 2024-12-17 13:09
guys did furo rq? or why is ddstats down and bro gone
Avatar
i think furo rq
Avatar
Jupstar ✪ 2024-12-17 13:13
sad
13:13
good thing you can't rq ddnet forever
Avatar
i can
Avatar
i should have
Avatar
chillerdragon BOT 2024-12-17 13:23
its a discord video so i first have to find the right client that can receive it
Replying to @Jupstar ✪ did u see the video
Avatar
Jupstar ✪ 2024-12-17 13:23
download it so i can delete xd
Avatar
ChillerDragon BOT 2024-12-17 13:25
i dont think it ever arrived on matrix
Avatar
Jupstar ✪ 2024-12-17 13:26
ok wait
Avatar
ChillerDragon BOT 2024-12-17 13:26
why did you cut something i just need a short clip with some camera swing :D
Avatar
Jupstar ✪ 2024-12-17 13:26
bro you asked me for video
13:26
i give you full movie
Avatar
ChillerDragon BOT 2024-12-17 13:26
ok sure just saying you really didnt have to cut
Avatar
Jupstar ✪ 2024-12-17 13:27
can you download with that link?
Avatar
ChillerDragon BOT 2024-12-17 13:27
no
Avatar
Jupstar ✪ 2024-12-17 13:27
wtf
Avatar
bro cant visit a link
Avatar
ChillerDragon BOT 2024-12-17 13:27
wait i can
13:27
how wtf?
13:27
since when do links work?
Avatar
Jupstar ✪ 2024-12-17 13:27
it's the download link
Avatar
ChillerDragon BOT 2024-12-17 13:27
you manually phished that out somewhere?
13:28
how does it work without discord cookies?
Avatar
Jupstar ✪ 2024-12-17 13:28
the discord cdn doesnt want any
13:28
i simply downloaded the vid and gave you the download link xd
13:28
nothing special
Avatar
ChillerDragon BOT 2024-12-17 13:28
nice video!
13:28
thanks
13:29
weird because i cant even view images from the discord cdn anymore
Avatar
Jupstar ✪ 2024-12-17 13:29
nice time to delete evidence
13:29
it should work
13:29
maybe matrix gets wrong urls
13:29
https://cdn.discordapp.com/attachments/293493549758939136/1318554462427811931/image.png?ex=6762bf09&is=67616d89&hm=adf8be98817d539be297c3077892c1b6e9ac1b7b3d807c8fe191786417f741e1&
13:29
try
Avatar
Jupstar ✪ 2024-12-17 13:30
yeah
13:30
that's my img xd
Avatar
ws-client BOT 2024-12-17 13:30
<ChillerDragon> weird wait
13:30
<ChillerDragon> can you send a image on discord rl quick?
13:31
<ChillerDragon> i think its me stripping query params that used to work
Avatar
Jupstar ✪ 2024-12-17 13:31
13:37
<ChillerDragon> omg finally no more matrix booting
Avatar
Jupstar ✪ 2024-12-17 13:38
irc pro mode
Avatar
ws-client BOT 2024-12-17 13:38
<ChillerDragon> all this time i actually locked my self out. Because 7 months ago it was possible to strip off all the tracking query params and it would still load then they changed it and i thought they require discord session cookies but they just require the spyware url
Avatar
which spyware url? the discord one?
Avatar
ws-client BOT 2024-12-17 13:41
<ChillerDragon> ?ex=6762bf09&is=67616d89&hm=adf8be98817d539be297c3077892c1b6e9ac1b7b3d807c8fe191786417f741e1&fav=hentai&gender=helicopter&location=28.12818818,8.172812&age=21
13:41
<ChillerDragon> this part
13:42
<ChillerDragon> urls that contain more than the unique identifier for the relevant ressource are sus
13:43
<ChillerDragon> im sure somewhere in the long hex string is enough information to figure out jupstars political orientation
Avatar
its literally just a string to prevent images to be views outside of discord for more than 24 hours for... some reason
Avatar
ChillerDragon
13:47
There is a bug on my server that no "trails" work
13:47
for example, when I write infAtom and idi shows that it works, but there are no flying things
13:47
although the rainbow works with the same ID
13:47
and also with all the bullets
Avatar
Koll Potato 2024-12-17 13:56
omg chiller still helping
13:56
legend
Avatar
ws-client BOT 2024-12-17 13:57
<ChillerDragon> @Evelyn maybe you are out of snap items tee_thinking InfAtom works on my local server
Avatar
Avatar
ws-client
<ChillerDragon> @Evelyn maybe you are out of snap items tee_thinking InfAtom works on my local server
Maybe I did something wrong
Avatar
ws-client BOT 2024-12-17 13:57
<ChillerDragon> im joining you sec
Avatar
chillergpt
Avatar
ws-client BOT 2024-12-17 14:03
<ChillerDragon> @Evelyn omg there are no projectiles on all of your servers wtf?
Avatar
I'm hz
14:03
don't know
Avatar
btw did we ever fix the problem where a really long hook might get network clipped
14:08
i fixed it before in moment cap but i don't remember why i thought it wouldn't make sense for ddnet
Avatar
GitHub BOT 2024-12-17 14:10
DDNet 18.8 breaks windows 7 support, 18.7 works well. When i try to launch 18.8 i get kernel32.dll GetSystemTimePreciseAsFile error. !image
Avatar
ChillerDragon
14:16
Is it possible to keep records with TestCMD enabled?
Avatar
ws-client BOT 2024-12-17 14:28
<ChillerDragon> @Evelyn no they are for testing on test servers not for cheating on production servers
14:28
<ChillerDragon> what is "moment cap" @TsFreddie ?
Avatar
the photoshoot event thing
Avatar
ws-client BOT 2024-12-17 14:30
<ChillerDragon> a
Avatar
epyc
14:41
Avatar
cant paste 😭
Avatar
canned paste? mmm yummy
Avatar
@Jupstar ✪ is this channel the only place you talk about your client project
15:22
or is there a dedicated server
Avatar
#include <iostream> #include <ctime> using namespace std; template <typename T> int factorial(T n) { if (n == 0) return 1; if (n == 1) return 1; return n * factorial(n - 1); } void random(int arr[], const int SIZE); int main() { srand(time(NULL)); setlocale(LC_ALL, "EN"); const int size = 10; int array[size]; cout << "Enter any variable: "; int a; cin >> a; int *px = &a; cout << "Address of your variable in the program: " << px << endl; cout << "Your variable: " << *px << endl; cout << "Factorial of your number: " << factorial(a) << endl; } void random(int arr[], const int SIZE) { for (int i = 0; i < SIZE;) { bool Here = false; int ab = 0 + rand() % 10; for (int j = 0; j < SIZE; j++) { if (arr[j] == ab) { Here = true; break; } } if (!Here) { arr[i] = ab; ++i; } } for (int i = 0; i < SIZE; i++) { cout << arr[i] << endl; } }
16:41
Is the code normal for a C++ beginner?
Avatar
looks normal from my phone
Avatar
Here I used pointers , and there is also a function for filling the array with random unique numbers, as well as a function for
Avatar
you can just put your whole random function before main and you wont have to forward declare
Avatar
It's more convenient for me
Avatar
factorial if statements might be changed to n <= 1
Avatar
Avatar
Ewan
looks normal from my phone
I compiled it through Visual studio 2022 so the code should work
Avatar
in main, defining size for that array is redundant
16:44
but these things are not important for rn and will be optimized away
16:44
nice job
Avatar
To program over ddnet, do you need to study object-oriented programming?
Avatar
using SIZE for a const just defined as such in a fn arg (and not a constexpr or preprocessor constant) is a little unusual, same as Here being capitalized, but that’s just preference
Avatar
Avatar
Evelyn
To program over ddnet, do you need to study object-oriented programming?
Yes
16:45
Not really study but at least understand the basics. It’s used heavily in the overall architecture of the game
16:47
specifically you should understand interface vs implementation classes, RAII, and probably SOLID principles if you were to write your own objects for it. ddnet itself handles much of this kind of sloppily too
16:48
i also just noticed your using namespace std at the top of the file. not inherently objectionable but unusual and not actually seen often in real code, afaik I mostly only see it in learning scenarios where ppl are bothered by typing std over and over
16:48
i’d at least move it into the scope of the function where you need it
16:49
it has a genuine use but it pollutes the global namespace
Avatar
free CS courses?
16:49
sign me up
16:51
i was bored in a meeting nouis
Avatar
worker gang
Avatar
so true
16:57
oh yeah imm curious why in ab you add that all to 0. that doesn’t accomplish anything
Avatar
GitHub BOT 2024-12-17 17:02
41e37fc Add template EscapeUrl() which automatically obtains the given array size - Kaffeine d9573fb Add 'sv_maps_base_url' to support map download https urls - Kaffeine 257e634 Merge pull request #9395 from infclass/kaffeine/map-url - heinrich5991
Avatar
Avatar
Ewan
oh yeah imm curious why in ab you add that all to 0. that doesn’t accomplish anything
In what sense?
Avatar
0+ rand() % 10
17:29
0+ is redundant
17:30
rand()%10 would do the same thing
Avatar
you need to ask me who wrote it so that it works from 0 , if by default it already works from 0
Avatar
did you write this yourself @Evelyn ?
17:41
it's not half bad, some redundant code and it could be improved in a few places, but all in all it's decent. you could refactor certain things, for example: c++ if (n == 0) return 1; if (n == 1) return 1; could be refactored to: c++ if (n <= 1) //smaller than or equal to 1, return 1;
17:42
these are just common practices you often see, they remove boilerplate code and increase readability
Avatar
Avatar
MilkeeyCat
@Learath2 type inference, WOOO
MilkeeyCat 2024-12-17 17:42
it's time to implement Display trait for ir because it's already annoying debugging when it infers wrong type 😬
Avatar
why not debug trait
17:43
oh, for IR
17:43
lol
17:43
i thought you said it.
17:43
i dont understand
Avatar
god i love rust so much...
17:43
ive been waiting 47 years!
Avatar
i wanna get sccache set up on my network
Avatar
Can someone explain to me why #9396 is not merged?
Avatar
Try to fix the opacity wrongly applied to the jump effect when spectating others while you are in solo mode. However, I am unfamiliar with this part of the code, so I&#39;m unsure if there shou...
Avatar
The test seems wrong
Avatar
to me, it’s not super obvious what it does just at a glance
Avatar
lol is the build CI borked?
Avatar
and maintainers may not test it unless you put up more of a fight
Avatar
Avatar
meloƞ
lol is the build CI borked?
says checks are fine for me, but that’s on github mobile
Avatar
on ubuntu-20.04
Avatar
But I see other prs merged without any problem
17:46
greenthing
Avatar
probably ppl havent seen it
17:47
Oh lmfaooo
17:47
it’s in the merge queue
Avatar
deen added it to the merge queue already kekw
Avatar
Shouldn't be my job anyway owo
Avatar
roby is on it
17:49
i see your every move roby Staree
Avatar
Avatar
meloƞ
on ubuntu-20.04
Looks like the clone for googletest failed with HTTP 503, which later causes this cryptic error
Avatar
interesting
Avatar
Avatar
Ewan
i dont understand
MilkeeyCat 2024-12-17 17:51
me neither
Avatar
Avatar
meloƞ
did you write this yourself @Evelyn ?
Yes, but to make it more convenient for you, I translated the entire output in cout into English through the neural network
Avatar
Avatar
meloƞ
it's not half bad, some redundant code and it could be improved in a few places, but all in all it's decent. you could refactor certain things, for example: c++ if (n == 0) return 1; if (n == 1) return 1; could be refactored to: c++ if (n <= 1) //smaller than or equal to 1, return 1;
Koll Potato 2024-12-17 18:05
the first one is more readable tbh justatest
18:10
c6dd144 Fix jump effect opacity - Pioooooo 3d1c090 Merge pull request #9396 from Pioooooo/fix-jump-effect-opacity - Robyt3
Avatar
Avatar
meloƞ
it's not half bad, some redundant code and it could be improved in a few places, but all in all it's decent. you could refactor certain things, for example: c++ if (n == 0) return 1; if (n == 1) return 1; could be refactored to: c++ if (n <= 1) //smaller than or equal to 1, return 1;
return n <= 1
Avatar
for (int i = 10; 0 <-- i;) { //stuff } This is how C loops work, right?
💀 4
18:20
for (int i = 10; i --> 0;) { //stuff } has slightly different behavior and also quite useful troll
Avatar
cursed but also kinda cool
Avatar
what am i looking at lol
18:49
i-- > 0
18:49
i see
18:49
lmfao
Avatar
i like this pattern tbh
19:05
though it’s misleading
Avatar
Sadly for (int i = 0; i ++> 10;) { //stuff } doesn't look nearly as nice and also isn't nearly as obfuscated lol
Avatar
Luckily in C++ we can make it work both ways through operator overloading :) :) :) Nothing wrong with that, right?
Avatar
Avatar
risu
Sadly for (int i = 0; i ++> 10;) { //stuff } doesn't look nearly as nice and also isn't nearly as obfuscated lol
That won't work xd
Avatar
oh whoops got the direction wrong
Avatar
i is 0 and you're checking against i > 10 xd
Avatar
clearly we need to write operator overloading magic :D
Avatar
htrudfhdfhuytryfghnj 2024-12-17 20:32
Developers, please add a list of server stories to the game and update the design — it looks too harsh and distracting.
Avatar
A server history wouldn't make much sense in the community tabs, but maybe in the Internet tab.. sounds actually reasonable. What do you mean with "update the design"? I for example like the server browser design, what would you change? And how? (edited)
Avatar
Avatar
meloƞ
A server history wouldn't make much sense in the community tabs, but maybe in the Internet tab.. sounds actually reasonable. What do you mean with "update the design"? I for example like the server browser design, what would you change? And how? (edited)
htrudfhdfhuytryfghnj 2024-12-17 20:36
(nice joke) i mean a game (my love game DDraceNetwork) (edited)
Avatar
MilkeeyCat 2024-12-17 20:38
Developers, add battle pass please
💡 1
👍 1
Avatar
And lootboxes and hats
💡 1
👍 1
Avatar
MilkeeyCat 2024-12-17 20:38
and pay 2 win features
💡 1
👍 1
Avatar
Avatar
risu
And lootboxes and hats
htrudfhdfhuytryfghnj 2024-12-17 20:38
say "Please"
Avatar
Avatar
htrudfhdfhuytryfghnj
say "Please"
Please
👍 1
Avatar
MilkeeyCat 2024-12-17 20:38
laser for $9.99 at any moment in the run
💡 1
Avatar
htrudfhdfhuytryfghnj 2024-12-17 20:42
Well, if they don't answer, then they don't know how and can't do it for the word "Please"
😭 1
Avatar
Avatar
htrudfhdfhuytryfghnj
Developers, please add a list of server stories to the game and update the design — it looks too harsh and distracting.
wdym harsh and distracting?
Avatar
DDNet 18.8 breaks windows 7 support, 18.7 works well. When i try to launch 18.8 i get kernel32.dll GetSystemTimePreciseAsFile error.
22:27
is there even anything done with rust in the codebase?
Avatar
Avatar
kebs
is there even anything done with rust in the codebase?
Jupstar ✪ 2024-12-17 22:30
the master server some basic cxx bridge the next network protocol will most likely be in rust too
🤔 1
Avatar
Avatar
Jupstar ✪
the master server some basic cxx bridge the next network protocol will most likely be in rust too
oh no not the networking
Avatar
Jupstar ✪ 2024-12-17 22:37
?xd
Avatar
After a chat with Freddie earlier I'm considering working on it, but like, I'm not learning Rust for this
Avatar
Avatar
risu
After a chat with Freddie earlier I'm considering working on it, but like, I'm not learning Rust for this
Jupstar ✪ 2024-12-17 22:39
and what do you plan to do?
Avatar
Avatar
Jupstar ✪
and what do you plan to do?
I guess the main part of it would be in prediction instead of really networking, and there's plans for that going on, so I should probably go along with that instead
22:43
but general idea is that you can get away with sending a whole lot less over the network if you rely on prediction more
Avatar
Jupstar ✪ 2024-12-17 22:44
mh
22:44
i believe it when i see it xddd
22:44
but yeah i meant like the network backend
22:44
not how the game interacts with the server
Avatar
Avatar
Jupstar ✪
the master server some basic cxx bridge the next network protocol will most likely be in rust too
master server isnt in the client, cxx bridge is useless until network protocel get implemented which i suspect not in the near future
Avatar
WhiteKitty 2024-12-17 23:16
Hey where can I find the code with the message: 'player' joined team ?
Avatar
WhiteKitty 2024-12-17 23:40
Is there another function like this somewhere because I removed it for testing and the same message appears?
Avatar
ctrl + shift + f
23:42
in vs code
Avatar
WhiteKitty 2024-12-17 23:42
i try but didnt found it
Avatar
search for join
23:42
case sensitive
23:43
recompile the code, restart server
Exported 357 message(s)
Timezone: UTC+0