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 2025-02-25 00:00 and 2025-02-26 00:00
00:26
https://vm.tiktok.com/ZMkwecmTu/ when ban this name and this tas rec
Avatar
david loves Jellycar Worlds 2025-02-25 00:29
how do i change how long untill the server times someone out?
00:30
i need to make it quicker
Avatar
chillerdragon BOT 2025-02-25 01:07
You can tab complete in rcon for example open the remote console and type „timeout“ then tab @david loves Jellycar Worlds
Avatar
david loves Jellycar Worlds 2025-02-25 01:07
thanks!
Avatar
Avatar
Evelyn.
Thx
This is the last message from my account(
04:22
Over $250 from ddnet
Avatar
david loves Jellycar Worlds 2025-02-25 04:26
?
Avatar
Avatar
Evelyn
Over $250 from ddnet
Do the math Into rubles again
05:01
Evelyn stole the work from others trying to sell it iirc
Avatar
I've cracked a well-known client (the latest version) and am selling a subscription for $2 (200₽)
05:06
No you didnt
Avatar
205 people who bought a subscription
Avatar
Grow up
Avatar
Avatar
meloƞ
No you didnt
Show proof?
Avatar
Asking for help on this discord for Months - just to sell a crack you didn't do yourself (edited)
Avatar
Koll Potato 2025-02-25 05:08
dev drama again
Avatar
You couldnt even write a fifo script with the help of AI
05:08
How do you expect me to believe you reverse engineered a closed source client
Avatar
щасбыгидрыпоюзать 2025-02-25 05:13
f
05:14
How can I give a person a VIP, coins or a level on ddnet++?
Avatar
GitHub BOT 2025-02-25 05:30
f28f2fd M Naufrage 4, M Romantic - ddnet-maps
Avatar
Avatar
Evelyn
I've cracked a well-known client (the latest version) and am selling a subscription for $2 (200₽)
LMAO
05:35
I cracked the code guys!!!! kek
05:37
Does that really seem like a good enough reason to make chiller (and anyone else here who helped you) never extend another finger towards new devs
Avatar
bragging about $250 is crazy bro 💀
😃 1
Avatar
Please get a fucking job and make a meaningful relationship with someone
Avatar
Avatar
Ewan
Please get a fucking job and make a meaningful relationship with someone
This seems so target at me
05:38
I got no job and no relationship
Avatar
You don’t seem to abuse the good faith of volunteer devs
05:38
I mean the job and relationship part only
05:39
If you think you need those things, you should get them
Avatar
I just want income but not me sitting in an office for 18 hours a day
05:40
nouis
Avatar
Have you ever been on craigslist
05:41
There are international job postings for people who can translate maps and things if you really just want some income
Avatar
But now I'm sitting at home for 18 hours a day tho
Avatar
I’m sitting at home for 24 😎 and I really do not like it
Avatar
Avatar
Evelyn
Show proof?
I'm Cellegen on my phone acc, sure post some sort of analytics
Avatar
I keep getting sidetracked on my project
Avatar
Me too but they pay me to do it 💀
05:43
Be careful what you wish for tbh
Avatar
I was making that tee motorcycle game but my brain keep telling me that I want a boardgame designer (edited)
Avatar
I don’t feel like I ever saw that
Avatar
I didn't post anything
05:45
Maybe a 3d rig and some experiment
Avatar
Yeah sounds familiar
Avatar
But I'm stuck in loop on switching projects and playing video games and feeling bad for playing video games and regret spending time feeling bad about playing video games instead of playing video games
Avatar
You don’t have to explain it to me lol
05:47
I get it
05:48
but for me it’s whatever comes on my phone
Avatar
Also I guess the switch to nixos killed some momentum now that I am still learning to do anything
Avatar
Avatar
TsPiggy
But I'm stuck in loop on switching projects and playing video games and feeling bad for playing video games and regret spending time feeling bad about playing video games instead of playing video games
A fixed calendar can help you redirect your interests
Avatar
im just hardwired to go on youtube the moment i lose interest and I noticed it today when i uninstalled the app & an hour later i found myself subconsciously swiping down and typing YouTube as if I hadn’t uninstalled it
05:49
Google
05:49
Fucking evil geniuses
Avatar
Make it too hard to live without the app when you need normal long form content
05:50
Make shorts addictive as hell & impossible to turn off
Avatar
Avatar
TsPiggy
Also I guess the switch to nixos killed some momentum now that I am still learning to do anything
nixos is tough
05:50
my config still has many small flaws
Avatar
Well it's fine, but I still kinda can't live without Photoshop
Avatar
it just happened to fix a few more important ones that other distros usually suffer with
Avatar
oh it’s that
05:51
you came from windows straight to nixos? (edited)
Avatar
Ye why not
05:52
Everytime I try Linux I broke my distro in a day and have no idea how to fix it
Avatar
as a daily driver it’s a very stark contrast
05:52
but it’s really good for that lol
Avatar
nixos already saved me from misconfiguring Nvidia drivers 4 times
05:53
it’s a godsend for nvidia
Avatar
It's also just hard to relearn a program when I started using Photoshop 7.0 since I'm 8.
05:53
justatest
Avatar
ye creative cloud not in linux is so annoying
Avatar
Also nothing has successfully opened my 500mb psd.nouis
05:56
tbf even Photoshop itself eats 12g ram when I open that file
Avatar
i only really started using adobe products as soon as they introduced the mandatory CC subscription & just decided no fucking thanks
Avatar
That's good
Avatar
so i got used go paint.net instead but it still doesn’t exist on Linux lol
Avatar
Cuz before the CS era they are pretty sick
Avatar
CS was still pretty good
05:57
when they were sold as software you get to own
Avatar
paintnet also not on linux is killing me
05:58
theres actually no good alternative its insane
Avatar
I just gave up on having to edit images
Avatar
Avatar
louis
theres actually no good alternative its insane
you wouldn’t expect it to be that hard right LOL
Avatar
there's also no good cross platform pen note taking app
06:00
actually mindblowing
06:00
i feel like that's one of the best ideas for self hosted apps to implement but there's just nothing out there
Avatar
well obsidian probably has a plugin
Avatar
yeah maybe
Avatar
щасбыгидрыпоюзать 2025-02-25 06:01
How can I give a person a VIP, coins or a level on ddnet++?
Avatar
Excallidraw isn't exactly a pen note taking app
06:01
I gave up on obsidian tho
06:02
Didn't want to pay for sync and self-hosting that couchdb is a bit janky and I've lost a few documents
06:02
there’s an iCloud solution that seemed decent
06:03
but i’m just paying atm
Avatar
Avatar
Ewan
there’s an iCloud solution that seemed decent
the issue with this is getting iCloud on Linux lol
06:03
which is possible but annoying
06:03
someone made a nix thing that i have yet to try
Avatar
I am using anytype currently. At least the sync is free.
Avatar
o i didnt know theres live sync i will try self hosting it
06:04
i only rly use my laptop for notes tho
Avatar
ya that’s the thing i got it on all my computers and i do shopping list + budget + anything else on there
06:04
it just replaces my apple notes
Avatar
Avatar
louis
o i didnt know theres live sync i will try self hosting it
It's really not that optimal. You forgot about opening it three months later on some hardware and the mismatched plugin version get weird
Avatar
excluded folders ftw for the work laptop
Avatar
Avatar
TsPiggy
It's really not that optimal. You forgot about opening it three months later on some hardware and the mismatched plugin version get weird
ah
Avatar
Not ideal
Avatar
i rly want to set up my pc and my laptop to be as similar as possible
06:05
idk i have to find good alternatives for my windows appa tho
Avatar
nixos made mine identical
06:05
just sayin
Avatar
I knew you would say
06:06
that
Avatar
too bad you need patience for hard things
06:06
i havent touched my config in any meaningful fashion in a little bit
06:06
fixing odd things that break with nixpkgs unstable changes
Avatar
i was thinking abt the fedora immutable distributions
06:07
looked interesting
Avatar
maybe more reliable but I have no idea how they accomplish that
06:07
there’s also guix and stuff
Avatar
nixos has the benefit of a cooler logo tho
Avatar
it’s nixOS but written with lisp and has absolutely no nonfree software lmfao
Avatar
really important for me
Avatar
nixos is objectively the best of all the immutable distros simply bcs of popularity
Avatar
does it
06:08
the neofetch logo for nixos is kinda meh
Avatar
idk it's symmetrical and allat
Avatar
yeah it’s a very pleasing design imo
06:09
textbook perfect icon if you asked many design ppl
Avatar
not too many colors or elaborate shapes, derived from a real thing but obviously distinct enough to recognize within appropriate contexts
06:10
the icon is blown up 5x as big as you’re usually intended to see it, ofc it looks boring
Avatar
and isn't as symmetric bcs of font i guess
Avatar
Avatar
Ewan
nixos is objectively the best of all the immutable distros simply bcs of popularity
i should have not used the word objectively here but there was a point to it
06:12
more eyes on it usually just means a smaller percentage of broken things
Avatar
i don't think nixos even say it is immutable
Avatar
you would have the best experience
Avatar
Avatar
TsPiggy
i don't think nixos even say it is immutable
it is immutable if you write pure nix
06:12
the relevant system parts at least
Avatar
couldn't you just cd into store and fuck things up
Avatar
you can still write to your own partitions and whatnot
Avatar
Avatar
TsPiggy
couldn't you just cd into store and fuck things up
read only filesystem
Avatar
didn't realise it is indeed ro
06:13
now, can someone please bump the ddnet package in nixpkgs
Avatar
@Scrumplex
06:14
i feel like i always ping this guy for no reason
Avatar
btw had to run demo_extract_chat recently, and the only way i found that is easy to run it is just install the steam version and steam-run it
06:15
on nixos
Avatar
which libs did it want
Avatar
not sure because i don't think the nixpkgs even packaged that
Avatar
i can’t run latest as of like yesterday, needs libfreetype.so.6
Avatar
i couldn't bother to try to download it from the website and i just run it under steam
06:15
steam-run is kinda magical tho
Avatar
Avatar
Ewan
i can’t run latest as of like yesterday, needs libfreetype.so.6
when i compile
Avatar
no idea why it works.
Avatar
it’s basically ld.so + black magic
06:16
dynamic linker plus the context of nixos
06:16
afaik
Avatar
also i don't know why i can just compile ddnet and run it myself either
Avatar
can/t?
Avatar
i can
06:17
as of three days ago
06:17
i feel like i shouldn't be able to
Avatar
that probably means you have dev pkgs in your profile or home manager or smth
Avatar
i do have a nix-dirnev setup
Avatar
unless your .envrc says to use nix or use flake it shouldn’t do anything
Avatar
i have use flake
Avatar
but you don’t install pkgs imperitavely or anything
Avatar
but i could also run the binary out of the dev shell too
Avatar
imperatively
Avatar
Avatar
TsPiggy
but i could also run the binary out of the dev shell too
flake for ddnet?
Avatar
the binary i built
06:20
./Project/ddnet/build/DDNet just runs
Avatar
oh yeah
Avatar
how does this work
Avatar
they link to the store directly
Avatar
ok wait
06:23
that make so much sense
Avatar
the dynamic linker in nixos lives in glibc
Avatar
maybe i just don't know how dynamic link works
Avatar
i think it’s configurable
06:24
dynamic linking is the app going “find me this library”
Avatar
well i know that much
Avatar
I don't know what exactly tells the program where libraries are
Avatar
idk what the mechanism is exactly but the libc knows where the libs are in this case
06:25
like Windows lol
Avatar
so like... the binary I built knows bcs i linked to a libc that is in store somehow? and the out the shelf binary doesn't know where libc even is since that is in store too? (edited)
Avatar
sounds right
06:28
worth looking into from a reliable source if you’re actually curious though
06:28
im not that confident in my answer
Avatar
probably not THAT curious.
06:28
libc lives on the system yea
Avatar
but i can probably tell after a month if upgrading my system just broke my binary
06:29
since it has to know what that starting point in store is, and a gc might clean that up
Avatar
i've asked melon before, but do you think nix shell in nix shell is cursed.
06:33
like if i have a flake for rust and a flake for nodejs, when i need both i just run the nodejs shell inside the rust shell.
Avatar
that’s debatably how it already works
06:34
kekw
Avatar
it’s a little cursed, i think it can be handy but not moreso than adding the logic in the nix manually
06:34
anyway direnvs/dev shells themselves persist in the store so you shouldn’t have gc break them, but im not sure
06:35
i would assume that glibc is patched so that dlopen really looks in the store & there are nix specific machinations at play there (edited)
Avatar
It's generally fine to nest shells, but Id personally append each instead of nesting it
06:35
Cba to type exit 12 times
Avatar
mine exits once at all
Avatar
Exec users
Avatar
ok i got another question then.. how does nix know if i deleted a .envrc.
Avatar
it doesn’t
Avatar
if i delete a project does it become persistent garbage in store
Avatar
maybe they’re not stored themselves.. or direnv may have some logic for that
06:37
i know that when i switch between shells i don’t always have to wait for everything to download and my gc is auto scheduled
Avatar
it is mentioned in the doc somewhere that direnv is persistent in store, but i'm more worried about cleaning up when i delete a project
Avatar
that is a good question
06:39
it’s not like direnv couldn’t check for the file (it does hook into your shell and all) but idk when it would do that
06:40
doesn’t make much sense to do it on a fixed interval or whatever
06:40
im so fucking hungry but idk what
Avatar
if you delete a source for a link, does the link get deleted too
Avatar
a symlink?
Avatar
not with just rm
06:41
if it comes from a nix expression i think the link is unwritable unless you have security rules over it
06:41
but you shouldn’t do that because your system is now mutable
06:42
you break a config file in the store & now it’s broken on every derivation if you just link it in place
06:42
if you copy, old derivations still work
06:42
another pure nix thing
Avatar
i probably meant in general. i wonder if they just linked .direnv directory into somewhere that won't get GC'd and if the project is gone that directory is also gone or at least invalid so GC can check for that
06:44
i forgot lunch too tho. i should get something
06:45
that behavior depends on trailing slash
Avatar
i have nothing to eat at home rip
06:45
maybe some eggs but that's about it
Avatar
ye i am drinking protein shake bcs i am tired but very very hungry
06:46
it comes in a bottle
06:46
it’ll be just enough to get me asleep lol then i will wake up hungry again
Avatar
InsaneCat i got steaks in the freezer
06:47
didn't thaw them tho
Avatar
they cook from frozen if you reverse sear
06:48
in general i think deref symlinks is dependent on a flag at the API level
Avatar
it was like 4 pieces of steak frozen together
Avatar
anyway if /link is to a directory, rm -rf /link removes the link, rm -rf /link/ follows that then deletes all contents
06:49
so all source/… will be deleted
Avatar
Avatar
TsPiggy
it was like 4 pieces of steak frozen together
interesting
06:49
need me some cow meat
Avatar
we freeze meat bunched together often. for fridge space
Avatar
sounds economical
06:51
my family is big so we have always had a deep freezer
Avatar
but that does means we often thaw them and refreeze them tho
Avatar
bad bad
Avatar
idk how bad it is
Avatar
avoid if possible
06:51
food safety concern
06:51
lots of ppl think that’s bs tho
Avatar
mom's been doing that for 50 years
Avatar
You will ofc have to evaluate everything again if you garbage collect it, but direnv itself is persistent
Avatar
it's probably fine catbite
Avatar
sure but if you want to make your own decision about it, you could
Avatar
Or should be - it evaluates your .envrc - checks what to use and spits things into your nix store
06:52
Just don't eat meat too_much
Avatar
ye his q was how does it know to delete stuff originating from direnv
06:53
or not to
Avatar
Avatar
Ewan
sure but if you want to make your own decision about it, you could
i live with my mom
Avatar
Avatar
Ewan
ye his q was how does it know to delete stuff originating from direnv
this question i think just applies to dev shells in general
Avatar
Avatar
TsPiggy
i live with my mom
same. 3 more days
06:54
then i am without home
Avatar
apparently, the concern is in the meat getting warm enough to develop further bacteria while thawing
06:57
which is probably fine for one time uses because there’s little bacteria on it to begin with, but if repeated then yeah it’s bad
06:57
can apparently be avoided entirely by keeping it below 40f while thawing
06:58
e. coli comes from the cow’s digestive system itself iirc and it is present in a lot of meat, just in benign levels
06:59
something like an adverse metabolic reaction to corn. i could be misremembering
07:00
nope the truth is much grosser actually and it’s just cows getting enough of their own waste in the feed to contract it themselves
07:01
or whatever
Avatar
Avatar
meloƞ
Just don't eat meat too_much
this man truly has a point
Avatar
juppy liked that
Avatar
the lack of widespread knowledge about CAFOs and stuff is concerning
07:02
they wash our meat with ammonia before they send it out
Avatar
i cooked
Avatar
hurricanes constantly cause biologically hazardous wastewater deposits from said facilities to spread
Avatar
eggs
Avatar
awesome
Avatar
@MilkeeyCat im making irvm
Avatar
i put MSG in my eggs
Avatar
a ir that transpiles to llvm ir or other backens probs qbe
Avatar
i like msg
07:03
i feel bad for ppl who get headaches
Avatar
is it a thing
Avatar
Avatar
Ryozuki
a ir that transpiles to llvm ir or other backens probs qbe
IIR
Avatar
that you get headaches from msg
Avatar
not me
07:04
some people
07:04
like how some ppl think cilantro tastes like soap
Avatar
i thought it is people thinking too hard about having MSG that gives them headaches
Avatar
hi pig
Avatar
hi daddy
Avatar
True…
07:05
fred is that ketchup on your lunch
07:05
hoping it’s some kind of sauce idk about
Avatar
it's just ketchup
07:05
i got nothing else
Avatar
are u in china
07:06
or japan
Avatar
china
Avatar
japan too expensive so i fled
Avatar
i forgot to comment on ur japan photo elsewhere
Avatar
come to barcelona and open a bar like 99% of chinese locals
Avatar
and local ppl prefer to go to chinese bars cuz they less expensive
Avatar
if you fund me why not
Avatar
doesnt china do that
07:07
or other chinese
Avatar
do what
07:07
open bars?
Avatar
they dont get into debt with local banks
07:08
they help each other chinese
07:08
and only buy from chinese
Avatar
i think that depends on where they live
Avatar
Avatar
Ryozuki
they dont get into debt with local banks
people have credit cards in china
07:08
pepeW
Avatar
Avatar
TsPiggy
people have credit cards in china
i dont mean that xd
Avatar
the meaning of Chinese ppl living in barcelona vs USA is different
07:08
for example
Avatar
chinese ppl that work here are kinda hard working
Avatar
most asian immergrant stick to each other probably because of the culture
Avatar
they open sundays too
Avatar
different historical reasons & habits ig so idk if there’s a conclusion
07:09
but they do tend to like each other and not other ppl
07:09
that’s really most ppl outside of their home territory
Avatar
but also chinese does like to scam chinese because they are more approachable
Avatar
yeah they stick to other chinese mostly unless they are 2nd or 3rd gen
07:09
maybe 3rd gen that goes to school is more open (edited)
Avatar
Avatar
Ryozuki
chinese ppl that work here are kinda hard working
idk. i've been taught to work hard too
07:10
and i think i do
07:10
do u open a store everyday for 12 hours
Avatar
most store owner in china do
Avatar
i think adhd makes it hard to work hard
Avatar
and I was sitting in an office 10 to 24 hours per day for a year
07:11
u can notice when the chinese is 1st gen immigrant they barely speak spanish and mutter weird words
07:11
they dont even try
Avatar
but i also think chinese tend to just have family in the store tho
Avatar
also i think speaking another lang in front of a client is extremely inapropiate but they do anyway
07:12
because the client cant know if u talking bad about them
Avatar
im just saying its basic manners in public facing jobs
Avatar
they do it constantly in third world countries to make fun of and/or scam tourists
Avatar
well ye, but they sure as hell not gonna speak non native to native people
07:13
i won't speak a word of english to chinese people
07:13
idk why
07:13
it inherently feels embarrassing.
07:14
patriotic culture maybe
Avatar
here speaking english is thought of as cool
Avatar
I do the opposite, I don't speak a single word of chinese to the chinese
Avatar
because u know more than 80%
Avatar
Avatar
Assa
I do the opposite, I don't speak a single word of chinese to the chinese
same
Avatar
i speak english to the humans
07:15
the human language
07:15
LOL
Avatar
cuz u dont know anything else
07:15
we are not the same
07:15
insert meme here
Avatar
amogus maybe shenzhen people are more comfortable speaking english
Avatar
what don’t i know
Avatar
since they got more foreigners
Avatar
i can speak uhh
07:15
what’s the sims language
Avatar
simlish
Avatar
and i can’t even
07:15
nouis
Avatar
tee language
07:16
are cries of help
Avatar
anyone here speaking krypton?
Avatar
Avatar
Ryozuki
are cries of help
yea i can do that actually
07:16
but i don’t understand, only speak
07:16
game on mute + spam left click
Avatar
average gentoo day
Avatar
i am jealous of other chinese people aborad tho. they often speak essentially three languages but i only got two
07:17
basically any chinese dialect is impossible for me to understand
07:17
i'm raised in mandarin
Avatar
mandarina in spanish is a fruit
07:17
Avatar
yea, a mandarin orange
Avatar
i always found it funny
Avatar
it's also a fruit in english
Avatar
Avatar
TsPiggy
i am jealous of other chinese people aborad tho. they often speak essentially three languages but i only got two
you can be proud of your 2 languages, in other countries they speak 1.2 languages less
Avatar
I can also only speak english and german (skillchecked)
Avatar
i speak spanish, catalan, english and i know how to say my name in german
Avatar
im really the least cultured person in here
07:18
that’s ok justatest
Avatar
american moment
Avatar
goddamn international people
07:18
all i know is red white blue and jesus
Avatar
and guns
07:19
guns n roses
Avatar
catJAM is american now the default english
Avatar
it is
07:19
briish is mostly on english schoolsd
Avatar
internet english varies so little it doesn’t really matter
Avatar
not really exactly
Avatar
at least casually
Avatar
trump will make it so
Avatar
they’re not hard dialects it just depends on the context
Avatar
i've been to the UK and their english feels weird. although tbf i was in scotland
Avatar
think of colour as an alternate spelling instead of another language etc
Avatar
@Ewan u know what i hate? twitter ppl who speak "they was"
07:20
it souns so bad
07:20
i hate it
07:20
the was specially
Avatar
that’s stupid ppl
Avatar
i wont say who mostly speaks like that
07:20
cuz its abit racist
Avatar
that’s more of a southern dialect
Avatar
kek
Avatar
not just black people
07:20
just lots of them in the south
07:21
and it spreads
Avatar
what's up with jamaican english btw
Avatar
My first thought would not be "that must be black people", is this really a line of thinking? (edited)
Avatar
Avatar
TsPiggy
what's up with jamaican english btw
The most detached dialect around
Avatar
Avatar
Assa
My first thought would not be "that must be black people", is this really a line of thinking? (edited)
if you hear it enough
Avatar
did they have a colonized history or something
07:22
not under usa
Avatar
fair
07:22
weird that china never got english and portuguese tho
07:22
china has had ppl living in it way longer
Avatar
or maybe i just don't know many macao ppl
07:23
i guess
07:23
i wish i know more langauges
Avatar
i think about it shockingly often considering i never put in any effort to learn another (edited)
07:24
owo
Avatar
i don't think i actively learned any english
07:24
it just happens
Avatar
i have such little reason not to speak English atm
Avatar
maybe that's the case for a lot of ppl that knows english. it just happens
Avatar
some ppl are bilingual and that’s just their personality
07:25
ig i want to avoid that
Avatar
it always baffles me that some american chinese children will speak english while listen to chinese.
Avatar
Avatar
TsPiggy
maybe that's the case for a lot of ppl that knows english. it just happens
yea i mean that happens with programming languages too
07:26
makes me think about a compiler that makes different optimizations depending on certain grammars lol
07:26
a statement does one thing but your grammar surrounding it changes your intent or tone enough
Avatar
was voice chatting with my friend and his niece keep talk to him in english and he keep responding in chinese. i couldn't keep track of who he's talking to
07:27
nouis
Avatar
i mean the guy don't know how to speak english and i assume his niece can't speak chinese too.
Avatar
sometimes i multitask VCs and unmute on the wrong one
Avatar
but they do understand each other
07:28
man i gotta sleep
07:28
i exempted myself from social activities so i could sleep in a timely manner 😭
Avatar
are you east coast or west
Avatar
i need to stop being a dumbass
Avatar
Avatar
TsPiggy
are you east coast or west
it’s a big country man
07:29
i live slightly west of central
07:29
landlocked
Avatar
catxplosion illinois or something
Avatar
Colorado
Avatar
illinouis hehe
Avatar
so true
Avatar
4am oof
07:30
gn
Avatar
12:30 am rn
07:30
not so bad
07:30
but yeah. gn all
07:31
good luck in IR and tee motorsports projects
Avatar
Avatar
Ewan
12:30 am rn
bruh @DDNet lied to me then
07:31
bad bot
Avatar
Avatar
TsPiggy
bad bot
:C
Avatar
what did u say
07:31
for it to do
Avatar
/time city:Colorado
07:32
😬
07:32
Denver or Boulder
07:32
I’m equally far from both
07:32
Colorado is a state
Avatar
well i guess that make sense
Avatar
like i said big country lol
Avatar
catJAM i thought the bot would just assume state works
Avatar
not in the city field
Avatar
it was presented as a positional argument tho
Avatar
i mean, you hear of chicago and detroit and LA and whatever
07:34
those are all cities
Avatar
fair
Avatar
in Illinois, Michigan, and California respectively
07:34
but California also has San Francisco, where silicon valley is
07:34
roughly
Avatar
i can't
07:35
angeryping
Avatar
so you can’t just discern like that. doesn’t help that some states time zone varies depending on size, daylight savings
Avatar
i hate daylight savings time
07:36
InsaneCat
Avatar
it’s fkin annoying
07:36
but it’s better than the alternative
Avatar
Avatar
TsPiggy
i hate daylight savings time
fr and it doesnt even work
Avatar
Avatar
TsPiggy
i can't
oh hey it works for my russian city
Avatar
the sun has a strong correlation with our body clock
07:37
moreso than some numbers we made up
07:37
the sun is starting to set later than 4pm again which is nice
Avatar
in ddrecap i just nuked DST when checking the night owl badge but then convert the timestamp to DST if applied when displaying so it is possible to get a 11pm finish but counted as a night owl.
Avatar
timekeeping libraries sound like a humongous pain in the ass to write
07:39
leap years, leap seconds, locales, varying time formats
Avatar
btw china is also a big country and sun rises at 8:30 in xinjiang
07:39
greenthing
Avatar
8:30 is fine
07:40
that’s still pretty early for most ppl
07:40
but not me ig lol
07:40
my work starts at 7 and up until recently the sun was down when i woke up
Avatar
cold and weird for my brain
07:40
i hate waking up in the dark
07:41
speaking of which jeez i said gn
Avatar
do you want a timeout
😃 1
Avatar
wouldn’t be the first time
07:42
i've never done it
Avatar
fussel……… my arch nemesis….
Avatar
tbf i can't just randomly do a timeout unless i see a clear consent. and i'm not fussel
Avatar
if i say gn that’s reason enough in my book but i doubly appreciate the hesitation bcs many mods wouldn’t think twice
07:45
hahahah look i timed you out how so very funny
07:45
i don't even mod that much so using timeout is like a big thing for me
07:45
most mods dont
Avatar
if i say gn that’s reason enough
also that probably won't hold up in court
Avatar
they play the game w their friends and neglect mod duties bcs nobody is gonna moderate a multeasymap lobby for more than a few days
07:47
that’s enough multeasymap forever, for most people
Avatar
luckily multeasymap is not that popular in china
07:47
but epix tho
07:47
it's always that one tunnel
Avatar
shouldn’t have even said multeasy.. really it’s linear now
07:47
thanks louis
Avatar
the biggest problem in chn rn is the faker group
07:48
they just fake random people and go block or insult others on random servers so people get tilted against each other
Avatar
so that’s what that is
07:49
if ppl would rather let the game die like this than add an accounts system who am i to judge
07:49
not like any of my ddnet friends play ddnet anymore
Avatar
it is always impossible to explain to both of them they are chatting with not the source. we stopped modding chat messages related issues and just told them to turn on friend only chat. and only heart people they are playing with (edited)
07:50
and still if their friend is getting faked you just have to know somehow
07:50
they have ping spoofing on i bet
Avatar
it's easy to tell if they are truly friends i think
07:51
as long as you know what the group is doing
07:51
i dont use game chat much anyway other than to just chat with people
07:51
but not my friends and stuff
07:51
well
07:51
i guess if i ‘m actually playing the map im in a vc
Avatar
i banned all of them stirring dramas in our "discord replacement" and now i'm being doxxed
Avatar
but i often sit in a lobby and text chat if someone i don’t see often is on
Avatar
Avatar
TsPiggy
i banned all of them stirring dramas in our "discord replacement" and now i'm being doxxed
yeah fuck that
Avatar
not that i cared tho, because i have to publish my address and name to submit a bot for tencent and it is clearly visible so doxxing me does nothing (edited)
07:52
yea tbh your name is not hard to come by
Avatar
and where my mom works
07:53
apparently my roommate tried to call my mom's works to have me sent home while i'm in the US
07:53
idk what i did that he want me gone that much
Avatar
based on ur name i can also see part of the reason why u dont live in north america maybe lol
Avatar
why
07:54
my surname?
07:55
partyblob i don't understand what my name has anything to do with where i live
Avatar
if you don't know what i'm talking about already then i must be wrong
07:56
i can just see it being a point of mockery
Avatar
well if i grew up in the US maybe
07:56
u just breeze them out lol
07:56
ignore them
07:57
and who cares to make fun of that as an adult anyway
Avatar
also i guess why my github is Freddie W instead of the full surname?
Avatar
oh i didn't know that
07:57
must be new
Avatar
GitHub BOT 2025-02-25 07:57
With the merge of #9670 we need to adjust the mapping-tiles/mapping-entities here. I don't know what to do about the "copyright" below. Should I add myself? This is NOT part of #9698, just a placeholder for now. TODO: ingame image

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 integrat...
Avatar
i removed all my surnames from my email and stuff
Avatar
wow a 0 lines added and deleted PR xD
Avatar
i mean i knew i didn't like it. but i couldn't think of a better way to get around it until i realize i could just use W
07:58
partyblob
Avatar
yea i hate my middle name but thankfully it's just that
07:58
a middle name
Avatar
and obviously my legal name is not freddie
Avatar
it's just a name
07:58
you never chose it, others did it for you
Avatar
my phone died just a sec ago & i turned my pc on to say gn
07:58
and finish our convo here
Avatar
i was using Freddie Kins for awhile for no good reason
07:59
then i decided it was dumb
07:59
catJAM
07:59
even out of battery couldn't stop your adhd insomnia
Avatar
Avatar
Assa
you never chose it, others did it for you
i definitely chose freddie
07:59
lol
Avatar
How do I dilate an image again?
Avatar
drag & drop
08:00
or argv 1
08:00
on dilate binary in ddnet folder
Avatar
Avatar
TsPiggy
even out of battery couldn't stop your adhd insomnia
so true
Avatar
dilate binary in ddnet, okay!
Avatar
neither could my ethernet driver crashing just now
08:00
about to power off system tho gn
Avatar
MilkeeyCat 2025-02-25 08:01
gn
Avatar
😬 are you planning on coming to china by any chance
08:01
for travel or something
08:01
i should probably stop asking questions lol
08:01
partyblob
Avatar
why does the merge queue take 20 minutes?
08:28
Also it's somewhat ironic that GitHub is not able to merge accounts ...
08:28
Maybe I should try a rebase
Avatar
ddnet? our CI is quite slow
Avatar
yes but the CI is finished and the PR is now in "merge queue"
Avatar
it reruns the CI for each merge iirc
08:37
PR CI is run on the branch. and merge queue merges it and rerun the CI on the merged branch then commit the merge.
08:37
it's two different CI has to be run
08:37
and our CI is indeed slow. sometime it takes 30 minutes
Avatar
shouldn't the content of the branch and the merged branch be the same?
Avatar
not necessarily if you based from non-head commit.
08:38
that is still mergable if you work on a older commit.
Avatar
possible that the branch merged off of an older master
Avatar
also i guess even if you worked on head there is still that merge commit so "technically" it wouldn't be the same commit after merge.
08:40
it always runs no matter which commit you based your pr on
08:40
also probably just good practice to make sure master always passes tests
08:41
clang-tidy is ridiculously slow tho.
08:42
oh wait i need to update a PR per request. almost forgot about it
Avatar
clang-tidy maybe could be improved by adding some Cache, as the warning indicates
Avatar
they do accept CI changes if you can PR. i couldn't be bothered to figure that out tho lol
Avatar
GitHub BOT 2025-02-25 08:44
26f6a55 add new speedtile mapping-entities - mwinkens 8e4c230 Merge pull request #9759 from AssassinTee/speedup-redesign - def-
Avatar
see? it will finish at some point
08:44
greenthing just took a long time
Avatar
I guessed so 😄
08:46
also, ctcache might be an option: https://github.com/matus-chochlik/ctcache
08:47
but I don't know how to handle cache storage in pipelines
Avatar
oh i can see why you are annoyed that ci run for a png file
08:47
i just git pulled and saw a single png file lol
Avatar
such is life i guess
Avatar
yes, but the image might be scanned and a pixel might be off causing a bug in buildingnouis halting problem
Avatar
true
08:49
ah i haven't setup vscode debugger for ddnet in nixos
08:49
😬
Avatar
@meloƞ how do i get clang-format 10 on nixos dev shell
Avatar
Avatar
Assa
why does the merge queue take 20 minutes?
it reruns CI on the latest state of master to make sure there are no incompatibilities. Why are 20 min bad? I'm pretty happy Github provides all this for free to us
❤️ 2
Avatar
I was just wondering that the CI was running twice, not about the 20 minutes directly
09:35
Also I agree, it's nice that we don't need to host our own gitlab. But I host my own gitlab with my own runners for private projects anyway
Avatar
Hey, I started a small discussion on the new speed tile. It would be great if the new tile is not also locked into weird bugs, please have a look https://github.com/ddnet/ddnet/pull/9670 (edited)
As multiple times discussed in the discord, the current speedtile implementation is outdated, spaghetti code and very buggy causing multiple bugs. These bugs are deliberately abused by multiple map...
10:35
also @Assa thanks for introducing an improved version of the (very broken with max_speed) speedup tile! ^^
Avatar
GitHub BOT 2025-02-25 10:39
0c7b987 Add language credits in English as a placeholder - furo321 9537e96 Fix dutch translation credits - def- 72c3d0b Add spectator count to HUD - KebsCS f76573a Add 128 player support to the client - heinrich5991 90ac3b6 Update romanian.txt - Sans3108 ef4112d Fix grammar - Sans3108 2a63bca Update dutch.txt - realurg 698b9cc Update Russian translations for 19.0 - furo321 b51729e Update Swedish translations for 19.0 - furo321 2b43ab3 Update Chinese translations for 19.0 - Pioooooo 701343c Update spanish.txt for 19.0 - n0Ketchp 67efab8 Update Turkish translations for 19.0 - GokturkTalha 7b52312 Update Azerbaijani translations for 19.0 - GokturkTalha 73a3831 Update Azerbaijani translations for 19.0 - GokturkTalha 6aee3dd Update brazilian_portuguese.txt - rffontenelle bb241e9 slinack is Isadora nick - rffontenelle ec22711 Fix DDNetSpectatorInfo unpack error - KebsCS b424609 Add delay to spectator count and exclude afk players - KebsCS e36fff3 Fix editor weapon shield preview for custom entities - KebsCS 67d4809 Address /unpractice review comments - KebsCS 6afef64 Update Korean translations by CHaBek - cwh7435 a282dc4 Fix order - def- 459c58c Fix wrong max team size - KebsCS 0e7ca0d Use NUM_DDRACE_TEAMS instead - def-
Avatar
@Patiga
it would be great if the new tile is also locked into weird bugs, please have a look
What locked? xD
Avatar
Avatar
Assa
@Patiga
it would be great if the new tile is also locked into weird bugs, please have a look
What locked? xD
*not
10:44
having to support the exact behavior of the tile for backwards compatibility with maps
Avatar
The old tile is not disabled, you can still use it, you can still map with it
10:44
the PR introduces a brand new tile
Avatar
yea but when the new tile is used, its behavior needs to stay the same as soon as any maps use it
10:45
(usually)
Avatar
well yes and no
10:45
it does (mostly) what you'd expect from the old speedtile ...
Avatar
thats what I want to discuss in the PR
Avatar
The goal of this PR was to remove the fuckton of bugs that come from setting max_speed by properly programming it
Avatar
I do really support adding the new tile! I just want to ensure that we get it right this time :)
Avatar
Oh, yeah I can give you the essential part of the code:
Avatar
I left a review on the pr https://github.com/ddnet/ddnet/pull/9670, it should be visible (?)
10:50
I left is as a comment now
Avatar
The essential part: else if(Type == TILE_SPEED_BOOST) { if(MaxSpeed == 0) { TempVel += Direction * Force; } else { // hardest to understand float CurrentDirectionalSpeed = dot(Direction, m_Core.m_Vel); float TempMaxSpeed = MaxSpeed / 5.0f; if(CurrentDirectionalSpeed + Force > TempMaxSpeed) TempVel += Direction * (TempMaxSpeed - CurrentDirectionalSpeed); m_Core.m_Vel = ClampVel(m_MoveRestrictions, TempVel); } }
👍 1
Avatar
the comment is visible now tho, no?
Avatar
catbite @Patiga have you run into problem where wasm-pack trying to link zlib externally before
11:14
idk why that image was sent twice
11:14
11:14
been bothering me for a week
Avatar
@TsPiggy is it on my library, or your own?
Avatar
it happens when building map-inspect-web on my machine too
Avatar
(though I don't really know anything about that either way xd)
11:23
damn
11:23
linux/windows/mac?
Avatar
linux nixos
11:24
didn't happen on windows when i tried it before
11:24
but i guess windows won't have a zlib in system anyway
Avatar
do you also do this? wasm-pack build --target web
Avatar
yes
Avatar
Jupstar ✪ 2025-02-25 11:24
@Patiga was it you that made a valramp graph once?
11:24
I am interested in finding it again
Avatar
@Zwelf did, but I posted it here
Avatar
Jupstar ✪ 2025-02-25 11:25
But I can't remember where I saw it
Avatar
Avatar
Patiga
it produces this graph
@Jupstar ✪ xd I just saw that msg yesterday
11:25
(when I looked for the script to change the map of a demo)
Avatar
my initial hunch is flate2 is depending on libz-sys that somehow caused this, but then i just pulled both twgpu and twmap and nuked the flake2's zlib-ng-compat feature but tha still happens
Avatar
my link also got the source script
Avatar
Jupstar ✪ 2025-02-25 11:27
@Assa i think this might also be intersting for you
Avatar
did you try cargo clean and rebuild? that often worked for dependency problems for me 😅 @TsPiggy
Avatar
i'll try
11:28
also i'm using rust stable. i'll switch to nightly later if that doesn't help
Avatar
same, I'm also on stable
Avatar
horror
11:29
nouis didn't work
Avatar
lmao, i removed the import line and replaced the import with a proxy, but the wasm deadass really called deflateEnd extenally. how does that even happen.
11:34
partyblob
11:34
here's my daily giveup i guess
Avatar
DEFLATE, gzip, and zlib bindings for Rust. Contribute to rust-lang/flate2-rs development by creating an account on GitHub.
11:35
a simple fix would be to just select a rust-backend
Avatar
i tried that
Avatar
but still?
Avatar
that's why i pulled both twgpu and twgame
11:35
maybe i need to cargo clean, i'll try that again
Avatar
the feature resolver might be an issue then
11:36
the features probably overwrite each other in some order
Avatar
and rust-backend was supposed to be the default anyway
Avatar
so maybe try to change the backend in both twgpu and twmap
11:37
and ensure that twgpu uses your local twmap
11:38
[patch.crates-io] twmap = { path = "../path/to/twmap" } in twgpu's Cargo.toml (in the root directory of the repo)
11:39
might be also possible to override the flate2 dependency directly like this, though idk how the features resolve
Avatar
image also depends on flate2
11:42
> wasm-pack build --target web --release Error: `cargo metadata` exited with an error: Blocking waiting for file lock on package cache Updating crates.io index error: failed to select a version for `flate2`. ... required by package `render v0.1.0 (/mnt/data/Projects/ddguessr/rust/render)` versions that meet the requirements `^1.1.0` are: 1.1.0 the package `render` depends on `flate2`, with features: `rust-backend` but `flate2` does not have these features. failed to select a version for `flate2` which could resolve this conflict Caused by: `cargo metadata` exited with an error: Blocking waiting for file lock on package cache Updating crates.io index error: failed to select a version for `flate2`. ... required by package `render v0.1.0 (/mnt/data/Projects/ddguessr/rust/render)` versions that meet the requirements `^1.1.0` are: 1.1.0 the package `render` depends on `flate2`, with features: `rust-backend` but `flate2` does not have these features. failed to select a version for `flate2` which could resolve this conflict
11:42
currently getting this but i'm way too dizzy navigating three cargos lol
Avatar
Jupstar ✪ 2025-02-25 11:43
[INFO]: found wasm-opt at "/home/jupeyy/.cargo/bin/wasm-opt" Error: /home/jupeyy/.cargo/bin/bin/wasm-opt binary does not exist lmao
11:43
that is what i get
11:43
it adds /bin for whatever reason
11:44
seems like it works with the system provided verison tho
Avatar
cp /home/jupeyy/.cargo/bin/wasm-opt /home/jupeyy/.cargo/bin/bin/wasm-opt
Avatar
Jupstar ✪ 2025-02-25 11:44
@TsPiggy you should ping melon, he also always has problems with nix and rust
Avatar
i pinged him already
11:45
he doesn't care or too busy
Avatar
Avatar
TsPiggy
> wasm-pack build --target web --release Error: `cargo metadata` exited with an error: Blocking waiting for file lock on package cache Updating crates.io index error: failed to select a version for `flate2`. ... required by package `render v0.1.0 (/mnt/data/Projects/ddguessr/rust/render)` versions that meet the requirements `^1.1.0` are: 1.1.0 the package `render` depends on `flate2`, with features: `rust-backend` but `flate2` does not have these features. failed to select a version for `flate2` which could resolve this conflict Caused by: `cargo metadata` exited with an error: Blocking waiting for file lock on package cache Updating crates.io index error: failed to select a version for `flate2`. ... required by package `render v0.1.0 (/mnt/data/Projects/ddguessr/rust/render)` versions that meet the requirements `^1.1.0` are: 1.1.0 the package `render` depends on `flate2`, with features: `rust-backend` but `flate2` does not have these features. failed to select a version for `flate2` which could resolve this conflict
Jupstar ✪ 2025-02-25 11:45
but what is ddguessr your own lib?
Avatar
was making a game
11:45
not anymore now that i'm stuck on this
Avatar
Jupstar ✪ 2025-02-25 11:46
well I'd say one of the projects use a outdated flate2
11:46
the easiest would be to run cargo update and update flate in one of the projects or downgrade it where it uses a newer version
Avatar
might it be possible to generate images outside of the website and just display images on the webpage? (I dunno enough about your project)
Avatar
ye but i don't want to constantly maintaining a set of puzzles. it was supposed to have an "editor" that you just pin locations in maps and just submit as a set of puzzle set.
brownbear 1
11:48
vibe just thought it was cool. using images are not as cool lol
Avatar
tru ^^
Avatar
i honestly thought rust crates are supposed to be magic and it supposed to be able to tell if system zlib is linkable. and it obviously wasn't for wasm32-unknown-unknown
11:51
i tried downgrading libz-sys even. doesn't work. 😬
Avatar
Avatar
TsPiggy
> wasm-pack build --target web --release Error: `cargo metadata` exited with an error: Blocking waiting for file lock on package cache Updating crates.io index error: failed to select a version for `flate2`. ... required by package `render v0.1.0 (/mnt/data/Projects/ddguessr/rust/render)` versions that meet the requirements `^1.1.0` are: 1.1.0 the package `render` depends on `flate2`, with features: `rust-backend` but `flate2` does not have these features. failed to select a version for `flate2` which could resolve this conflict Caused by: `cargo metadata` exited with an error: Blocking waiting for file lock on package cache Updating crates.io index error: failed to select a version for `flate2`. ... required by package `render v0.1.0 (/mnt/data/Projects/ddguessr/rust/render)` versions that meet the requirements `^1.1.0` are: 1.1.0 the package `render` depends on `flate2`, with features: `rust-backend` but `flate2` does not have these features. failed to select a version for `flate2` which could resolve this conflict
Jupstar ✪ 2025-02-25 11:51
i can only tell you that this is a version mismatch between the project using flate2 twice with different versions
Avatar
that wasn't really the problem
Avatar
Jupstar ✪ 2025-02-25 11:52
failed to select a version for `flate2`. ... required by package `render v0.1.0 (/mnt/data/Projects/ddguessr/rust/render)` versions that meet the requirements `^1.1.0` are: 1.1.0
11:52
this is the relevant part
11:52
is your project open source?
11:52
Can i try to compile it
Avatar
just compile map-inspect-web
Avatar
Jupstar ✪ 2025-02-25 11:53
but that is just a dependency for your project?
11:53
that's a wasm package you can just build
Avatar
Jupstar ✪ 2025-02-25 11:54
mh ok, thought bcs u are in a folder called render xdd
Avatar
same intial problem happens to both that wasm package or my render package
11:55
it is actually the exact same code, i just copied map-inspect-web directly and planning on modifying it
11:55
if you didn't know what the initial problem is: when i build map-inspect-web into wasm it tries to link external zlib library which doesn't exists in javascript obviously
11:56
and seems to be only happening to me currently
Avatar
Jupstar ✪ 2025-02-25 11:56
i could swear melon had the exact same thing xdd
Avatar
it worked fine on windows
11:56
didn't know melon tried building wasms before
Avatar
Jupstar ✪ 2025-02-25 11:57
ah ok it was not zlib
11:57
but also some -sys lib
Avatar
InsaneCat there shouldn't be any -sys dependencies for wasm build tbh.
Avatar
Jupstar ✪ 2025-02-25 11:58
yeah
Avatar
and i feel like flate2 already took care of that, but i still have libz-sys in my lock under the flate2 dependency no matter what i try. so something is using it.
Avatar
Avatar
TsPiggy
and i feel like flate2 already took care of that, but i still have libz-sys in my lock under the flate2 dependency no matter what i try. so something is using it.
Jupstar ✪ 2025-02-25 12:00
wait but if you compile twgpu directly it uses the lock file in map inspect or not
Avatar
it doesn't
12:01
but as i said. i tried to compile map-inspect-web directly with it's own lock.
12:01
same thing happens
12:01
12:01
the project compiles fine
12:02
it just links to some zlib functions in javascript which doesn't exists
Avatar
Avatar
TsPiggy
but as i said. i tried to compile map-inspect-web directly with it's own lock.
Jupstar ✪ 2025-02-25 12:02
yeah yeah, but in map inspect u also get the zlib error, right?
Avatar
the error is module 'env' does not exists. i converted wasm to wat and checked what 'env' is importing and they are some zlib functions
12:03
both map inspect and render has the same problem
Avatar
Avatar
TsPiggy
the error is module 'env' does not exists. i converted wasm to wat and checked what 'env' is importing and they are some zlib functions
Jupstar ✪ 2025-02-25 12:04
what is wasm-pack --version?
Avatar
> wasm-pack --version wasm-pack 0.13.1
12:05
save me melon!
Avatar
Avatar
TsPiggy
@meloƞ how do i get clang-format 10 on nixos dev shell
Super old nixpkgs version monkalaugh
Avatar
well not that
12:05
well yes that too
12:05
do you have a flake or a commit that has clang-format 10 in it
Avatar
Avatar
TsPiggy
do you have a flake or a commit that has clang-format 10 in it
Just check clangs releases really
Avatar
Avatar
TsPiggy
well not that
How can I save you
Avatar
Jupstar ✪ 2025-02-25 12:06
the issue seem’s to still be around sadly. i couldn’t find a proper way of handling this myself, so i’ll just bump this to hopefully get a notification if someone figures it out 😛
12:06
xd
Avatar
Not at home atm btw
Avatar
Avatar
Jupstar ✪
xd
justatest justatest justatest
12:07
Ehhh....
12:07
Hi
Avatar
Avatar
meloƞ
Not at home atm btw
then be on your way
Avatar
Jupstar ✪ 2025-02-25 12:09
@TsPiggy as far as i can see -sys isn't directly the problem e.g. https://docs.rs/crate/libz-sys/1.1.21/features has a static feature
12:10
i assume it's the behavior of the build tools. pkg-config or cmake or vcpkg
Avatar
ok what
12:11
twgame is using a different version of twmap
Avatar
Avatar
TsPiggy
twgame is using a different version of twmap
Jupstar ✪ 2025-02-25 12:12
but that doesn't explain the map inspect thing does it
12:13
@TsPiggy do live stream xd
Avatar
twmap has flate2 zlib-ng-compat feature which does the libz-sys dependency
12:14
i pulled twmap and twgpu just to nuke that feature cuz i couldn't figure out how i can do that in my own project
12:14
patching doesn't work
Avatar
Jupstar ✪ 2025-02-25 12:14
ah yeah makes sense
Avatar
now i'm pulling twgame
12:14
InsaneCat
Avatar
Jupstar ✪ 2025-02-25 12:14
you should use cargo tree
12:15
cargo tree --target wasm32-unknown-unknown | grep -A 5 -B 5 "flate2"
Avatar
finally. no libz-sys insight
12:19
problem gone too
12:20
all i have to do is pull three different tw crates and manually adjust dependency of them HUH
frozen 1
Avatar
Jupstar ✪ 2025-02-25 12:20
iks de
12:20
i blame nixos tho
Avatar
@Patiga soo.. any reason zlib-ng-compat has to be used btw.
Avatar
instead of which other option?
Avatar
just default
Avatar
speed
Avatar
rust-backend is the default
12:22
i see
12:22
nouis
Avatar
zlib-ng is very speedy
Avatar
i'll just have the three crates in my project i guess. nouis
Avatar
Jupstar ✪ 2025-02-25 12:23
@Patiga u could simply enable the feature for non wasm32 only but if u don't encounter the bug for you while building wasm32 the problem is probs in the build tools anyway ig
Avatar
Avatar
Jupstar ✪
@Patiga u could simply enable the feature for non wasm32 only but if u don't encounter the bug for you while building wasm32 the problem is probs in the build tools anyway ig
tru, that would work
12:24
but that is what -compat is for iirc, it should do that automatically 😅
Avatar
that's what i thought too
12:24
weird that it doesn't
Avatar
ah no
12:24
Note that when using the "zlib-ng-compat" feature, if any crate in your dependency graph explicitly requests stock zlib, or uses libz-sys directly without default-features = false, you'll get stock zlib rather than zlib-ng. See the libz-sys README for details. To avoid that, use the "zlib-ng" feature instead.
12:25
also i think image-png is using flate2 default anyway
12:25
so you are just including both i think?
Avatar
nah zlib-ng features wins there I think
Avatar
does it override it for image too
Avatar
the feature resolver does that iirc
Avatar
i see
Avatar
like usually features are used for additional features, different parts of a library
12:26
here, they are kinda mutually exclusive, and on takes priority over the other
Avatar
i tried using zlib-ng instead of zlib-ng-compat. it now includes a zlib-ng-sys dependency and it doesn't even build on my machine lmao
12:30
maybe just turn off the feature for wasm
Avatar
yes, sounds good
Avatar
Jupstar ✪ 2025-02-25 12:32
send project, i wanna know if that is a build tool problem xd
Avatar
again.. just build inspect-map-web
kek 1
12:33
it's not that i don't want to send it. it's just it doesn't have anything in it. it's just inspect-map-web but moved to a different folder and renamed to render
12:33
angeryping
Avatar
Avatar
Jupstar ✪
@Assa i think this might also be intersting for you
Thank you 👍
Avatar
Avatar
Souly
@Assa i love these new speedups
@Jupstar ✪ @Patiga these might be interesting to you, if you haven't seen them yet. They only show the extreme case with very low max_speed settings and that orthogonal speed is not affected.
Avatar
I just remembered, that ramp is only working in X direction 🤔
Avatar
Avatar
Assa
@Jupstar ✪ @Patiga these might be interesting to you, if you haven't seen them yet. They only show the extreme case with very low max_speed settings and that orthogonal speed is not affected.
Jupstar ✪ 2025-02-25 12:58
It is, was that not possible before?
Avatar
no, but for another reason: before max_speed was forcefully set to 5 if it was in range 1-4
Avatar
Jupstar ✪ 2025-02-25 12:59
The question is whether this is even a good thing.. that a speedup also slows you down 😮
13:00
Like why should a speedup alter the existing velocity of the character.. then it's not a speedup, but a slowdown tile lmao
Avatar
one of my next speeders I plan are fixed speed speeders, which just make a SET in direction
Avatar
Jupstar ✪ 2025-02-25 13:00
I see
Avatar
Avatar
Jupstar ✪
Like why should a speedup alter the existing velocity of the character.. then it's not a speedup, but a slowdown tile lmao
original Idea was, I guess, that you have speeders that accumulate speed
13:01
meaning they add speed each tick
Avatar
Jupstar ✪ 2025-02-25 13:01
Well maybe we do need more speedup tiles if such behavior as in the pics is really wanted. But from a naive view i'd not expect the speedup to cause a slow down, not if it's not a tile that explicitly says so, not even with a max_speed set
13:01
i'd expect it to simply ignore the tee then
Avatar
what is the purpose of max speed in your opinion?
Avatar
Jupstar ✪ 2025-02-25 13:04
the maximum speed a speed tile gives
Avatar
so a speedtile, that accumulates speed, but simly stops adding speed if max_speed is exceeded?
13:07
this is not what the old speedtiles do btw, they also act as stoppers for low speed
13:10
My Goal was a fixed version of the current ones which behave similar to them, but don't experience the buggy behavior. You describe yet another speedtile version
Avatar
Avatar
Jupstar ✪
Well maybe we do need more speedup tiles if such behavior as in the pics is really wanted. But from a naive view i'd not expect the speedup to cause a slow down, not if it's not a tile that explicitly says so, not even with a max_speed set
that also sounds like a sensible tile (could be added), however, I do see good value in adding a speedup tile which mimics most of the old behaviour while fixing bugs. what I'd like to avoid is adding other unintuitive behaviour
Avatar
IMO the speeduplayer is empty, lets add 20 variants! nouis (actually 🤔 )
Avatar
cyberfighter 2 2025-02-25 13:11
does someone know why shooting a weapon, pressing the number bind for another weapon and then quickly back to the one you were using switches into both after the fire delay is over
13:14
Avatar
GitHub BOT 2025-02-25 13:14
I'd like to talk to have a discussion about speedtiles, before we add or change more speedtiles. I think we could make clear what the goal of potential speedtiles even is (#9670). From a quick thought I could imagine 3 variants of speed tiles:
  • (smart) Speedups. Only add up velocity to the character until the limit of max_speed is hit (or if 0 then it should not go above the velramp maximum). This should be the default speedup tile imo. It can not remove or clamp velocity from the chara...
Avatar
Avatar
Patiga
that also sounds like a sensible tile (could be added), however, I do see good value in adding a speedup tile which mimics most of the old behaviour while fixing bugs. what I'd like to avoid is adding other unintuitive behaviour
Jupstar ✪ 2025-02-25 13:14
Yes, but IMO the velramp thing is legit even with staying close to the old speedups
👍 1
13:15
I don't see a reason to still give speedups that go above the maximum of valramp
13:15
This is just so glitchy xD
Avatar
if its possible to cleanly integrate, then that'd sound good to me. but also, we'll need to draw a line somewhere
Avatar
Jupstar ✪ 2025-02-25 13:17
Well the problem to me is, what will the mapper use if we add yet another variant that fixes the velramp thing but else is equal to the new added one
13:17
Then we have 3 tiles with almost the same logic xD
Avatar
yea, tru
13:18
like my heart wants me to suggest to fix the big difference between hitting the same speedup once or twice, depending on how you approach it
13:18
but I don't thin that one is feasible ^^
Avatar
Avatar
Patiga
like my heart wants me to suggest to fix the big difference between hitting the same speedup once or twice, depending on how you approach it
Jupstar ✪ 2025-02-25 13:19
I assume it's simply the tick related thing? Then it's probably indeed very hard. Did you have any fix in mind?
Avatar
maybe don't trigger the speedup agai until the tee leaves the tile. , but thats a whole different behavior again ^^
Avatar
Avatar
Jupstar ✪
Well the problem to me is, what will the mapper use if we add yet another variant that fixes the velramp thing but else is equal to the new added one
I posted a compromise on github
Avatar
Jupstar ✪ 2025-02-25 13:25
Yeah I see, only question would be how it smoothly applies velocity then. But yeah I often seen the thing you described when jumping on speedups to get up to other floors
Avatar
Avatar
Patiga
like my heart wants me to suggest to fix the big difference between hitting the same speedup once or twice, depending on how you approach it
add speedups to move box justatest seriously, I can imagine speedups which are embedded in the ground, where you only accelerate when is_grounded
Avatar
Jupstar ✪ 2025-02-25 13:27
@Assa you should contribute to twgame 😬 We need lots of tests for all your ideas (even if they are good in theory)
Avatar
honestly, that'd be great but would be much morecomplicated to implement. like, accelerate the tee depending on the time spend in each tile :D
Avatar
Avatar
Jupstar ✪
@Assa you should contribute to twgame 😬 We need lots of tests for all your ideas (even if they are good in theory)
Can you please elaborate? I am not up to date with everything including twgame 🙈
13:28
are you planning tw2?
13:29
I'd love to help, where should I sign?
Avatar
Avatar
Assa
Can you please elaborate? I am not up to date with everything including twgame 🙈
Jupstar ✪ 2025-02-25 13:29
It tries to replicate the ddnet physics but adds tons of tests for the physics so changing behavior would directly (in theory) show if you broke the physics by accident
13:29
Then you could touch movebox without fear
Avatar
I already touched movebox fearlessly >:D
Avatar
I guess step one: do a rust course 🙈
😅 1
Avatar
or have ai do it for you
Avatar
Avatar
Hecta
or have ai do it for you
Jupstar ✪ 2025-02-25 13:31
lez go
Avatar
the code is from the ground up. its organized and test-driven :)
Avatar
Avatar
Hecta
or have ai do it for you
Hecta, I love your art, and I know this was sarcasm, but .... HELL NAH
13:32
tbh itd probably panic anyways
Avatar
I already wrote some rust code, with brain pattern-matching, a rust cheat sheet and general programming knowledge. This helps a lot
13:35
damn yea, thats going into twmap ig
Avatar
@Zwelf what is the maximum of your graph, what is the highest real speed and what original unclamped velocity do you have there?
Avatar
Avatar
Assa
Hecta, I love your art, and I know this was sarcasm, but .... HELL NAH
I actually do use ai for rust
Avatar
@Assa learn rust it will make u a better programmer: because 1 you learn another language which is always a pro, and new concepts (edited)
Avatar
I already did as well, but I needed to fix a lot of issues in that code. And in order to fix issues in ai generated code, you need to understand what it does
Avatar
Avatar
Ryozuki
@Assa learn rust it will make u a better programmer: because 1 you learn another language which is always a pro, and new concepts (edited)
always true, then I can add it to my not so short list of programming languages I am able to use
Avatar
Avatar
TsPiggy
now, can someone please bump the ddnet package in nixpkgs
it shall be done!
Avatar
Is there a less manual way for bumping it
13:55
Wasn't there a bot that auto prs
Avatar
Make a bot that automatically writes a message to the person responsible
13:55
then it's less manual 😄
Avatar
Avatar
TsPiggy
Wasn't there a bot that auto prs
there is, but it's possible that the automatic bump failed for some reason
Avatar
Didn't the bot cc maintainers for testing first
Avatar
The bot will do some sanity checks like building the bumped package. And if any of those fail, it won't open a PR
14:03
Interesting
14:03
Here it is
14:04
seems like it's confused about the ddnet derivation having multiple hash fields
Avatar
https://github.com/ddnet/ddnet/releases/tag/19.0 Things done Built on platform(s) x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin For non-Linux: Is sandboxing enabled in nix.conf?...
Avatar
a structural diff that understands syntax 🟥🟩. Contribute to Wilfred/difftastic development by creating an account on GitHub.
Avatar
@Jupstar ✪ I might need your help in order to adjust speedtile rendering. Currently all valid tiles from the speedlayer get an arrow drawn over it. I want to limit this to the old speedups and use different arrows for the new ones. The rendering logic has two parts, one for buffered and unbuffered rendering. While the unbuffered rendering is no issue, I don't see how to do it for buffered rendering yet, as it uses the array directly sh (edited)
Avatar
Avatar
Assa
@Jupstar ✪ I might need your help in order to adjust speedtile rendering. Currently all valid tiles from the speedlayer get an arrow drawn over it. I want to limit this to the old speedups and use different arrows for the new ones. The rendering logic has two parts, one for buffered and unbuffered rendering. While the unbuffered rendering is no issue, I don't see how to do it for buffered rendering yet, as it uses the array directly sh (edited)
Jupstar ✪ 2025-02-25 14:19
That's not possible in the same layer
14:19
You could add more arrows to the speedup tile set, and give an offset tho
14:20
but it would still limit to around 3 different arrows at most
Avatar
Jupstar ✪ 2025-02-25 14:20
https://raw.githubusercontent.com/ddnet/ddnet/refs/heads/master/data/editor/speed_arrow_array.png
14:20
14:21
U have 255 slots total. So you could even only have 1 more speedup arrow
Avatar
Avatar
Hecta
@Assa ill just post them here anyways, just in case
here are already the new ones I have in mind, I can do the merging (and dilating) tho
Avatar
Jupstar ✪ 2025-02-25 14:22
well if u are 100% sure u only ever need one new arrow
14:22
you could merge it to the above one
Avatar
counter question, is there a strict need for this to be limited to 1024x1024 (like a tileset)?
Avatar
Jupstar ✪ 2025-02-25 14:22
it's not about resolution
14:22
it's about 16x16 tiles
14:22
and yes that is a strict limit
Avatar
ws-client BOT 2025-02-25 14:23
<ChillerDragon> jupstar what happend to 66 isues
Avatar
Avatar
ws-client
<ChillerDragon> jupstar what happend to 66 isues
Jupstar ✪ 2025-02-25 14:23
what 66?
Avatar
making gentoo faster than n*x
Avatar
@Jupstar ✪ I could go ahead and offset other tiles into emptiness and add another layer with new speedtiles where I offset the old tiles into emptiness, Do you think this is a good idea? :/
Avatar
i should learn how to contribute to nixpkgs
Avatar
Avatar
Jupstar ✪
you could merge it to the above one
"but muh custom arrows image" pepeW
Avatar
ws-client BOT 2025-02-25 14:25
<ChillerDragon> 666*
Avatar
Avatar
ws-client
<ChillerDragon> 666*
Jupstar ✪ 2025-02-25 14:25
I will just overflow the integer github uses at this point
Avatar
Avatar
Hecta
"but muh custom arrows image" pepeW
We can still go ahead and try to merge them over the old ones anyway >:D
Avatar
Jupstar ✪ 2025-02-25 14:26
do you have an ingame pic?
14:26
do they look so much better if they are not filled?
Avatar
The idea is, that they don't obstruct so much of the map
Avatar
Jupstar ✪ 2025-02-25 14:27
Well i personally don't care too much, as long as they don't look cheap ingame xd
Avatar
it's even worse in the editor, where you have that ugly green shade added as well (Which I'll certainly remove in a PR)
Avatar
Avatar
Hecta
@Assa do you think these look good?
@Jupstar ✪ do these look cheap
Avatar
Jupstar ✪ 2025-02-25 14:27
@Hecta if u have a svg version pls add it to the repo too :3
Avatar
Avatar
Jupstar ✪
@Hecta if u have a svg version pls add it to the repo too :3
will do when i get home
Avatar
Avatar
Hecta
@Jupstar ✪ do these look cheap
Jupstar ✪ 2025-02-25 14:28
Dunno, looks ok ig, if u have a screen at normal zoom level would be good too 😄
Avatar
Avatar
Assa
@Jupstar ✪ I could go ahead and offset other tiles into emptiness and add another layer with new speedtiles where I offset the old tiles into emptiness, Do you think this is a good idea? :/
@Jupstar ✪ ?
Avatar
Jupstar ✪ 2025-02-25 14:29
@Assa ig you could simply use the new arrows generally then.. is there a really any benefit to have 2 versions? Ideally a mapper does not mix new and old speedtiles lmao (edited)
Avatar
"ideally" 💀
Avatar
@Scrumplex teeworlds/ddnet is zlib licensed. we also have ofl and bitstreamVera fonts
Avatar
Avatar
Assa
@Jupstar ✪ I could go ahead and offset other tiles into emptiness and add another layer with new speedtiles where I offset the old tiles into emptiness, Do you think this is a good idea? :/
Jupstar ✪ 2025-02-25 14:30
I just dunno if the effort is worth it if I'm honest
Avatar
Ideally you don't drive your car into a tree, as a voluntary fire fighter ...
Avatar
Please don't understand me wrong, I don't wish that to anybody 🙈
Avatar
Jupstar ✪ 2025-02-25 14:31
Ig if you really ever need different tile images, you can still do so in future
Avatar
now i'm curious how often distro packages mislicense packages
Avatar
Avatar
TsPiggy
now i'm curious how often distro packages mislicense packages
Jupstar ✪ 2025-02-25 14:33
I've seen so many projects depend on GPL code, while being MIT etc... ig it's all chaos 😬 (edited)
14:33
@TsPiggy when release geoguesser
Avatar
i kinda want to wait for patiga to update twmap so i don't have to keep all three modified crates in my project
14:34
i haven't even started making it
Avatar
Jupstar ✪ 2025-02-25 14:34
🫠
Avatar
i wanted to build a proto really quick then i got stuck on the first step of compiling the rust dependency
Avatar
Avatar
Jupstar ✪
@Assa ig you could simply use the new arrows generally then.. is there a really any benefit to have 2 versions? Ideally a mapper does not mix new and old speedtiles lmao (edited)
my new bug abusing map°!! 🤑
Avatar
Avatar
Jupstar ✪
Ig if you really ever need different tile images, you can still do so in future
I have another idea, use the new image also for the old ones, but make the old ones red. Would this be possible with the current rendering? As far as I know this should just be some simple shader logic
Avatar
Avatar
Assa
I have another idea, use the new image also for the old ones, but make the old ones red. Would this be possible with the current rendering? As far as I know this should just be some simple shader logic
Jupstar ✪ 2025-02-25 14:38
I mean everything is possible, but changing shaders is already not trivial
Avatar
Avatar
Hecta
my new bug abusing map°!! 🤑
I still can't believe, that people abused one of the worst speedtile bugs and called it a feature and are defending it like a child defends its toy
Avatar
Jupstar ✪ 2025-02-25 14:38
The speedup layers use the same logic as other tile layers and they only support coloring the whole layer at once
14:39
not individual tiles
Avatar
Avatar
Assa
I still can't believe, that people abused one of the worst speedtile bugs and called it a feature and are defending it like a child defends its toy
the problem is them gatekeeping it for so long
Avatar
Jupstar ✪ 2025-02-25 14:39
This is simply how it was designed 😄
Avatar
chillerdragon BOT 2025-02-25 14:39
@Avolicious: have I been removed from the kog clan?
Avatar
Avatar
TsPiggy
i honestly thought rust crates are supposed to be magic and it supposed to be able to tell if system zlib is linkable. and it obviously wasn't for wasm32-unknown-unknown
the magic is there but can’t be used when you’re linking against a C library
Avatar
and I guess if I change this or add this shader, I will get hunted like a witch because you have like 1% fps less
Avatar
Avatar
Assa
and I guess if I change this or add this shader, I will get hunted like a witch because you have like 1% fps less
Jupstar ✪ 2025-02-25 14:40
No, I am just saying not trivial
14:40
You suddenly need to build a new buffer object just for speedup tiles etc.
Avatar
Avatar
Ewan
the magic is there but can’t be used when you’re linking against a C library
the magic should know web wouldn't have zlib library
14:40
😬
Avatar
Avatar
Assa
and I guess if I change this or add this shader, I will get hunted like a witch because you have like 1% fps less
Jupstar ✪ 2025-02-25 14:40
You could as you suggested simply create one layer for each speedup tile and color each of these layers individually
Avatar
Avatar
Jupstar ✪
You suddenly need to build a new buffer object just for speedup tiles etc.
Another idea was to color speedups according to strength, would go into the same direction
Avatar
Jupstar ✪ 2025-02-25 14:41
But honestly if you only want the new arrows. simply use them and don't make it complicated yet
Avatar
You know why I want to make this complicated right away xD
14:42
Well I guess I can already create a draft for an image flip
14:42
All I need is a before and after image
Avatar
chillerdragon BOT 2025-02-25 14:44
Cheating money or level is not supported. You would have to manipulate the database directly with sql. Giving out vip can be done by an admin in game checkout the chat command /sql it will list you some options
Replying to @щасбыгидрыпоюзать How can I give a person a VIP, coins or a level on ddnet++?
Avatar
time to sql inject myself to become a police, so i can throw everyone in jail
Avatar
Avatar
Hecta
time to sql inject myself to become a police, so i can throw everyone in jail
Jupstar ✪ 2025-02-25 14:46
Avatar
sqlx users when they forget the !
Avatar
that sounds so wrong ooc LOL
Avatar
!!!!
Avatar
Avatar
Ewan
sqlx users when they forget the !
that doesnt mean its a injection, if u dont use format! and pass the parameters as arguments
Avatar
Avatar
Jupstar ✪
zenblock has police to stop ppl from abusing the map
Avatar
Avatar
Hecta
time to sql inject myself to become a police, so i can throw everyone in jail
Jupstar ✪ 2025-02-25 14:46
American government does not use SQL xddd
Avatar
zenblock being fokkonaut's playground
Avatar
Jupstar ✪ 2025-02-25 14:47
oh ok
Avatar
Avatar
Ryozuki
that doesnt mean its a injection, if u dont use format! and pass the parameters as arguments
no it just makes it more prone to injection because the query string is still generated at runtime
14:47
but it was a joke
Avatar
chillerdragon BOT 2025-02-25 14:47
The only paid clients I know are cheat clients. Are you distributing cheat clients?
Replying to @Evelyn I've cracked a well-known client (the latest version) and am selling a s…
Avatar
sqlx accepts arguments for parameters that are properly handled
14:48
it would only be a injection if u do smth like sqlx::query(format!("bkabl {inject} bablaslsdf"))
14:48
that doesn’t seem like a super uncommon way to build a query
Avatar
?? xd
Avatar
the args only work for some things
Avatar
no sane person uses format
14:49
ah u mean to build dinamic queries
Avatar
i recommend sea sql
Avatar
seaorm?
Avatar
it has a separate crate thats just the builder
Avatar
boss says no ORM
Avatar
without orm
14:50
is it better
14:50
SeaQuery is a query builder to help you construct dynamic SQL queries in Rust. You can construct expressions, queries and schema as abstract syntax trees using an ergonomic API. We support MySQL, Postgres and SQLite behind a common interface that aligns their behaviour where appropriate.
14:50
assert_eq!( Query::select() .column(Glyph::Image) .from(Glyph::Table) .and_where(Expr::col(Glyph::Image).like("A")) .and_where(Expr::col(Glyph::Id).is_in([1, 2, 3])) .build(PostgresQueryBuilder), ( r#"SELECT "image" FROM "glyph" WHERE "image" LIKE $1 AND "id" IN ($2, $3, $4)"# .to_owned(), Values(vec![ Value::String(Some(Box::new("A".to_owned()))), Value::Int(Some(1)), Value::Int(Some(2)), Value::Int(Some(3)) ]) ) );
14:51
that’s one way to do it lol
14:52
just wrap everything in your own builder API so there’s no point of entry for an evil string
Avatar
@Jupstar ✪ do I need to adjust more then just tile.vert and tile.frag? I don't know what tile_border does for example
14:57
obviously I need to write my own vulcan pipeline code 🙈
Avatar
what are you changing the shader for again?
Avatar
currently the shader only accepts one global color, instead of a color for each tile. I will not change the current one but maybe add a similar one for this
14:58
I am just exploring
Avatar
Avatar
Assa
@Jupstar ✪ do I need to adjust more then just tile.vert and tile.frag? I don't know what tile_border does for example
Jupstar ✪ 2025-02-25 15:01
tile border are the map border
Avatar
uh, uhh ;_;
15:02
Adjusting the shader is the easy part, adjusting the vulcan pipeline however ... (edited)
Avatar
Jupstar ✪ 2025-02-25 15:02
My biggest problem is that it will increase VRAM usage per vertex by 4 bytes
15:03
The ddnet rendering already isn't most efficient in that regard
Avatar
I hoped, that we may only need 3 bytes
Avatar
Jupstar ✪ 2025-02-25 15:03
then we'd need to make sure the GPU can handle non-4-byte alignment
15:03
for vk it will defs work
15:03
ogl 3.0 dunno
Avatar
hmm, okay
15:06
you are right, also for the fragment shader? Oh probably not
15:07
I mean I can make this optional
Avatar
Jupstar ✪ 2025-02-25 15:07
@Assa so
15:08
u want different tiles different textures
15:08
just add new layers for that
15:08
u want different colors depending on the strength
Avatar
Avatar
chillerdragon
The only paid clients I know are cheat clients. Are you distributing cheat clients?
i muted evelyn as to prevent them getting any sort of clout - yes, they cracked a bot client. (edited)
Avatar
I am just exploring options, I like "throwing stuff at the wall" and see what sticks
Avatar
Jupstar ✪ 2025-02-25 15:09
i think for that you need to add a new shader, and push the force value (u8) to the shader. but honestly i'd skip that part first
Avatar
these are all sepearte PRs, and I agree
Avatar
Avatar
meloƞ
i muted evelyn as to prevent them getting any sort of clout - yes, they cracked a bot client. (edited)
wtf why LOL
Avatar
Jupstar ✪ 2025-02-25 15:10
adding colors is ofc possible and more general approach but sadly it would add quite some vram overhead (i think)
Avatar
Avatar
Hecta
wtf why LOL
wait i have a meme displaying that 1 sec
Avatar
Avatar
Hecta
wtf why LOL
Avatar
Avatar
Jupstar ✪
adding colors is ofc possible and more general approach but sadly it would add quite some vram overhead (i think)
I think you are correct, what about the global color? Is that somehow more effecient, because there is already a color?
Avatar
Avatar
Assa
I think you are correct, what about the global color? Is that somehow more effecient, because there is already a color?
Jupstar ✪ 2025-02-25 15:11
u can only apply it to the whole layer
Avatar
Avatar
Hecta
wtf why LOL
Jupstar ✪ 2025-02-25 15:11
we lost our bro evelyn. he is an oligarch now
Avatar
I mean in terms of VRAM
Avatar
Avatar
Jupstar ✪
we lost our bro evelyn. he is an oligarch now
biggest silly billy we ever had
Avatar
Avatar
Assa
I mean in terms of VRAM
Jupstar ✪ 2025-02-25 15:12
the global color is free
15:12
it's kinda a variable in the shader
15:12
pushed once
Avatar
so like a shared variable
Avatar
Jupstar ✪ 2025-02-25 15:12
per layer
Avatar
I think I understand
Avatar
Avatar
Assa
@Zwelf what is the maximum of your graph, what is the highest real speed and what original unclamped velocity do you have there?
Avatar
Avatar
Evelyn
I've cracked a well-known client (the latest version) and am selling a subscription for $2 (200₽)
evil evelyn: I didn't crack a very niche client (the oldest version) and am not selling a subscription for $2 (0₽)
Avatar
I never knew that velramp comes so extremly early, with that sneaky * 50 hidden in it
15:52
Internal vector max_speed: ~118.88053703308111 Tiles per second: 74.95860751927883 Show velocy (with velramp): ~47.97350881233845 velramp: 0.40354384333735616
15:53
doesn't speedtile force go up to 250?
15:53
(╯°□°)╯︵ ┻━┻
Avatar
Avatar
Assa
doesn't speedtile force go up to 250?
Jupstar ✪ 2025-02-25 15:55
is a speed tile with max 120 faster? 😄
15:56
would be funny
15:56
or is max_speed not translated 1:1
Avatar
max_speed is not translated 1:1, as I wrote in my wall of text
15:56
max_speed gets devided by 5
15:57
so the configurable default value for speedtiles should be Max_speed = 118.88 * 5, of course
Avatar
Avatar
Assa
doesn't speedtile force go up to 250?
Jupstar ✪ 2025-02-25 16:00
but ig then it also cannot force that value xd
16:00
or is max_speed and force also handled differently
16:00
lmao
Avatar
Somebody suggested that I should remove my hate comments on the old code
16:03
it contained a line like "old stupid spaghetti code", do you now understand?
Avatar
Avatar
Assa
it contained a line like "old stupid spaghetti code", do you now understand?
Jupstar ✪ 2025-02-25 16:04
xddd
Avatar
you should probably remove them or reword them xd
16:10
its master branch after all
Avatar
I removed them, as suggested
Avatar
@Patiga how long does it take for the bot update, do you know anything about this?
Avatar
Avatar
Assa
@Patiga how long does it take for the bot update, do you know anything about this?
I occasionally ping murpi to update the bot :)
Avatar
though I suppose if we consider modifying the new speedup tile, it shouldn't yet appear in maps
Avatar
i think we could make a good introduction map to them
Avatar
hmm, except for the issue with velramp, do we have other issues with the new speedtiles @Jupstar ✪ and @Patiga ?
16:49
I know, I can improve a lot of visuals, but this can be done later as well
Avatar
Avatar
Hecta
i think we could make a good introduction map to them
arent they the same as speedups but without bugs
16:57
idk if that needs an introduction
Avatar
Avatar
Assa
hmm, except for the issue with velramp, do we have other issues with the new speedtiles @Jupstar ✪ and @Patiga ?
well I tried to propose that the behavior from my github videos could be modified. I can kinda see how speedups can also slow down, but redirect my velocity? I don't think that behavior is good
Avatar
first of all, did you check what the old speedtiles do in your video?
Avatar
in general I'd love a period in which new features can be played with in the editor, but not new maps released, in order to give time to fix stuff
17:01
they have similar behavior, but thats a thing that could be fixed relatively easy I think
Avatar
Avatar
Patiga
well I tried to propose that the behavior from my github videos could be modified. I can kinda see how speedups can also slow down, but redirect my velocity? I don't think that behavior is good
hm yeah that does look odd
17:02
idk how its coded but speeders with max speed should just act like normal speeders but clamp the velocity in the direction of the speeder to the max speed, right?
Avatar
Avatar
Patiga
they have similar behavior, but thats a thing that could be fixed relatively easy I think
they have a very similar behvior, except of the occasional fly out bugs
Avatar
maybe that just leads to funny looking physics
Avatar
I mean the videos I send already look funny to me ^^
Avatar
Avatar
louis
idk how its coded but speeders with max speed should just act like normal speeders but clamp the velocity in the direction of the speeder to the max speed, right?
they do, but for a 45° speeder, the other direction is unclamped
17:04
if you do 90° speeder, they are working exactly as expected, I think this is a perception thing
17:05
also do you think this looks better:
Avatar
how is this a perception thing? at 90° they'll never push you in a different direction. this is a math thing I'd say
Avatar
i dont like either way tbh
17:06
why cant we remove the numbers?
17:06
render the arrow as a gradient in terms of how fast it is
17:06
i guess it depends on whether we want to support entities being pretty or not
17:07
but i tjink its more readable with solid background arrows
Avatar
I am working on that one, too @louis this apperently needs a new shader
17:08
but not with a gradient, I wanted to HSV color code them from blue to red
17:09
still a gradient xD
Avatar
Avatar
louis
maybe that just leads to funny looking physics
but imo this is our opportunity to get a speedup without big surprises ^^
Avatar
Avatar
Patiga
how is this a perception thing? at 90° they'll never push you in a different direction. this is a math thing I'd say
they always push you in only one direction?
17:13
lets rotate everything, we are flying 45° from lef-below up-right into a 90° right pointed speed speed tile, you are too fast, so the rest of your up-speed component still goes up, why you are slowed down in Y direction
17:14
I'll map you a setup and send a clip ...
Avatar
Avatar
Patiga
but imo this is our opportunity to get a speedup without big surprises ^^
ithink its probably just how you map them
17:14
idk id have to play around with them which i havent been able to yet
Avatar
Avatar
Assa
also do you think this looks better:
is this hookable and unhookable? tbh it feels too technical
Avatar
I see, the old speed limiting speedtiles slow you down and don't force the speed
Avatar
Avatar
Hecta
is this hookable and unhookable? tbh it feels too technical
these are just my own custom entities, please ignore
17:20
The old speedtiles don't remove more speed, than Force, allowing you to cross faster than max speed
17:20
I think I should change that then
17:20
that's what @Patiga ment with "falling through"
Avatar
Jupstar ✪ 2025-02-25 17:25
@Assa what is the reason a speedup pointing bottom right pushes you up? i can't follow xd explain like i am 5 xd
Avatar
imagine a slope in teeworlds, a triangle. You hit it really fast from the site, from left to right, where do you fly?
Avatar
Jupstar ✪ 2025-02-25 17:28
😓 i think i dont get it xD
Avatar
the game will turn 3d and my tee will break everything
Avatar
wait was patiga not jumping in that first clip?
17:29
just walking
Avatar
normal stuff, like the old speedtiles too justatest
Avatar
oh yeah then i don't think that makes sense
Avatar
Avatar
Assa
normal stuff, like the old speedtiles too justatest
Jupstar ✪ 2025-02-25 17:30
i never seen that, really interesting glitch
Avatar
I don't believe that behavior necessarily needs to be copied from the old ones 😅
Avatar
I don't believe anything should be copied from the old ones. Lets make our own speedtile with blackjack and hookers
Avatar
I would think anything with max speed should just be: after applying the normal part of the speedup, find the tees velocity vector in the direction of the speedup then subtract a scaled version of that vector to ensure its magnitude is equal to the max speed # if it is greater than it
Avatar
that is what's currently happening and leading to that behavior, seriously! (edited)
17:32
if you remove Tee speed in one direction, the orthogonal direction is all what's left
Avatar
Jupstar ✪ 2025-02-25 17:33
but why upwards lmao
Avatar
well that's just not possible
Avatar
Avatar
Jupstar ✪
😓 i think i dont get it xD
you run into speed tile horizontally. the speed tile is like YOU SHANT, and deaccelerates you in its opposite direction. this slows you down horizontally, but now also pushes you upwards, because its part of the opposite speedup direction
Avatar
well it is, Tee Speed = Speed in Speedtile Direction + Speed Orthogonal to it
Avatar
the vector in the vertical direction should be scaled
Avatar
Avatar
Patiga
you run into speed tile horizontally. the speed tile is like YOU SHANT, and deaccelerates you in its opposite direction. this slows you down horizontally, but now also pushes you upwards, because its part of the opposite speedup direction
Jupstar ✪ 2025-02-25 17:34
oh lol
17:35
didnt know they are coded like that xd
Avatar
Avatar
louis
the vector in the vertical direction should be scaled
this woudln't allow jumping in a 90° speedtile
17:35
I say 90° but in tw the angle would be set to 0
Avatar
one that points u completely up?
17:36
if it has max speed it would make sense for jump to be stunted somehow
Avatar
one that points right
17:37
There are multiple ways to approach this, mine is one of them, yours is also one of them, then sb will complain, that the speedtiles feel "sticky"
Avatar
hm yeah
Avatar
just calculate all possible speedtiles we all think about, then take the average
Avatar
also my way would make it so if a speedtile is angled at 1 degree with max speed 1, then you won't lose any speed if you're zooming completely rightward on a ground (edited)
17:38
i think
17:38
wait no it will xd
17:38
idk i have to write it out im lazy
17:40
new_speed = old_speed * (max_speed / (old_speed <dot> speedup_angle))
17:40
i think
17:42
wait nah thats too naive
17:43
ill try to code smth later maybe now im curious xd
Avatar
go ahead, I'd love to see that
17:45
@Patiga what do you think about clamping TempMaxSpeed - CurrentDirectionalSpeed between -Force and Force?
17:46
This would cause the speedtiles not to over-correct your speed and allow you to pass through max_speed_speedtiles even when you are too fast
Avatar
I'm also brainstorming rn
Avatar
also @louis here is a link which explains how I arrived at my code: https://github.com/ddnet/ddnet/pull/9670#issuecomment-2681845407
17:58
it's just a wall of text
Avatar
MilkeeyCat 2025-02-25 18:08
@Ryozuki I added alloca, store and load instructions :DD
18:10
ill have a fun time with structs pepeW
Avatar
nice
18:15
im making irvm
18:15
ur backend will be a target
Avatar
Guys
18:19
I just tried apple magic mouse or whatever, for the "first" time in ddnet
18:19
wtf, you cant do mouse1 and mouse2 input at the same time?!
18:20
another reason to hate on this company xd
Avatar
mouses are now p2w in ddnet
Avatar
chillerdragon BOT 2025-02-25 18:20
I played my first year tw without external mouse
18:20
I used MacBook trackpad
18:20
One finger was fire and three fingers was hook
Avatar
crazy
Avatar
chillerdragon BOT 2025-02-25 18:21
I was always jealous of players who could hold hook and fire at the same time
18:21
That was the only reason I bought a mouse eventually. Not the fact that aiming is better
Avatar
Imagine u bought the magic mouse
Avatar
chillerdragon BOT 2025-02-25 18:22
I was even hesitant to use the mouse because my trackpad aim was much better haha
18:22
That would have been troll
Avatar
xD
18:22
dude this is literally ass
18:22
same for scrolling, i am scroller not 1-5
Avatar
chillerdragon BOT 2025-02-25 18:23
I recommend to bind hook on w and fire on s
18:23
Who needs a mouse
Avatar
on my mouse i can go tick tick tick, predict how strong i have to scrol in order to go to weapon x
Avatar
ws-client BOT 2025-02-25 18:24
<ChillerDragon> https://youtu.be/pZTkXhuvh0k?si=D83ycak6BwS409tx&t=133 here u can see goated w and s binds in action
Avatar
ChillerDragon BOT 2025-02-25 18:25
@heinrich5991 the bridge stopped sending discord messages its now write only
Avatar
Yea I saw this xD
18:25
respect
Avatar
This is what (directionless) speed-limiting tiles would do/feel like btw 🙈 I think this is cool (edited)
KK 1
MM 1
II 1
HH 1
18:39
I don't know if (other) mappers would be intrested in that tho (edited)
Avatar
@chiller @Stepfunn when play with steering wheel and gas Pedal??
Avatar
Avatar
Assa
This is what (directionless) speed-limiting tiles would do/feel like btw 🙈 I think this is cool (edited)
Geschwindigkeit
Avatar
Avatar
fokkonaut
@chiller @Stepfunn when play with steering wheel and gas Pedal??
donate steering wheel and i do it
Avatar
how much is this
Avatar
no idea. you tell me 😂
Avatar
never had one of those
Avatar
Avatar
Assa
This is what (directionless) speed-limiting tiles would do/feel like btw 🙈 I think this is cool (edited)
slownet reference
Avatar
Avatar
Patiga
I'm also brainstorming rn
any ideas? 😛
Avatar
I'm on low battery and far from home, so I might not respond after this. Maybe you already talked about this approach, dunno. Why can't we just first add the force. Then split the velocity into aligned with the direction and orthogonal. Then scale aligned part to obey max_speed. then put the orthogonal and scaled align parts back together. this only deaccelerates I think, and doesnt touch the orthogonal speed
19:18
30 mins ago I was just running in circles, now I don't have everything said still ready so I'm not sure if that was discussed already
19:18
( @Assa )
Avatar
I tested this before, the problem with this is, that it mostly cancels out all current player velocity if you use a huge force on a small max_speed. Also this would make speedupa behave differently with different forces, even if they all have the same maxspeed
Avatar
Zlib-rs as a Rust programming language implementation of the Zlib file format for better safety is now beginning to outperform the C implementations of the widely-used Zlib.
Avatar
Jupstar ✪ 2025-02-25 19:51
as if he is reading our chat 😬
Avatar
who needs zlib for wasm you have this kek
19:55
i think actually it was a build error bcs zlib isn’t even needed on the wasm target at all
19:55
but still cool imo. they didn’t provide benchmarks for the chromium implementation tho, a little sus
19:56
we are beating them! by 0.5%
19:56
justatest
Avatar
GitHub BOT 2025-02-25 20:02
as i see from other PRs i think it's right, if there is something missing i can fix it
Avatar
MilkeeyCat 2025-02-25 20:26
@Jupstar ✪ i found a fix to my problem. it was laggy because of showall 1 command lol
Avatar
Avatar
MilkeeyCat
@Jupstar ✪ i found a fix to my problem. it was laggy because of showall 1 command lol
Jupstar ✪ 2025-02-25 20:26
🫠
Avatar
MilkeeyCat 2025-02-25 20:27
maybe my laptop is worse than a potato 😬
Avatar
Avatar
MilkeeyCat
maybe my laptop is worse than a potato 😬
Jupstar ✪ 2025-02-25 20:37
was it not a network lag?
20:38
well 64p can be heavy with our awesome physics
20:38
time for 128p
Avatar
GitHub BOT 2025-02-25 20:41
60bf7cd Add Turkish translations for Android - GokturkTalha 33ae913 Merge pull request #9761 from GokturkTalha/master - Robyt3
Avatar
Avatar
Assa
I tested this before, the problem with this is, that it mostly cancels out all current player velocity if you use a huge force on a small max_speed. Also this would make speedupa behave differently with different forces, even if they all have the same maxspeed
okay back to square one I suppose, max_speed is not just supposed to be a speed cap? also could you elaborate different forces + same max_speed?
Avatar
Avatar
Jupstar ✪
was it not a network lag?
MilkeeyCat 2025-02-25 20:43
it was a different problem
Avatar
Avatar
Patiga
okay back to square one I suppose, max_speed is not just supposed to be a speed cap? also could you elaborate different forces + same max_speed?
I was talking about implementing your idea, that was also my first idea. maxspeed is supposed just to be a speed cap or at least the _desired speed
Avatar
desired speed in the arrow direction, right?
Avatar
its a cap on how fast the tee is allowed to go in the direction of the speedup, no?
Avatar
Avatar
Assa
I tested this before, the problem with this is, that it mostly cancels out all current player velocity if you use a huge force on a small max_speed. Also this would make speedupa behave differently with different forces, even if they all have the same maxspeed
a nvm, I misread this message
20:49
can you remind me what is supposed to happen, when force >>> max_speed?
20:51
@Discord Mod
Avatar
Avatar
Patiga
can you remind me what is supposed to happen, when force >>> max_speed?
in my implementation, you can't get any faster then max_speed and you will get slowed down to max_speed into direction
Avatar
yes that makes sense
Avatar
Avatar
Patiga
I'm on low battery and far from home, so I might not respond after this. Maybe you already talked about this approach, dunno. Why can't we just first add the force. Then split the velocity into aligned with the direction and orthogonal. Then scale aligned part to obey max_speed. then put the orthogonal and scaled align parts back together. this only deaccelerates I think, and doesnt touch the orthogonal speed
isn't that the same that would happen with this one?
Avatar
1) adding Force and then scaling or 2) scaling the force is different (edited)
20:59
as I said for case 1), if the force is very big, it cancels out all player momentum, just to get scaled back to max_speed (edited)
20:59
meaning you get different results with Force 100, max-speed 20 and Force 255, max-speed 20 (edited)
20:59
which is counterintuitive
Avatar
the difference being that the outgoing angle is more precise with force 255? or what is the difference?
Avatar
the influence of the player velocity is the difference
21:05
because it get's scaled down as well
21:05
case 1: scale * (player_speed + speedupspeed) = scale * player_speed + scale * speedupspeed case 2: player_speed + scale * speedupspeed (edited)
Avatar
but the current implementation also tries to scale down the player's velocity, only it goes wrong in some cases, no?
21:06
it looks for how much faster the tee will be going, and subtracts speed until it is satisfied
Avatar
only in the speedup direction
21:07
scale * speedupdirection only affects in speedup direction 😄 even if the scale is negative
Avatar
okay, I see
21:10
the scale * (player_speed + speedupspeed) also touches only the speedup direction, but gives less weight to the players original velocity, right?
Avatar
so the speedups kind of suck up the direction of the player and directs them steadily towards its own direction
21:11
*sucks
Avatar
it just eats it practially immediately, just a few ticks (depending on Force) (edited)
👍 1
21:12
also the speedtiles then feel very sticky as they don't allow much other movement
👍 1
21:15
is that mitigated if you set lower forces? or no?
Avatar
yes, because the lower the force, the more the player velocity scales
Avatar
Avatar
Assa
meaning you get different results with Force 100, max-speed 20 and Force 255, max-speed 20 (edited)
^this
Avatar
different results by itself doesn't sound like a bad thing ^^
Avatar
it at least differs from the old speedtiles in behavior
21:21
I think being close to the old ones, which we have for 15 years, is desirable
Avatar
although it pains me a bit, I'll accept the fate of the speedup. max_speed just isn't meant to be without broken behaviour
21:29
do you have a branch somewhere where I ciuld try the earlier version out?
Avatar
funnily enough, I have
Avatar
this one doesnt differentiate between orthogonal and parallel velocity if I see correctly
Avatar
this was a fully different conzept
Avatar
Avatar
Assa
I was talking about implementing your idea, that was also my first idea. maxspeed is supposed just to be a speed cap or at least the _desired speed
do you by chance still have this version?
Avatar
somewhere deep in the commit history probably justatest
22:46
246b680 DDNet 19.0 - def- fce523b Merge pull request #317 from ddnet/pr-19.0 - def-
poggers 1
23:36
why regular instead of major
Avatar
@Robyt3
23:49
in 19.0 release the skin is even rendered :o
23:49
it does not looks like your preview, but i mean that's fine, this is the way it should look like
Exported 1 313 message(s)
Timezone: UTC+0