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-04 00:00 and 2024-09-05 00:00
Avatar
GitHub BOT 2024-09-04 00:40
Closes #8887

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 no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/...
Avatar
ws-client BOT 2024-09-04 00:48
<ChillerDragon> @meloƞ wats the biggest bug
Avatar
GitHub BOT 2024-09-04 01:41
There are some game types and even official ddnet that have broadcasts that get send in high frequency intervals to convey some state. Like the race timer in ddnet or some progress bard in a city game type. All those broadcasts get printed to the console so if someone wants to read something in the console it gets spammed. The solution to that spam is cl_print_broadcasts 0 but that also filters manually written messages by an admin that might contain important information. The server sid...
Avatar
GitHub BOT 2024-09-04 02:22
If the game is paused and a player joins a server (sv_tournament_mode 0) The scoreboard will be forced open. Unless the client configured cl_scoreboard_on_death 0. This can be quite annoying. Especially in the brand new 0.7 feature where users can pause the game. Oy realized that this is a problem 12 year ago: https://github.com/teeworlds/teeworlds/commit/aec468a3c455872c208d999c65a38fc996567bbf#diff-e0ff7a1d6079610adb64fc89fbfff23a381ed92f268d8fe188731a9e0c323b0aR389-R390 For ddnet ...
Avatar
Avatar
ws-client
<ChillerDragon> @meloƞ wats the biggest bug
strong/weak hook
Avatar
Avatar
meloƞ
strong/weak hook
🍈
🍉 1
Avatar
ws-client BOT 2024-09-04 06:09
<ChillerDragon> Yea good call melon xd
06:09
<ChillerDragon> I think I mapped a part once that only works with weak hook lol
Avatar
Avatar
Souly
troll
banhammer
Avatar
GitHub BOT 2024-09-04 06:16
22d699f use player name function instead of config - dobrykafe 4e2d7e2 Merge pull request #8890 from dobrykafe/pr-player-name-07 - Robyt3
Avatar
Avatar
ws-client
<ChillerDragon> Yea good call melon xd
gigachad kek
Avatar
Avatar
ws-client
<ChillerDragon> I think I mapped a part once that only works with weak hook lol
We played 4K ( a 4* insane ) map with 16 people yesterday, one part requires the other to have strong or you can't make it - was a fun 50 minutes...
Avatar
cyberfighter 2 2024-09-04 07:20
biggest bug is hammer fly
Avatar
hooking thru corners when u stand in corner
Avatar
Avatar
ws-client
<ChillerDragon> @meloƞ wats the biggest bug
Physics quantizing is really bad
Avatar
GitHub BOT 2024-09-04 07:34
74bb327 Do not force scoreboard open when the game is paused - ChillerDragon cf107a8 Merge pull request #8892 from ChillerDragon/pr_scoreboard_pause_game - def-
Avatar
cyberfighter 2 2024-09-04 07:37
12 years ago??? lmao
Avatar
chillerdragon BOT 2024-09-04 08:53
Brand new 0.7 technology @cyberfighter 2
08:54
@ScReeNy: hammering through walls is also a bug :D
08:54
Was fixed in 0.6
Avatar
hello and good morning
09:02
today i crashed the llvm optimizer
09:02
with this code ; ModuleID = 'LLVMDialectModule' source_filename = "LLVMDialectModule" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" target triple = "arm64-apple-darwin23.6.0" define { { {}, {}, {}, {}, {}, {}, {} } } @"bug"({ {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, { {}, {}, {}, {}, {}, {}, {} }, { {} } } %0) { %2 = extractvalue { {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, { {}, {}, {}, {}, {}, {}, {} }, { {} } } %0, 18 %3 = insertvalue { { {}, {}, {}, {}, {}, {}, {} } } undef, { {}, {}, {}, {}, {}, {}, {} } %2, 0 ret { { {}, {}, {}, {}, {}, {}, {} } } %3 } !llvm.module.flags = !{!0} !0 = !{i32 2, !"Debug Info Version", i32 3} (edited)
09:02
{} is a struct
09:02
in llvm ir
09:02
empty one tho
Avatar
Jupstar ✪ 2024-09-04 09:04
Crashed in a sane way? Or SIGSEGV?
Avatar
Avatar
MilkeeyCat
@Learath2 now there're loops 😏
MilkeeyCat 2024-09-04 09:05
u8 main() { u8 foo[3] = [10,2,3]; return foo[0]; } and array expressions as well 😏
Avatar
Avatar
Jupstar ✪
Crashed in a sane way? Or SIGSEGV?
segfault ofc, llvm is c++
Avatar
Avatar
Jupstar ✪
Crashed in a sane way? Or SIGSEGV?
When running /opt/llvm-19/bin/opt -O3 -S bug.ll opt crashes with the following: (tested on 19 rc2 and rc4 and 18) /opt/llvm-19/bin/llvm-config --version 19.1.0-rc2 /opt/llvm-19/bin/opt: WARNING: fa...
09:10
my riscv emulator supports now the ziscr extension
Avatar
Avatar
Ryozuki
segfault ofc, llvm is c++
Jupstar ✪ 2024-09-04 09:11
fill zero day, get fame
Avatar
Avatar
Ryozuki
segfault ofc, llvm is c++
Jupstar ✪ 2024-09-04 09:13
Yeah but assertions and software exceptions are probably saner. This one sounds more dangerous
Avatar
abricotier de noix de coco 2024-09-04 09:33
Hey guys do you think it's possible to make automatic generation of map ? By assembling blocks or procedural generation ?
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 ?
Jupstar ✪ 2024-09-04 09:34
Procedual random map generator for the gores gamemode in teeworlds/ddnet - iMilchshake/gores-mapgen
Avatar
Avatar
Ryozuki
with this code ; ModuleID = 'LLVMDialectModule' source_filename = "LLVMDialectModule" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" target triple = "arm64-apple-darwin23.6.0" define { { {}, {}, {}, {}, {}, {}, {} } } @"bug"({ {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, { {}, {}, {}, {}, {}, {}, {} }, { {} } } %0) { %2 = extractvalue { {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, { {}, {}, {}, {}, {}, {}, {} }, { {} } } %0, 18 %3 = insertvalue { { {}, {}, {}, {}, {}, {}, {} } } undef, { {}, {}, {}, {}, {}, {}, {} } %2, 0 ret { { {}, {}, {}, {}, {}, {}, {} } } %3 } !llvm.module.flags = !{!0} !0 = !{i32 2, !"Debug Info Version", i32 3} (edited)
this looks cursed, why did you do this?
Avatar
Avatar
MilkeeyCat
u8 main() { u8 foo[3] = [10,2,3]; return foo[0]; } and array expressions as well 😏
Cool language bro
Avatar
Avatar
Learath2
Cool language bro
MilkeeyCat 2024-09-04 09:47
you didn't know about ways to make this segfault justatest
09:47
i do not as well, but im 100% sure they exist
Avatar
I like my languages dangerous
Avatar
MilkeeyCat 2024-09-04 09:48
i fixed integer literals btw
09:49
and now i wanna add methods and then try to connect a tee to ddnet server greenthing
greenthing 1
Avatar
Avatar
Learath2
this looks cursed, why did you do this?
the compiler at work we making spit out this from some user made library
10:00
its probs some zero sized types
10:00
nevetherless, it shouldnt make llvm segfault cPES_Wink
Avatar
Avatar
MilkeeyCat
and now i wanna add methods and then try to connect a tee to ddnet server greenthing
Add native teeworlds support to your language
Avatar
A RISCV (RV64G) emulator. Contribute to edg-l/rysk development by creating an account on GitHub.
10:02
i love rust testing tools
10:02
look how pretty this is
10:02
rstest
10:02
This crate will help you to write simpler tests by leveraging a software testing concept called test fixtures. A fixture is something that you can use in your tests to encapsulate a test’s dependencies.
Avatar
Avatar
Learath2
Add native teeworlds support to your language
MilkeeyCat 2024-09-04 10:02
add teeworlds int packing in standard library
Avatar
Avatar
ws-client
<ChillerDragon> @meloƞ wats the biggest bug
wtf
Avatar
main character 2024-09-04 10:40
what does this mean?
10:40
in the status command
Avatar
It's the integer representation of the flags the client is currently sending. 1 - in game (not in menu) 2 - menu 4 - chat 8 - scoreboard 16 - hook collision So, 17 in this case means the player is in "ingame" (1) and have hook collisions on (16).
Replying to @main character what does this mean?
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
❤️ 1
Avatar
abricotier de noix de coco 2024-09-04 11:40
Ye thanks i hear about that, sry i was mean about ddrace, it's so harder that why i ask
Avatar
Avatar
furo
It's the integer representation of the flags the client is currently sending. 1 - in game (not in menu) 2 - menu 4 - chat 8 - scoreboard 16 - hook collision So, 17 in this case means the player is in "ingame" (1) and have hook collisions on (16).
main character 2024-09-04 11:40
are there any other integers than these 5
Avatar
Avatar
abricotier de noix de coco
Ye thanks i hear about that, sry i was mean about ddrace, it's so harder that why i ask
Jupstar ✪ 2024-09-04 11:46
Ddrace lives from creative parts, so I'd say it's not possible
11:47
Maybe with some AI, but hardcoded sounds kinda hard.
Avatar
These five are the flags that the DDNet client sends.
Replying to @main character are there any other integers than these 5
Avatar
Avatar
Jupstar ✪
Ddrace lives from creative parts, so I'd say it's not possible
abricotier de noix de coco 2024-09-04 12:05
Ofc ye but i'vnt level xd any i will try just assemble blocks from famous map, u know if python can have interractions with the game ? Else i give up xd
Avatar
Jupstar ✪ 2024-09-04 12:10
You can use twmap which has python bindings. There should even be a python lib in the installier for that
Avatar
@Jupstar ✪ they fixed my issue
Avatar
that's fast
Avatar
JSaurusRex 2024-09-04 12:57
I have a question, a while back i set out to create a physics checker test for ddnet, i didn't manage to make one because i kept running into issues but i remember some others were working on similar projects do any physics tests exists atm?
Avatar
@Jupstar ✪ do u know a nice LLM setup to make logos for gh projects?
13:21
xd
Avatar
Avatar
Ryozuki
@Jupstar ✪ do u know a nice LLM setup to make logos for gh projects?
Jupstar ✪ 2024-09-04 13:26
xdd not any open source one tbh. How did you create yours?
Avatar
random web
13:27
but i dont like it
13:27
its low res xd
Avatar
Jupstar ✪ 2024-09-04 13:30
13:30
xd
Avatar
Jupstar ✪ 2024-09-04 13:37
also tried gpt4 xddd
Avatar
Avatar
Ryozuki
its low res xd
Recreate it in inkscape
13:38
One more skill acquired
Avatar
Jupstar ✪ 2024-09-04 13:38
We need better AIs
13:38
I have no skill
Avatar
GitHub BOT 2024-09-04 13:39
/tpxy ~-10 ~5.5 returns ~-10 is not a valid decimal number. instead of teleporting you 10 tiles left and 5.5 tiles down. I think this was introduced by #8834
Avatar
Jupstar ✪ 2024-09-04 13:39
Why is there no AI yet that can redraw it in inkscape
13:39
ridiculous (edited)
Avatar
Avatar
Jupstar ✪
Why is there no AI yet that can redraw it in inkscape
I'm sure one of them can give it a try in svg 😄
Avatar
Avatar
GitHub
Click to see attachment 🖼️
ye seems like #8834 issue, tpxy has inner parsing
Avatar
Closes #8594 Integer in console : Float with multiple arguments: /tpxy 3.2 4 - works with ints /tpxy 3.2 -32 - works with negative numbers Color validation: Old validation checks preserved: Ch...
Avatar
Avatar
Jupstar ✪
also tried gpt4 xddd
epyc
Avatar
Avatar
Jupstar ✪
also tried gpt4 xddd
can i use this? xd
Avatar
Avatar
Ryozuki
can i use this? xd
Jupstar ✪ 2024-09-04 13:52
do i even have a copyright on that? xdd just use it, who cares
13:52
it's not perfect anyway
Avatar
true but something better than nothing keks
Avatar
Jupstar ✪ 2024-09-04 13:53
yeah, just use it. The prompt was kinda weird xddd
13:54
like it didnt do what i wanted at all xDD
14:10
funny that in some instructions the IMM value is made up from bits in diferent positions
15:27
lmao windows
15:29
Over the past few months, we’ve had some productive conversations with the JPEG-XL team at Google Research around the future of the format in Firefox. Our primary concern has long been the increase...
Avatar
Jupstar ✪ 2024-09-04 15:31
Thanks google
15:31
😬
Avatar
PLEASE REMOVE THE POWER BUTTON OF DDNET INGAME
justatest 1
17:49
I WANTED TO CLICK SETTINGS
Avatar
Remove? Best I can offer is cl_confirm_quit_time 0 :)
Replying to @Teero PLEASE REMOVE THE POWER BUTTON OF DDNET INGAME
Avatar
ah man the default is 20
17:57
was 15 minutes in solo gores
Avatar
@Jupstar ✪ tell it to generate a .svg code
Avatar
Avatar
Teero
ah man the default is 20
Jupstar ✪ 2024-09-04 18:00
yeah 20 is only for t0 enjoyers 😂
Avatar
Avatar
louis
@Jupstar ✪ tell it to generate a .svg code
Jupstar ✪ 2024-09-04 18:01
yeah, thought about trying that, but i guess it sucks at that anyway xd
Avatar
Avatar
Ryozuki
funny that in some instructions the IMM value is made up from bits in diferent positions
it is explained why in the isa documentation
Avatar
Avatar
Ryozuki
@Jupstar ✪ do u know a nice LLM setup to make logos for gh projects?
ai generated icon is an instant turn off for many people btw
Avatar
u should at least try to make an icon
19:43
I took (and failed) a vector graphics class in HS and I can still work my way around Inkscape very well
19:43
it’s just ez
Avatar
GitHub BOT 2024-09-04 19:48
soo its even more useful (make sure to save the weapons also etc)
Avatar
MilkeeyCat 2024-09-04 19:48
graphics hard
19:49
maybe use ai for inspiration
Avatar
made volleyball greenthing
brownbear 1
Avatar
Jupstar ✪ 2024-09-04 19:49
lel
Avatar
This is awesome
19:50
Actually impossible without good prediction tho
19:50
Where can I play
Avatar
Avatar
Ewan
Where can I play
find FlatCIty server, password tws
❤️ 1
Avatar
Where’s it hosted
Avatar
hey! I need some help with network model creation. What I understand it when server listen the port, then accept socket, it stuck over one (or more, if clients are connected to other sockets as variable) client and can't accept another. My code goes like: listener on port 2000, listener accepts user, while true {if packets are received, then send that packet back to connected client}, client takes packet and put it's data on screen. How can I do multi-client connection? Only way I found it's waiting two clients connect, then server processes them one by one. But if one of clients disconnected, he can't connect while second is connected. Need to reload all the clients. How on normal servers it does? Is there an async connection and disconnection? And maybe server need to load user message on DB, then only from DB to second client, when it calls for data?
Avatar
Avatar
Ewan
Where’s it hosted
moscow
Avatar
Avatar
NikHard
hey! I need some help with network model creation. What I understand it when server listen the port, then accept socket, it stuck over one (or more, if clients are connected to other sockets as variable) client and can't accept another. My code goes like: listener on port 2000, listener accepts user, while true {if packets are received, then send that packet back to connected client}, client takes packet and put it's data on screen. How can I do multi-client connection? Only way I found it's waiting two clients connect, then server processes them one by one. But if one of clients disconnected, he can't connect while second is connected. Need to reload all the clients. How on normal servers it does? Is there an async connection and disconnection? And maybe server need to load user message on DB, then only from DB to second client, when it calls for data?
you should be able to connect to multiple clients on the same port as long as it all happens in the same process
Avatar
Avatar
zhn
moscow
This is gonna be epic
Avatar
Avatar
Ewan
you should be able to connect to multiple clients on the same port as long as it all happens in the same process
but listener waits all time for a new connection, right? maybe there's a function to set timeout
Avatar
idk what you are using
19:56
and I’m not too network smart anyway
Avatar
Avatar
Ewan
idk what you are using
he's using sfml something something
19:56
I know a SFML maintainer who I can ask
19:56
I may see him on thursday
19:56
lol
19:57
but that is just graphics/audio middleware isn’t it
Avatar
lemme find it
Avatar
Avatar
Ewan
but that is just graphics/audio middleware isn’t it
it have graphics, audio, network and something
19:58
can u share the code
monkalaugh 1
19:59
well rip
19:59
good luck
Avatar
thx
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Avatar
.demo.jpg or .demo.zip -> upload
22:32
on github
Exported 155 message(s)
Timezone: UTC+0