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-04-02 00:00:00Z and 2022-04-03 00:00:00Z
Avatar
bdfe235 Respect row pitch of temporary image - Jupeyy 92b9688 Merge #4937 - bors[bot]
06:25
suck
Avatar
Avatar
Deleted User
Click to see attachment 🖼️
are u ok, when i just send you a client where everything is preinstalled?
Avatar
Avatar
Jupstar ✪
are u ok, when i just send you a client where everything is preinstalled?
xd
Avatar
Only tested in main menu, disabling vsync seems to fix it. Linux with Intel IGPU
Avatar
0b1a801 Use fewer threads on 32-bit to save memory - Jupeyy c6a1a16 Merge #4934 - bors[bot]
Avatar
Question: is client Gametick intended to overflow from time to time? Because it's just an int
Avatar
every single variable that is not unsigned is never intended to overflow
11:47
it's always without any exception a bad design
Avatar
@Jupstar ✪ we got report of people's game text became blocks
Avatar
black blocks?
Avatar
white blocks
Avatar
do they stream over discord?
Avatar
of course not..
Avatar
white normally means, texture not loaded correctly e.g. when mipmapping is not supported
Avatar
what happens if their graphics card doesn't support the large texture
Avatar
it should be downscaled automatically
11:56
are only tiles white?
11:56
or also quads
Avatar
no idea
11:57
they didn't have screenshots
Avatar
mhh, for now tell them to use opengl 1
Avatar
maybe if they have modern gpus report back xd
11:58
for old GPUs there is too much randomnize xd
11:59
hmm
11:59
they are running win11
12:00
I'm just watching their chat btw.
12:00
I'm too lazy to ask anything.
Avatar
ok weird
12:01
do they use opengl?
Avatar
Some refactorings I also PR'ed on upstream (https://github.com/teeworlds/teeworlds/pull/3138), and some changes from 43a247e24d5fa40aa4d6e0ea89c34a53c5a84042 that were not on ddnet yet. The CHuffman classes from ddnet and upstream should be identical now apart from code format. On upstream, 43a247e24d5fa40aa4d6e0ea89c34a53c5a84042 also changes how CHuffman is used. Previously a singleton CHuffman instance was encapsulated in CNetBase. On upstream this commit duplicates the huffman i...
Avatar
do we have vulkan now
Avatar
yes xd
Avatar
since when
Avatar
since ddnet16, so few days
12:03
7 days maybe
Avatar
did we update SDL as well
Avatar
not for windows
12:07
I'm running out of rest time. getting back to work.
Avatar
Avatar
Jupstar ✪
every single variable that is not unsigned is never intended to overflow
That's not an answer 🤣 Good criticism, but definitely not an answer
Avatar
Avatar
TsFreddie
I'm running out of rest time. getting back to work.
dont overwork yourself too much
Avatar
Avatar
Wohoo
That's not an answer 🤣 Good criticism, but definitely not an answer
i think that answers your question xd
Avatar
This will keep the DDNet window responsive, especially when loading the client the first time this is important, so that SDL2 events aren't lost. Menu's RenderLoading allows up to 60 frames per second, so calling it too often cannot really happen. For reloading (skins&assets) / demo loading etc. it only swaps to the render screen after half a second passed. Even if this might not be the nicest, it's still better than just freezing the window.

Checklist

  • [x] Tested the chan...
Avatar
Avatar
Jupstar ✪
i think that answers your question xd
Tick variable is just increase only. It will overflow
Avatar
see
12:11
and then u should use unsignd
Avatar
I just relative ticks time distances, so it's OK in any case
Avatar
but actually
12:12
u should increase the variable type
12:12
to 64bit
12:12
bcs it should never happen that it overflows actually
12:12
uint64_t
12:12
sadly vanilla limitation iirc
Avatar
Avatar
Chairn
alt-tabbing when client start crashes
when you have time some day, can you check if #4941 improves this it should now not miss the SDL events and I prefer to have fewer of these weird crashes
Avatar
This will keep the DDNet window responsive, especially when loading the client the first time this is important, so that SDL2 events aren't lost. Menu's RenderLoading allows up to 60 frames...
Avatar
@Ryozuki i dunno whats going on, but looks like a KDE upgrade, and it mentions and installs pipewire xd
13:51
but i guess i had it installed already before xd
Avatar
Avatar
Jupstar ✪
@Ryozuki i dunno whats going on, but looks like a KDE upgrade, and it mentions and installs pipewire xd
wtf is this cyan color
14:38
you eyes are destroyed now pepewow
Avatar
white is more eye cancer xd
14:38
also black and white doesnt look like real hacker xd
Avatar
xddd
14:39
maybe cyan is better for h4x0r y
Avatar
ez
14:40
look
14:40
its not that cancer 🙂
Avatar
hello darkness my old friend
14:40
Avatar
cuz its never rly white, ite more like light grey
14:41
Avatar
xd
Avatar
mine doesnt destroy eyes xd
Avatar
u should note, i have my monitors brightness on lowest
Avatar
y ok
14:42
and mine is at maximum 😄
Avatar
xD
Avatar
its better to see ennemies in tw Pepegalaugh
Avatar
i see my enemies xd
Avatar
rly ?
Avatar
yes
Avatar
im sure in fng you wont see me
Avatar
i am sure i will
14:44
i play full dyn too
Avatar
eheh
14:44
im semi dyn
Avatar
i know, u know me ingame xd
Avatar
rly ?
Avatar
yes
14:45
keks from alive
Avatar
oh lol
14:45
i didnt know 😮
Avatar
^^
Avatar
why diff name on discord then 🤔 ?
Avatar
my discord name is not keks
14:46
i dunno who changed it
Avatar
oh y, your discord tag name is Not Keks
Avatar
c427c04 Clear members explicitly instead of zeroing entire object - Robyt3 f4ade69 Fix comments - Robyt3 8020934 Make frequency table a static member of CHuffman, use constant - Robyt3 a30991d Mark CHuffman::Compress and ::Decompress as const - Robyt3 ebb35a8 Replace BubbleSort with std::stable_sort - Robyt3 36d9802 Move declaration of loop variable - Robyt3 fc1b54e Merge #4940 - bors[bot]
15:22
85894cd Fix linux x86 compilation - def-
15:23
src/engine/client/backend/vulkan/backend_vulkan.cpp:1422:108: error: no matching function for call to 'maximum(size_t&, VkDeviceSize)'

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics tha...
Avatar
f7e3662 Keep DDNet window responsive for loading tasks - Jupeyy 2be8dc6 Merge #4941 - bors[bot]
Avatar
Avatar
Jupstar ✪
hello darkness my old friend
bashtop better (edited)
16:00
but htop classic (edited)
Avatar
i use kde system monitor
16:01
xd
Avatar
this looks more like htop
Avatar
d19623a Fix linux x86 compilation - def- 7546ee7 Merge #4942 - bors[bot]
Avatar
Avatar
Jupstar ✪
when you have time some day, can you check if #4941 improves this it should now not miss the SDL events and I prefer to have fewer of these weird crashes
i'll test tomorrow, btw how does the ddnet bot makes a difference between issue #1 and pr #1 ?
Avatar
Avatar
Chairn
i'll test tomorrow, btw how does the ddnet bot makes a difference between issue #1 and pr #1 ?
they never have the same id
16:05
issues and prs just increament
16:19
well apparently, doesn't make a difference for class members
Avatar
is there a function in graphic to make contour for quad?
Avatar
hum, https://github.com/ddnet/ddnet/pull/4940/ should probably put it only in CComponent as it is inherited by all components classes
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 if it works standalone, system.c especially
  • [ ] 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-addresssanitizer--u...
Avatar
Avatar
Anime.pdf
is there a function in graphic to make contour for quad?
not really, you can place 2 quads above each other
16:37
we dont have stencil buffer support
16:37
else we could make epic gui stuff xddd
Avatar
Avatar
Jupstar ✪
not really, you can place 2 quads above each other
well, i need to use transparency too, thats the issue😭
Avatar
then manually build a border around it ^^
16:38
needs some math
16:38
but nothing is impossible
Avatar
truegreenthing
Avatar
e4bec35 Remove unused bubble sort (finally) - def- e51e0ba Merge #4943 - bors[bot]
Avatar
It seems that version.h was upgraded in recent release 16.0.1: 1. download https://github.com/ddnet/ddnet/archive/refs/tags/16.0.2.tar.gz 2. extract 3. $ grep GAME_RELEASE_VERSION src/game/version.h #ifndef GAME_RELEASE_VERSION #define GAME_RELEASE_VERSION "16.0.1" #define GAME_VERSION "0.6.4, " GAME_RELEASE_VERSION
18:30
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 if it works standalone, system.c especially
  • [ ] 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-addresssanitizer--undef...
Avatar
Avatar
Jupstar ✪
protect the write and read with a mutex and you can use it inside the gameclient
I'll try this approach. Even though I have to do some research.
Exported 146 message(s)