Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/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 2022-12-08 00:00:00Z and 2022-12-09 00:00:00Z
Avatar
Avatar
Jore
yea no i prefer to keep desktop and taskbar clean and launch all games through steam thanks anyway :). Wouldn't it be possible to it in form of rightclicking the game -> properties -> and set launch options with a command so the people who know what they play with can choose how it starts there
Alternative: Right click steam system tray icon and select the game there
Avatar
Seems that using sqlite3mysql is off by 1 hour, which suspiciously looks like the CET->UTC difference.
00:04
On all servers I'm seeing many ranks in _backup tables, even when there seem to be no network problems. In combination with https://github.com/ddnet/ddnet/issues/6105 this is causing duplicate ranks. @Zwelf
Avatar
How do you make two packets interact with each other in the case of a void CExample::OnMessage( ... )? I want an action to occur, but since I added an extra packet as an extension to the other one, I want both to read off one another when the information is all recieved on both ends.
Avatar
Avatar
Voxel
How do you make two packets interact with each other in the case of a void CExample::OnMessage( ... )? I want an action to occur, but since I added an extra packet as an extension to the other one, I want both to read off one another when the information is all recieved on both ends.
decide which to send first (probably the extension). when it arrives, store its data in a variable, and only take the action once you get the other packet
05:34
what packet are you talking about? πŸ™‚
Avatar
Sv_KillMsg and Sv_KillMsgTeams
05:36
But yeah that makes a lot of sense, having the extension send first.
05:37
Only problem is, when the team actually DOES die, I want to calculate the team size so that I can properly adjust the killfeed
05:38
This is probably an ugly way of doing it
Avatar
you can calculate the team size beforehand, send the message and then start killing players
05:49
there might even be a function for calculating the team size(?)
05:50
I'm gone for 1.5 h
Avatar
Avatar
Jupstar βœͺ
ok will test weekend. never used pipewire hopefully not too unstable xD idc if single apps are unstable but prefer a stable desktop ^^
i never had an issue with it, for me more stable than pulseaudio :D
f3 1
09:23
f14d789 Version 16.6 - def- 193a8b9 add missing translating in russian.txt - lolipodass d26cb0e Update russian.txt - lolipodass 7e83beb Update russian.txt - lolipodass 37db1db Remove check for pResponseToken, which isn't used on this code path - Robyt3 03318c2 Bump friends limit from 1024 to 4096 (fixes #6096) - def- 3304cff Revert "Notify about possible save codes right away" - def- 7f8bfc3 Revert "Make semaphore wait handle EINTR" - def- 95c0207 Revert "Store ranks in sqlite first to not loose them if server shuts down during stuck mysql transaction" - def-
09:23
f14d789 Version 16.6 - def- 193a8b9 add missing translating in russian.txt - lolipodass d26cb0e Update russian.txt - lolipodass 7e83beb Update russian.txt - lolipodass 37db1db Remove check for pResponseToken, which isn't used on this code path - Robyt3 03318c2 Bump friends limit from 1024 to 4096 (fixes #6096) - def-
Avatar
@deen we managed to interleave our part 1 and part 2 ranks again
15:32
perfectly fair, we both get the same amount of points ^^
15:32
today my code isn't really readable, but it works I guess
1.08 KB
15:33
so i start later, but finish faster πŸ˜„
πŸ™Œ 1
15:33
I didn't like my solution today either, didn't find any nice tricks, but also didn't look that closely
814 bytes
Avatar
I like your part 2, I wouldn't have considered using lambdas there
Avatar
At first I had it in long form and then made it more compact once it worked
Avatar
Hey guys, do you know how i get the exact player objects who are on screen here and discard those who are slightly outside but still rendered?
Avatar

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/ddnet/ddnet/#using-ad...
Avatar
This letter was originally published in our 2022 annual report. The past year at ISRG has been a great one and I couldn’t be more proud of our staff, community, funders, and other partners that made it happen. Let’s Encrypt continues to thrive, serving more websites around the world than ever before with excellent security and stability. A parti...
19:53
(rust mentioned)
kek 1
Avatar
Avatar
Vy0x2
Hey guys, do you know how i get the exact player objects who are on screen here and discard those who are slightly outside but still rendered?
I don't know. Why?
Avatar
For this feature i try to implement. https://discord.com/channels/252358080522747904/295908390956433410/994591252819488848 I want to be able to hover over a group of people and with a special spectator mode be able to watch only those. Atm i only watch the rendered ones, so if e.g. /showall is activated its broken And i have to care about aspect ratio too, so i cant just calculate
Avatar
Avatar
Vy0x2
Hey guys, do you know how i get the exact player objects who are on screen here and discard those who are slightly outside but still rendered?
Jupstar βœͺ 2022-12-08 20:12:24Z
what exactly is the problem just iterate over the players and look which is inside and which is outside
20:12
zoom level and ascept ratio are in client
20:13
there is a calcscreenparams or smth in graphics_threaded
Avatar
How do i know what is inside my view?
20:13
ah
Avatar
Jupstar βœͺ 2022-12-08 20:13:39Z
if player.x > screenleft etc xd
20:13
maplayers.cpp can be useful
20:14
it uses the math quite often
20:14
aScreen[4] or smth
Avatar
9c97b71 Update brazilian_portuguese.txt - rffontenelle 422b2e4 Merge #6108 - bors[bot]
Avatar
Jupstar βœͺ 2022-12-08 20:18:10Z
ah and make sure to scale player pos to viewport size
20:18
i think its different to physical sizes
Avatar
Thanks jupstar, i will see if i can make it work
Avatar
!Screenshot 2022-12-08 at 23 09 20

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 ...
Avatar
It's extremely impressive how well bluez and pipewire work together
22:12
For once in my life something was extremely streamlined on linux, I connected my bluetooth headphones and they justworked(tm)
22:13
I disconnect them, music pauses, pipewire switches output back to builtin speakers
Avatar
Avatar
Learath2
It's extremely impressive how well bluez and pipewire work together
i had problems with this for a long time... this is actually a topic where i prefer to be a windows user, since it works out of the box when i turn off my bluetooth headset it sometimes wouldn't reconnect and i'd have to reboot while my bluetooth headset is on. when trying to reconnect manually it would give me this error: Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable (edited)
Avatar
I don't know how it used to be with pulseaudio, nor with bluez of the past, but if I have bluetoothd running and I pair with bluetoothctl, it just works fine, literally out of the box
Avatar
i was using pipewire too.
Avatar
hm, guess I just got lucky
Avatar
but actually it's cool that it worked quite fast without configuring lots of config files. if you have noise cancelling, can you actually turn that on/off with bluetoothctl too? right now i do this on my phone with the sony headset app
Avatar
Hm, on my headset the left touchpad turns on/off the noise cancelling. But I'm pretty sure it was part of the bluetooth interface, just need to dig around to find how to send the correct packet πŸ˜„
Avatar
i disabled my touchpad, because i sometimes touched it accidently, skipping my music or something. now it sometimes crashes, makes a noise and shuts down when i touch it. funny that a bluetooth headset can crash πŸ˜„
Avatar
https://github.com/Plutoberth/SonyHeadphonesClient seems this guy reverse engineered the proprietary part already
A {Windows, macOS, Linux} client recreating the functionality of the Sony Headphones app - GitHub - Plutoberth/SonyHeadphonesClient: A {Windows, macOS, Linux} client recreating the functionality of...
Exported 61 message(s)