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-08-06 00:00 and 2024-08-07 00:00
Avatar
chillerdragon BOT 2024-08-06 00:02
https://unix.stackexchange.com/questions/32684/acpi-conflicts-with-acpi-region-smrg?rq=1 The message looks similar and the comment talks about sleep
During startup, I noticed some error. I found this in dmesg: i801_smbus 0000:00:1f.3: PCI INT B -> GSI 21 (level, low) -> IRQ 21 ACPI: I/O resource 0000:00:1f.3 [0x400-0x41f] conflicts with ...
Avatar
chillerdragon BOT 2024-08-06 00:49
Woah @jxsl13 closing the stale prs
Avatar
Can I get some way to filter out 'PER' servers?
02:10
Are they even compatible with the open source licence?
02:13
Oh I already use the text filter
Avatar
where to initialize server commands as /points or /rank? (edited)
Avatar
ForgottenCat 2024-08-06 03:49
03:49
Crash on huawei phone
Avatar
Avatar
ForgottenCat
Crash on huawei phone
is it android phone?
Avatar
guys, how i can make server-side speedhack? think_bot (edited)
Avatar
Avatar
xewoiy
guys, how i can make server-side speedhack? think_bot (edited)
if you are on windows you can use cheatengine to slow down both the server and the client. this works. (edited)
05:15
if you are on linux use https://github.com/evg-zhabotinsky/libspeedhack instead (edited)
A simple dynamic library to slowdown or speedup games on Linux - evg-zhabotinsky/libspeedhack
Avatar
chillerdragon BOT 2024-08-06 05:16
The license is quite permissive. Should be fine.
Replying to @Pathos Are they even compatible with the open source licence?
Avatar
it feels like demo a little faster than it should be
Avatar
ws-client BOT 2024-08-06 06:17
<ChillerDragon> mom: we have printf at home
06:17
<ChillerDragon> the printf at home:
Avatar
MilkeeyCat 2024-08-06 06:19
do you have oop in assembly?
Avatar
ws-client BOT 2024-08-06 06:23
<ChillerDragon> ofc we got it all
06:23
<ChillerDragon> functional
06:23
<ChillerDragon> oop
06:23
<ChillerDragon> its fully functional high level programming language
Avatar
Avatar
StormA
where to initialize server commands as /points or /rank? (edited)
src/game/ddracecommands.h
notDraggory 1
06:33
Ah
06:34
that has changed over the years it seems
06:34
Avatar
morning
notDraggory 1
Avatar
hi
notDraggory 1
06:35
Why does it have to be like 30° again today
06:36
ye
06:36
barcelona hot af
06:36
but i got AC installed yesterday!
06:37
gigachad
Avatar
MilkeeyCat 2024-08-06 07:03
I told an acquaintance of mine that he posted db url in his repo and he just literally didn't give a fuck. I checked his db and it has a lot of stuff in there and I asked him to remove the credentials. All he did is just pushed a new commit where he removed the url pepeW
Avatar
Melone
07:17
🍈
Avatar
Stalker.
07:17
Gm
Avatar
I JUST OPENED DISCORD
Avatar
:(
Avatar
i can't code ;c
07:17
bro
Avatar
my 2nd laptop
Avatar
the bios just died
07:17
WTF
Avatar
Avatar
StormA
the bios just died
?XD
Avatar
I'd need this bind rn with all the excuses
Avatar
How does one Break bios on windows
Avatar
mouse on keyboard, lag, ddos, etc, whatever haha
Avatar
i got BSOD crash, and now its just turning on with the black screen
Avatar
Avatar
fokkonaut
mouse on keyboard, lag, ddos, etc, whatever haha
If you dont get IT until 16:30
07:18
DM me, i have it KEKW
Avatar
xDDD
Avatar
lag, cold hands, cat on keyboard, mouse slipped, hammer broken, short hook, dehydrated, bad server, bad map, bad mapper, u fat, weak hook, ping, ddos, bad keyboard, bad mouse, bad computer, small zoom
Avatar
xDD
07:20
@StormA can u add the to your client so this is me when the
Avatar
Bless you!
07:20
Even i didnt understand and i'm natively German
Avatar
Avatar
fokkonaut
@StormA can u add the to your client so this is me when the
who?
07:21
who is this is me when the?
Avatar
Original message was deleted or could not be loaded.
dyingmonkey
kek 1
Avatar
btw is there some nicotine addict besides me in here
Avatar
sadge, i'm only ddnet addicted
07:23
sad_ddnet
Avatar
ddnet is addicting indeed
f3 1
Avatar
alr i actually have to sleep
Avatar
what's the coolest features of your client?
07:24
never tried it
Avatar
Avatar
fokkonaut
what's the coolest features of your client?
Stats page ig
Avatar
oh i think ive seen that somewhere
07:24
yea thats actually neat
07:24
do you plan on PRing some things to ddnet?
07:25
haha
Avatar
Avatar
fokkonaut
do you plan on PRing some things to ddnet?
yeah, already working on one
Avatar
nice
Avatar
Original message was deleted or could not be loaded.
omg this AI cat animations makes me panic
07:26
idk
Avatar
AI in general
07:30
recently i've read AI is training itself with it's training data, hence in the future it will forgot what a cow looks like
07:30
or smth like that xD
07:30
all of this AI future
07:30
who knows what might happen in next 3-6 years (edited)
Avatar
Avatar
fokkonaut
recently i've read AI is training itself with it's training data, hence in the future it will forgot what a cow looks like
cuz it's producing more and more garbage
07:33
Researchers discovered that AI models sabotage themselves by using AI-generated data for training. They then produce more and more garbage.
Avatar
Avatar
Tsumugi
is it android phone?
ForgottenCat 2024-08-06 07:56
Sure
07:56
Similar crash also happens on Vivo and OPPO
Avatar
Do I turn into a boomer, or why do I not know what this is
Avatar
Avatar
fokkonaut
cuz it's producing more and more garbage
I love the bokeh effect on every ai generate image on social media. allows me to block them directly.
Avatar
just skill issue, got a better phone ez clap feelsCoolMan
Avatar
Avatar
jxsl13
I love the bokeh effect on every ai generate image on social media. allows me to block them directly.
doesnt social media have to explicitly label ai content as such?
07:58
at least in the EU
Avatar
Avatar
ForgottenCat
Similar crash also happens on Vivo and OPPO
ForgottenCat 2024-08-06 07:58
Chinese phone devlopers are good at nothing except placing lots of ads into the system
Avatar
Avatar
fokkonaut
at least in the EU
haven't seen anything remotely marked as ai generated on boomer facebook
Avatar
i am so happy that i never had a facebook account
Avatar
but still has instagram, whatsapp. etc
08:00
xD
Avatar
i was just about to say that i am kinda mad about the fact that they bought those after i've used them already
08:01
you could literally see how instagram changed over the years :(
08:01
& whatsapp of course
Avatar
I feel that
Avatar
the internet's prime time is over
08:03
let alone the brainrot content
08:04
oh, @jxsl13, while at it, youtube has also changed :(
08:04
content wise but also in the background, algorithms, etc, nothing seems genuine anymore
08:05
I mean, where's this youtube :(
Avatar
chillerdragon BOT 2024-08-06 08:29
How much did you pay?
Replying to @Ryozuki but i got AC installed yesterday!
08:30
wtf
Replying to @MilkeeyCat I told an acquaintance of mine that he posted db url in his repo and he …
Avatar
hallo chiller
Avatar
Avatar
fokkonaut
I mean, where's this youtube :(
casually posting first youtube video ever
08:32
where is the colorful 90's internet
Avatar
chillerdragon BOT 2024-08-06 08:32
Elo
Avatar
Avatar
chillerdragon
wtf
MilkeeyCat 2024-08-06 08:32
and when I told him that it's still in history he just replied with "ok"
Avatar
chillerdragon BOT 2024-08-06 08:32
Xd
Avatar
not this generic genAI crap 😄
08:32
elo chiller
Avatar
chillerdragon BOT 2024-08-06 08:33
jiggsel
Avatar
huhn
Avatar
chillerdragon BOT 2024-08-06 08:33
Dramatic pr closings
Avatar
zillydreck[hun]
Avatar
hun or huhn
08:33
i dont remember
08:33
@zilera
Avatar
draghuhn
Avatar
chillerdragon BOT 2024-08-06 08:33
I think in that case it was a Hungarian joke
Avatar
bkaw
Avatar
ye i think so 2
Avatar
damn
Avatar
chillerdragon BOT 2024-08-06 08:34
But there is also the German chicken joke for sure
Avatar
xD
Avatar
then it should be ZillyHUN
08:34
not hun
08:34
:p
Avatar
ciliDR[HUN]
Avatar
Go pr is closed cuz it was never meant to be merged
Avatar
chillerdragon BOT 2024-08-06 08:35
But with [] its HUN
08:35
And the ddnet insta pr?
08:35
kellerkind
08:35
beckychill
Avatar
the other is with a certainty of 99.99% not going to be merged within the next 5 years
Avatar
hinter_c_dur
08:36
digga xD
Avatar
chillerdragon BOT 2024-08-06 08:36
Xd
08:36
@jxsl13: ez merge after #7777 is closed
Avatar
I'm afraid to be left with stale prs in my pr history because you might archive tue project before the pr is merged
Avatar
chillerdragon BOT 2024-08-06 08:36
haha
Avatar
SchinKKKen
Avatar
zillydragon
08:37
chillerhuhn
Avatar
I already have stale prs from zCatch 0.6
Avatar
chillerdragon BOT 2024-08-06 08:37
You have a list with your prs somewhere @jxsl13 ?
Avatar
then Teelevision (the OG) archived zCatch
08:37
it's on github top right corner of your screen
Avatar
chiller u want to tell us about the origin of this name? i_fokmen_i
Avatar
there is a button for prs
Avatar
chillerdragon BOT 2024-08-06 08:39
Probably a fikmesan joke
Replying to @fokkonaut chiller u want to tell us about the origin of this name? i_fokmen_i
08:39
Or coming out
08:39
more like that, ye
Avatar
Avatar
Pathos
Can I get some way to filter out 'PER' servers?
heinrich5991 2024-08-06 08:53
I'm working on it with the DDPER people. WIP
Avatar
Avatar
Pathos
Are they even compatible with the open source licence?
heinrich5991 2024-08-06 08:53
yes
Avatar
MilkeeyCat 2024-08-06 09:01
is stack overflow debugable or I have to paste print statement in each function to see where it happens? xd
Avatar
u can debug with gdb
Avatar
MilkeeyCat 2024-08-06 09:04
i guess problem found justatest
troll 1
Avatar
GitHub BOT 2024-08-06 11:17
Ground control speed is not properly working for small speed values, I tested this out and it looks like a value of < 0.4 causes the tee not to move at all. A value between 0.9 and 0.5 causes the Tee only to move RIGHT on the ground. I attached a testmap !screenshot_2024-08-06_13-13-15 small_speed_bug.zip
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
tested it out and beat the tutorial with it, the current controls work really well if the phone is flat on a table but the moment you pick up your phone it becomes unusable, no joystick is good for the "flat on the table" but horrible for anything else i found that my finger kept missing the "left" key and hitting the empty part of the screen but i assume thatll fix itself once the controls become customizable also the chat was completely unreadable because of how the controls are, imo something like the chat on bedrock edition could be a better solution but still, its way better than the old version
Avatar
imo something like the chat on bedrock edition could be a better solution
Can you give a screenshot?
Avatar
Avatar
Cammodude
tested it out and beat the tutorial with it, the current controls work really well if the phone is flat on a table but the moment you pick up your phone it becomes unusable, no joystick is good for the "flat on the table" but horrible for anything else i found that my finger kept missing the "left" key and hitting the empty part of the screen but i assume thatll fix itself once the controls become customizable also the chat was completely unreadable because of how the controls are, imo something like the chat on bedrock edition could be a better solution but still, its way better than the old version
Jupstar ✪ 2024-08-06 14:25
You can enable a joystick in the ESC menu
Avatar
Avatar
Jupstar ✪
You can enable a joystick in the ESC menu
ik
Avatar
Avatar
Robyt3
imo something like the chat on bedrock edition could be a better solution
Can you give a screenshot?
bedrock and java chat comparison
Avatar
Avatar
Cammodude
bedrock and java chat comparison
You mean the darker background or the chat being further up?
Avatar
chat position
Avatar
Hmm, I don't know if we want to make it adjustable. If you move it up it would overlap with voting and other HUD
Avatar
i mean the bedrock chat also opens a menu vs the java one where a bar appears at the bottom but idk if thats a good idea
Avatar
the bedrock menu is nice
14:32
the huge chatbox in bedrock is not though, itd be nicer if it was like 2-3 lines max
Avatar
Chat scrolling and selecting with mouse would be nice, yeah
Avatar
Avatar
Robyt3
Hmm, I don't know if we want to make it adjustable. If you move it up it would overlap with voting and other HUD
bedrock moves around the hud elements to fit mobile better
Avatar
Avatar
ForgottenCat
Click to see attachment 🖼️
You could try getting a crash dump (called tombstone) with adb if you know how to use it: https://stackoverflow.com/a/73755053 Though I'm not sure how useful it will be, as the test versions were probably not compiled with debug symbols.
I'm experiencing pesky SIGSEGV faults in my Android app. They are inconsistent to reproduce and mostly happen after my app has been restarted a couple of times. The problem is, when the app restarts,
14:40
Or use adb logcat and then launch the app to capture the stack trace when it crashes
Avatar
ForgottenCat 2024-08-06 14:41
The one who has problem don't even know what a file path is. I will do this when I get the phone
👍 1
14:42
Currently XiaoMi devices can run this client perfectly
Avatar
GitHub BOT 2024-08-06 15:21

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 base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
@Learath2 u knwo D right?
15:38
u can import C files directly
Avatar
Know is perhaps too strong a word. I’m aware of it and have written like a hundred lines of it
Avatar
@Learath2 do u know Odin
15:43
i dont like it but maybe u do
15:43
its for C ppl
Avatar
Avatar
Ryozuki
@Learath2 do u know Odin
The samsung flasher thing is the only Odin I know
Avatar
i would rather use C tho
15:43
Odin is a general-purpose programming language with distinct typing built for high performance, modern systems and data-oriented programming. Odin is the C alternative for the Joy of Programming.
Avatar
C3 looks interesting. I’ll have to investigate that one
Avatar
it uses ^ for pointers
15:44
^int for types
15:44
x^ for deref
15:44
i think its from pascal
Avatar
HEH, they took the leap the golang authors weren’t willing to take
Avatar
the thing with this u can deref on the right side
15:45
u cant with *
15:45
right?
15:45
idk xd
Avatar
They kept deref and array indexing on the right side
15:45
Even though both are on the left side in types
Avatar
Odin has pointers. A pointer is a memory address of a value. The type ^T is a pointer to a T value. Its zero value is nil. p: ^int The & operator takes the address of its operand (if possible): i := 123 p := &i The ^ operator dereferences the pointer’s underlying value: fmt.println(p^) // read `i` through the pointer `p` p^ = 1337 // write `i` through the pointer `p` Note: C programmers may be used to using * to denote pointers. In Odin, the ^ syntax is borrowed from Pascal. This is to keep the convention of the type on the left and its usage on the right: p: ^int // ^ on the left x := p^ // ^ on the right Note: Unlike C, Odin has no pointer arithmetic. If you need a form of pointer arithmetic, please use the ptr_offset and ptr_sub procedures in the "core:mem" package.
15:47
not ADTs tho
15:47
so a its a meh for me (edited)
Avatar
If I host a server, is it possible to connect to rcon remotely? kind of like an ssh connection?
Avatar
There is econ you can connect to with telnet
16:25
And there is also a fifo file you can write into to execute commands that you can enable
Avatar
Is there some setup i need to do?
Avatar
Yes
Avatar
ec_port and ec_password
Avatar
do i put that into autoexec_server.cfg? (edited)
Avatar
GitHub BOT 2024-08-06 17:11
922e32b More dnsbl printing - def- e97b8e1 Merge pull request #8690 from def-/pr-dnsbl-info - heinrich5991
Avatar
Jupstar ✪ 2024-08-06 19:30
@Robyt3 do u think it is hard to show a selection popup before cpp ddnet client starts on android? i never really coded java android stuff
Avatar
Avatar
Jupstar ✪
@Robyt3 do u think it is hard to show a selection popup before cpp ddnet client starts on android? i never really coded java android stuff
A completely separate launcher activity might work (within the same application). I don't think we can change much about the native main activity because SDL handles it. (edited)
Avatar
Avatar
Robyt3
A completely separate launcher activity might work (within the same application). I don't think we can change much about the native main activity because SDL handles it. (edited)
Jupstar ✪ 2024-08-06 19:33
I don't think we can change much about the native main activity because SDL handles it.
well i know so much, you can overload every shit in java
19:33
so we could probably overload the create function and add some stuff
19:33
then call super.create
19:33
or override
19:33
is the better word
Avatar
Avatar
Robyt3
A completely separate launcher activity might work (within the same application). I don't think we can change much about the native main activity because SDL handles it. (edited)
Jupstar ✪ 2024-08-06 19:34
i assume we need smth like that. the driver situation already kills me internally xd
Avatar
Avatar
Jupstar ✪
so we could probably overload the create function and add some stuff
Seems brittle, a separate activity seems more robust
Avatar
Avatar
Robyt3
Seems brittle, a separate activity seems more robust
Jupstar ✪ 2024-08-06 19:35
but can we prevent the first one to load?
19:35
or how does a second activity work exactly?
Avatar
The launcher activity would be started initially, if everything is ok it starts the SDLActivity and removes itself from the activity stack
19:36
Then we could use normal Android UI elements in the launcher
Avatar
Avatar
Robyt3
The launcher activity would be started initially, if everything is ok it starts the SDLActivity and removes itself from the activity stack
Jupstar ✪ 2024-08-06 19:36
ah so it's like a queue of activities?
Avatar
And the SDLactivity could be unmodified
Avatar
Jupstar ✪ 2024-08-06 19:36
i mean i seen activities in the android manifest
19:36
but i dont exactly know what they mean
Avatar
They work like separate windows of one application basically
19:37
You can switch between multiple activities generally
Avatar
Jupstar ✪ 2024-08-06 19:37
ah yeah
Avatar
In our case, we wouldn't want the launcher activity to be in the stack though I guess
19:37
So you don't back-navigate from the main actitvity to the launcher
Avatar
Jupstar ✪ 2024-08-06 19:37
mh i see
19:38
i dunno what exactly you mean with stack, is that the manifest thing? can u not make the launcher activity default and simply replace it with the "next" activity. the manifest knows the "first" activity doesnt it?
Avatar
heinrich5991 2024-08-06 19:39
android has an activity stack
19:39
to make the back button work
Avatar
Avatar
Jupstar ✪
i dunno what exactly you mean with stack, is that the manifest thing? can u not make the launcher activity default and simply replace it with the "next" activity. the manifest knows the "first" activity doesnt it?
The stack is the task stack you can view with the task button usually
Avatar
Jupstar ✪ 2024-08-06 19:39
yeah but like is it always there or can you code it programmatically
Avatar
The launcher activity is specified with <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> in the manifest
19:40
Other activities can be started with Intents
Avatar
Jupstar ✪ 2024-08-06 19:40
well i guess you know how it would work
19:41
if you think it's doable in effortable time, would be nice. similar to steam with a "skip launcher" button
Avatar
And it's supposed to detect the graphics driver before it crashes the client?
Avatar
Avatar
Robyt3
And it's supposed to detect the graphics driver before it crashes the client?
Jupstar ✪ 2024-08-06 19:42
no, simply give a selection for all backends
19:42
detecting crashes.. i dunno. sound cool in theory but in practice it will have false positives and stuff
19:43
a simple solution is better than nothing i guess
Avatar
yeah, but just a dialog would still be simpler though
Avatar
Avatar
Robyt3
yeah, but just a dialog would still be simpler though
Jupstar ✪ 2024-08-06 19:44
a dialog while game is running or what do you want to say?
19:45
if you meant what native element you use, idc xd
19:45
some kind of combobox
Avatar
I mean what you originally suggested, but it's probably not possible
19:45
Like only showing a dialog from the SDL activity
19:45
Would only work after starting it
Avatar
Jupstar ✪ 2024-08-06 19:46
ah yeah, do your thing (edited)
Avatar
So if it already crashes then the dialog would also die
Avatar
Jupstar ✪ 2024-08-06 19:46
that sounds good
Avatar
heinrich5991 2024-08-06 19:48
it'd be nice if it only showed the dialog after an unclean exit or so
Avatar
Jupstar ✪ 2024-08-06 19:50
i still think we should replace our home page with a launcher generally xd
Avatar
heinrich5991 2024-08-06 19:52
a launcher slows me down in launching ddnet
19:52
I don't like that
Avatar
Jupstar ✪ 2024-08-06 19:53
there is a skip launcher button
Avatar
ddnet not big enough for a launcher
19:53
needs to be at least double A
Avatar
Avatar
jxsl13
needs to be at least double A
Jupstar ✪ 2024-08-06 19:53
ddnet is AAAA
19:54
for sure, Ubisoft, for sure
Avatar
A mostly transparent launcher/crashpad would be useful to handle crashes
Avatar
telemetry, when?
Avatar
Jupstar ✪ 2024-08-06 19:54
it would also make updating ddnet easier for non-steam
Avatar
Avatar
jxsl13
telemetry, when?
Jupstar ✪ 2024-08-06 19:55
a word that is so hated, because of the often corresponding privacy violations
19:56
telemetry is not smth bad per se i'd claim
Avatar
make it openly accessible
Avatar
Avatar
Robyt3
A mostly transparent launcher/crashpad would be useful to handle crashes
heinrich5991 2024-08-06 19:56
yes, transparent thing would be nice
Avatar
would probably mostly be stacktraces or whatever
19:57
maybe with a little bit of system info
19:57
os, arch
19:57
gpu maybe
Avatar
Jupstar ✪ 2024-08-06 19:57
for ddnet user settings would ofc be interesting
19:58
to see which config vars are most useless
Avatar
heinrich5991 2024-08-06 19:58
would be cool. but please let the user click a button before sending the crash info to us
Avatar
opt in
Avatar
Avatar
heinrich5991
would be cool. but please let the user click a button before sending the crash info to us
Jupstar ✪ 2024-08-06 19:58
and then there is this
19:58
opt in doesnt work
19:58
in theory yes
19:58
in practice no xD
Avatar
heinrich5991 2024-08-06 19:58
for crashes?
19:58
why not?
19:58
program crashes. user wants it not to crash
19:58
clicks "send"
Avatar
a popup would be good
Avatar
Avatar
heinrich5991
clicks "send"
Jupstar ✪ 2024-08-06 19:59
mhh yeah if it is accessable, maybe it does
19:59
but not if he goes into settings and enables crash reports
Avatar
heinrich5991 2024-08-06 19:59
yes. popup shows up after cash
Avatar
send and a second button for automatically send
Avatar
heinrich5991 2024-08-06 19:59
works
Avatar
yeah, crashpad would detect if the client crashed then allow sending the crash log. maybe also automatically check if a graphics driver involved and suggest fixes
Avatar
Jupstar ✪ 2024-08-06 20:01
i need this launcher tho
20:01
ddnet legacy ddnet best
20:01
on left
Avatar
larian
Avatar
Jupstar ✪ 2024-08-06 20:04
beating this can't be so hard
Avatar
Avatar
Ravie
Click to see attachment 🖼️
Jupstar ✪ 2024-08-06 20:10
smth like this, bit modified could defs work as launcher
20:11
ravie was ahead of his time. i need him back (edited)
20:11
why did he rq :/
Avatar
MilkeeyCat 2024-08-06 21:21
Dear diary, I can't find words to describe the pain and humiliation I experienced when I was trying to do fifth-grader mafs pepeW
Avatar
Avatar
MilkeeyCat
Dear diary, I can't find words to describe the pain and humiliation I experienced when I was trying to do fifth-grader mafs pepeW
It seems you got to the wrong solution, (it does work). Why is your stack offset 1 based?
21:48
Instead keep the offsets all 0 based, but when addressing the stack, your 0 is rbp - 1
21:49
That way addressing a field is just struct offset + field offset and there is no discrepancy when addressing nested structs
Avatar
Avatar
Jupstar ✪
why did he rq :/
but hes back
Avatar
how are the linux releases for ddnet compiled?
22:57
they don't rely on system deps do they?
Avatar
Definitely not
Avatar
They rely on some system dependencies
Avatar
Avatar
Teero
they don't rely on system deps do they?
heinrich5991 2024-08-06 23:04
they do AFAIK
23:04
not all of them though
Avatar
but we use a very old system to build it, so that any supported Linux should be fine
Avatar
yea i was compiling a headless client for a server where i can't install packages. well i keep getting missing shared libs like sdl2. any way to solve that? (edited)
23:09
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DHEADLESS_CLIENT=On -DPREFER_BUNDLED_L IBS=On -DVULKAN=Off -DVIDEORECORDER=Off -DWAVPACK_CLOSE_FILE=Off this is my current cmake command (edited)
23:12
./DDNet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./DDNet) ./DDNet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./DDNet) libSDL2-2.0.so.0 => not found libopusfile.so.0 => not found libopus.so.0 => not found libogg.so.0 => not found output of ldd DDNet | grep "not found" (edited)
Avatar
You are building on too new of a machine, you need an older one for the glibc error
23:17
There is probably a bug where our build system still links all these libs even though it's a headless client
Avatar
Avatar
deen
There is probably a bug where our build system still links all these libs even though it's a headless client
yea its not implemented correctly.
Avatar
the headless client was just for testing in CI I think
Avatar
but i wish it would link them statically atleast tho. is that possible?
Avatar
copy the .so files to the same directory and run with LD_LIBRARY_PATH=. I guess
Avatar
well i guess that works xd
Avatar
and fix it in our build system, these dependencies should not be linked in for headless client
23:20
search for if(CLIENT in CMakeLists.txt, most of the find_package etc should not run for HEADLESS_CLIENT
Avatar
Avatar
deen
and fix it in our build system, these dependencies should not be linked in for headless client
you would need to completely exclude all sdl code in the src if HEADLESS_CLIENT is defined tho no?
Avatar
hm, might be more complex, not sure
Avatar
heinrich5991 2024-08-06 23:22
what are you trying to use the headless client for? ^^
Avatar
heyo, I want some input for twmap. I recently changed the compression backend to zlib-ng, as this sped up the parsing of maps with a factor between 2 and 3. One kinda downside is that now the maps twmap produces arent the exact same anymore, but that is fine imo(?) With the same compression level 6 (number between 1 and 9), the files are slightly bigger, which is ofc negative. I was thinking about which level I could choose alternatively (higher -> smaller files, but takes longer) So I made this table, which was made with all brutal maps, and the different compression backends the times are time/usr time, in this case the usr time is the significant one size load load+save zlib 231M 34s 174s zlib-ng6 238M 12s 67s zlib-ng7 225M 89s zlib-ng8 216M 119s zlib-ng9 209M 186s imo, the compression level 7 looks reasonable. what do you think?
23:23
ah, I removed the non-usr time in the table
Avatar
heinrich5991 2024-08-06 23:23
how does the zlib-ng* compression affect zlib decompression timese?
23:24
i.e. for the maps compressed with zlib-ng*, how long does it take to load them with zlib? (as an approximation for the ddnet client)
Avatar
👍 will test
Avatar
I think zlib-ng6 looks best
23:25
compared to ng7: 25% faster and only 6% larger file size
23:25
Can we use zlib-ng in DDNet? Would it be faster there?
Avatar
hm, my motivation for this investigation was that Welf noticed that $optimize in the testing channels sometimes increased the file size, which was the result of the backend change
Avatar
does anyone know what is this client? its on a chillerdragon website
Avatar
Avatar
Patiga
hm, my motivation for this investigation was that Welf noticed that $optimize in the testing channels sometimes increased the file size, which was the result of the backend change
You can also respond to Welf with "small file size increase doesn't matter much, map loads faster now"
23:27
but I'm ok with ng7 too
Avatar
Avatar
deen
Can we use zlib-ng in DDNet? Would it be faster there?
should be possible, not sure if it would come with other issues
Avatar
Avatar
deen
You can also respond to Welf with "small file size increase doesn't matter much, map loads faster now"
well the faster load is only in the twmap library right now, where it doesn't matter all that much I think maps are rarely saved, but downloaded very often, so smaller file sizes could be neat
Avatar
Avatar
heinrich5991
how does the zlib-ng* compression affect zlib decompression timese?
doesn't seem to be affected, also 12 seconds for ng to load the compression level 9 maps
Avatar
Avatar
deen
copy the .so files to the same directory and run with LD_LIBRARY_PATH=. I guess
this works ig. only issue is glibc now: ./DDNet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./DDNet) ./DDNet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./DDNet) ./DDNet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./libSDL2-2.0.so.0) ./DDNet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./libSDL2-2.0.so.0)
Exported 373 message(s)
Timezone: UTC+0