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-02-17 00:00:00Z and 2024-02-18 00:00:00Z
Avatar
nvmd the delta tick was wrong XD
Avatar
thats something feelsamazingman
Avatar
Avatar
meloƞ
considering im getting bullied by a check atm - is there any way to run a build test locally without having to push each of my attempts to the PR ? XD https://github.com/ddnet/ddnet/pull/7886 (edited)
yes. ask chiller tho he's the expert
Avatar
Avatar
Learath2
I just get obsessive about these kinds of things, so I had to get it working before moving on to something else
my life
Avatar
Avatar
Learath2
I just get obsessive about these kinds of things, so I had to get it working before moving on to something else
Just think of something that you wouldn't have thought of if you hadn't known to think of something you wouldn't have thought. That always gives me random ideas and reminds me of other approaches
Avatar
ws-client BOT 2024-02-17 04:15:18Z
<ChillerDragon> My fever stopped poggers2 now that i can think straight again i realized how easy the hack is to fix the python bug
04:15
<ChillerDragon> @VaLl this works https://paste.zillyhuhn.com/aH
04:16
<ChillerDragon> I will still fix it in the lib it self cleanly but for now you can just set the size to None and it will calculate the correct one for you https://zillyhuhn.com/cs/.1708143370.png
04:17
<ChillerDragon> i fucking hate python for caching constructor arguments across different objects its the most stupid thing that could ever be done
04:19
<ChillerDragon> like wtf pyson msg = MsgClSay() is creating a new object of the MsgClSay class. Who in their right mind would expect that pyson sets its header size to whatever the first instance of MsgClSay had
Avatar
wow, thank you very much
Avatar
and how to authorize in rcon and so that the bot can use commands in f2? (edited)
Avatar
Avatar
zhn
huh chinese mods are always out of view https://github.com/landmineHQ/ddnet-hidden
That mod snap the players clientid = -1 to hide players info, maybe it will make some client crashed (huh?
Avatar
Avatar
ws-client
<ChillerDragon> My fever stopped poggers2 now that i can think straight again i realized how easy the hack is to fix the python bug
💪 owo
Avatar
ChillerDragon: You might be aware of this but I didn't see it anywhere on the bug checklist for ddnet 0.7 (besides for ddnet-insta servers), but on any 0.7 vanilla server every player's skin gets reset to 0.6 default when any server setting vote is passed until rejoining or map is changed. You can set your skin back to the 0.7 skin by just reselecting it in 'Tee 0.7', but everyone else will remain 0.6 default. Still loving the client n much better than not being able to see votes, but just so you're aware
Avatar
Avatar
Krimp
ChillerDragon: You might be aware of this but I didn't see it anywhere on the bug checklist for ddnet 0.7 (besides for ddnet-insta servers), but on any 0.7 vanilla server every player's skin gets reset to 0.6 default when any server setting vote is passed until rejoining or map is changed. You can set your skin back to the 0.7 skin by just reselecting it in 'Tee 0.7', but everyone else will remain 0.6 default. Still loving the client n much better than not being able to see votes, but just so you're aware
Why don't you open a issue for ChillerDragon on github (edited)
Avatar
Fix logic for preferring grid over quad snapping. The previous logic was not correct, which would make snapping to the grid impossible in some cases.

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 indexing
  • [ ] Chang...
Avatar
ws-client BOT 2024-02-17 09:22:50Z
<ChillerDragon> @Krimp cool thanks for reporting. I think I was not aware of that. I activated issues on my fork so you can open issues here now https://github.com/ChillerDragon/ddnet/issues you can also comment in the pr here https://github.com/ddnet/ddnet/pull/5949
Chillers contribution fork of DDraceNetwork, a cooperative racing mod of Teeworlds - Issues · ChillerDragon/ddnet
While keeping 0.6 fully working and untouched This adds the option to connect via 0.7 This is the first working version there is still work todo. There are a few known bugs and missing featues to n...
09:24
<ChillerDragon> @Krimp i attached it to the known issues in the pr and will have a look as soon as i find some time to do some bug fixing again c:
Avatar
allow 0.7 to die, chiller
Avatar
Avatar
Teero
Just think of something that you wouldn't have thought of if you hadn't known to think of something you wouldn't have thought. That always gives me random ideas and reminds me of other approaches
huh
Avatar
Avatar
Nouaa
allow 0.7 to die, chiller
It's too late. He is the 0.7
Avatar
9134e31 Move select layer to editor component - ChillerDragon a720bb0 Merge pull request #7976 from ChillerDragon/pr_ed_hover_tiles_vector - Robyt3
Avatar
Avatar
Learath2
It's too late. He is the 0.7
there must be a way of remedying this
09:53
owo
Avatar
Brainwashing
Avatar
was thinking of a much simpler way, but yea..
Avatar
ws-client BOT 2024-02-17 09:58:38Z
<ChillerDragon> @VaLl here you go I added !rcon command :3 UwU https://paste.zillyhuhn.com/x3
09:59
<ChillerDragon> You might wanna change this line unless your password is the same as mine o.O auth = MsgRconAuth(password = "x")
Avatar
Thank you
09:59
87155d4 Fix logic for preferring grid over quad snapping - archimede67 886b417 Merge pull request #7983 from archimede67/editor-fix-quads-2 - Robyt3
Avatar
chillerdragon BOT 2024-02-17 10:02:50Z
0.8 release would change my mind hehe
Replying to @Nouaa there must be a way of remedying this
monkaStop 2
greenthing 1
Avatar
ws-client BOT 2024-02-17 10:03:49Z
<ChillerDragon> I am this close to looking into element code. Its the worst piece of software ever built omg
Avatar
Avatar
chillerdragon
0.8 release would change my mind hehe
1.0 xD
Avatar
Avatar
chillerdragon
0.8 release would change my mind hehe
yeah pls conquer the tw repo
Avatar
Avatar
Bamcane
That mod snap the players clientid = -1 to hide players info, maybe it will make some client crashed (huh?
no why its common practice
Avatar
Avatar
ws-client
<ChillerDragon> @VaLl here you go I added !rcon command :3 UwU https://paste.zillyhuhn.com/x3
Is it possible to somehow make the client work without while True:?
11:43
and so that the other part of the code below while True: can be executed while the client is running
Avatar
ws-client BOT 2024-02-17 12:13:40Z
<ChillerDragon> @VaLl put it in a thread or rewrite in ruby axaxax
12:13
<ChillerDragon> my ruby lib has built in thread support
Avatar
Reset dragging operation when the dragged button has been unset and reset dragged button when operation has been reset, to prevent the editor from being stuck in either of two inconsistent states. This could be reproduced easily by clicking very quickly while moving the mouse up and down over the groups/layers list. Do not call CheckActiveItem on a UI element (the dragged button) which might not be in view, as this prevents the UI from detecting the invalid active item, when groups/layer...
Avatar
ws-client BOT 2024-02-17 12:14:58Z
<ChillerDragon> https://github.com/ChillerDragon/teeworlds_network/tree/master so in here you can say detach: True and get a thread pog
A teeworlds 0.7 network protocol library written in ruby - ChillerDragon/teeworlds_network
12:15
<ChillerDragon> @VaLl what code is it that you want to run? Does it have a tick? You can also call your tick from within the while loop.
Avatar
I wanted to install a discord bot along with the bot client
Avatar
ws-client BOT 2024-02-17 12:18:31Z
<ChillerDragon> install?
Avatar
translator)
Avatar
ws-client BOT 2024-02-17 12:18:55Z
<ChillerDragon> then install it before the while starts
12:19
<ChillerDragon> also learn english)
Avatar
ws-client BOT 2024-02-17 12:19:34Z
<ChillerDragon> yea i can only smile and laugh in russian thats about it ..
12:19
<ChillerDragon> im trying
Avatar
chillerdragon: when learn russki axaxaxaxa?)
Avatar
ws-client BOT 2024-02-17 12:20:48Z
<ChillerDragon> dude all these translator ppl really motivate me to do so
12:21
<ChillerDragon> but im such a slow learner i always rq after 5mins of lookin into rus
Avatar
motivate to learn Russian language ?
Avatar
Start with slurs YEP
Avatar
ws-client BOT 2024-02-17 12:22:02Z
<ChillerDragon> yes @Vexar i speak germand and english the other relevant language that is spoken in my tw ping zone is russian
12:22
<ChillerDragon> so thats the only thing i am missing to communicate with everyone
12:22
<ChillerDragon> even the 8yo turks speak flawless english
Avatar
Avatar
ws-client
<ChillerDragon> yes @Vexar i speak germand and english the other relevant language that is spoken in my tw ping zone is russian
maybe learning Persian would be nice 😄
Avatar
ws-client BOT 2024-02-17 12:22:36Z
<ChillerDragon> they are bubble
12:22
<ChillerDragon> like china etc
12:22
<ChillerDragon> they are not relevant to me
Avatar
When learn ukrainian owo?
Avatar
Avatar
ws-client
<ChillerDragon> they are not relevant to me
oh you left us alone don't want to deal with us I see 😄
Avatar
ws-client BOT 2024-02-17 12:23:15Z
<ChillerDragon> i can not respond to that without being a dick
12:23
<ChillerDragon> @Vexar wot where are you from?
Avatar
ws-client BOT 2024-02-17 12:23:57Z
<ChillerDragon> o
Avatar
that because my English level are shit 😄
Avatar
ws-client BOT 2024-02-17 12:24:19Z
<ChillerDragon> well i mean you have the whole firewall intranet thing going on
12:24
<ChillerDragon> so you are partly cut off anyways
12:24
<ChillerDragon> then your community does further cutting off with custom client enforcement
Avatar
let's not talk about Iran internet and firewalls 😄
Avatar
ws-client BOT 2024-02-17 12:24:53Z
<ChillerDragon> and you are just too far out of my ping zone so i will never play with any of you
12:25
<ChillerDragon> so you are not interesting for me no offense :D
Avatar
chillerdragon: do you have in plans adding nitro to ur chat?
Avatar
ws-client BOT 2024-02-17 12:25:22Z
<ChillerDragon> xd watfak is that @MilkeeyCat
Avatar
Avatar
ws-client
<ChillerDragon> so you are not interesting for me no offense :D
yeah it's fine I understand what you talking about 😄
Avatar
Do u know discord nitro?
12:26
Like u get useless cosmetics for $10 a month
Avatar
ws-client BOT 2024-02-17 12:26:19Z
<ChillerDragon> @Vexar its always the russians that come with the translator english. All others i either never speak to or they know english
12:26
<ChillerDragon> @MilkeeyCat ye ik
12:26
<ChillerDragon> but how would that work for us? @MilkeeyCat
Avatar
U get useless cosmetics and u donate either to ddnet or me 😄
Avatar
ws-client BOT 2024-02-17 12:27:20Z
<ChillerDragon> lmao
12:27
<ChillerDragon> such trol
Avatar
Avatar
ws-client
<ChillerDragon> @Vexar its always the russians that come with the translator english. All others i either never speak to or they know english
we talked a few time before on discord's DM but you didn't know that I was Iranian so you respond politely, so i think i was lucky back then 😄
Avatar
Ur rich anyways
12:27
U dont need moni
Avatar
ws-client BOT 2024-02-17 12:28:03Z
<ChillerDragon> thats what i mean @Vexar its only the russians where the communication is sooooo bad
12:28
<ChillerDragon> @MilkeeyCat and ukranians mostly speak russian anyways
Avatar
chillerdragon: with ur chat u can send custom emojis, make thist feature paid
12:29
santatrollet
Avatar
ws-client BOT 2024-02-17 12:30:03Z
<ChillerDragon> yes but i just cba to code payment system
Avatar
Avatar
ws-client
<ChillerDragon> @MilkeeyCat and ukranians mostly speak russian anyways
but I like them cuz their talented like Chinese and German people have great mind to write new features
Avatar
ws-client BOT 2024-02-17 12:30:40Z
<ChillerDragon> @Vexar Im sure there is a bunch of chinese with HORRIBLE to non existant english. But those do not start conversations with me. Because they are not on the same tw servers or discords.
Avatar
Avatar
ws-client
<ChillerDragon> @Vexar Im sure there is a bunch of chinese with HORRIBLE to non existant english. But those do not start conversations with me. Because they are not on the same tw servers or discords.
yeah that make sense
Avatar
chillerdragon: imagine being lazy to get millions dollars a month
Avatar
ws-client BOT 2024-02-17 12:31:23Z
<ChillerDragon> @MilkeeyCat right .. from which users?
12:31
<ChillerDragon> will you pay?
12:31
<ChillerDragon> who else is there
Avatar
Am poor
12:32
If i had a job, i would think about wasting my $10 in /dev/null
Avatar
ws-client BOT 2024-02-17 12:32:17Z
<ChillerDragon> xd
Avatar
jobless poor programmers 😦
12:33
we should build our community with that title
12:33
JPP 😛
Avatar
ws-client BOT 2024-02-17 12:33:33Z
<ChillerDragon> morgan
12:34
<ChillerDragon> oh is it non iran friendly joke?
12:34
<ChillerDragon> jp morgan .. e watever
12:34
<ChillerDragon> enuff shittalk for today
Avatar
Avatar
ws-client
<ChillerDragon> oh is it non iran friendly joke?
maybe don't know
12:35
12:35
we talked again after 4 years
Avatar
ws-client BOT 2024-02-17 12:42:13Z
<ChillerDragon> no sorry i do not remember anyone going by the name diariesvexar :c
12:43
<ChillerDragon> ah the "dont know" was not about you was it? cring xd
12:43
<ChillerDragon> but im curious now what was the discord name you used to write with me?
12:46
<ChillerDragon> @Vexar also i do not see images anymore :( just that you sent something not what
Avatar
Avatar
ws-client
<ChillerDragon> no sorry i do not remember anyone going by the name diariesvexar :c
4 years ago i don't remember my name
Avatar
Avatar
ws-client
<ChillerDragon> ah the "dont know" was not about you was it? cring xd
again maybe don't know =))
Avatar
Avatar
ws-client
<ChillerDragon> but im curious now what was the discord name you used to write with me?
2x again don't remember so just know I was send you a hotfix about your serverside bot to fix crashes on windows
Avatar
Avatar
ws-client
<ChillerDragon> @Vexar also i do not see images anymore :( just that you sent something not what
that's too bad 😦
12:56
it's a video of my Iranian custom client that you can play it, it's not like other clients
12:56
is there any platform to share video with you ?
Avatar
ws-client BOT 2024-02-17 12:59:15Z
<ChillerDragon> @Vexar you can share videos here if i feel like booting matrix which i do not right now. You can always share non discord videos/images by putting in urls to external sites. Or shoot me an email to chillerdragon@gmail.com or add @zillyhuhn on wire
Avatar
I understood that email part so i just do that 😄 (edited)
Avatar
Avatar
ws-client
<ChillerDragon> @Vexar you can share videos here if i feel like booting matrix which i do not right now. You can always share non discord videos/images by putting in urls to external sites. Or shoot me an email to chillerdragon@gmail.com or add @zillyhuhn on wire
check your mail box when you had free time and tell me your opinion then I ask you a few question if it's okay with you
Avatar
it works 🎉
👍 1
Avatar
Avatar
VaLl
it works 🎉
gz
Avatar
Avatar
VaLl
and so that the other part of the code below while True: can be executed while the client is running
rewrite in async ez
Avatar
I launched it via Thread
Avatar
mustprogress This attribute indicates that the function is required to return, unwind, or interact with the environment in an observable way e.g. via a volatile memory access, I/O, or other synchronization. The mustprogress attribute is intended to model the requirements of the first section of [intro.progress] of the C++ Standard. As a consequence, a loop in a function with the mustprogress attribute can be assumed to terminate if it does not interact with the environment in an observable way, and terminating loops without side-effects can be removed. If a mustprogress function does not satisfy this contract, the behavior is undefined. This attribute does not apply transitively to callees, but does apply to call sites within the function. Note that willreturn implies mustprogress.
14:52
one does rly learn a lot with llvm
Avatar
Rich text in lua :) (Textures without filter xd)
😎 1
Avatar
poggers the day i can kek ingame is the day my play time peaks 18 hours a day (edited)
Avatar
Avatar
Mʎɹ シ
Rich text in lua :) (Textures without filter xd)
im currently taking inspiration from a python script that marzzzello wrote and rewrite it in rust for DDNet ingame chat translation using DeepL's API, having this to highlight translated text will be bonkers cute (edited)
🤔 1
Avatar
Original message was deleted or could not be loaded.
greenthing
Avatar
i got references working on edlang using my IR gigachad
Avatar
The next Assertion Error appears when trying to open this old map with the editor, game told to report the issue here An assertion error occurred. Please write down or take a screenshot of the following information and report this error. Please also share the assert log which you should find in the 'dumps' folder in your config directory. /Users/deen/ddnet-source/src/game/editor/mapitems/envelope.cpp(51): invalid number of channels for envelope Platform: macos Game version: 18.0....
Avatar
Avatar
Mʎɹ シ
Rich text in lua :) (Textures without filter xd)
😮
Avatar
@Bamcane there is max and current player info but doesnt work when more than 16 player
20:20
in tw_api file
Avatar
wtf even return for
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
this is perfectly legal
Avatar
Avatar
Chairn
this is perfectly legal
I don't know enough C++, is it really? Looks dangling to me
22:12
ah coz static?
Avatar
static variable lifetime is program lifetime
Avatar
so whenever the function is called anywhere, they all modify the same "return value"
Avatar
and as a bonus the intialization of result must be thread safe and will slow down all further calls of the function
22:29
c11f011 mt: tell user to include a changelog after uploading map updates - murpii 1aaceb6 Merge pull request #81 from murpii/pr_mt_qol - def-
Avatar
Avatar
Jupstar ✪
and as a bonus the intialization of result must be thread safe and will slow down all further calls of the function
initialization is done once, all calls will just perform the addition and the store. I don't get the second part of your message
Avatar
Avatar
Chairn
initialization is done once, all calls will just perform the addition and the store. I don't get the second part of your message
it will have to check if initialized for ever
Avatar
no? initialization is done at program startup or library loading (edited)
Avatar
Avatar
Chairn
no? initialization is done at program startup or library loading (edited)
not if the static is inside a function
Avatar
static variables are initialized once, not every function calls
Avatar
Avatar
Chairn
static variables are initialized once, not every function calls
that's not what i said
Avatar
Avatar
Chairn
no? initialization is done at program startup or library loading (edited)
u said at program startup
Avatar
then i don't get what you say
Avatar
but it happens when the function is called
22:34
only once, but has to check
Avatar
afaik, there is no check as C/C++ mandates initialization occurs before program starts
Avatar
no
22:35
since c++11 it has to intialize it in a thread safe way
22:35
note i only talk about intialization
22:35
writing it is still not thread safe
22:37
I know this is an often asked question, but as there are so many variants, I'd like to re-state it, and hopefully have an answer reflecting the current state. Something like Logger& g_logger()...
22:37
the best i can find rn
22:37
i have to sleep xd
Avatar
For example: int foo() { static int i = 0; return i++; } The variable i will only be initialized to 0 the first time foo is called. Does this automatically mean there's a hidden branch in...
22:39
looks like you're right
22:39
good night
22:46
aded3f7 Fix editor UI locking up when dragging groups/layers quickly - Robyt3 8d2de4b Merge pull request #7984 from Robyt3/Editor-Layer-Lockup-Fix - def-
Avatar
@Davide GER10 auto-whitelisting isn't working anymore?
Avatar
Avatar
deen
@Davide GER10 auto-whitelisting isn't working anymore?
Let me check
22:59
Seems working for me @deen
Avatar
Had lots of requests from players recently who complained that it wasn't
23:03
weird
23:03
Thanks for checking
Avatar
It's probably due to people being impatient and not letting it sit on connecting for enough time
Avatar
@Mʎɹ シ hello
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
int *add(int b, int c) { int *a = (int*)malloc(4); *a = b + c; return a; } gigachad
Avatar
Avatar
Mʎɹ シ
int *add(int b, int c) { int *a = (int*)malloc(4); *a = b + c; return a; } gigachad
rude
Avatar
Avatar
Teero
@Mʎɹ シ hello
Hi
Avatar
Avatar
Mʎɹ シ
int *add(int b, int c) { int *a = (int*)malloc(4); *a = b + c; return a; } gigachad
Dont cast malloc!!!!!
Avatar
Avatar
Teero
Dont cast malloc!!!!!
Malloc is returning void*, this need to be casted, how I remember
Avatar
Only in cpp
23:44
C master lerato taught me
Avatar
Today I found what I haven't coded in pure C, except my test os, need to fix this
23:47
Go assembly then you won't have trouble differentiating between C and CPP
Avatar
I already coded in asm and reversed some stuff
👍 1
Exported 203 message(s)