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-08 00:00 and 2024-12-09 00:00
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@murpi was wondering why don't we just make it auto rescue that plays a death effect (so it looks exactly like a death but it puts you back to rescue)
02:21
what was disabling killtile trying to solve to begin with justatest
Avatar
that was proposed but denied because it could cause a loop with certains maps or something
02:23
but tbh idk why it matters because /r can also cause a loop
Avatar
since you can just tp. i honestly think being killed is not even that big of a deal
Avatar
tp is much much slower than pressing a /r bind
02:35
which I assume is the entire motivation
Avatar
i see
02:37
making /r works after a kill is probably an option too
02:37
probably*
Avatar
/r works by saving the last time you were grounded and unfrozen afaik
02:38
so respawning resets it instantly
02:38
idk how you fix that in a clean way
02:38
kill tiles also give you a longer respawn than kill for some reason I think?
02:39
it's like a whole second or more
Avatar
we can reset it when passing beginning line
Avatar
then you can't use /r on noob filters
02:39
or anything before the start
Avatar
that is trun
02:41
true*
02:41
ye, probably it is good as-is
Avatar
chillerdragon BOT 2024-12-08 04:04
Are you on macOS or did windows stop looking ass?
Replying to @Robyt3 IMG_20241207_223451.jpg
Avatar
Avatar
chillerdragon
Are you on macOS or did windows stop looking ass?
It's android 😂
Avatar
chillerdragon BOT 2024-12-08 04:41
Woah I remember android way more ugly too
Avatar
android is not even a single thing anymore
05:35
AOSP itself doesn't even function properlyjustatest
05:36
AOSP is still ugly tho
Avatar
GitHub BOT 2024-12-08 06:29
379bdd1 support escaped double quote - TsFreddie faf0af5 Merge pull request #9352 from TsFreddie/fix-lang-double-quote - def-
06:45
Avatar
MilkeeyCat 2024-12-08 07:10
wat
07:10
you have some defines above, don't you? xd
Avatar
ws-client BOT 2024-12-08 07:26
<ChillerDragon> @MilkeeyCat yea the spoiler is in the paste i sent
07:27
<ChillerDragon> yo @MilkeeyCat TIL C has some really cool pointer type safety that C++ does not have. But as of right now the C++ tests die on C only features in the lib.
07:27
<ChillerDragon> We have this right PacketKind *decode(uint8_t *buf, size_t len, Error *err); it could be PacketKind *decode(size_t len, uint8_t *buf[static len], Error *err); and then the compiler can throw a warning if the buffer is NULL or of wrong length
07:28
<ChillerDragon> ops without the * PacketKind *decode(size_t len, uint8_t buf[static len], Error *err);
07:28
<ChillerDragon> what are your thoughts on C++ compatibilty in general?
07:30
<ChillerDragon> in the C++ tests you include with extern "C" {} does that mean that users of the library form C++ should also do that? What about some pure C headers with all the shiny C only features and then dedicated C++ headers with bunch of #ifdef __cplusplus
Avatar
MilkeeyCat 2024-12-08 07:32
to include C header in C++ program you have to use extern "C" {} because otherwise C++ compiler will mangle symbols' names
07:34
but we can do #ifdef __cpluplus extern "C" { #endif blah blah #ifdef __cpluplus } #endif to not make c++ lib users write this extern thingy each time
07:39
i didn't know about uint8_t buf[static len] trick
Avatar
ws-client BOT 2024-12-08 07:49
<ChillerDragon> ye its crazy stuff
07:49
<ChillerDragon> you can also do unpacker_init(Unpacker unpacker[static 1]) instead of unpacker_init(Unpacker *unpacker) to catch null pointer dereferences at compile time also for the lib users!
Avatar
MilkeeyCat 2024-12-08 07:50
but it works well only if I have integer literal in front of static
Avatar
ws-client BOT 2024-12-08 07:50
<ChillerDragon> yea we have to change the arg order
Avatar
MilkeeyCat 2024-12-08 07:50
when I use uint8_t buf[static len] it doesn't show a warning when the buffer is smaller
07:50
only if it's null
Avatar
ws-client BOT 2024-12-08 07:50
<ChillerDragon> do you use clang or gcc?
Avatar
MilkeeyCat 2024-12-08 07:50
clang
Avatar
ws-client BOT 2024-12-08 07:50
<ChillerDragon> you need bleeding edge gcc i think
Avatar
MilkeeyCat 2024-12-08 07:51
justatest
Avatar
ws-client BOT 2024-12-08 07:51
<ChillerDragon> also C23 added booleans lol
07:51
<ChillerDragon> and auto keyword like in C++
Avatar
MilkeeyCat 2024-12-08 07:52
  • Mom, can we have booleans?
  • We already have boolean at home.
  • Booleans at home: typedef enum { false, true } bool;
(edited)
Avatar
ws-client BOT 2024-12-08 07:53
<ChillerDragon> yea ikr i just figured out today that C23 is a thing and there is new stuff blew my mind
07:54
<ChillerDragon> nice thanks
Avatar
ws-client BOT 2024-12-08 08:57
<ChillerDragon> @MilkeeyCat 108 commits without spawning a tee ._.
Avatar
MilkeeyCat 2024-12-08 08:57
because half of those just me merging your commits xd
Avatar
ws-client BOT 2024-12-08 08:57
<ChillerDragon> true
08:58
<ChillerDragon> merge commit inflation
Avatar
Reset rebase regret revert
09:15
Uhhh reflog
09:15
Regret is a git command
12:00
1d5a7f3 DDNet 18.8 - def- 0d601c0 Merge pull request #306 from ddnet/pr-18.8 - def-
Avatar
GitHub BOT 2024-12-08 12:20

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 (especially base/) or added coverage to integration test
  • [ ] 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-addres...
Avatar
GitHub BOT 2024-12-08 12:33
Changes since previous version 1.2.13:

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed n...
Avatar
GitHub BOT 2024-12-08 13:01
2174cd0 Combine CCollision::IsMover/CpSpeed functions as MoverSpeed - Robyt3 366a8b1 Combine CCollision::GetDTile* functions as GetDoorTile - Robyt3 36568ec Rename CCollision functions for readability: avoid abbreviations - Robyt3 60693bc Merge pull request #9363 from Robyt3/Collision-Function-Cleanup - def-
13:29
e4b1380 Upgrade to zlib 1.3.1 - Robyt3 cfefe25 Merge pull request #9364 from Robyt3/Zlib-Upgrade - def-
14:12
#include <iostream> #include <time.h> using namespace std; int main() { setlocale(LC_ALL, "EN"); srand(time(NULL)); int random = 1 + rand() % 40; cout << "Random: " << random << endl; cout << "Launching calculator" << endl; float a, b, c; cout << "Enter the 1st number: "; cin >> a; cout << "Enter the 2nd number: "; cin >> b; char math; cout << "Enter a mathematical operation (+, -, /, *): "; cin >> math; switch (math) { case '+': c = a + b; break; case '-': c = a - b; break; case '*': c = a * b; break; case '/': c = a / b; break; default: cout << "Invalid operation"; return 1; } cout << "Result: " << c << endl; return 0; } I wrote my calculator in c++, I continue to teach. So the ddnet programming is not far away lol
Avatar
no fucking way
14:52
go look at mozilla right now
14:53
14:53
what the fuck is thatt???
14:53
it hasnt spread to the browser yet
14:53
could be worse
14:53
realy shows how much of a mess the company is tho
Avatar
what's wrong ?
15:07
if i'm making numeric class in c++, i.e. one that holds valid numeric data, do i have to right operator overload for all int and float types and for right and left operand ?
Avatar
Avatar
Chairn
if i'm making numeric class in c++, i.e. one that holds valid numeric data, do i have to right operator overload for all int and float types and for right and left operand ?
you can use a template
Avatar
chillerdragon: fix your app
Avatar
omg im there on the list
Avatar
RUS DDNet 18.8 на Windows 7 не работает! Только сейчас все работало, после обновления выскакивает ошибка: Точка входа в процедуру GetSystemTimePreciseAsFileTime не найдена в библиотеке DLL KERNEL32.dll. Как фиксить или сидеть на 18.7? ENG !!TRANSLATOR, I'M SORRY FOR THE MISTAKES!! DDNet 18.8 does not work on Windows 7! Only now everything was wo...
15:40
might be important
Avatar
What should I do if everything is shaking in ddnet?
16:02
other versions don't even compile (edited)
Avatar
interesting
16:02
he implied 18.7 works
16:02
he didn't say it tho, it was just implied
Avatar
Avatar
Vadim67
What should I do if everything is shaking in ddnet?
Try a different server, the server you're on is probably experiencing a DDoS attack
Avatar
maybe not 18.3, i don't know why i thought about this one, but i know some changes introduced beginning or first semester of 2024 broke game on win 7
Avatar
Avatar
risu
Try a different server, the server you're on is probably experiencing a DDoS attack
unless by "everything" you mean more than just your camera jittering about
Avatar
recently, i had to change something in log.cpp to compile on win 7
Avatar
nankudo ᵃᵗᵗᵃᶜᵏ 2024-12-08 16:48
hi, how can i get m_World in server.cpp?
Avatar
BuT ThE BaCkWaRdS CoMpAtAbiLiTy (edited)
Avatar
Jupstar ✪ 2024-12-08 18:43
xd
Avatar
Avatar
nankudo ᵃᵗᵗᵃᶜᵏ
hi, how can i get m_World in server.cpp?
game[...] (gameworld, gamecontext (gameserver), gamecontroller) has m_World which "sits ontop" (you can get server from gameserver, but not visa versa) of server, so you cant get it in server. you probably want to implement whatever you are doing somewhere else ^ also cant find objects, but hopefuly it helps anyway (edited)
Avatar
Avatar
Solly
Click to see attachment 🖼️
Is there something wrong? what changed? (edited)
Avatar
Avatar
Solly
Click to see attachment 🖼️
you guys will get used to it
Avatar
browser company redesigned their website? unprecedented...
Avatar
everyone always complaisn when anything changes
Avatar
I actually don't understand, did they change some policies?
22:21
wayback shows their homepage changes pretty often so idk
Avatar
Avatar
Tater
browser company redesigned their website? unprecedented...
no but it always gets worse
22:51
they changed the logo of mozzila to a green flag
22:51
next they are gonna turn firefox into a orange F
Avatar
idk, I don't think it's any worse than Moz://a
22:53
their logo before was just an M? right? (edited)
22:53
I don't know what their logo is
Avatar
i thought the :// was the old logo
22:54
now the new one looks like a flag
Avatar
you guys know that tech conscious people make up very little of the browser market
23:14
the only possible way for Firefox to even have survived as long as it has is for them to market
23:15
and if this is their marketing strategy i actually see nothing wrong with it considering their competitors
23:16
i liked their :// logo personally
Avatar
:// was like web standards
23:16
but now that i think about it yeah it kinda sucekd
23:16
but less than green flag
Avatar
idk what future mozilla has without the google paycheck, no one likes firefox for some reason
Avatar
firefox logo rocks tho
Avatar
maybe if google nukes ad blockers hard enough people will switch
23:18
also idk how they make money even if they have a larger marketshare
Avatar
Avatar
Tater
idk what future mozilla has without the google paycheck, no one likes firefox for some reason
as for chrome, safari and edge theyre all just burning money (well edge isnt cuz its just chrome) to just platform lock people
23:36
chrome it sorta makes sense because google? but.. then it pays everyone else to use google aswell
23:37
so mozillas sitting there without the rest of the faang
Avatar
for them it's a loss leader but it still makes them money overall, mozilla has no second order benefits from making a browser
Avatar
how does safari or edge make money?
Avatar
safari integrates into the apple ecosystem and contributes to people buying Macs
Avatar
Avatar
Tater
safari integrates into the apple ecosystem and contributes to people buying Macs
ive used safari, its not like... any better than the rest of them
Avatar
sure but that's what it does
Avatar
its just different enough thats its hard to switch
23:38
i guess thats part of locking people in
23:39
then what about edge
Avatar
you can't just say it's about locking people in when safari has been around for 20 years, long before there was any sort of similarity and standards between browsers (edited)
23:40
apple made something because they thought they could do better than everyone else
23:40
edge is the same
23:44
I think safari is also genuinely a unique enough product to justify its existence, macos NEEDs to ship with a default browser and I can't imagine them picking google or microsoft for that in a million years (edited)
Avatar
Avatar
Tater
apple made something because they thought they could do better than everyone else
this is a common theme btw, everything they do is because of this (edited)
Avatar
Avatar
Tater
I think safari is also genuinely a unique enough product to justify its existence, macos NEEDs to ship with a default browser and I can't imagine them picking google or microsoft for that in a million years (edited)
firefox :D
Avatar
Avatar
Tater
this is a common theme btw, everything they do is because of this (edited)
m4a my beloved
Exported 147 message(s)
Timezone: UTC+0