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-03-16 00:00:00Z and 2022-03-17 00:00:00Z
Avatar
Avatar
c0d3d3v
You can take a look on my try to improve the automatic completion of player names in chat. https://github.com/ddnet/ddnet/pull/4826
i think you are on the right track to be case-insensitive, since doesnt tab order normally follow this
01:29
wait i misread what you said
01:29
no, it should be case-insensitive, so in your case of Daniel and david "da" should match Daniel first
01:30
are the memory issues completely fixed?
Avatar
This article aims to introduce you into DDNet development, since it's an open-source game, it relies on random people kind enough to contribute to it on their free time.
07:55
greenthing
Avatar
Avatar
lynn
are the memory issues completely fixed?
yes
Avatar
hi
Avatar
41e55ae Add 12 € donation by Her0 - def-
Avatar
Hi everyone, tried to compile server part on windows, but got issue with type redefinition: \src\engine\storage.h(13): error C2011: IStorage: 'struct' type redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\objidl.h(9985): note: see declaration of "IStorage" I checked git history, It appears after migration to new mysql/sqlite implimentation, and succeed compiled if disable mysql flag I looked for how this can be solved, in fact, either rename the interface, or add include guard IStorage_INTERFACE_DEFINED to some root file where the classes from the SDK have not yet been included. (https://devblogs.microsoft.com/cppblog/fixing-com-interface-redefinition-error/) Do you know who to write to and who can help with this? 🙂
Avatar
Hi Faulty. So I guess we shouldn't use the name IStorage?
11:41
But this is something we have been using forever I think, I don't see why it would appear with mysql only
11:41
Which file is failing to compile?
Avatar
In general, there are two issues when compiling under windows The first is that in MySQL connector library was removed my_bool type (https://bugs.mysql.com/bug.php?id=85131), but I was able to fix this myself by replacing it with a bool, I think maybe noone face that problem as in MariaDB it still exist and maybe it user more often The second - failed to compile \src\engine\storage.h I think renaming helps, but it's really weird for me because it's an annoying naming constraint (edited)
Avatar
I think we actually don't support MySQL at the moment, there was a bug recently
12:24
Can you check if the include guard in the right cpp file helps?
Avatar
[quakenet] ChillerDragon BOT 2022-03-16 12:27:12Z
@Ravie could u reopen https://github.com/ddnet/ddnet/issues/4816 for me? :)
Helptext says "how many seconds to mute, if player triggers mute on spam. 0 = off" But sv_spam_mute_duration 0 still causes *** 'client2' has been muted for 0 seco...
Avatar
I tried the first and second option, it's extremely sad.. 1. Renaming is very difficult, a lot of usages, and after simple replacing it didn’t work for me 2. Also failed to disable the interface from SDK by guard, errors appeared on dependent files from SDK that use some internal stuff defined inside interface part So if no other proposals seems I need to find linux/mac machine to continue development 😕 (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-03-16 12:37:51Z
thanks
12:50
the wonders of using an open source operating system
12:50
using btrfs you can have more games in the deck ssd due to transparent compression
12:50
BASED
Avatar
Add difficulty: school
Avatar
chillerdragon github stalker (edited)
Avatar
Avatar
Ryozuki
chillerdragon github stalker (edited)
?
Avatar
im talking to him, he is in matrix
Avatar
and
15:42
ur the one asking here bruh
Avatar
wrong chat xd
Avatar
92eaccf Improvement of the automatic completion of player names in chat - C0D3D3V c712b75 Merge #4826 - bors[bot]
Avatar
Happy to see that map_replace_image has actually been useful to you as it was used as a base to code map_convert_07. As stated here https://github.com/ddnet/ddnet7/issues/20, map_replace_image seems to somehow break the map, that is due to a bad check inside the last datareader loop (it is just checking NumItems instead NumData). Seems like it was just a coincidence that the tool was correctly working on the map i was testing, but i was able to confirm the problem by trying different ...
Avatar
bc901d6 Fixed bad DataReader loop - sctt 3268986 Merge #4828 - bors[bot]
Avatar
Avatar
Faulty
Hi everyone, tried to compile server part on windows, but got issue with type redefinition: \src\engine\storage.h(13): error C2011: IStorage: 'struct' type redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\objidl.h(9985): note: see declaration of "IStorage" I checked git history, It appears after migration to new mysql/sqlite implimentation, and succeed compiled if disable mysql flag I looked for how this can be solved, in fact, either rename the interface, or add include guard IStorage_INTERFACE_DEFINED to some root file where the classes from the SDK have not yet been included. (https://devblogs.microsoft.com/cppblog/fixing-com-interface-redefinition-error/) Do you know who to write to and who can help with this? 🙂
Did you add an #include <windows.h> somewhere? Try adding #define WIN32_LEAN_AND_MEAN in the line before including the windows header, if that line isn't there already.
Avatar
Anyone know why the github CI is missing on this change? https://github.com/ddnet/ddnet/pull/4829
Motivation: sometimes mappers need to copy a certain area from a map to another (but also to a different position of the same map). that's very time consuming on complex maps, as tiles and quad...
Avatar
Avatar
Robyt3
Did you add an #include <windows.h> somewhere? Try adding #define WIN32_LEAN_AND_MEAN in the line before including the windows header, if that line isn't there already.
yeah, that's why I asked in which cpp file it's happening
Avatar
Avatar
deen
Anyone know why the github CI is missing on this change? https://github.com/ddnet/ddnet/pull/4829
the file is not included in cmakelist
Avatar
ha, thanks!
17:52
Didn't know that github ci can detect this
17:53
I was expecting it to run and throw an error in cmake then
Avatar
seems like it's unrelated to that and a partial outage of github actions in general
Avatar
that tool looks like a missed oportunity to use rust again monkalaugh
Avatar
Would someone familiar with the Quads Render System please explain to me what the following code is for: Graphics()->QuadsSetSubset(0, 0, 1, 1); When do I need to use this and what effect does it have? (edited)
Avatar
Motivation: sometimes mappers need to copy a certain area from a map to another (but also to a different position of the same map). that's very time consuming on complex maps, as tiles and quads layers have to be manually copied one by one. map_replace_area is designed to automatically replace all the tiles and quads from a specific area to another. Usage: map_replace_area PoW screenshots attached below. note: for the moment map_replace_area suppose that you are working...
Avatar
Avatar
c0d3d3v
Would someone familiar with the Quads Render System please explain to me what the following code is for: Graphics()->QuadsSetSubset(0, 0, 1, 1); When do I need to use this and what effect does it have? (edited)
uv coordinates
Avatar
the vulkan guy appeared poggers
18:41
when release 16.0
Avatar
Avatar
shiro
and where is nogender 😱
gender = 1 // Male gender = 0 // Female gender = undefined // Non binary Want me to continue?
Avatar
did u ping me
18:59
and yes u can continue
Avatar
Avatar
Jupstar ✪
uv coordinates
When do we use Graphics()->QuadsSetSubset(0, 1, 1, 0); instead of Graphics()->QuadsSetSubset(0, 0, 1, 1);
Avatar
Avatar
c0d3d3v
When do we use Graphics()->QuadsSetSubset(0, 1, 1, 0); instead of Graphics()->QuadsSetSubset(0, 0, 1, 1);
dunno, when you want to flip it or smth
Avatar
Avatar
Alexander
gender = 1 // Male gender = 0 // Female gender = undefined // Non binary Want me to continue?
1 - true, 0 - false ONLY MANS NO WOMANS
Avatar
Avatar
Jupstar ✪
dunno, when you want to flip it or smth
with my PR 3 weeks ago I forgot to copy the last two lines from the plyaers.cpp OnInit() into the nameplates.cpp, right? Graphics()->QuadsSetSubset(0.f, 0.f, 1.f, 1.f); Graphics()->QuadsSetRotation(0.f); https://github.com/ddnet/ddnet/blob/3268986d91b9fe4a3845f231a3263e18022159df/src/game/client/components/players.cpp#L795-L796 https://github.com/ddnet/ddnet/pull/4697/files
As described in x the arrows that show the key presses of the players are not visible in many situations, this is now my attempt to fix this by including the arrows in the nametags. Also, I created...
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/players.cpp at 3268986d91b9fe4a3845f231a3263e18022159df · ddnet/ddnet
Avatar
Avatar
c0d3d3v
with my PR 3 weeks ago I forgot to copy the last two lines from the plyaers.cpp OnInit() into the nameplates.cpp, right? Graphics()->QuadsSetSubset(0.f, 0.f, 1.f, 1.f); Graphics()->QuadsSetRotation(0.f); https://github.com/ddnet/ddnet/blob/3268986d91b9fe4a3845f231a3263e18022159df/src/game/client/components/players.cpp#L795-L796 https://github.com/ddnet/ddnet/pull/4697/files
its added to the end of the function to reset to the default values
19:12
if you only need default values then you dont need to call these functions
Avatar
If these are the default values anyway why is written almost before each QuadContainerAddSprite() Graphics()->QuadsSetSubset(0, 0, 1, 1);, couldn't we just set these as default values and only set other values explicitly. I haven't dealt with the Graphics architecture so explicitly. but it is noticeable that "Graphics()->QuadsSetSubset(0, 0, 1, 1);" is used 47 times, other values only 12 times. e.g. I am working on the hud.cpp, the command is executed 8 times and always only with the default values. is this necessary? Are the u, v coordinates also influenced by something else?
Avatar
the compiler can get rid of the dublicate calls
19:59
its not needed, but who cares x
19:59
d
Avatar
Avatar
Jupstar ✪
its not needed, but who cares x
As someone who does not know this graphics system, I would assume that it is necessary to set the values again and again. The program doesn't care, but to me as a programmer I find it annoying. To have one line of code that doesn't bring any more information and that dozens of times. I will at least remove the obviously duplicate calls when revising the HUD.
Avatar
just make sure the call at the end is there
20:10
i copy and paste all my code anyway
20:10
so its not an extra line
Avatar
Avatar
Jupstar ✪
i copy and paste all my code anyway
XD
Avatar
is it possible to make shotgun not automatic on a ddnet server?
Exported 74 message(s)