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-09-05 00:00 and 2024-09-06 00:00
Avatar
GitHub BOT 2024-09-05 00:27
Add option to disable auto map reload feature (hot_reload) in editor. Currently you need to log out of rcon to avoid it which seems inconvenient to me. On larger maps it may be preferable to reload manually anyway as it takes a long time. (see #8824) !automapreload

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibl...
Avatar
chillerdragon BOT 2024-09-05 00:38
Zwelf has some in twgame iirc
Replying to @JSaurusRex I have a question, a while back i set out to create a physics checker te…
00:43
And the ddnet repo has basic integration tests that make sure that a tee gets a finish time when spawning and being pushed by speedups into the finish line
Avatar
how turn off hot reload?
02:20
while saveing
Avatar
Avatar
Matodor
made volleyball greenthing
Looks strange, but cool xd
Avatar
is there a way to debug shader
Avatar
Avatar
Ewan
I took (and failed) a vector graphics class in HS and I can still work my way around Inkscape very well
npo i prefer to use my time coding the emulator
Avatar
MilkeeyCat 2024-09-05 06:46
@Learath2 im thinking about changing variable declaration syntax
06:47
because I tried to move checking if variable exists from parser and I got fucked by ident * ident again (edited)
Avatar
Avatar
MilkeeyCat
because I tried to move checking if variable exists from parser and I got fucked by ident * ident again (edited)
What expression are you having an issue parsing?
Avatar
MilkeeyCat 2024-09-05 06:55
a * b vs Type* ptr
06:56
without type table(which I don't use), I can't know whether it's a type or multiplication
06:56
i wanted to allow using structs which are declared after a function it's used in
Avatar
Avatar
MilkeeyCat
without type table(which I don't use), I can't know whether it's a type or multiplication
I don't think changing the syntax fixes this
07:38
Ah maybe it could work
07:38
Something like let x: i8 = 10
Avatar
Avatar
Learath2
I don't think changing the syntax fixes this
MilkeeyCat 2024-09-05 07:38
If you have let a: Type = 5;
07:38
Yea
Avatar
Avatar
MilkeeyCat
If you have let a: Type = 5;
MilkeeyCat 2024-09-05 07:38
Then you know what's the type and what's the variable name
Avatar
ITT @Learath2 and @MilkeeyCat keep discovering why modern languages look the way they do and not like C
Avatar
Avatar
Learath2
ITT @Learath2 and @MilkeeyCat keep discovering why modern languages look the way they do and not like C
MilkeeyCat 2024-09-05 07:48
Do you like rust syntax or you have better ideas? :DD (edited)
Avatar
You can use a different symbol for dereference 🙃
07:50
I think the rust syntax is fine
Avatar
GitHub BOT 2024-09-05 07:52
c9e7e0f add ed_auto_map_reload setting - dobrykafe 5b0163d Merge pull request #8896 from dobrykafe/pr-auto-map-reload-setting - def-
Avatar
Avatar
Learath2
You can use a different symbol for dereference 🙃
MilkeeyCat 2024-09-05 07:53
@ justatest
07:53
Like, AT that location xd
Avatar
chillerdragon BOT 2024-09-05 08:01
Yes @ is way better than & or *
Avatar
Avatar
TsFreddie
is there a way to debug shader
Maybe "RenderDoc"
Avatar
MilkeeyCat 2024-09-05 08:48
@Learath2 thoughts on variable immutability by default? (edited)
Avatar
There will be an option for it in the next nightly in the editor settings tab.
Replying to @triki while saveing
Avatar
GitHub BOT 2024-09-05 09:07
Fixes #8893 /tpxy already has argument validation and checks for a valid float. I also changed the ParseArgs definition because it makes more sense to use a bool for what we want, rather than passing an entire object

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 ...
Avatar
Avatar
MilkeeyCat
@Learath2 thoughts on variable immutability by default? (edited)
Eh, imo no point, it makes sense for rust because there can only be one mutable reference
Avatar
my riscv emu now can run a fib program
Avatar
Avatar
Learath2
Eh, imo no point, it makes sense for rust because there can only be one mutable reference
MilkeeyCat 2024-09-05 09:24
true, borrow checkers for people who don't know what they're doing, I certainly do :clueless:
Avatar
Avatar
MilkeeyCat
true, borrow checkers for people who don't know what they're doing, I certainly do :clueless:
Exactly, be brave
09:25
Perhaps implement a proper const for your language
Avatar
MilkeeyCat 2024-09-05 09:26
first I'll have to know how it works xd
Avatar
GitHub BOT 2024-09-05 09:45
796fa42 Fix tpxy arg validation - KebsCS 5335813 Merge pull request #8897 from KebsCS/pr-command-argument-validation - def-
Avatar
Avatar
Learath2
Exactly, be brave
MilkeeyCat 2024-09-05 09:50
elp, what syntax would make sense for C's int arr[] = {12,3,4}; in rusty version, in internet i found you can omit the type and it infer it automagically(about rust) (edited)
Avatar
let arr: int[] = [12, 3, 4]? (edited)
Avatar
Avatar
Learath2
let arr: int[] = [12, 3, 4]? (edited)
MilkeeyCat 2024-09-05 09:53
ok, I didn't use my noodle at all :\ Here's new goal btw
Avatar
Avatar
MilkeeyCat
ok, I didn't use my noodle at all :\ Here's new goal btw
Btw, maybe it's easier to just go with the C way, just {} for all initializer lists. Special casing arrays to use [] seems like a pointless exercise
Avatar
Avatar
MilkeeyCat
ok, I didn't use my noodle at all :\ Here's new goal btw
MilkeeyCat 2024-09-05 09:56
should the * be before the type name or after thonk
Avatar
Avatar
jxsl13
.demo.jpg or .demo.zip -> upload
nop troll
Avatar
Avatar
MilkeeyCat
should the * be before the type name or after thonk
idk up to you, I'm more used to after but again it's your language 😄
Avatar
Avatar
MilkeeyCat
Click to see attachment 🖼️
Your language is turning out like a rustish version of go
Avatar
MilkeeyCat 2024-09-05 10:18
it's turning out like a bunch of stuff I can think of in one lang xd
10:18
but I'll ask your opinion about the thing first xddd
Avatar
Avatar
MilkeeyCat
Click to see attachment 🖼️
The modern version of rolling dice? 😄
Avatar
MilkeeyCat 2024-09-05 10:35
that's what chat gpt was made for
Avatar
GitHub BOT 2024-09-05 11:00
Closes #8880 Instead of doing nothing to the non-community servers, it'll keep them when selecting a single flag to avoid confusion. With no filter flags, clicking will enable both the flag and the 'none' flag. When one flag and the 'none' flag are enabled, clicking on the flag will disable all flags https://github.com/user-attachments/assets/262d2385-0b8c-4da3-ad8c-d64f0c416fb5

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change...
Avatar
Avatar
MilkeeyCat
ok, I didn't use my noodle at all :\ Here's new goal btw
MilkeeyCat 2024-09-05 11:54
I'll also yoink -> after () in function because let foo: fn(u8): u32 = ...; looks bad xd
Avatar
Avatar
MilkeeyCat
I'll also yoink -> after () in function because let foo: fn(u8): u32 = ...; looks bad xd
It makes more and more sense 😄
Avatar
hello frens
13:34
today was a weird day
Avatar
chillerdragon BOT 2024-09-05 13:34
Why
Avatar
i won a argument in rust reddit defending cpp having 1 feature rust doesnt
13:34
Avatar
chillerdragon BOT 2024-09-05 13:34
LMAO
Avatar
i know i won cuz the guy deleted his comments xdd
Avatar
chillerdragon BOT 2024-09-05 13:34
Ryo c++ maximalist
Avatar
cyberfighter 2 2024-09-05 13:35
@keb redditor
Avatar
chillerdragon BOT 2024-09-05 13:35
Defender of unsafe code
Avatar
cyberfighter 2 2024-09-05 13:35
wholesome chungus moment
Avatar
@Learath2 check this out
Avatar
GitHub BOT 2024-09-05 13:35
fa28ed7 Change country and types filter behavior - KebsCS e0a95d1 Merge pull request #8898 from KebsCS/pr-country-filters - def-
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
MilkeeyCat 2024-09-05 13:35
Avatar
chillerdragon BOT 2024-09-05 13:36
Catto you are lucky Heinrich is in a coma
Avatar
heinrich agrees iirc
13:37
he mentioned it too iirc
13:37
but im happy if heinrich proves rust has placement new, cuz then it means rust has it
13:37
and im rust maximalist
Avatar
chillerdragon BOT 2024-09-05 13:37
But he would not approve posting gifs I mean
13:37
ah ok
Avatar
MilkeeyCat 2024-09-05 13:37
he definitely would
13:37
he's just not here to say it
Avatar
chillerdragon BOT 2024-09-05 13:37
Where is that guy
Avatar
Jupstar ✪ 2024-09-05 13:37
I think milkeey is whitelisted for GIFs
Avatar
chillerdragon BOT 2024-09-05 13:37
Woah
13:38
Am I whitelisted for Russian then?
13:38
priviet ruski jest?
Avatar
Avatar
Ryozuki
@Learath2 check this out
What has the world come to? Ryozooki defending C++
Avatar
my rysk emulator can run a fib function
13:38
im proud
13:38
soon a entire os, aka xv6
Avatar
Avatar
Learath2
What has the world come to? Ryozooki defending C++
he is kept hostage
13:38
#freeryo
Avatar
Avatar
Learath2
What has the world come to? Ryozooki defending C++
im a defender of reason, it just happens that rust is better 99% of time
Avatar
Also I assume Heinrich is on vacation
Avatar
tbh llvm probs optimizes the moves but its not a guarantee
13:39
in rust case
Avatar
chillerdragon BOT 2024-09-05 13:39
Vacation from ddnet :justatest:
Avatar
Is there no unsafe placement new of sorts?
Avatar
nope
13:39
maybe
13:39
with the box keyword
13:39
but its nightly whitelisted keyword only for std internals
Avatar
Avatar
cyberfighter 2
@keb redditor
i looooove reddit
Avatar
chillerdragon BOT 2024-09-05 13:40
I would have assumed you to be a 4chan enjoyer keb
Avatar
maybe it doesnt even exist anymore the box
13:41
This is a tracking issue for the unstable placement_new_protocol feature in the standard library, and placement_in_syntax/box_syntax in the compiler. (@pnkfelix adds below:) Things to decide / fina...
Avatar
Avatar
chillerdragon
I would have assumed you to be a 4chan enjoyer keb
cyberfighter 2 2024-09-05 13:41
no
Avatar
"reddit"
Avatar
MilkeeyCat 2024-09-05 13:53
@Learath2 changing the syntax made parsing so much easier xd
Avatar
Avatar
MilkeeyCat
@Learath2 changing the syntax made parsing so much easier xd
Probably why tooling for modern languages are so much faster. Context free languages are trivial to parse
Avatar
Avatar
Learath2
Probably why tooling for modern languages are so much faster. Context free languages are trivial to parse
MilkeeyCat 2024-09-05 14:04
yep, and it will also solve my tree sitter problems
14:04
poggers2
14:04
but i have to rewrite rules pepeW
Avatar
chillerdragon BOT 2024-09-05 14:24
ryo wats slower? emerge or brew?
14:25
Eh no portage is what it is called
14:26
I run brew upgrade like 4 times a year and it always takes forever apt just feels so much faster
Avatar
chillerdragon BOT 2024-09-05 14:36
tosche
Avatar
ws-client BOT 2024-09-05 15:13
<ChillerDragon> what video was that?
15:14
<ChillerDragon> @Jupstar ✪
Avatar
Jupstar ✪ 2024-09-05 15:19
Chiller some on your block servers
Avatar
ws-client BOT 2024-09-05 15:19
<ChillerDragon> since when are server side bots against the rules?
15:20
<ChillerDragon> seems perfectly on topic for #developer
Avatar
Jupstar ✪ 2024-09-05 15:21
#7
Avatar
ws-client BOT 2024-09-05 15:21
<ChillerDragon> thats client side
Avatar
Jupstar ✪ 2024-09-05 15:21
you can keep that discussion in your servers
Avatar
ws-client BOT 2024-09-05 15:21
<ChillerDragon> rude
15:22
<ChillerDragon> @Ирисочка the code and even the downloadable executable is here https://github.com/DDNetPP/DDNetPP if you want more details come to https://chat.zillyhuhn.com/
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - DDNetPP/DDNetPP
15:23
<ChillerDragon> You ignored me once when i asked whats going on @Jupstar ✪ we trash talk here all day and suddenly you are being super rude to all ppl that join
15:23
<ChillerDragon> deleting a question about legit ddnet based development is a bit intense don't you think?
Avatar
Avatar
ws-client
<ChillerDragon> You ignored me once when i asked whats going on @Jupstar ✪ we trash talk here all day and suddenly you are being super rude to all ppl that join
Jupstar ✪ 2024-09-05 15:25
you are aware that i dont have any rights on this server i hope
Avatar
MilkeeyCat 2024-09-05 15:25
@Learath2 😏
Avatar
ws-client BOT 2024-09-05 15:26
<ChillerDragon> @Jupstar ✪ yea thats what i thought but you responded and someone deleted it
15:26
<ChillerDragon> at least you seem to agree so my question still stands
Avatar
Jupstar ✪ 2024-09-05 15:26
and how is that my fault
15:26
i kindly asked him to keep this dicussion somewhere else
Avatar
ws-client BOT 2024-09-05 15:26
<ChillerDragon> why?
Avatar
Jupstar ✪ 2024-09-05 15:26
because if one person is allowed to discuss it all are
15:26
and then the ppl with flawed arguments come here all day
Avatar
ws-client BOT 2024-09-05 15:26
<ChillerDragon> yes and all should be
15:27
<ChillerDragon> wdym what ppl what flawed arguments
Avatar
Jupstar ✪ 2024-09-05 15:27
as for why i try to keep russian speaking ppl out here: very simply, i get a ntf on dev channel and can't read it
15:27
not rude, simply bcs this chat isn't for russian
Avatar
ws-client BOT 2024-09-05 15:27
<ChillerDragon> okay fair
15:27
<ChillerDragon> what about the questions and the bots?
Avatar
Avatar
ws-client
<ChillerDragon> wdym what ppl what flawed arguments
Jupstar ✪ 2024-09-05 15:27
those ppl that argue with bad intentions
15:28
with arguments that might logically make sense, but clearly have a bad intention
Avatar
Ирисочка 2024-09-05 15:28
How do I write my first script for my server? What do I need to learn for this?
Avatar
ws-client BOT 2024-09-05 15:28
<ChillerDragon> C++
Avatar
Ирисочка 2024-09-05 15:28
Tty
Avatar
Jupstar ✪ 2024-09-05 15:29
chillerdragon: about the questions: i generally have nothing against it, but other ppl from the community also answer in #questions but not here
15:29
it's simply better do keep in where it makes sense
15:29
often these questions are newbie questions anyway
Avatar
ws-client BOT 2024-09-05 15:29
<ChillerDragon> hm
Avatar
Jupstar ✪ 2024-09-05 15:30
i also often answer them directly
15:30
ans say next time ask in questions
15:30
except when i dunno the answer
Avatar
ws-client BOT 2024-09-05 15:30
<ChillerDragon> so next up you will send all the devs saying "norming ☕" to #off-topic because you get notifications o.O ?
Avatar
Avatar
abricotier de noix de coco
Hey guys do you think it's possible to make automatic generation of map ? By assembling blocks or procedural generation ?
AssassinTee 2024-09-05 15:30
yes it is, I already did this with ctf maps by using an automapper, painting methods inside a 512x512 solid gametile canvas and a minimal spanning tree connecting points of interests, for race this will be harder and also for ddnet maps, others already genereate gores maps
Avatar
Avatar
ws-client
<ChillerDragon> so next up you will send all the devs saying "norming ☕" to #off-topic because you get notifications o.O ?
Jupstar ✪ 2024-09-05 15:31
i think you dont get my point
15:31
newbie questions will often not be answered here
15:31
so they get lost
Avatar
ws-client BOT 2024-09-05 15:31
<ChillerDragon> part of your point are notifications no?
Avatar
Jupstar ✪ 2024-09-05 15:31
since the discussions here are more about trump than about teeworlds
15:31
😬
15:31
well the ntfy was about russian perticually
Avatar
ws-client BOT 2024-09-05 15:32
<ChillerDragon> seems like a two class society
Avatar
Jupstar ✪ 2024-09-05 15:32
yeah
15:32
give me 50% of your money
15:32
then we have 1 class society
Avatar
ws-client BOT 2024-09-05 15:32
<ChillerDragon> developer insiders that can post off topic gifs ping you with pointless content such as "monring" and can discuss their latest TAS bots
15:33
<ChillerDragon> and non developer normies who cant write at all
Avatar
Jupstar ✪ 2024-09-05 15:33
yeah but what kind of discussion is a question: how can i make an aimbot?
15:33
that is no discussion
15:33
that is simply a request for a cheat
15:33
just bcs it's server side, what does that change?
Avatar
ws-client BOT 2024-09-05 15:33
<ChillerDragon> its legitness
Avatar
Jupstar ✪ 2024-09-05 15:33
chiller
15:33
pls
Avatar
ws-client BOT 2024-09-05 15:34
<ChillerDragon> yes i see how the same stuff can be applied client side
Avatar
Jupstar ✪ 2024-09-05 15:34
if he knows c++ on a high level, contributed to ddnet and has a question about smth in that direction, i'd say that it's more about the question
15:34
but i dunno this dude
Avatar
ws-client BOT 2024-09-05 15:34
<ChillerDragon> but the intentions are good server side and its not illegal it does not cause unfair gameplay advantage on the server side
Avatar
Jupstar ✪ 2024-09-05 15:34
he plays on mobile
15:34
what kind of discussion should this create
Avatar
ws-client BOT 2024-09-05 15:34
<ChillerDragon> lol the mobile shots
Avatar
Jupstar ✪ 2024-09-05 15:35
with that i meant, he most likkely isn't a coder
15:35
not that mobile playing is bad
Avatar
ws-client BOT 2024-09-05 15:35
<ChillerDragon> mobile coder
pepeW 2
15:35
<ChillerDragon> if he is not a coder he also wont code a bot
Avatar
Jupstar ✪ 2024-09-05 15:35
then he also doesnt need to talk about them here
Avatar
ws-client BOT 2024-09-05 15:35
<ChillerDragon> maybe he just wants to run a ddnet++ server
Avatar
Jupstar ✪ 2024-09-05 15:36
fine
15:36
i assume you have a README
Avatar
ws-client BOT 2024-09-05 15:36
<ChillerDragon> yes
Avatar
Jupstar ✪ 2024-09-05 15:48
chillerdragon: i have a question. Do you know these moments where you want to fix a small bug, and then rewrite 50% of your code base xd
Avatar
Avatar
ws-client
<ChillerDragon> yes
doick манiпулятор 2024-09-05 15:59
hjey
15:59
r u here
16:00
nifa
Avatar
Empowering everyone to build reliable and efficient software.
♿ 1
16:39
chiller defending bots agane
16:39
greenthing
Avatar
Avatar
ws-client
<ChillerDragon> @Ирисочка the code and even the downloadable executable is here https://github.com/DDNetPP/DDNetPP if you want more details come to https://chat.zillyhuhn.com/
fluffysnaff 2024-09-05 21:19
can you delete this message please, breaks #7
21:53
it doesnt
Avatar
Avatar
Jupstar ✪
chillerdragon: i have a question. Do you know these moments where you want to fix a small bug, and then rewrite 50% of your code base xd
everytime i tried to mod ddnet, literally xd
frozen 1
Exported 212 message(s)
Timezone: UTC+0