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 2023-12-08 00:00:00Z and 2023-12-09 00:00:00Z
Avatar
@Ryozuki i was suffering doing UI
00:01
its horrible
Avatar
tw ui is best wym
00:09
I sense a bit of a skill issue
Avatar
Avatar
louis
why is compiling ddnet on windows such a pain
what's so painful ab out it
Avatar
Avatar
Learath2
I sense a bit of a skill issue
pepesmash 2
Skill_issue_pizza 1
Avatar
Avatar
louis
You can compile the DDNet client by right-clicking the DDNet project (not the solution) and select "Select as StartUp project".
fuck that noise
Avatar
Avatar
meloƞ
couldnt you just use vsc/jetbrains with wsl?
why would you want to use WSL???
Avatar
so you dont have to care about.. windows
Avatar
Avatar
Ewan
fuck that noise
just do this and open the cmakelists
Avatar
Avatar
meloƞ
so you dont have to care about.. windows
100% more trouble than it is worth
Avatar
Avatar
meloƞ
so you dont have to care about.. windows
sad @-StormAx voices
Avatar
Avatar
Ewan
just do this and open the cmakelists
then once it's configured choose game client target (DDNet.exe) up here
00:15
obv it will look different for u
00:15
i am not opening anything else rn
00:15
im in the weeds
kek 1
00:16
i suppose i will submit updated build instructions
00:16
so ppl dont have to pull their hair out
Avatar
I always use mingw on windows, much easier to work with
Avatar
true i usually use mingw as well with Qt Creator but sometimes VS is necessary
00:16
if just to test with msvc (which i can also do with Qt Creator but that's beside the point... ppl use it anyway)
Avatar
Avatar
Ewan
what's so painful ab out it
very painful compared to linux
Avatar
Avatar
Ewan
i suppose i will submit updated build instructions
Are heinrich's build instructions out of date?
Avatar
the ones that tell you to use the cmake gui and open the generated solution? i guess so
Avatar
Avatar
louis
very painful compared to linux
Yeah anything on windows is essentially painpeko
Avatar
not rly but the ddnet project is named game-client now
Avatar
either it was made before vs had cmake integration or (more likely scenario) it was written by a linux user who doesn't know about modern VS features
Avatar
Avatar
Ewan
the ones that tell you to use the cmake gui and open the generated solution? i guess so
no, it just uses vs
Avatar
thats the only difference i saw
00:18
the current readme says to use cmake gui
Avatar
that also requires you install cmake standalone which is totally unnecessary
00:18
you can use the vs builtin one if you do it the vs builtin way
00:19
hard to believe
Avatar
https://forum.ddnet.org/viewtopic.php?t=5765 this is what I give people insistent on using vs
Avatar
well i was just trying to merge the tunelock pr myself for a video idea 😅
Avatar
if the instructions are more straightforward they should be in the readme, straight up
00:20
shouldn't have to go asking someone or searching the forum
Avatar
Maybe a link to it in the readme, or another doc, I don't want to make a mess of the readme with screenshots of vs
Avatar
dont need screenshots
Avatar
OK BUT THE FORUM POST HAS THEM
Avatar
no need to yell
00:22
i didnt even look at the link
Avatar
sorry caps
Avatar
it could be as simple as this Download and install some version of Microsoft Visual Studio (as of writing, MSVS Community 2017) with C++ support, install Python 3 for all users and install CMake. You also need to install Rust. Start CMake and select the source code folder (where DDNet resides, the directory with CMakeLists.txt). Additionally select a build folder, e.g. create a build subdirectory in the source code directory. Click "Configure" and select the Visual Studio generator (it should be pre-selected, so pressing "Finish" will suffice). After configuration finishes and the "Generate" reactivates, click it. When that finishes, click "Open Project". Visual Studio should open. You can compile the DDNet client by right-clicking the DDNet project (not the solution) and select "Select as StartUp project". Now you should be able to compile DDNet by clicking the green, triangular "Run" button. turns into Download and install some version of Microsoft Visual Studio (as of writing, Visual Studio Community 2022) with C++ support and install Python 3 for all users. You also need to install Rust. Open Visual Studio and open DDNet's CMakeLists.txt by going to "File" -> "Open" -> "CMake...". Once CMake is finished generating, select whichever target you'd like to compile by choosing it in the debug targets combo box. To debug the target, click the region of the debug targets combo box which doesn't have a dropdown arrow. You should be able to compile and run without debugging by pressing the green, triangular "Run" button. (edited)
00:25
sorry chiller
00:27
mayb specify that the client is called game-client (edited)
Avatar
good luck paying that runtime fee btw
Avatar
he works for a game company
05:20
im sure they have it covered lol
Avatar
fair LOL
Avatar
Avatar
Voxel
good luck paying that runtime fee btw
2022 doesn't have it anymore. it starts with 2023
Avatar
My first cube with texture in OpenGL owo
👍 3
Avatar
ac7a47e M Paralyzed, M Essential 2 - ddnet-maps
Avatar
Avatar
Mʎɹ シ
My first cube with texture in OpenGL owo
learning opengl -- https://learnopengl.com/. Contribute to Inateblig/LearnOpenGL development by creating an account on GitHub.
05:44
aa it didn't embed
05:44
05:45
owo
Avatar
DDNet flatpak uses the https://github.com/ddnet/ddnet/blob/master/other/ddnet.appdata.xml file displays relevant information on gnome-software and flathub website. However since version 15.4, the file is not being updated anymore. Should the file be removed from DDNet repo and moved to Flathub one or updated here?
Avatar
@Ryozuki FFR. Another useless, nobody cares, question from me, to you. To remind everyone in this chat that Rust exists: Do you always implement Debug? It's kinda funny, once you use it somewhere it almost spreads like a virus to other types xdd (edited)
Avatar
i do yes
08:23
xd
Avatar
@Voxel u can see member list
09:14
tapping the arrow in channel name
09:15
Avatar
it sucks though
Avatar
no horsing around
Avatar
horz
09:17
horzing
Avatar
btw pc today
Avatar
epic gamer moment
Avatar
i completely forgot monitors existed
Avatar
oh yeah, those dark ages once existed
09:18
the times before nerve gear
Avatar
im just gonna use some shit i find in my house idk
09:18
crt troll
Avatar
@Skeith do you have ban perms
Avatar
Nope, but I can timeout
Avatar
give me this guys head on a stick thanks
10:02
its the fifth or 6th time he said that
10:14
i get this bug
10:15
and its super annoying
Avatar
rip
Avatar
As far as I know YouTube videos are normalized in volume so that 79% is max volume. And for whatever reason YouTube sets the videos volume from time to time, just in case anyone changed it. So Firefox and pipewire are doing what they are supposed to do, while YouTube's questionable inner workings messes everything up.
10:20
maybe its youtube (edited)
10:20
lmao
Avatar
impressive how much slower the vulkan driver is on windows compiling vulkan pipelines
10:33
130ms vs 4ms using a pipe cache (edited)
10:34
as far as i see the cache is also much bigger xd 5.6MB
Avatar
Avatar
Jupstar ✪
as far as i see the cache is also much bigger xd 5.6MB
vs linux?
10:39
@Jupstar ✪ would u say windows purposely makes vulkan slower because they prefer dx12 adoption?
10:39
they did that with opengl back in the days
Avatar
Avatar
Ryozuki
vs linux?
yes
10:39
AMD gpu
10:40
context is 2010
Avatar
Avatar
Ryozuki
@Jupstar ✪ would u say windows purposely makes vulkan slower because they prefer dx12 adoption?
i'd defs they dx has better interaction with GDI (edited)
10:40
Microsoft initiated a fear, uncertainty, and doubt (FUD) campaign against OpenGL around the release of Windows Vista. In 2003, Microsoft left the OpenGL Architecture Review Board -- showing that they no longer had any interest in the future of OpenGL. Then in 2005, they gave presentations at SIGGRAPH (special interest group for graphics) and WinHEC (Windows Hardware Engineering Conference) giving the impression that Windows Vista would remove support for OpenGL except to maintain back-compatibility with XP applications. This version of OpenGL would be layered on top of DirectX as shown here, (from the HEC presentation) causing a dramatic performance hit. This campaign led to panic in the OpenGL community, leading many professional graphics programmers to switch to DirectX. When Vista was released, it backpedaled on its OpenGL claims, allowing vendors to create fast installable client drivers (ICDs) that restore native OpenGL support. The OpenGL board sent out newsletters proving that OpenGL is still a first-class citizen, and that OpenGL performance on Vista was still at least as fast as Direct3D. Unfortunately for OpenGL, the damage had already been done -- public confidence in OpenGL was badly shaken.
10:41
windows is scum
Avatar
yeah opengl never had a chance in the past
10:41
can u count 10 games that use opengl xD
Avatar
its sad
10:42
The launch strategies for Windows Vista and Windows 7 were both accompanied with an immense marketing push by Microsoft for DirectX, in which they showed 'before' and 'after' screenshots of the different DirectX versions. Many gamers now think that switching from DirectX 9 to DirectX 10 magically transforms graphics from stupidly dark to normal (as in the comparison above), or from Halo 1 to Crysis. Game journalists proved that there was no difference between Crysis DX9 and DX10, and that its "DX10" features worked fine with DX9 by tweaking a config file. However, despite its obvious inaccuracy, the marketing has convinced many gamers that DirectX updates are the only way to access the latest graphics features. While many games participate in Microsoft's marketing charade, more savvy graphics programmers like John Carmack refuse to be swept up in it. He put it this way, "Personally, I wouldn’t jump at something like DX10 right now. I would let things settle out a little bit and wait until there’s a really strong need for it."
Avatar
i can try vulkan to dx12
10:42
but i assume in this case the linux driver is simply so much better
10:42
😼
Avatar
look at john carmack quote
10:42
smart guy
Avatar
Avatar
Jupstar ✪
but i assume in this case the linux driver is simply so much better
power of open source with open specifications
10:43
im not installing windows ever anymore since with proton i have what i want
10:43
mainly ffxiv xd
Avatar
i sometimes switch to windows just to remember how much everything sucks there
10:44
:NekoEvil:
10:44
😭
10:45
NekoEvil
10:45
just the thought of not knowing the code under the hood
10:45
isnt it scary
10:45
more over when its the entire os
10:45
not just a app
Avatar
i mean, i dont know any linux code either
Avatar
Avatar
Jupstar ✪
can u count 10 games that use opengl xD
Uhhh
Avatar
Teeworlds?
Avatar
Teeworlds, ddnet, divinity 1, supertux kart, super tux world, dota (in past)
10:46
yeah that's about it
10:46
dunno more
Avatar
what is a super tux world
10:47
i think u mean without the world
Avatar
super mario world
10:47
super tux world
10:47
😏
10:47
SuperTux source code. Contribute to SuperTux/supertux development by creating an account on GitHub.
10:47
but yeah
10:47
MINECRAFT
10:48
also uses opengl xD
Avatar
supertux is full of like 13 year olds
10:48
xd
Avatar
kinda funny
10:48
opengl is so useless, but the most successful game ever uses it
Avatar
game older than them
Avatar
kinda ironic
10:49
"As of version 1.17, Minecraft requires OpenGL 3.2 which was released in mid 2009."
10:49
LOL
10:49
good to know
Avatar
Avatar
Jupstar ✪
i mean, i dont know any linux code either
but u can inspect it and compile it from source
Avatar
even minecraft does not support opengl 2 anymore
Avatar
remove support
Avatar
now i push the windows usage in steam survey
11:17
manipulate some stats
11:18
lmao win11 is still behind win10 (edited)
Avatar
is it posslible to draw.margin only on 1 side?
11:42
i want it to be only on top only https://i.imgur.com/p2J4TQY.png
Avatar
Hsplittop?
11:43
its 2 different parts
Avatar
Do it for both?
11:45
What are you trying to do?
Avatar
im making UI for ddstats
11:46
its suppose to looks like
11:46
this
Avatar
Okay so what's the problem?
Avatar
while making margin for render tee (RT1) and RT2, its spliting with bottom part, so i want it to draw margin only on top side
Avatar
Does anyone know how to remove the speed limit for downloading maps?
Avatar
Avatar
кустик
Does anyone know how to remove the speed limit for downloading maps?
isnt speed limit setted by game engine?
11:50
i might be wrong
Avatar
ws-client BOT 2023-12-08 11:50:46Z
<ChillerDragon> @кустик server or client side? udp tw map download or ddnet http download?
Avatar
Avatar
ws-client
<ChillerDragon> @кустик server or client side? udp tw map download or ddnet http download?
server side. idk
Avatar
ws-client BOT 2023-12-08 11:51:46Z
<ChillerDragon> @-StormAx yea but its tw game engine so you can change it :) im not sure if its limited tbh
11:51
<ChillerDragon> i wrote some docs on the map download 0.7 net code btw
Avatar
Avatar
ws-client
<ChillerDragon> @-StormAx yea but its tw game engine so you can change it :) im not sure if its limited tbh
fair enough
Avatar
ws-client BOT 2023-12-08 11:52:36Z
<ChillerDragon> its basically the client asking for map packets and the server sending em i dont think there is much sleeping anywhere
11:52
<ChillerDragon> its very similar in 0.6
11:53
<ChillerDragon> and then ddnet also added the option to download from a http server
11:53
<ChillerDragon> you can also host your own maps and inform clients about ur server
Avatar
so, is that even possible to make margin only for 1 part? not only HMargin or VMargin
Avatar
ws-client BOT 2023-12-08 11:54:38Z
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
11:55
<ChillerDragon> @кустик also cl_map_download_low_speed_limit 0 but not sure if that only applies to http download
11:55
<ChillerDragon> yea pretty sure its http only
11:56
<ChillerDragon> if you wanna go fast go with http
11:57
<ChillerDragon> you need to serve the map with the checksum at the end
11:58
<ChillerDragon> like they do it here https://maps.ddnet.org/
Avatar
Avatar
ws-client
<ChillerDragon> you need to serve the map with the checksum at the end
This feature is not enabled by default
12:13
HTTPs download has to be programmatically be enabled here https://github.com/ddnet/ddnet/blob/master/src/engine/server/server.cpp#L1284-L1311
Avatar
do we have repository like ddnet-maps for Gores maps ?
Avatar
Avatar
Vexar
do we have repository like ddnet-maps for Gores maps ?
There might be some repositories with Gores maps out there, but nothing official from KoG (edited)
Avatar
no i'm looking for KoG's map repository and their votelist like what ddnet released on ddnet-maps
Avatar
No, not available
Avatar
რილია 2023-12-08 12:44:11Z
how can i compile ddnet on windows using MSYS2
12:44
Software Distribution and Building Platform for Windows
Avatar
I'd suggest using visual studio instead
12:44
(not visual studio code)
Avatar
vscode works great with mingw
Avatar
Avatar
რილია
how can i compile ddnet on windows using MSYS2
if u want to compile from cmd line, then it's similar to how you do it on linux
Avatar
a927eee Fix incorrect error code logged in socket warnings - Robyt3 14c95a6 Avoid setting IP_TOS on IPv6 sockets on Windows - Robyt3 f9dc1f5 Merge pull request #7606 from Robyt3/Base-TOS-Error-Fix - heinrich5991
Avatar
just make sure to init the submodules etc.
Avatar
Avatar
heinrich5991
I'd suggest using visual studio instead
https://forum.ddnet.org/viewtopic.php?t=5765 this is the manual for visual studio
12:46
I don't have one for msys2
Avatar
რილია 2023-12-08 12:46:18Z
i wanna use vs code just as an code editor
Avatar
with vscode it should just work
12:46
use the cmake extension and the rest should work magically
12:52
we also have a vscode workspace: other\vscode\ddnet.code-workspace it suggests good extensions
Avatar
რილია 2023-12-08 12:52:50Z
i installed c/c++ and cmake extentions. now how can i compile ?
Avatar
and rust
Avatar
Avatar
Jupstar ✪
we also have a vscode workspace: other\vscode\ddnet.code-workspace it suggests good extensions
რილია 2023-12-08 12:53:07Z
wow
Avatar
just use Clion instead gigachad
12:53
best IDE
Avatar
use WSL -> wine -> visual studio
Avatar
Install VS 4-5 times so it uses more space
Avatar
Avatar
-StormAx
just use Clion instead gigachad
რილია 2023-12-08 12:54:56Z
i saw a trailer on they're website, i prefer vscode
Avatar
roasted
Avatar
toasted
12:55
🍞
Avatar
hosted
Avatar
Avatar
Jupstar ✪
roasted
Since when ur pfp isn't vulkan poggers2
Avatar
Avatar
MilkeeyCat
Since when ur pfp isn't vulkan poggers2
i tried smth own. but discord compression destroyed it :c
Avatar
Avatar
Jupstar ✪
i tried smth own. but discord compression destroyed it :c
show :0
Avatar
it's already there
12:56
<-
Avatar
Anyway, just install msys2, launch the ucrt terminal, install the dependencies. I'd suggest pacman -Syuu then pacman -S pactoys then use pacboy to install the dependencies
Avatar
what's pacboy?
Avatar
Avatar
heinrich5991
what's pacboy?
It helps with the nasty package names in mingw
Avatar
sounds useful xD
Avatar
E.g. you can just do pacboy -S cmake:x
Avatar
even i to find the correct ones
12:57
hate to*
Avatar
For the ucrt terminal you always want :u at the end and that's it no need to remember the triplet or google stuff
Avatar
i still generally find it over complicated
12:59
is that the best they could come up with xd
13:00
lets just add 200 terminals (edited)
13:01
so it's 100% clear what you want
Avatar
Idk why so many either. Just always use ucrt
Avatar
Avatar
რილია
how can i compile ddnet on windows using MSYS2
from the ucrt shell pacman -S base-devel mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-curl mingw-w64-ucrt-x86_64-ffmpeg mingw-w64-ucrt-x86_64-freetype git mingw-w64-ucrt-x86_64-glew mingw-w64-ucrt-x86_64-glslang mingw- w64-ucrt-x86_64-libpng mingw-w64-ucrt-x86_64-opusfile mingw-w64-ucrt-x86_64-python3 mingw-w64-ucrt-x86_64-rust mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-spirv-tools mingw-w64-ucrt-x86_64-sqlite mingw-w64-ucrt-x86_64-vulkan-headers mingw-w64-ucrt-x86_64-vulkan-loader mingw-w64-ucrt-x86_64-wavpack mingw-w64-ucrt-x86_64-x264 --noconfirm git clone https://github.com/ddnet/ddnet cd ./ddnet cmake -B build -S . cmake --build build --config Release --parallel ddnet will be in ddnet/build/DDNet.exe
Avatar
Well I do know why, but why install them all idk 😄
Avatar
Avatar
heinrich5991
I'd suggest using visual studio instead
why
Avatar
Avatar
Ewan
why
more nub friendly
Avatar
it literally isn't
13:04
stupid idea
Avatar
Heinrich likes VS for some reason idk
Avatar
very weird
13:05
yes i'd personally recommend using the more convoluted build strategy
Avatar
i used to like it to tbh but nowadays vscode is just as good
13:05
and slimmer
Avatar
they are for different tasks nowadays
Avatar
Avatar
Ewan
it literally isn't
I can open the project and have it work
Avatar
Avatar
Jupstar ✪
i used to like it to tbh but nowadays vscode is just as good
You liking it wouldn't surprise me, heinrich liking it does
Avatar
without much fiddling
13:05
also, I have a tutorial for it
13:05
which should answer all the questions
Avatar
well you still have dozens of GB of extra overhead when you install visual studio with the required workflows
13:06
plus the added slog of vs itself
13:06
when msys is small and lightweight in and of itself and is literally less work to create a working build
13:06
doesn't make much sense
Avatar
Avatar
Ewan
well you still have dozens of GB of extra overhead when you install visual studio with the required workflows
with a nice installer
Avatar
the msys installer is good too
Avatar
Avatar
Ewan
when msys is small and lightweight in and of itself and is literally less work to create a working build
I wouldn't know how to give complete step-by-step instructions for msys
13:07
if you want to do them, please do
Avatar
i just did it 😃
Avatar
no, that's not step-by-step
Avatar
yes it is
Avatar
ok, where can I find it?
Avatar
find what
Avatar
the step-by-step instructions
13:07
I apparently can't identify them
13:07
can you link them to me?
Avatar
Avatar
Ewan
from the ucrt shell pacman -S base-devel mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-curl mingw-w64-ucrt-x86_64-ffmpeg mingw-w64-ucrt-x86_64-freetype git mingw-w64-ucrt-x86_64-glew mingw-w64-ucrt-x86_64-glslang mingw- w64-ucrt-x86_64-libpng mingw-w64-ucrt-x86_64-opusfile mingw-w64-ucrt-x86_64-python3 mingw-w64-ucrt-x86_64-rust mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-spirv-tools mingw-w64-ucrt-x86_64-sqlite mingw-w64-ucrt-x86_64-vulkan-headers mingw-w64-ucrt-x86_64-vulkan-loader mingw-w64-ucrt-x86_64-wavpack mingw-w64-ucrt-x86_64-x264 --noconfirm git clone https://github.com/ddnet/ddnet cd ./ddnet cmake -B build -S . cmake --build build --config Release --parallel ddnet will be in ddnet/build/DDNet.exe
right here
Avatar
where is the ucrt shell?
13:08
what is a shell
13:08
what is ucrt?
Avatar
windows key -> "ucrt" first result
Avatar
opens bing for me (edited)
13:08
ucrt is universal crt
Avatar
lmao now it escalates
Avatar
Avatar
Ewan
when msys is small and lightweight in and of itself and is literally less work to create a working build
It could require an entire drive to itself and VS enjoyers wouldn't care. UX people only care about the UX. It ooks cool + it has one button to do what I want = is good produkt
Avatar
c runtime on all windows installs since win 8
Avatar
Avatar
Ewan
from the ucrt shell pacman -S base-devel mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-curl mingw-w64-ucrt-x86_64-ffmpeg mingw-w64-ucrt-x86_64-freetype git mingw-w64-ucrt-x86_64-glew mingw-w64-ucrt-x86_64-glslang mingw- w64-ucrt-x86_64-libpng mingw-w64-ucrt-x86_64-opusfile mingw-w64-ucrt-x86_64-python3 mingw-w64-ucrt-x86_64-rust mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-spirv-tools mingw-w64-ucrt-x86_64-sqlite mingw-w64-ucrt-x86_64-vulkan-headers mingw-w64-ucrt-x86_64-vulkan-loader mingw-w64-ucrt-x86_64-wavpack mingw-w64-ucrt-x86_64-x264 --noconfirm git clone https://github.com/ddnet/ddnet cd ./ddnet cmake -B build -S . cmake --build build --config Release --parallel ddnet will be in ddnet/build/DDNet.exe
რილია 2023-12-08 13:08:34Z
i am trying it
Avatar
Avatar
Learath2
It could require an entire drive to itself and VS enjoyers wouldn't care. UX people only care about the UX. It ooks cool + it has one button to do what I want = is good produkt
i sympathize with both i just don't see how it's any better for this application
Avatar
@Ewan what I mean is "this is by far not a step-by-step explanation. you didn't start on how we can install msys"
Avatar
not saying vs is bad
Avatar
if you want to write a tutorial, start with a clean windows VM, and record all the steps you do
13:09
including the ones you deem obvious
Avatar
Avatar
heinrich5991
@Ewan what I mean is "this is by far not a step-by-step explanation. you didn't start on how we can install msys"
k do you want like super noob instructions or ones tailored to the guy who asked a question at a knowledge level i can assume my answer is adequate for
Avatar
people will not find them obvious
13:09
super noob instructions
Avatar
Avatar
heinrich5991
@Ewan what I mean is "this is by far not a step-by-step explanation. you didn't start on how we can install msys"
You just spam next. I have a text doc detailing all the steps that I never made into a tutorial 😄
Avatar
where do you even download it?
Avatar
heinrich i literally need to add like 3 steps to make the tutorial noob friendly from a fresh vm... which wasn't even the goal in the first place...
Avatar
Avatar
heinrich5991
where do you even download it?
IMO if you can't google msys2 I think you have no business compiling anything before you get a little more competence with a computer.
Avatar
download msys from msys2.org downloads page run installer and press next as the installer tells you to press windows key, search msys ucrt64 the rest of what i already said
Avatar
Avatar
Ewan
when msys is small and lightweight in and of itself and is literally less work to create a working build
რილია 2023-12-08 13:11:56Z
finally someone 😄 i remember compiling a game (principia) and it was so easy to me (i had 0 coding experiment)
Avatar
msys is goated with the sauce
Avatar
Avatar
Ewan
download msys from msys2.org downloads page run installer and press next as the installer tells you to press windows key, search msys ucrt64 the rest of what i already said
that looks quite good already 🙂
Avatar
you could argue that it's still faster to google all msys stuff than installing Visual Studio 😂 😂 😂
Avatar
not sure if it actually works, but if someone confirms it, we could add it to the readme
Avatar
Avatar
Jupstar ✪
you could argue that it's still faster to google all msys stuff than installing Visual Studio 😂 😂 😂
There is only one issue with msys. If something goes wrong it looks scary. With VS if something goes wrong you get a message box saying something went wrong
13:14
You are stuck on the big scary user unfriendly black screen 👻
Avatar
that's why i like rust
13:14
FFR
Avatar
heinrich if your concern really is making ddnet compilable by people who don't even know what a compiler is maybe you should create a tool that can do it for them in the click of a button...
Avatar
even as dev i'd say it's nice to not know everything under the hood
Avatar
it's nice to help beginners
13:15
I know how hard it was for me to compile teeworlds for the first time
Avatar
sure but it's not like my instructions were beginner-unfriendly. you're just being a jerk
Avatar
you'd probably want to gatekeep me, back then, based on your standards
Avatar
may I drop in the question whiy ddnet isn't c++20 but c++17?
Avatar
lots of work to upgrade
Avatar
Avatar
Fussel
may I drop in the question whiy ddnet isn't c++20 but c++17?
I think there's an issue about that
13:16
on github
Avatar
p sure it's stalled atm
Avatar
Avatar
Jupstar ✪
even as dev i'd say it's nice to not know everything under the hood
Googling msys2 is not very under the hood 😄
Avatar
Avatar
Fussel
may I drop in the question whiy ddnet isn't c++20 but c++17?
the main reason is that c++20 came to a bad time, if you consider the Ubuntu release schedule
13:16
so basically we wait for next ubuntu
Avatar
@heinrich5991 i get some warnings that definitely should be taken care of, but I'm on 85% now (edited)
Avatar
რილია 2023-12-08 13:17:06Z
i just wanna learn coding so i can make a good block sv for my people on persian ddnet
Avatar
wholesome 100
Avatar
Avatar
Jupstar ✪
the main reason is that c++20 came to a bad time, if you consider the Ubuntu release schedule
Didn't we have an issue with linking to an old enough libc?
Avatar
Avatar
Learath2
Didn't we have an issue with linking to an old enough libc?
yeah but deen didnt got it working
13:17
but yeah that would be a nice solution too
Avatar
Avatar
Ewan
wholesome 100
He wants to sell vip to persian people so he can make bank and go to the bahamas
💀 1
13:17
It's not wholesomechungus
Avatar
Avatar
რილია
i just wanna learn coding so i can make a good block sv for my people on persian ddnet
sounds good
13:17
good luck
Avatar
must respect the hustle
Avatar
stay motivated even if the beginning is hard
Avatar
Avatar
Learath2
He wants to sell vip to persian people so he can make bank and go to the bahamas
as if they have money 😂
Avatar
Avatar
Ewan
sure but it's not like my instructions were beginner-unfriendly. you're just being a jerk
I think you overestimate how "obvious" stuff is to beginners
Avatar
i'm just missing the relevance here, the dude knew what the ucrt shell was, and he already had msys installed (he was asking how to compile with msys). i just provided the missing pieces of the puzzle that he had already started (edited)
Avatar
Avatar
Learath2
He wants to sell vip to persian people so he can make bank and go to the bahamas
რილია 2023-12-08 13:19:24Z
troll
Avatar
Bam was pretty good about making it easy for beginners ngl
Avatar
bam is cool
Avatar
Avatar
Ewan
it literally isn't
^
Avatar
Avatar
Ewan
i'm just missing the relevance here, the dude knew what the ucrt shell was, and he already had msys installed (he was asking how to compile with msys). i just provided the missing pieces of the puzzle that he had already started (edited)
well tbf heinrich did not know at the point he suggested VS
Avatar
Avatar
Learath2
Bam was pretty good about making it easy for beginners ngl
no
Avatar
Avatar
Learath2
Bam was pretty good about making it easy for beginners ngl
A piece of software that embodies "it just works"
Avatar
bam was absolutely horrible
Avatar
it required you to build your build system before you could build teeworlds
Avatar
Avatar
Ewan
i'm just missing the relevance here, the dude knew what the ucrt shell was, and he already had msys installed (he was asking how to compile with msys). i just provided the missing pieces of the puzzle that he had already started (edited)
რილია 2023-12-08 13:21:09Z
before you i just copied the Dependencies on ddnet github page and it didn't worked
Avatar
Avatar
heinrich5991
it required you to build your build system before you could build teeworlds
Which was just double clicking make_windows.bat or make_unix.sh
Avatar
versus not even having to install anything with cmake
13:21
because it comes pre-installed with msvs
13:22
also, placing the bam executable at a convenient place
13:22
so that you could call it
Avatar
using bam: ok IMO dev for bam: horrible
Avatar
Avatar
heinrich5991
versus not even having to install anything with cmake
Ackshully you have to install msvs, so it's still installing something
Avatar
which was not trivial
Avatar
when we had both build systems in place. it was horrible xd
13:22
it was the time where i first dev'd for ddnet xD
Avatar
Avatar
Jupstar ✪
using bam: ok IMO dev for bam: horrible
Yeah the lua configuration wasn't the very best ngl
Avatar
you also had to install msvs for bam, if you wanted to compile bam
Avatar
Back then msvs didn't come with cmake. So it was the same amount of effort on windows
Avatar
I see. I was talking about cmake now
13:23
even back then, you could simply install cmake from the website
Avatar
we should switch to c++20, u should not game on linux if u use a old distro
Avatar
I honestly don't know why people who are unable to double click a file and copy bam.exe to C:\ is a target demographic, but sure
Avatar
apt install bam worked iirc
13:25
as always its windows who has problems
Avatar
Avatar
Ryozuki
apt install bam worked iirc
It was too old after a while
Avatar
Avatar
Ryozuki
apt install bam worked iirc
only when teeworlds used the same version of bam currently shipped in the repos
Avatar
Avatar
Learath2
I honestly don't know why people who are unable to double click a file and copy bam.exe to C:\ is a target demographic, but sure
I'd consider myself 14-year old me to be in the target demographic
Avatar
did someone make a meson poc? is it less confusing?
13:26
cmake is confusing ngl
Avatar
and I can tell you, compiling teeworlds for the first time was hard for me
Avatar
the dev part
Avatar
I didn't know anything about unix shells (edited)
Avatar
Avatar
Ryozuki
we should switch to c++20, u should not game on linux if u use a old distro
if u use old software, don't expect current one to work xd
Avatar
@Learath2 im heading to anime convention 😬justatest
Avatar
Avatar
Ryozuki
did someone make a meson poc? is it less confusing?
why u so hyped about meson xd
Avatar
Avatar
heinrich5991
I'd consider myself 14-year old me to be in the target demographic
I was there too, I figured out stuff, I asked around, it worked out. It's part of the process. Being able to generate an executable won't get you anywhere if you aren't willing to put in any work
Avatar
i tried it and it looked like the configure part was instant
13:27
cmake is far from instant
Avatar
Avatar
Ryozuki
@Learath2 im heading to anime convention 😬justatest
Why didn't you invite me?
Avatar
come barcelona
Avatar
Avatar
Learath2
I was there too, I figured out stuff, I asked around, it worked out. It's part of the process. Being able to generate an executable won't get you anywhere if you aren't willing to put in any work
but that shouldn't be the main hurdle. you still have enough other hurdles to figure out
13:27
why gatekeep the first working executable?
Avatar
It's not so much gatekeeping but forced training 😄
Avatar
once you have a working build setup, it's much easier to debug
13:28
do you not agree that in principle, building should be as easy as possible for first-time contributors?
13:28
even today, I hate it if projects have complicated building setups
Avatar
Avatar
Ewan
from the ucrt shell pacman -S base-devel mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-curl mingw-w64-ucrt-x86_64-ffmpeg mingw-w64-ucrt-x86_64-freetype git mingw-w64-ucrt-x86_64-glew mingw-w64-ucrt-x86_64-glslang mingw- w64-ucrt-x86_64-libpng mingw-w64-ucrt-x86_64-opusfile mingw-w64-ucrt-x86_64-python3 mingw-w64-ucrt-x86_64-rust mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-spirv-tools mingw-w64-ucrt-x86_64-sqlite mingw-w64-ucrt-x86_64-vulkan-headers mingw-w64-ucrt-x86_64-vulkan-loader mingw-w64-ucrt-x86_64-wavpack mingw-w64-ucrt-x86_64-x264 --noconfirm git clone https://github.com/ddnet/ddnet cd ./ddnet cmake -B build -S . cmake --build build --config Release --parallel ddnet will be in ddnet/build/DDNet.exe
რილია 2023-12-08 13:28:38Z
cmake -B build -S CMake Error: No source directory specified for -S CMake Error: Run 'cmake --help' for all supported options.
Avatar
it makes me less likely to contribute
Avatar
you forgot the dot
Avatar
100% agree
Avatar
it's cmake -B build -S .
Avatar
Avatar
რილია
cmake -B build -S CMake Error: No source directory specified for -S CMake Error: Run 'cmake --help' for all supported options.
you're missing a dot
Avatar
my challenge is to not use any build script for rust
Avatar
რილია 2023-12-08 13:29:04Z
wow
Avatar
until now, i didnt need it
Avatar
with rust, I just write cargo build
Avatar
note that dot means current directory
Avatar
it's amazing
Avatar
Avatar
heinrich5991
do you not agree that in principle, building should be as easy as possible for first-time contributors?
Not like they will contribute anything if they can't google msys2. It should be simple, but it doesn't have to be one button
Avatar
I'm not missing anything
Avatar
Avatar
Learath2
Not like they will contribute anything if they can't google msys2. It should be simple, but it doesn't have to be one button
yes, they will
Avatar
რილია 2023-12-08 13:29:34Z
it's building it :DDDD
Avatar
Avatar
რილია
it's building it :DDDD
epic gamer moment
Avatar
I'm not sure where you get the idea from that only people willing to go through arcane build setups will contribute
Avatar
Avatar
heinrich5991
it's amazing
unless u need a native c dep lib
13:29
xd
Avatar
რილია 2023-12-08 13:29:53Z
-- Configuring incomplete, errors occurred!
Avatar
I'm today still discouraged if stuff is hard to build
Avatar
Avatar
რილია
-- Configuring incomplete, errors occurred!
submodules checked out?
Avatar
e.g. sane
13:30
I haven't looked into it a lot yet
Avatar
how can we make ddnet more sane?
13:30
we limited to c++ stupid tooling
Avatar
sane, the scanning tool
Avatar
Avatar
heinrich5991
I'm not sure where you get the idea from that only people willing to go through arcane build setups will contribute
It's not arcane to have basic computer competence. If you can't use google what hope do you have of providing any useful contribution?
Avatar
Avatar
Ryozuki
how can we make ddnet more sane?
well our cmake script is huge. that's insane xdd
Avatar
this isn't basic computer competence
13:31
being able to code c++ and being able to handle a terminal is completely orthogonal
Avatar
Avatar
Jupstar ✪
well our cmake script is huge. that's insane xdd
ye xd, I think projects make it more modular, cmakelists on each folrer
13:31
folder
13:31
separation of concerns
Avatar
რილია 2023-12-08 13:31:11Z
CMake Error at cmake/FindSSP.cmake:12 (message): could not find ssp paths Call Stack (most recent call first): CMakeLists.txt:544 (find_package) -- Configuring incomplete, errors occurred!
Avatar
after the vulkan backend, it's the longest file iirc
Avatar
llvm does that
Avatar
there are windows programmers that don't like dealing with linux shells
13:31
yet are perfectly capable programmers
13:31
I think you're a bit in a bubble
Avatar
Avatar
heinrich5991
there are windows programmers that don't like dealing with linux shells
justatest justatest justatest
Avatar
Avatar
რილია
CMake Error at cmake/FindSSP.cmake:12 (message): could not find ssp paths Call Stack (most recent call first): CMakeLists.txt:544 (find_package) -- Configuring incomplete, errors occurred!
რილია 2023-12-08 13:32:19Z
is this a big deal, can i execute the next line or ....
Avatar
Avatar
რილია
CMake Error at cmake/FindSSP.cmake:12 (message): could not find ssp paths Call Stack (most recent call first): CMakeLists.txt:544 (find_package) -- Configuring incomplete, errors occurred!
install it
Avatar
I'd go so far as to argue that if you aren't willing to just sit down and spend 30 minutes of your time learning how to use a shell you are very likely not as competent a programmer as you think you are
Avatar
i dunno how the package is called
13:32
but smth like libssp xd
Avatar
Avatar
Learath2
I'd go so far as to argue that if you aren't willing to just sit down and spend 30 minutes of your time learning how to use a shell you are very likely not as competent a programmer as you think you are
i agree with this btw
Avatar
or r we shipping it even
13:33
then it's still submodules
Avatar
Avatar
Ewan
it's cmake -B build -S .
რილია 2023-12-08 13:33:47Z
bro
Avatar
რილია 2023-12-08 13:34:04Z
what do i do ?
Avatar
Avatar
რილია
CMake Error at cmake/FindSSP.cmake:12 (message): could not find ssp paths Call Stack (most recent call first): CMakeLists.txt:544 (find_package) -- Configuring incomplete, errors occurred!
mh tbh it should be isntalled lol
Avatar
oh thats some crap you have to turn off
Avatar
(cmake -B build suffices btw)
Avatar
Avatar
რილია
what do i do ?
git submodule update --init --recursive
Avatar
Avatar
რილია
what do i do ?
is your ddnet-libs dir empty?
Avatar
I love how this experiment is technically proving heinrich right, if he had just used VS it would have worked out fine 😄
Avatar
Avatar
Robyt3
git submodule update --init --recursive
This one yeah
13:34
i just forgot a step ok
Avatar
And the step by step guide should use git clone --recursive https://github.com/ddnet/ddnet instead
Avatar
@Robyt3 nice that you learn rust lately
13:35
when did u secretly started?
Avatar
Avatar
Jupstar ✪
is your ddnet-libs dir empty?
რილია 2023-12-08 13:35:18Z
where is home on windows ? /home/Melanin_m/ddnet
Avatar
Avatar
რილია
where is home on windows ? /home/Melanin_m/ddnet
try the command robyte send in the ddnet dir in a git bash shell
Avatar
Avatar
Learath2
I love how this experiment is technically proving heinrich right, if he had just used VS it would have worked out fine 😄
რილია 2023-12-08 13:35:41Z
no vs today
Avatar
Avatar
Jupstar ✪
@Robyt3 nice that you learn rust lately
one more in
13:35
NekoEvil NekoEvil NekoEvil
Avatar
Avatar
Jupstar ✪
@Robyt3 nice that you learn rust lately
Where did I write rust? thonk
Avatar
Avatar
Robyt3
Where did I write rust? thonk
u used rust like syntax in your pr lately
13:36
clear indicator
Avatar
elp im surrounded by weebs
Avatar
u never did that
Avatar
Avatar
რილია
no vs today
Good for you, hardwork pays off
Avatar
@Robyt3 is that correct? 😬
Avatar
Avatar
Ryozuki
elp im surrounded by weebs
Are people doing the cosplay thing?
Avatar
Avatar
Jupstar ✪
@Robyt3 is that correct? 😬
No I haven't learned any more rust yet, which PR do you mean?
Avatar
Avatar
Robyt3
No I haven't learned any more rust yet, which PR do you mean?
#7606
Avatar
See #7605. 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 ba...
Avatar
Avatar
Robyt3
git submodule update --init --recursive
რილია 2023-12-08 13:38:19Z
$ git submodule update --init --recursive Submodule 'ddnet-libs' (https://github.com/ddnet/ddnet-libs) registered for path 'ddnet-libs' Cloning into '/home/Melanin_m/ddnet/ddnet-libs'... Submodule path 'ddnet-libs': checked out '59d64dbb36ade02607ad20a7f3a45605ab1de80d'
Precompiled libraries and headers of the dependencies of DDNet - GitHub - ddnet/ddnet-libs: Precompiled libraries and headers of the dependencies of DDNet
Avatar
i've never before seen you adding braces for 1liners
13:38
more the opposite
Avatar
I was forced by clang-tidy for some weird reasons that I don't understand
Avatar
lol
13:38
ok rip
Avatar
Avatar
Learath2
Are people doing the cosplay thing?
lots ofc
Avatar
Maybe the line length was too long because I changed errno to net_errno(), never had this before though
13:40
*clang-format not clang-tidy
Avatar
Avatar
რილია
$ git submodule update --init --recursive Submodule 'ddnet-libs' (https://github.com/ddnet/ddnet-libs) registered for path 'ddnet-libs' Cloning into '/home/Melanin_m/ddnet/ddnet-libs'... Submodule path 'ddnet-libs': checked out '59d64dbb36ade02607ad20a7f3a45605ab1de80d'
Looks correct, continue with the step that previously failed
Avatar
Avatar
Robyt3
Looks correct, continue with the step that previously failed
რილია 2023-12-08 13:46:33Z
i build without any error. but i can't find the ddnet source i just cloned, i typing "pwd" and it sais "/home/Melanin_m/ddnet". then i go to "C:\Users\Melanin_m", but there is no ddnet folder here
Avatar
Avatar
რილია
i build without any error. but i can't find the ddnet source i just cloned, i typing "pwd" and it sais "/home/Melanin_m/ddnet". then i go to "C:\Users\Melanin_m", but there is no ddnet folder here
lmao it's probably in your mingw structure
13:47
can't u do rightclick open explorer here
Avatar
Run the command explorer . in the shell in that folder, which should open Windows Explorer in that folder
Avatar
nice trick, didn't know about that one
Avatar
Oh yeah mingw no longer uses your real user folder as your mingw user folder
13:48
Now that's a trap if I've seen one
Avatar
Avatar
Jupstar ✪
lmao it's probably in your mingw structure
რილია 2023-12-08 13:48:47Z
yes it is
13:53
ha ha ha ha :DDDDDDD i build the ddnet 🙂 now lets go learn cpp
Avatar
why is voxel timeouted?!
Avatar
Now I need to get out of my bed and fix the stupid bot because people will think it's hilarious to get the bots to loop
Avatar
Avatar
რილია
ha ha ha ha :DDDDDDD i build the ddnet 🙂 now lets go learn cpp
good luck
13:53
after 10 years i still know nothing
kek 2
Avatar
Avatar
-StormAx
why is voxel timeouted?!
because the mods hate fun
Avatar
moderation discussion goes to DM
Avatar
let the record show that i was only fixing their malformed command...
Avatar
and it was me
Avatar
lol did u delete my message
Avatar
discussion is over, we can change topic
Avatar
wtf
Avatar
yes this is better for sure
13:55
????
Avatar
@რილია if u want to take it serious. i'd highly suggest to start with small tasks. you cannot just create a block server from nothing. Look what you want to achieve and split your tasks
Avatar
რილია 2023-12-08 13:56:12Z
thank you @Ewan @Robyt3 ❤️ ❤️
Avatar
yes. try to make a trivial change first
13:56
that you can observe somehow
Avatar
რილია 2023-12-08 13:57:25Z
can you guys make a thing for all of this on ddnet github page for other people ?
Avatar
Avatar
Jupstar ✪
@რილია if u want to take it serious. i'd highly suggest to start with small tasks. you cannot just create a block server from nothing. Look what you want to achieve and split your tasks
რილია 2023-12-08 13:57:30Z
ok
Avatar
Avatar
რილია
can you guys make a thing for all of this on ddnet github page for other people ?
Yeah, not the worst idea. I'll try to polish up my text file and add it to the readme or some other file
Avatar
Avatar
Learath2
Yeah, not the worst idea. I'll try to polish up my text file and add it to the readme or some other file
რილია 2023-12-08 13:58:15Z
thank you ❤️
Avatar
რილია 2023-12-08 14:01:39Z
and these are all of the commands i just copied : from the ucrt shell pacman -S base-devel mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-curl mingw-w64-ucrt-x86_64-ffmpeg mingw-w64-ucrt-x86_64-freetype git mingw-w64-ucrt-x86_64-glew mingw-w64-ucrt-x86_64-glslang mingw-w64-ucrt-x86_64-libpng mingw-w64-ucrt-x86_64-opusfile mingw-w64-ucrt-x86_64-python3 mingw-w64-ucrt-x86_64-rust mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-spirv-tools mingw-w64-ucrt-x86_64-sqlite mingw-w64-ucrt-x86_64-vulkan-headers mingw-w64-ucrt-x86_64-vulkan-loader mingw-w64-ucrt-x86_64-wavpack mingw-w64-ucrt-x86_64-x264 --noconfirm git clone https://github.com/ddnet/ddnet git submodule update --init --recursive cd ./ddnet cmake -B build -S . cmake --build build --config Release --parallel ddnet will be in ddnet/build/DDNet.exe (edited)
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
14:02
it just made my day, i wanted to compile ddnet for 1 month 😄
14:02
on windows
Avatar
Now you are well on your way to make bank so you can run off to the Caribbean
😂 1
Avatar
Avatar
რილია
it just made my day, i wanted to compile ddnet for 1 month 😄
For one month?
14:03
What d u mean?
Avatar
Avatar
Leviatan
For one month?
რილია 2023-12-08 14:04:37Z
i couldn't do it with gitgub page instruction on windows and readme file on the source
14:04
and i didn't want to install vs
14:05
You forgot the deps?
Avatar
Avatar
Leviatan
You forgot the deps?
რილია 2023-12-08 14:05:48Z
what is deps ?
Avatar
Dependencies?
Avatar
რილია 2023-12-08 14:05:56Z
an step or two ?
Avatar
Is it said that way?
Avatar
Avatar
რილია
can you guys make a thing for all of this on ddnet github page for other people ?
check out my blog
14:06
it walks through making a chat command
Avatar
რილია 2023-12-08 14:07:24Z
i see it on wiki page
Avatar
Avatar
Ryozuki
it walks through making a chat command
This is a nice first thing to do
14:09
You'll want lots of chat commands for your p2w server, players love chat commands
14:09
/rainbow
Avatar
Avatar
Leviatan
Dependencies?
რილია 2023-12-08 14:09:29Z
it didn't said the build steps in my prefered program on windows
Avatar
Avatar
Leviatan
Dependencies?
He wanted to build with mingw, we didn't have instructions for it, that was the issue
14:10
Ooh
14:10
Idk about mingw
14:10
Linux user 🤑
Avatar
when trying to render a logo like this: IGraphics::CTextureHandle LogoTexture = Graphics()->LoadTexture("gui_logo.png", IStorage::TYPE_ALL, CImageInfo::FORMAT_RGBA); if (LogoTexture.IsValid()) { Graphics()->TextureSet(LogoTexture); Graphics()->BlendNormal(); Graphics()->QuadsBegin(); IGraphics::CQuadItem QuadItem(StALogo.x, StALogo.y, StALogo.w, StALogo.h); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); } crash happens either after a good 5 seconds, or after trying to screenshot it - lol any idea what i did wrong ? the logo is 512x147 pixel's, 80kb, lol (edited)
Avatar
Apparently I never finished this text file, or maybe the complete one is on the VM pepeW
14:13
@Ryozuki would have been nice if you elaborated on what a callback is in your blogpost
Avatar
Avatar
meloƞ
when trying to render a logo like this: IGraphics::CTextureHandle LogoTexture = Graphics()->LoadTexture("gui_logo.png", IStorage::TYPE_ALL, CImageInfo::FORMAT_RGBA); if (LogoTexture.IsValid()) { Graphics()->TextureSet(LogoTexture); Graphics()->BlendNormal(); Graphics()->QuadsBegin(); IGraphics::CQuadItem QuadItem(StALogo.x, StALogo.y, StALogo.w, StALogo.h); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); } crash happens either after a good 5 seconds, or after trying to screenshot it - lol any idea what i did wrong ? the logo is 512x147 pixel's, 80kb, lol (edited)
It might be stopping being "valid"I think the problem is in another place
Avatar
Avatar
meloƞ
when trying to render a logo like this: IGraphics::CTextureHandle LogoTexture = Graphics()->LoadTexture("gui_logo.png", IStorage::TYPE_ALL, CImageInfo::FORMAT_RGBA); if (LogoTexture.IsValid()) { Graphics()->TextureSet(LogoTexture); Graphics()->BlendNormal(); Graphics()->QuadsBegin(); IGraphics::CQuadItem QuadItem(StALogo.x, StALogo.y, StALogo.w, StALogo.h); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); } crash happens either after a good 5 seconds, or after trying to screenshot it - lol any idea what i did wrong ? the logo is 512x147 pixel's, 80kb, lol (edited)
Are you perhap doing the load all the time?
Avatar
already tried popping it out of the isvalid check, still happens
Avatar
Avatar
meloƞ
when trying to render a logo like this: IGraphics::CTextureHandle LogoTexture = Graphics()->LoadTexture("gui_logo.png", IStorage::TYPE_ALL, CImageInfo::FORMAT_RGBA); if (LogoTexture.IsValid()) { Graphics()->TextureSet(LogoTexture); Graphics()->BlendNormal(); Graphics()->QuadsBegin(); IGraphics::CQuadItem QuadItem(StALogo.x, StALogo.y, StALogo.w, StALogo.h); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); } crash happens either after a good 5 seconds, or after trying to screenshot it - lol any idea what i did wrong ? the logo is 512x147 pixel's, 80kb, lol (edited)
your problem is not the logo
14:15
i assume u have tons of other assets?
Avatar
Avatar
Learath2
@Ryozuki would have been nice if you elaborated on what a callback is in your blogpost
i guess, when u know its hard to assume what a newb wouldnt know
Avatar
or 4k assets?
Avatar
You are supposed to load the texture once, usually into a member variable, then if it's already loaded never load it again
Avatar
Avatar
meloƞ
when trying to render a logo like this: IGraphics::CTextureHandle LogoTexture = Graphics()->LoadTexture("gui_logo.png", IStorage::TYPE_ALL, CImageInfo::FORMAT_RGBA); if (LogoTexture.IsValid()) { Graphics()->TextureSet(LogoTexture); Graphics()->BlendNormal(); Graphics()->QuadsBegin(); IGraphics::CQuadItem QuadItem(StALogo.x, StALogo.y, StALogo.w, StALogo.h); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); } crash happens either after a good 5 seconds, or after trying to screenshot it - lol any idea what i did wrong ? the logo is 512x147 pixel's, 80kb, lol (edited)
Are you doing a LoadTexture every frame? That would explain it :D Use Graphics()->TextureSet(g_pData->m_aImages[IMAGE_BANNER].m_Id); instead.
Avatar
Avatar
furo
Are you doing a LoadTexture every frame? That would explain it :D Use Graphics()->TextureSet(g_pData->m_aImages[IMAGE_BANNER].m_Id); instead.
Yeah, this is also my guess 😄
Avatar
gawd damn i started smth - thanks, will try
Avatar
ah right in cpp-ddnet textures can leak
Avatar
Avatar
Jupstar ✪
ah right in cpp-ddnet textures can leak
When IGraphics::CTextureHandle RAII?
Avatar
dd-pg has it
14:17
😏
Avatar
Make it for normal ddnet too, don't be selfish
Avatar
i'm not selfish
14:17
i just like modern solutions
14:17
to modern problems
Avatar
@Ryozuki also when Implementing a rcon command? I've been waiting so long for the next part of your series
14:18
a fan?
14:19
poggers2
Avatar
Yes, I need to add an rcon command to my mod but I can't because you won't teach
Avatar
Ryo your blogpost helped me a bunch - continue!
Avatar
#7555 scares me a lot, I think it's a bad bad idea to merge it
Avatar
I want to make it clear that my intent is not for offical DDRace servers to change with this pr. Without recompiling with a different tickrate nothing in the gameplay will change. DDNet is the clie...
Avatar
The scale of the change and the fact that it touches something so fundamental practically guarantees we break something
Avatar
the change looks bigger than it is
Avatar
Avatar
Learath2
The scale of the change and the fact that it touches something so fundamental practically guarantees we break something
i'd say it rewrites it
14:26
most of the calculations end up being smth like * 1
14:26
or all
14:26
to be precise xD
Avatar
If a majority of you agree that it should be merged I won't complain but I wouldn't touch this with a 60 foot pole
Avatar
i'd like to test it with a few ppl
Avatar
I'd generally also be against merging it. if we merge it however, it should provide proper support for demos/ghosts
Avatar
Last time we had an issue with demos we had to roll out tools to fix demos, there are still broken demos around
Avatar
only slightly against merging though, it's okay if others find it worthwhile
Avatar
yeah demos etc are defs a problem
14:29
it's not directly useful for ddnet anyway
14:29
could also disable demos
14:29
and ghosts
Avatar
oh yeah
14:29
that'd work as a band-aid solution
14:29
but please no broken demos or half-working demos
Avatar
I also see changes around prediction code, I know you hate old versions with a passion but this should be tested both backwards and forwards for compatibility
Avatar
what old versions 😬
14:31
tbh
14:32
the biggest issue is.. wtf is prediction code smth else than server code
Avatar
bad design
14:32
xd
Avatar
Avatar
Jupstar ✪
the biggest issue is.. wtf is prediction code smth else than server code
yes
Avatar
why is*
Avatar
wtf as in why tf?
Avatar
Avatar
Learath2
?
not a helpful question ^^
Avatar
Avatar
Learath2
wtf as in why tf?
yes
Avatar
yeah dunno why i wrote wtf
Avatar
Avatar
heinrich5991
not a helpful question ^^
I genuinely could not decode it
Avatar
i meant why
Avatar
It triggered an exception in my english parser
Avatar
Avatar
Learath2
I genuinely could not decode it
it's unclear what you don't understand if you don't elaborate. we're left guessing. the second question makes it clear 🙂
Avatar
Avatar
Jupstar ✪
bad design
anyway, yeah, bad bad bad design
Avatar
Avatar
Learath2
anyway, yeah, bad bad bad design
i'm never sure if u sarcastic xD
Avatar
you need to be so extremely careful when changing anything because of that
14:34
and it's not even just one file you need to keep an eye on, some of the prediction happens outside of src/game/client/prediction
Avatar
use furo's suggestion so code works and feels nice? ❌ implement a bool check to LoadTexture only once? f3 (edited)
14:35
And what, did you use a static?
Avatar
static bool IsTextureLoaded = false; static IGraphics::CTextureHandle LogoTexture; if (!IsTextureLoaded) { dbg_msg("DDStats", "Rendering Logo"); LogoTexture = Graphics()->LoadTexture("gui_logo.png", IStorageTW::TYPE_ALL, CImageInfo::FORMAT_RGBA); IsTextureLoaded = LogoTexture.IsValid(); } if (IsTextureLoaded) { Graphics()->TextureSet(LogoTexture); Graphics()->BlendNormal(); Graphics()->QuadsBegin(); IGraphics::CQuadItem QuadItem(StALogo.x, StALogo.y, StALogo.w, StALogo.h); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); } maybe
Avatar
Excellent code, I'm proud of you
pepeW 2
Avatar
u lost me in the first keyword
Avatar
static
Avatar
static can be good for performance 😄
Avatar
ah nice, C++ finally also got it? ^^
Avatar
global state: ok sometimes global variables: no
Avatar
It's been there since C++11 😄
Avatar
nvm, it's already in C++11 😮
14:37
nice
Avatar
Avatar
Jupstar ✪
global state: ok sometimes global variables: no
what about "global" state in wasm modules?
14:38
sounds like the perfect fit to me, since they can be instantiated any number of times
Avatar
I'm excited for std::latch std::barrier std::atomic::wait()
14:38
When are we getting C++20?
Avatar
eventually
Avatar
too busy creating ai twinbops
Avatar
Avatar
heinrich5991
sounds like the perfect fit to me, since they can be instantiated any number of times
yep this is hard. i use global vars, but only to create wrappers to emulate as if you were coding normal source code. but still, if you have a HUGE wasm module u end up with the same traps
Avatar
with ddnet 2.0 ig
Avatar
Too busy arguing over accounts and making trivial ui changes
Avatar
also std::binary_semaphore
Avatar
I think std::atomic::wait is missing from rust(?)
Avatar
Is it possible to give super to another person?
Avatar
thats just how u mutex
Avatar
Avatar
Ewan
thats just how u mutex
Not really
Avatar
Avatar
heinrich5991
I think std::atomic::wait is missing from rust(?)
yep sadly
Avatar
pthread mutex I think does something very similar but EnterCriticalSection works completely differently afaik
Avatar
put your cheese in your backpack
Avatar
Avatar
кустик
Is it possible to give super to another person?
super <id> maybe?
14:42
I don't remember
Avatar
i once used atomic waiting to handle signals cleanly (in a way that you don't have to wait for you code to wake up) i have to say, signaling is still one of the most annoying things, bcs there is no user ptr
Avatar
Avatar
heinrich5991
super <id> maybe?
does not work
Avatar
only peoples who accept my fingerprint (ssh) can join to my server, how to disable this?
Avatar
Avatar
Towa
only peoples who accept my fingerprint (ssh) can join to my server, how to disable this?
this has NOTHING to do with the fingerprint
14:43
I already told you
Avatar
Avatar
Jupstar ✪
i once used atomic waiting to handle signals cleanly (in a way that you don't have to wait for you code to wake up) i have to say, signaling is still one of the most annoying things, bcs there is no user ptr
If you need context with it then waiting on an atomic probably isn't the best tool
Avatar
when can we add noob filter to #developer
Avatar
never
Avatar
Avatar
heinrich5991
this has NOTHING to do with the fingerprint
has
Avatar
yes heinrich! has!
Avatar
Avatar
Learath2
If you need context with it then waiting on an atomic probably isn't the best tool
but when do you not need context with it?
Avatar
obviously
Avatar
Avatar
heinrich5991
never
my friend confirmed it and was able to log in
Avatar
Avatar
Towa
has
no. it has something to do with establsihing a TCP connection before UDP seems to be allowed
Avatar
signaling and game loops kinda hate each other
Avatar
Avatar
Jupstar ✪
but when do you not need context with it?
Well e.g. I'm implementing CHttpRequest::Block() I just need to block until it's done
Avatar
ask your hoster about this
Avatar
if you can enlighten me go ahead
Avatar
an atomic is perfect
Avatar
Avatar
Learath2
Well e.g. I'm implementing CHttpRequest::Block() I just need to block until it's done
for such higher level cases i think mutex/condvar is just as good
Avatar
@Towa there's nothing we can do about it. ask your hoster: "why does UDP not work from hosts that have never connected via TCP to me?"
Avatar
Avatar
Learath2
Well e.g. I'm implementing CHttpRequest::Block() I just need to block until it's done
or do u mean for signaling?
Avatar
Avatar
Jupstar ✪
for such higher level cases i think mutex/condvar is just as good
It's sooo heavy for just blocking a thread
Avatar
i meant signaling in the sense of the outside world wants to interact with you
Avatar
maybe you can use this as an opportunity to use a whitelist
Avatar
not like u send the signal and recv it
Avatar
http over tcp whitelist, they connected via tcp so they can connect on udo
14:46
udp
14:46
flpflpflpflp
Avatar
if u press CTRL + C u want, by best case, wake up your game loop => clean all stuff up, bye
Avatar
Avatar
Jupstar ✪
signaling and game loops kinda hate each other
do you know how fix this? if my friend type in cmd: ssh root@myip and select yes he can join to the server
14:46
accept fingerprint
Avatar
Avatar
Towa
do you know how fix this? if my friend type in cmd: ssh root@myip and select yes he can join to the server
what is the error?
Avatar
Avatar
Towa
do you know how fix this? if my friend type in cmd: ssh root@myip and select yes he can join to the server
what if he selects "no"?
Avatar
Avatar
Jupstar ✪
i meant signaling in the sense of the outside world wants to interact with you
It's just an example of a use for an atomic wait, no signals no nothing, just a thread that needs to wait on another to complete a task
14:47
Now every task could have a mutex and a condvar in there that other threads could wait on
Avatar
Avatar
Learath2
It's just an example of a use for an atomic wait, no signals no nothing, just a thread that needs to wait on another to complete a task
ok, well maybe u are right and atomic lock has less overheat here
Avatar
Avatar
Jupstar ✪
what is the error?
Avatar
but that's like using a thermonuclear bomb to kill a spider
Avatar
but to me this is insignificant enough, at least for what i program
Avatar
Avatar
Towa
Click to see attachment 🖼️
ah still that problem?
14:48
r u 100% sure the VPS provider has no custom firewall on top?
14:49
some hosters are really weird
14:49
u gotta click through 1000 interfaces
Avatar
Avatar
Jupstar ✪
ah still that problem?
note that I presented the solution above, if you want to skip a few steps of debugging
Avatar
Avatar
Jupstar ✪
r u 100% sure the VPS provider has no custom firewall on top?
I connected to my vds via ssh and was able to log in, my friend also could, why do they have to get a fingerprint?
Avatar
Is it possible to give super to another person?
Avatar
Avatar
heinrich5991
@Towa there's nothing we can do about it. ask your hoster: "why does UDP not work from hosts that have never connected via TCP to me?"
.
Avatar
Avatar
Towa
I connected to my vds via ssh and was able to log in, my friend also could, why do they have to get a fingerprint?
it's just the certificate
Avatar
Avatar
Jupstar ✪
but to me this is insignificant enough, at least for what i program
Yeah, it's absolutely insignificant, but I find it also much more ergonomic than the combo of mutex/condvar, where you need to think about the condition and make sure the mutex is held correctly while changing the predicate blablabla
Avatar
Avatar
Jupstar ✪
it's just the certificate
it has nothing to do with the fingerprint, it's a huge red herring
Avatar
Avatar
Jupstar ✪
it's just the certificate
but he can join only if accepted fingerprint
Avatar
wtf?
Avatar
Avatar
Towa
but he can join only if accepted fingerprint
i checked this 10000times
Avatar
wtf are we talking about
14:50
he has to connect via ssh, before UDP works?
Avatar
it's about connecting via TCP so that you can connect via UDP afterwards
14:50
NO
14:50
connect a TCP connection in any way to the VPS
Avatar
Avatar
Ewan
when can we add noob filter to #developer
A quick 5 question quiz
Avatar
Avatar
Jupstar ✪
he has to connect via ssh, before UDP works?
no, only accept fingerprint
Avatar
then your IP address is whitelisted
Avatar
i am 0% in this discussion get pinged
14:51
i have no idea wtf u all talking about xD
Avatar
and can connect to the UDP server
14:51
but @Towa completely ignores me
Avatar
Avatar
heinrich5991
but @Towa completely ignores me
no
Avatar
Avatar
heinrich5991
it's about connecting via TCP so that you can connect via UDP afterwards
Did you actually verify this btw?
Avatar
Avatar
Learath2
Did you actually verify this btw?
yes
14:51
I couldn't connect to the server
14:51
I pinged it via SSH
Avatar
but muh fingerprint
Avatar
connection worked
Avatar
Avatar
heinrich5991
but @Towa completely ignores me
so what should I do, my PROVIDER doesn't have a firewall
Avatar
Yeah ok, that's pretty clear cut
14:52
Do you maybe have ufw or sth?
Avatar
Avatar
Towa
so what should I do, my PROVIDER doesn't have a firewall
bro no joke, switch to a different VPS
14:52
dont waste your time
Avatar
Or maybe some iptables rules?
Avatar
Avatar
Jupstar ✪
bro no joke, switch to a different VPS
vds
Avatar
yeah
14:52
vds
14:52
that's what they say
14:52
i bet It's some overpriced shitty vps
14:53
if it's dedicated hardware u spent AT least 10€ per month that's the cheapest i know of
Avatar
Anyway, nothing we can do. Make sure that you don't have a firewall (ufw) or maybe some iptables rules. If you don't and your provider says there is no firewall there is no way to fix it
14:53
Find a new one
Avatar
Avatar
Jupstar ✪
if it's dedicated hardware u spent AT least 10€ per month that's the cheapest i know of
You are WRONG. Kimisufi has 6$ ones 😄
Avatar
Avatar
Jupstar ✪
if it's dedicated hardware u spent AT least 10€ per month that's the cheapest i know of
20
Avatar
then still switch, 20€ for tw, what are u hosting 😂
Avatar
go to school you chud
Avatar
Whatever, price of server doesn't matter
Avatar
true
Avatar
The issue is diagnosed, nothing more we can tell you
Avatar
but i won't explain you how to create a whitelist etc.
14:56
if it's not some setting in your VDS
14:56
then i cant help
Avatar
Avatar
Learath2
You are WRONG. Kimisufi has 6$ ones 😄
neat, but sadly shitty hardware 😄
Avatar
Look at my glorious uptime
14:58
I actually have no idea if this server can come back up if it restarts, so hopefully it never has an issue 😄
Avatar
xD
14:59
my vps had huge uptimes too, until it was banned bcs of the reflection attacks xD
Avatar
we understand the problem
15:09
but what do you expect us to do?
15:10
this is some weird software doing it that the hoster probably uses
15:10
for whatever reason
15:10
maybe bcs udp ddos filtering is harder or smth
Avatar
or some software on your vds or some firewall on your vds
Avatar
Avatar
Jupstar ✪
maybe bcs udp ddos filtering is harder or smth
I asked, he said he didn't have a firewall.
Avatar
Avatar
Towa
I asked, he said he didn't have a firewall.
it doesnt need to be a firewall in a classical sense. maybe it filters the traffic before it reaches the network of the hoster already
15:14
anyway. only thing u can do is check your software on the server, as lea said or ask the provider if other customers had this too
Avatar
რილია 2023-12-08 15:17:18Z
@Jupstar ✪ where can i find that vscode workstation you talked about ?
Avatar
other/vscode
15:17
ddnet.code_workspace
❤️ 1
15:17
in the ddnet source code
Avatar
რილია 2023-12-08 15:49:19Z
is there examples out there for editing the ddnet code like: "how to make a server that every tee skin is rainbow color"
15:50
or make a server that every players movement shown on the chat: mamad goes right. , mamad goes left, mamad jumped 😂
Avatar
Is there a code examples like: " how to make tee hook through edge automatically or how to make tee and on edge" (edited)
Avatar
რილია 2023-12-08 15:53:10Z
i am serious
15:53
the best way of learning is through examples
Avatar
i'd ping chillerdragon
15:53
he probably has such features already
15:54
he generally has a pretty good block server implementation
Avatar
Avatar
Jupstar ✪
he generally has a pretty good block server implementation
რილია 2023-12-08 15:54:49Z
yeah i see it, i love those laser teleporters
Avatar
Avatar
MilkeeyCat
Is there a code examples like: " how to make tee hook through edge automatically or how to make tee and on edge" (edited)
Thats just a bot
15:55
real
15:55
Heyyy can soemeone plwaaaeese do that
Avatar
Avatar
cyberFighter
Heyyy can soemeone plwaaaeese do that
რილია 2023-12-08 15:55:56Z
do what ?
Avatar
Avatar
cyberFighter
Thats just a bot
Nono
Avatar
yo m
Avatar
რილია 2023-12-08 15:57:33Z
or make a server that anytime someone mentions you on chat you shift color for 0.5 s
15:58
these idea will make a really good article about editing the ddnet code for beginners (edited)
Avatar
How about beginners go to code and change things themselves and see how it works poggers2 (edited)
Avatar
Avatar
MilkeeyCat
How about beginners go to code and change things themselves and see how it works poggers2 (edited)
რილია 2023-12-08 16:00:09Z
go ahead, the source code is soooo big, i can't understand a thing 😂
Avatar
Avatar
MilkeeyCat
How about beginners go to code and change things themselves and see how it works poggers2 (edited)
how dare you say those words ☹
Avatar
Avatar
რილია
go ahead, the source code is soooo big, i can't understand a thing 😂
How are u gonna write code then
Avatar
Avatar
MilkeeyCat
How are u gonna write code then
რილია 2023-12-08 16:00:46Z
i will learn
Avatar
Avatar
wook
how dare you say those words ☹
Because heinrich doesn't see it
Avatar
რილია 2023-12-08 16:03:05Z
A chat command that shows info about our player
Avatar
This edgar guy knows about ddnet poggers
Avatar
he epic
Avatar
რილია 2023-12-08 16:13:41Z
i remember in ddper block sv admins could read all the whisper chats. is that a default thing on any server which you are admin on ? (edited)
Avatar
რილია 2023-12-08 16:16:06Z
also they could chat as another player and say as they want
16:16
are these the server defaults ?
Avatar
Avatar
რილია
are these the server defaults ?
No, the DDNet server does not allow you to do these things.
🥹 1
🙏 1
Avatar
Avatar
furo
No, the DDNet server does not allow you to do these things.
რილია 2023-12-08 16:20:36Z
good
Avatar
magnet:?xt=urn:btih:5546272da9065eddeb6fcd7ffddeef5b75be79a7&dn=mixtral-8x7b-32kseqlen&tr=udp%3A%2F%http://2Fopentracker.i2p.rocks%3A6969%2Fannounce&tr=http%3A%2F%http://2Ftracker.openbittorrent.com%3A80%2Fannounce RELEASE a6bbd9affe0c2725c1b7410d66833e24 💖 50
16:27
best open source ai model
16:27
release
Avatar
Avatar
რილია
i remember in ddper block sv admins could read all the whisper chats. is that a default thing on any server which you are admin on ? (edited)
ddnet does not by default impl allow this afaik
16:27
but yeah u can rewrite the code
16:28
i've heard that of other servers too
Avatar
Avatar
Jupstar ✪
but yeah u can rewrite the code
რილია 2023-12-08 16:28:36Z
sounds uncool to me
16:30
30df38f Add compile time errors for unsupported endianness - Robyt3 0c33be1 Merge pull request #7604 from Robyt3/Endianness-Check - heinrich5991
Avatar
Avatar
რილია
sounds uncool to me
yes
16:31
future ddnet versions might be able to fix it by doing end to end encryption between two clients
Avatar
Avatar
Jupstar ✪
future ddnet versions might be able to fix it by doing end to end encryption between two clients
რილია 2023-12-08 16:31:45Z
nice 🙂
Avatar
It's highly immoral to read/log whispers
🤓 2
👍 1
Avatar
Anyone got good ideas to name a RAII wrapper for net_init and net_uninit (the latter still needs to be added)? CNetworkLifecycle, CNetworkRAII, CNetworkSetup
Avatar
Avatar
Robyt3
Anyone got good ideas to name a RAII wrapper for net_init and net_uninit (the latter still needs to be added)? CNetworkLifecycle, CNetworkRAII, CNetworkSetup
Just CNetworkBase or CNetBase?
Avatar
I'd add the class to system.h and not to network.h though
16:36
CNetBase init is also weird
16:36
Shouldn't be called in engine
Avatar
რილია 2023-12-08 17:05:28Z
now do i need to type these both everytime i wanna compile the game ? cmake -B build -S . cmake --build build --config Release --parallel
17:06
and do i need to delete the content of build directory every time i wanna compile ? (edited)
Avatar
Avatar
რილია
and do i need to delete the content of build directory every time i wanna compile ? (edited)
No, and you should only need one of those lines
❤️ 1
Avatar
რილია 2023-12-08 17:14:37Z
now i am officially a ddnet developer
Avatar
u are if u contribute back
Avatar
Avatar
Ryozuki
u are if u contribute back
რილია 2023-12-08 17:17:27Z
ok. can you make the whole code you added at the end to src/game/server/ddracechat.cpp from your website https://edgarluque.com/blog/chat-command-ddracenetwork/ cus i copied and paste the codes one by one and it wont work
A chat command that shows info about our player
Avatar
yes, you need to read, understand, learn, and then it will work
Avatar
he will learn
Avatar
რილია 2023-12-08 17:18:57Z
i always paste the whole code and if it's working i come back and read for understanding it and editing it my self
Avatar
its from 2020, so maybe exactly it wont work, but if u understand a bit u can adjust it easily
Avatar
It's insane how much of 2020 code is deprecated. Like ff programming 🥹
Avatar
რილია 2023-12-08 17:20:10Z
feelsbadman
Avatar
Avatar
Devinci
It's insane how much of 2020 code is deprecated. Like ff programming 🥹
ff?
Avatar
რილია 2023-12-08 17:20:59Z
but that little command thing just covered so many other things, it's cool
17:21
here i add a button
17:21
xd
17:21
its a bit more rushed tho
17:22
also ui code changes more
17:22
so its probs more outdated
Avatar
Avatar
Ryozuki
ff?
ehhhh, my bad. I've spent too much of my time playing/watching league. I just meant it's sometimes a bit bothersome
17:22
did u read
Avatar
Avatar
Devinci
ehhhh, my bad. I've spent too much of my time playing/watching league. I just meant it's sometimes a bit bothersome
ah u mean ff as in surrender
Avatar
i thought i said final fantasy
17:22
cuz im addicted lately
Avatar
to each their own game justatest
Avatar
On Windows, we call WSAStartup in net_init. According to the documentation we should call WSACleanup once for every previous successful call to WSAStartup. For this purpose, the function net_uninit is added to call WSACleanup on Windows. The usage of the net_init and net_uninit functions is simplified by adding a RAII wrapper for them. The network initialization in client/server is moved fr...
Avatar
@Voxel ur lucky @Robyt3 is our only windows dev
17:24
and he does stuffs
17:24
i hate that sometimes searching windows docs it shows in spanish
17:24
like hell no im not reading spanish technical shit
Avatar
Avatar
Ryozuki
@Voxel ur lucky @Robyt3 is our only windows dev
რილია 2023-12-08 17:25:01Z
you forgot me brownbear
Avatar
Avatar
Ryozuki
like hell no im not reading spanish technical shit
Would you if it was in catalan? trollet
Avatar
Avatar
Ryozuki
i hate that sometimes searching windows docs it shows in spanish
I'm using a Redirector rule in Firefox to avoid that
17:26
(for German)
Avatar
Avatar
Devinci
Would you if it was in catalan? trollet
i would make a exception kek
Avatar
რილია 2023-12-08 17:27:58Z
can you please put the whole code at the end of you articles ?
Avatar
@Devinci i once started my own catalan programming blog
justatest 1
17:28
i used to have the cool domain struct.cat
Avatar
Avatar
რილია
can you please put the whole code at the end of you articles ?
sure, git clone ddnet! XD
17:28
no sorry
17:28
im lazy so
Avatar
Avatar
Ryozuki
i used to have the cool domain struct.cat
is .cat a thing
Avatar
i put only the least effort
17:28
XD
Avatar
Avatar
MilkeeyCat
is .cat a thing
yep, .cat is for catalan language
Avatar
i can have milkeey.cat santatrollet
Avatar
Avatar
Ryozuki
i put only the least effort
რილია 2023-12-08 17:30:28Z
the problem is when i write those lines, if i get the error i don't gonna know if the problem is from me or the ddnet code was changed
Avatar
but u need to understand why u add the lines
Avatar
რილია 2023-12-08 17:32:33Z
yes, the whole purpose is that, otherwise what is the point of having a /aboutme command in you server ?
17:33
you think you can force the reader to learn ? it depends on them at the end
Avatar
i want to learn by not doing anything 🤓
Avatar
sounds cool
Avatar
please do all the work for me 👉 👈
Avatar
@Learath2 u gotta learn html5!
17:36
🤓
Avatar
Avatar
Jupstar ✪
btw that video is fake (edited)
Avatar
fake in what way?
Avatar
Google's new Gemini AI model is getting a mixed reception after its big debut yesterday, but users may have less confidence in the company's tech or
19:27
it isnt actually a video feed
19:28
its just stitched together to make it seem that way
19:37
IMO
Avatar
saying it's faked it's like accusing google to lie. They didn't, you just had to click here.
Avatar
Avatar
Devinci
saying it's faked it's like accusing google to lie. They didn't, you just had to click here.
as if somebody reads that
Avatar
bard plus or however is called is still and improvement over gpt4
Avatar
if it's fake, then it's a scam
19:39
that simple
Avatar
imo it's not faked. just rendered in a "nice" way
19:40
but I can understand the critics
Avatar
i dunno, to me putting something in a light that makes your product shine more than it actually delivers is a scam
19:41
i'd be ok if they needed 10 tries to get it working
19:41
but if it never worked like that
19:41
scam
Avatar
maybe. Imo it would be if they didn't add that. For me it's more like showcasing it's potential
Avatar
the potential of AI is GI
19:41
so dunno
Avatar
AGI
Avatar
Avatar
Devinci
saying it's faked it's like accusing google to lie. They didn't, you just had to click here.
I watched the video and didn't understand this
19:42
clearly they tried to hide it (edited)
19:42
don't do that, it's not nice
Avatar
the potential of their model. If you see any other videos google posted you realize it's not that impressive tho xd
Avatar
yeah but potential
19:47
in 10 years?
19:47
anyway, tbf i didnt read the critique xD
19:47
so i dunno if it's a scam, but the video already was a little weird
19:47
the way the person talked, sounded unnatural xD
20:11
как дела
20:11
?
Avatar
Non-english to #off-topic
Avatar
1. Use Linux + Wayland (DDNet native Wayland) (Vulkan) 2. Open DDNet and set fullscreen on the second monitor 3. Close DDNet 4. Open DDNet (The thing here is that DDNet must open fullscreen on the second monitor at first) 5. Change DDNet screen to the primary monitor 6. DDNet will disappear from your screen (but still open) Even closing and opening DDNet, will not show again. After checking the settings file, the DDNet sets the screen's width and height to 1 and then renders an invisi...
Avatar
Avatar
Mʎɹ シ
Non-english to #off-topic
bro really wants that mod
Avatar
wow, first time in a lifetime i actually understood how this works, comments in actual code didn't help at all
Avatar
afternoon
Avatar
afterafterafternoon
Avatar
justnight
Avatar
it's 3:02
22:13
no it isnt
22:13
it's 3:13
Avatar
it's 0:16 here
22:24
your timezone is wrong
22:24
tell your head of government to fix the clock
Avatar
no I am just in the future :O
Avatar
i need a critic for README
23:35
Use this link for downloading. Contribute to StormAxs/StA-Extended-DDNet-Client development by creating an account on GitHub.
Avatar
✅Auto login on specific DDNet and KoG Servers
security review: how do you determine where to log in
Avatar
GER10 for ddnet or GER3 for KoG
23:37
ah right
Avatar
ah, automatic verification, I see
Avatar
- :white_check_mark:Auto login on specific DDNet and KoG Servers (GER10 for DDNet | GER3 for KoG)
23:38
so this one will looks better ig
Avatar
looks good overall 🙂
Avatar
YAY! thanks
Avatar
does the 'auto login' mean it will login to kog account servers
23:54
or just auto-whitelist
Avatar
Avatar
Ewan
does the 'auto login' mean it will login to kog account servers
probably auto rcon
23:57
unless new ddnet account update
Exported 963 message(s)