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 2024-06-17 00:00:00Z and 2024-06-18 00:00:00Z
Avatar
Avatar
godly
Pls host again France and UAE
GER is close enough to France, Bahrain close enough to UAE
05:37
another day of not particularly being useful to society
Avatar
Has anyone tried alpine before?
06:26
alpine is cool
06:27
but musl is hard to use seriously without a c++ library lol
Avatar
chillerdragon BOT 2024-06-17 06:50:51Z
alpine for what?
06:50
Containers?
06:52
Containerized ddnet/teeworlds clients and servers. Ready to run with podman and docker. - BanBansNet/ddnet-docker
Avatar
no one uses alpine personally right? (edited)
Avatar
chillerdragon BOT 2024-06-17 06:55:26Z
As a daily driver desktop?
06:55
2025 will be the year of the alpine desktop
Avatar
imagine 2025
Avatar
morning
Avatar
how you bean
08:09
hbu
Avatar
Avatar
deen
GER is close enough to France, Bahrain close enough to UAE
Then why i have ping 300 on Bahrain if i near +-
08:24
2200km
Avatar
mornin #developer enjoyers and others
Avatar
Avatar
Ewan
hbu
alr too
Avatar
My server won't boot if libwinpthread-1.dll is missing, can I somehow bundle it, so it's automatically "there"?
Avatar
Avatar
fokkonaut
My server won't boot if libwinpthread-1.dll is missing, can I somehow bundle it, so it's automatically "there"?
You are supposed to be bundling it, our cmakelists does it by default on windows, did you change anything there?
Avatar
Not sure, as my base cmakelists.txt is from vanilla
09:19
it probably does not include everything from ddnet, this part for example
09:19
i couldn't find anything in cmakelists.txt
Avatar
Avatar
fokkonaut
i couldn't find anything in cmakelists.txt
It's probably being added to the copy files list by something in cmake/
Avatar
Could you show me where?
Avatar
I can't rn, but later sure. Why don't you just grep for libwinpthread?
Avatar
I dunno how/where
Avatar
I told you the folder cmake/
09:52
grep -R libwinpthread cmake/?
Avatar
Avatar
godly
Then why i have ping 300 on Bahrain if i near +-
Horrible routing in the area? I remember that in South America neighboring countries would have such a ping because they have no connections between countries, all are just connected to the USA
Avatar
Avatar
chillerdragon
alpine for what?
As a daily driver justatest
Avatar
Avatar
fokkonaut
My server won't boot if libwinpthread-1.dll is missing, can I somehow bundle it, so it's automatically "there"?
you're using mingw
10:40
gotta bundle that and libgcc-seh
10:40
and runtimes
10:40
i made a script to copy all deps for deploy assuming ur licenses allow for it https://gist.github.com/ewancg/de0b47f55b9894b9dc5a7b8609150186
10:40
if using msys2
10:40
if not get with the times man
Avatar
ws-client BOT 2024-06-17 14:06:28Z
<ChillerDragon> robsti u changed something that affected the connection code right? what was it again? the thing that broke fokkos design
14:06
<ChillerDragon> seems like the merge broke connections of my headless client but sadly i can not reproduce it locally so its a bit of a pain to debug
Avatar
Avatar
fokkonaut
hah, i was missing the CNetMsg_Sv_ReadyToEnter on design change, which triggered the function resetting that variable :D
.
Avatar
Avatar
fokkonaut
@Robyt3 I used git bisect to find the source of this issue, it's this commit: https://github.com/ddnet/ddnet/commit/507b097ad82573f2ab975ce96ecaccd42551c53d
.
14:12
wait, r u on irc or can u see replies
Avatar
Penguin remade, it does not replicate pixels that look buggy, blurry, or those that looks ugly on HD Also includes random ui images
15:09
im not home and wanted to ssh into my own vps
15:09
but i cant because the laptop i have i didnt save any ssh key
15:09
im doomed by my own security
Avatar
That's probably why the xz co-maintainer added the vulnerability
troll 1
15:16
Avatar
Avatar
fokkonaut
Could you show me where?
/home/learath2/C/ddnet/cmake/FindOpusfile.cmake: "${EXTRA_OPUSFILE_LIBDIR}/libwinpthread-1.dll" this seems to be it
16:15
(which is slightly insane on our part, but these copy files happen unconditionally, so it works out)
Avatar
I dont really understand how I can fix this now
16:17
the more i use cmake the more it confuses me
Avatar
Only @heinrich5991 probably understands the whole cmakelists, I only understand a bit of it 😛
Avatar
i always thought i am the only one who doesnt understand it
Avatar
The teeworlds one you use I know nothing about, heinrich wrote it aswell iirc
16:18
but I would be surprised if anyone tested it with mingw, only 10 people play 0.7 afterall
Avatar
xDDD
16:19
well it works, if you have mingw on your computer and the path to the dll is in your PATH
16:19
like mingw/bin/ (edited)
Avatar
Just add it to COPY_FILES and it should work
Avatar
but people who dont, might fail to start the app
16:19
i'll try, thanks a lot
Avatar
in our case we are lucky that we get it with opusfile
16:20
hm
16:20
I dont have FindOpus
16:20
is that a problem?
Avatar
Makes sense, vanilla teeworlds doesn't use opus or opusfile, they are for map sounds
16:22
Or you can try calling Ewan's script after compilation to copy over the correct things, it should work
Avatar
is borrow.dev a good domain
Avatar
@heinrich5991 perhaps we should check for mingw and add these to copy_files on our own, currently we seem to just rely on opusfile
Avatar
Avatar
Ryozuki
is borrow.dev a good domain
For a website that gives out loans to developers, yes
16:25
Or maybe for a borrow checker related project
16:25
i want a domain for my blog
16:25
using my name feels outdated
16:25
edgarluque.com
16:25
xd
16:25
@Learath2 u using porkbun for mail host too?
16:25
can u use it from apps via smtp?
Avatar
Avatar
Ryozuki
@Learath2 u using porkbun for mail host too?
I'm not using mail at all on my domain, I would have to think about what I'd do nowadays, I hear google is being less terroristic if you implement all the 50 security features
Avatar
porkbun looks cheao
16:26
24€ per year
Avatar
but porkbun does have mail services, idk if you can just use their smtp
Avatar
All Our Email Hosting Plans Come With 10 GB of Storage Secure IMAP and POP Send and Receive Email Webmail Email Forwarding Mind Blowing Customer Support
Avatar
Avatar
Ryozuki
porkbun looks cheao
it was easily the cheapest of all and I enjoy the nice clean interface immensely, I haven't used them very long though
Avatar
Avatar
Ryozuki
i want a domain for my blog
You can get edg.xyz for only 30k$
16:27
It's a bargain
Avatar
i want a .dev domain
Avatar
edgl.dev is cheap
Avatar
btw .dev requires HSTS
16:28
ohhh
16:30
its mine now
16:31
fe2o3.dev could be cute too if I ever get an idea for a rust project
16:32
cr2o3.dev if I ever make a language that is polar opposite of rust
16:33
why 2o3
Avatar
Fe2O3 is Iron Oxide, which is basically Rust
16:34
hard to type and remember tho
16:34
edgl.dev ez
Avatar
Cr2O3 is Chromium Oxide, it's a rust resistant pigment 😛
16:35
Also imagine saying you code in Cr2O3, It would be the most annoying thing ever
16:35
Yeah edgl.dev is pretty good, no need to think even
Avatar
now i just need to setup a redirect
16:36
that keeps the uri
16:42
84764f9 Penguin and random simple graphics - M0REKZ 2c852cd Merge pull request #59 from M0REKZ/main - Jupeyy
Avatar
@Ryozuki if you want to host your own mail but just need an outgoing relay you can just use something like amazon SES btw
16:45
Usually much much cheaper than a full mail provider
Avatar
is it rly cheaper than 24€ per year?
16:46
from porkbun
16:47
oh
16:47
its a relay
Avatar
It should be like 10 cents a month if you aren't sending out thousands and thousands of mail 😄
Avatar
makes sense
16:47
ill consider it xd
16:47
also i can have full storage for incoming
Avatar
I meant as in if you want to host your own mail, usually really not worth the effort in my experience
Avatar
I will some day give it a go again with dmarc and dkim set up properly and see if google still condemns me to spam box
Avatar
I seem to have good ip reputation despite being on hetzner, maybe I'll be allowed 😄
Avatar
What's the reason for handling tiles for CurrentIndex, when there is this GetMapIndices
17:29
i mean, if the indices are empty, why process the tile anyways?
17:30
the else gets executed when a tee is on TILE_AIR basically, so when no other game tile is placed
Avatar
@Learath2 im also on hetzner
18:55
the problem is i cant host it on my server because mail leaks ips
Avatar
hetzners deal is just too good
Avatar
mx records arent hid by cloudflare
18:56
maybe i can get a 4€ vps to.host it, but thats already costlier than pork
18:57
well if i host it for more domains maybe its a better deal
Avatar
I wouldn't bother if leaking the ip is a concern
18:58
iirc porkbun charges per inbox, so perhaps you can even have multiple domains route to one
Avatar
Avatar
Ryozuki
; ModuleID = 'Main' source_filename = "program.ed" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" declare !dbg !2 ptr @malloc(i64) declare !dbg !9 void @free(ptr) define i32 @main(i32 %0, ptr %1) !dbg !13 { entry: call void @llvm.dbg.value(metadata ptr %1, metadata !21, metadata !DIExpression()), !dbg !23 call void @llvm.dbg.value(metadata i32 %0, metadata !19, metadata !DIExpression()), !dbg !24 %return_ptr = alloca i32, align 4, !dbg !25 %argc = alloca i32, align 4, !dbg !24 store i32 %0, ptr %argc, align 4, !dbg !24 %argv = alloca ptr, align 8, !dbg !23 store ptr %1, ptr %argv, align 8, !dbg !23 %x = alloca ptr, align 8, !dbg !26 %temp_var_4 = alloca ptr, align 8, !dbg !26 br label %block_0, !dbg !26 block_0: ; preds = %entry %2 = call ptr @malloc(i64 32), !dbg !27 store ptr %2, ptr %temp_var_4, align 8, !dbg !27 br label %block_1, !dbg !27 block_1: ; preds = %block_0 call void @llvm.dbg.declare(metadata ptr %x, metadata !22, metadata !DIExpression()), !dbg !26 %3 = load ptr, ptr %temp_var_4, align 8, !dbg !28 call void @llvm.dbg.value(metadata ptr %3, metadata !22, metadata !DIExpression()), !dbg !26 store ptr %3, ptr %x, align 8, !dbg !28 %4 = load ptr, ptr %x, align 8, !dbg !29 call void @free(ptr %4), !dbg !29 br label %block_2, !dbg !29 block_2: ; preds = %block_1 store i32 0, ptr %return_ptr, align 4, !dbg !30 %5 = load i32, ptr %return_ptr, align 4, !dbg !31 ret i32 %5, !dbg !31 }
llvm ir looks better when you know what it all means xd
Avatar
Hey guys im curious, how do i make a bomb tag mode? I want to try it out with my friends
Avatar
Avatar
ZSMF
Hey guys im curious, how do i make a bomb tag mode? I want to try it out with my friends
only thing i can find relating to bomb is: https://www.teeworlds.com/forum/viewtopic.php?id=3965 i dunno if there are up to date mods for this
[MOD] bomb (Page 1) — Modifications — Teeworlds Forum — Everything Teeworlds!
19:24
is bomb tag different to bomb?
Avatar
No not really
19:25
i just call it bomb tag
Avatar
so it's your own mod?
Avatar
But thanks for the file dude!
19:25
Nope
19:26
i call it bomb tag cause it reminds me of tag
19:26
but i aint chaning the mod name
Avatar
ah there are bomb tag mods in ddnet
19:26
then someone probably has the source code for it
19:27
Contribute to unique-clan/bomb development by creating an account on GitHub.
19:28
i assume this is the one ddnet uses
Avatar
Avatar
ZSMF
Hey guys im curious, how do i make a bomb tag mode? I want to try it out with my friends
I quickly took a peak at this chat and saw, "Hey guys im curious, how do I make a bomb..."
troll 2
Avatar
Avatar
Learath2
I quickly took a peak at this chat and saw, "Hey guys im curious, how do I make a bomb..."
justatest
Avatar
Емеля Сухарик 2024-06-17 20:15:09Z
Hi all!!!
owo 5
Avatar
Avoid the int Type parameter by making CGameConsole::Dump a member function of CGameConsole::CInstance. Use log_* functions instead of IConsole for logging.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array in...
Exported 162 message(s)