


mov rax, [SIZEOF_SOCKADDR] segfaults while lea rax, SIZEOF_SOCKADDR does not 




make[2]: *** No rule to make target 'release/libddnet_engine_shared.a', needed by 'DDNet.exe'. Stop.
make[1]: *** [CMakeFiles/Makefile2:500: CMakeFiles/game-client.dir/all] Error 2
make: *** [Makefile:156: all] Error
when building using cmake .. -G"Unix Makefile" && make j(30) on windows
rust toolchain is stable-x86_64-pc-windows-msvc
python --version: 3.12.3
why is it always libddnet_engine_shared bullying me? - (edited)
db here https://github.com/ChillerDragon/teeworlds-asmr/blob/2050b2bb80e70de58ad7a86e62db399345b564e6/src/teeworlds_asmr.asm#L98 but recvfrom takes pointer to an int, so it was overwriting ADDR_LOCALHOST

dw there
SIZEOF_SOCKADDR db 128, 0, 0, 0




your fix works perfectly for me! thank you so much @MilkeeyCatSIZEOF_SOCKADDR db 128, 0, 0, 0





git commit -m "Raid Shadow..








db is 2 bytes i changed it to dd for 4 bytes to match a C int
db is 2 bytes?
dw is 2 bytes. Thats the thing you suggested right? But we need 4 bytes
AF_INET should have broke it if you ask meAF_INET xd






























16.2.2






lea rath, 2

git checkout -b mybranch
git commit
git checkout -b tmp origin/main
git cherry-pick mybranch
git branch -D mybranch
git branch -M tmp mybranch



git worktree it's quite nice. I have some branches permanently checed out in their own folders








--onto that's what I'm looking for





-i along with the onto, then I drop the commit I think is duplicated





git checkout -b mybranch
git commit
git checkout -b tmp origin/main
git cherry-pick mybranch
git branch -D mybranch
git branch -M tmp mybranch git rebase -i?

git rebase -i? 









80346a4 Dilate skins automatically before uploading to the database - Jupeyy


while :; do git pull && sleep 1m; done

















rustup target add x86_64-pc-windows-gnu
installed?



rustup target add x86_64-pc-windows-gnu
installed? 
























x86_64-pc-windows-gnu with mingw, or x86_64-pc-windows-msvc with Visual Studio

rustup default x86_64-pc-windows-gnu or rustup default x86_64-pc-windows-msvc, I think


rustup default x86_64-pc-windows-gnu or rustup default x86_64-pc-windows-msvc, I think 

rustup default stable-x86_64-pc-windows-gnu












1












































error: no such command: `ndk` Did you mean `add`? View all installed commands with `cargo --list` Find a package to install `ndk` with `cargo search cargo-ndk` make[3]: *** [CMakeFiles/rust_engine_shared_target.dir/build.make:86: release/libddnet_engine_shared.a] Error 101 

cargo-ndk on android






Compiling cargo-ndk v3.5.4 error: You cannot build cargo-ndk _for_ Android. Build it for your host OS and run it with cargo. --> /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-ndk-3.5.4/src/cargo.rs:21:1 | 21 | / compile_error!( 22 | | "You cannot build cargo-ndk _for_ Android. Build it for your host OS and run it wi...23 | | ); | |_^ error: could not compile `cargo-ndk` (lib) due to 1 previous error warning: build failed, waiting for other jobs to finish... error: failed to compile `cargo-ndk v3.5.4`, intermediate artifacts can be found at `/data/data/com.termux/files/usr/tmp/cargo-installAGgmG5`.




termux aarch64 linux (android)










cargo ndk and android-ndk-r26b build-ndk ?
cargo ndk is specifically designed to build rust applications, android-ndk-r26b seems to be more generic towards C / C++
source: 2min google session
ln -s /data/data/com.termux/files/home/android-ndk-r26b/ndk-build /data/data/com.termux/files/usr/bin/cargo-ndk error gone but hang on [ 15%] Generating release/libddnet_engine_shared.a /data/data/com.termux/files/usr/bin/cargo ndk --manifest-path /data/data/com.termux/files/home/DDNet-18.4/Cargo.toml -t -p build --release
async).
Do you think it's actually worth to have a third database?
Why wouldn't you simply always write to the sqlite database (similar to what is now done in the backup table).
I can only imagine the risk of having duplicate ranks, but is that really a huge problem? shouldnt it be easy to detect it with a timestamp or smth.
Or was it mostly bcs it was easier to deal with like that?mostly the reason for the backup table to exist: to prevent double loading, which is probably related. but not clear from the PR what exactly you did here with the backup table to improve that

async).
Do you think it's actually worth to have a third database?
Why wouldn't you simply always write to the sqlite database (similar to what is now done in the backup table).
I can only imagine the risk of having duplicate ranks, but is that really a huge problem? shouldnt it be easy to detect it with a timestamp or smth.
Or was it mostly bcs it was easier to deal with like that? 






















































































src/game/server/. Why is such a high level of the code even aware of threading?












src/game/server/. Why is such a high level of the code even aware of threading? game/server just needs a huuuge refactor in general xd










saves/ranks service. But that only works with writing, with a read idk how the router that's supposed to be message agnostic figure out where to route the read message










CJobs that can run somewhere else






























src/game/server/. Why is such a high level of the code even aware of threading? 



2


#[repr(C)]



















































(unset DISPLAY && ./DDNet)
the game will complain that x11 not available.
This doesn't happen with SDL2 versions before the 2.30 series.
What is the motivation for the changes of this pull request?
If you try to run DDNet on SDL2.30+ on a Wayland-only machine (that is, one without XWayland support) then SDL will arbitrar...

















~/DDNet-18.4 $ ninja -v game-server ninja: error: '/release/libddnet_engine_shared.a', needed by 'DDNet-Server', missing and no known rule to make it ? Whats wrong~/DDNet-18.4 $ ninja ninja: error: '/release/libddnet_engine_shared.a', needed by 'libDDNet.so', missing and no known rule to make it









































sv_team "0", and it throws an error due to quotes