Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-03-22 00:00:00Z and 2024-03-23 00:00:00Z
00:06
thonk
Avatar
Avatar
Skeith
Can't find myself feelsbadman Found my dummy poggers2 took over 2k (edited)
2k 😮
Avatar
I'm at over 4k now lol
02:01
I found myself in the bottom tees, now I'm just trying to find Kix's dog and Broso56 (edited)
Avatar
chillerdragon BOT 2024-03-22 02:02:08Z
Imo only the most used skin should be shown
Replying to @Matodor If you play with two skins or colors one of them can be randomly selecte…
Avatar
I agree
Avatar
I made this tool a long time ago, figured I'd share it here as well https://teeview.meeu.me/
Avatar
feature request: ability to enter a URL or just a skin name from the official DB
Avatar
yeah that'd be nice, i haven't worked on it for a year, so maybe in the future
Avatar
Avatar
heinrich5991
feature request: ability to enter a URL or just a skin name from the official DB
you can
02:21
set your skin name to the skin and it should automatically be downloaded (edited)
Avatar
Avatar
Ewan
set your skin name to the skin and it should automatically be downloaded (edited)
He means for Meeu's site above
02:40
@Matodor feature request: ability to choose player region
Avatar
feature request: show tees that are online on the servers you are online on
Avatar
yeah it really needs choose player region
03:41
i had no idea who any of those tees were
Avatar
I feel like I've been trying to make fun web stuff for ages but I can't for the life of me finish any of them
Avatar
personally i just don't have ideas for fun little sites like this
Avatar
I can barely do anything after work cammostripes
Avatar
how i wish i had that problem
04:33
fred hire me at ur work and i will guarantee 200% revenue within 2 days
04:33
Come and replace me so I can just leave
Avatar
ws-client BOT 2024-03-22 04:38:34Z
<ChillerDragon> Any advice on how to manage different ddnet configs for different devices?
04:39
<ChillerDragon> I currently have only one git repo with all my settings but my laptop and desktop have different screens and specs
04:39
Saving my personal data (teeworlds settings). Contribute to ChillerTW/GitSettings development by creating an account on GitHub.
04:40
<ChillerDragon> my poor laptop struggles with 666 refresh rate I guess i would either need two configs and then conditionally load those. I wish ddnet configs were turing complete -.-
Avatar
ChillerDragon: adjust the way you start ddnet
04:41
you could pass another device-specific config on start
Avatar
ws-client BOT 2024-03-22 04:41:50Z
<ChillerDragon> yes
04:41
<ChillerDragon> thats thw two configs approach
Avatar
why do ddnet configs need to be turing complete?
Avatar
ws-client BOT 2024-03-22 04:42:21Z
<ChillerDragon> i dont like it too much but seems like there is no other option
Avatar
that seems backwards for configs
Avatar
ws-client BOT 2024-03-22 04:42:31Z
<ChillerDragon> so i can have one config for all devices
Avatar
you can have that, using the approach I gave you
04:42
no need for more complexity in ddnet
Avatar
ws-client BOT 2024-03-22 04:43:08Z
<ChillerDragon> but then i need complexity elsewhere
Avatar
yes. it's not on ddnet to maintain, but on the users that need it
04:44
sounds amazing
Avatar
ws-client BOT 2024-03-22 04:44:16Z
<ChillerDragon> hm ye
Avatar
Would be nice to be able to use my the 70 hz that my monitor has (not that it is much)
Avatar
ws-client BOT 2024-03-22 06:38:49Z
<ChillerDragon>
06:38
DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzIyVDA2MzcwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkYTMwNjU1Mjk3MThhZmY3MzMzNjgyOTIxYWFhNDFhYjg4NDk1ZGQ3NTc3Y2ZlN2Y3ZDVhZjhmYWZiNmFmZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QhfdANYlwhlWsBJue90ogWflKSZjJUF9Z3XfK2IEqSc
06:38
<ChillerDragon> does it preview well on discord?
06:39
<ChillerDragon> i did share ddnet hotreloading before. But I am using it again right now and it is just so much fun I had to reshare it :D
06:40
<ChillerDragon> hmm does it need a jtw wtf
06:40
<ChillerDragon> jwt*
Avatar
Avatar
Meeu
I made this tool a long time ago, figured I'd share it here as well https://teeview.meeu.me/
open source? i want add it to https://github.com/tee-community/awesome-tee
Avatar
ws-client BOT 2024-03-22 06:55:18Z
<ChillerDragon> yes but it is a bit messy and linux only https://github.com/ChillerDragon/ddnet_hotui/tree/master
Iterate in ddnet ui development without rebooting the client. CUIRect hot reloading. - ChillerDragon/ddnet_hotui
Avatar
Matodor replied to Meeu xd (edited)
🤨 1
Avatar
ws-client BOT 2024-03-22 06:57:20Z
<ChillerDragon> ah gg
06:57
<ChillerDragon> did the video even preview? -.-
Avatar
I dont see it
Avatar
Avatar
Matodor
open source? i want add it to https://github.com/tee-community/awesome-tee
ur missing teesmash, my blogs and some other repos i have
07:05
check the wiki
07:05
in development
Avatar
which ticket should i open cause at kog.tw it says that theres a problem with the migration and i should create a ticket and add ref6745259
Avatar
$kog
Avatar
KoG registration and login
First and foremost: DDNet and KoG aren't affiliated. You are not required to log-in on a DDNet server. If you need help on a server related to KoG, join their Discord server by clicking on the link below.
Avatar
By David McCabe and Tripp Mickle
The lawsuit caps years of regulatory scrutiny of Apple’s wildly popular suite of devices and services, which have fueled its growth into a nearly $3 trillion public company.
07:53
For folks who don't have time to read a 90 page document, the case rests on specific claims, not just the general claim that iPhone is a monopoly because it's so big. Here are those claims: 1. "Super Apps" Apple has restrictions on what they allow on the App Store as far as "Super Apps", which are apps that might offer a wide variety of different services (specifically, an app which has several "mini programs" within it, like apps within an app). In China, WeChat does many different things, for example, from messaging to payments. This complaint alleges that Apple makes it difficult or impossible to offer this kind of app on their platform. Apple itself offers a "super app" of course, which is the Apple ecosystem of apps. 2. Cloud streaming apps Similar to "super apps", the document alleges that Apple restricts apps which might stream different apps directly to the phone (like video games). It seems there are several roadblocks that Apple has added that make these kinds of apps difficult to release and promote - and of course, Apple offers their own gaming subscription service called Apple Arcade which might be threatened by such a service. 3. Messaging interoperability Probably most people are familiar with this already, how messages between (for example) iOS and Android devices do not share the same feature-set. 4. Smartwatches Other smart watches than the Apple Watch exist, but the document alleges that Apple restricts the functionality that these devices have access to so that they are less useful than the Apple Watch. Also, the Apple Watch itself does not offer compatibility with Android. 5. Digital wallets It is claimed that Apple restricts the APIs available so that only Apple Pay can implement "tap to pay" on iOS. In addition to lock-in, note that Apple also collects fees from banks for using Apple Pay, so they get direct financial benefit in addition to the more nebulous benefit of enhancing the Apple platform.
Avatar
!image !image !image !image The math w / 2 = w - (w / 2)

Checklist

  • [x] Tested the change ingame
  • [x] Provided screensho...
Avatar
chillerdragon BOT 2024-03-22 09:08:52Z
09:09
lmao I just debugged with a pen. It’s a simple problem but drawing it out helped :D
Avatar
heh, nice 🙂
Avatar
have you had time to look at registering at multiple masters? @Learath2
Avatar
I'm having a bit of computer trouble so not yet
10:56
I'm getting random crashes that are textbook ram issue, but it passes memtest86 no issue
Avatar
eeh
10:57
that sounds bad
10:57
do you have a backup of your data?
10:57
in case your computer completely fails
Avatar
Of the important stuff yes
10:58
I have almost a dozen terabytes of storage, so it's hard to have a full backup
Avatar
oh wow
Avatar
Next time I move around I'll build like a 20TB NAS 😄
Avatar
that reminds me of the teehistorian script I'm supposed to fix
Avatar
Avatar
Learath2
Next time I move around I'll build like a 20TB NAS 😄
go big or go home, atleast 1 PB
Avatar
Avatar
Avolicious
go big or go home, atleast 1 PB
how do you build that?
10:59
and what are the power costs?
Avatar
depends, do you need it as hot storage or can it be cold storage aswell?
Avatar
Avatar
Avolicious
go big or go home, atleast 1 PB
Going to a PB would probably be cost prohibitive unless I land an insane job
Avatar
Especially since I wouldn't run less than a RAID5
Avatar
Cannabis will be decriminalized in Germany starting from April
Avatar
Avatar
fokkonaut
Cannabis will be decriminalized in Germany starting from April
Excluded in Bavaria 😄
Avatar
Well, they can't undo the law. But they can do everything in their power to make it as annoying as possible for people living there
Avatar
Avatar
Learath2
I'm getting random crashes that are textbook ram issue, but it passes memtest86 no issue
I wonder if it's the very slight overclock I'm running
11:05
Maybe I should give it a little more voltage. Though it's been stable for like 3 years now, it's odd for it to be failing now
Avatar
Avatar
fokkonaut
Cannabis will be decriminalized in Germany starting from April
only for personal consumption and personal growing though
Avatar
Avatar
Avolicious
Excluded in Bavaria 😄
no, in bavaria, too
Avatar
Bavaria will introduce their "cannabis police"
Avatar
Avatar
heinrich5991
only for personal consumption and personal growing though
I guess thats good enough? Unless you wanted to be a kingpin
Avatar
They'll do literally anything to make it annoying there
Avatar
Avatar
Learath2
I guess thats good enough? Unless you wanted to be a kingpin
It is good enough, and starting in July there will be those growclubs
Avatar
Avatar
Learath2
I guess thats good enough? Unless you wanted to be a kingpin
carrying weed for personal consumption was without penalty before, too. consumption was never illegal (edited)
Avatar
The next big step will be a full market, but that has to be done with changing some EU laws
Avatar
Avatar
heinrich5991
carrying weed for personal consumption was without penalty before, too. consumption was never illegal (edited)
Sorry to inform you that it wasnt
Avatar
drop the "sorry" ^^
Avatar
Avatar
heinrich5991
carrying weed for personal consumption was without penalty before, too. consumption was never illegal (edited)
Was it not only technically though? I remember reading Germany only has it decriminalized
Avatar
There was the "Freimenge für Eigenbedarf", which was never really something they cared about. Bavaria for example opened a case for 0.1g
Avatar
As in it is illegal but you wont be charged for it
Avatar
Avatar
heinrich5991
no, in bavaria, too
Yeah, but bavaria is known for being stricter than others 😄
Avatar
yes, without penalty. it's illegal, but the worst that'll happen is getting it taken away
11:09
afaik
Avatar
No, they opened cases which would later be dropped if it was below a specific amount
11:10
But e.g. in bavaria they didn't close them more often than in other federal states
11:10
And because possession was illegal, it was in your criminal record
Avatar
I'm guessing this is more about getting the actual law in line with practice. Though idk, I don't read german so it's hard for me to have a good understanding of it
Avatar
Which leads to you being "recognized" and potentionally when getting pulled over by the cops you have to do a piss test
11:12
The practice is very different from many people's theoretical understanding
Avatar
Avatar
fokkonaut
No, they opened cases which would later be dropped if it was below a specific amount
ah, interesting
Avatar
So, the most important thing in this whole new law is:
  • possession legal
  • driving legal (higher values allowed for drug testing)
Avatar
Driving legal? As in driving under the influence?
Avatar
(most important for an individual, the other things about youth protection etc is also very important)
Avatar
Avatar
Learath2
Driving legal? As in driving under the influence?
No, but the original limit was 0.1ng/ml blood serum
11:14
and that was literally not meaningful
11:14
And they gonna raise it now, so at least on the next day after sleep you should be fine to drive again legally
11:14
(when ur sober ofc, u may not drive while under the influence)
Avatar
Avatar
fokkonaut
No, but the original limit was 0.1ng/ml blood serum
That number does need some context. Idk how serum levels of THC(? I assume they test for) correlates to how high you are
Avatar
Avatar
fokkonaut
And they gonna raise it now, so at least on the next day after sleep you should be fine to drive again legally
Ok. That makes more sense
Avatar
they tested THC COOH, that's a byproduct when THC gets reduced in your body
11:16
and firstly, testing that is very dumb
11:17
secondly, the limit of 1ng/ml was very stupid, because that basically means "this person consumed cannabis within the last few weeks"
11:17
and if you're like noby who consumes a lot, daily, then you'll always be above that level, even when sober
11:17
because thc reduced exponentionally
11:17
the last rest can be in your system for up to 2-3 months when you're a heavy user
Avatar
I'm guessing THC COOH isn't psychoactive
Avatar
no, but it leads to conclusion you consumed
Avatar
I see
11:18
Yeah sounds silly
Avatar
Indeed xD
11:19
It's unbelievable this went through now
Avatar
Did y'all see apple getting sued in the US?
11:19
lmao
Avatar
I never thought I'd see the day
11:20
It has been decades since the US government last pulled out the anti trust laws against such a successful company
Avatar
I hope they have actual teeth and the election doesn't interfere
11:21
Bush saved Microsoft in the last instance, sadly Would be so much better if they were split
💸 1
Avatar
Avatar
Learath2
It has been decades since the US government last pulled out the anti trust laws against such a successful company
do you think it's good they did?
Avatar
Avatar
fokkonaut
do you think it's good they did?
Yes, but I won't really elaborate further. My opinion on these things is rather extreme and I can't argue for it within a couple sentences
Avatar
im unsure whether that has to be regulated, cuz they own their software, so why do they have to make it accessible for anyone else that is competitive? (thats why they didnt do all of that yet)
11:23
i mean its probably right they get sued, but it's also kinda unfair (even tho i dislike apple anyways)
Avatar
It's monopolistic
11:23
taking that aspect, elon musk will never get his X imperium
11:23
xd
Avatar
Control of my own computing matters, not that I have an iPhone anyway
Avatar
Anti trust laws ensure a healthy free market in the capitalist understanding of the economy, and advocate for the user in a more social understanding of the economy
Avatar
I see
Avatar
Avatar
Learath2
It's monopolistic
This is just how the capitalism goes You used to have symbian, java, windows phone, probably some I'm forgetting
Avatar
It's one thing we all should agree on, but our communal understanding of capitalism has gone very cloudy especially in the last 2-3 decades. People interpret the concept of a free market in such a bizarre manner
Avatar
It's inherent how it ends up, it functions that way
Avatar
Exactly why anti trust laws are integral to make sure no company becomes too powerful that they don't need to innovate anymore
Avatar
Well, it's more like it's broken fundamentally and you need crappy "fixes" like that But yes
Avatar
I try to avoid calling it broken or pointing out any inherent flaws in it since people suddenly get very defensive when you do so
Avatar
holy shit the game is unplayable for me in linux
11:58
same settings but it feels so different
Avatar
guys add pen tool like in ps pls 🫡 (edited)
gg 5
Avatar
Avatar
ejjie
guys add pen tool like in ps pls 🫡 (edited)
after I saw this I be able to uninstall Illustrator 🙂
💀 1
Avatar
Avatar
ejjie
guys add pen tool like in ps pls 🫡 (edited)
Oh no, an era of animations in tw
Avatar
Avatar
cyberFighter
same settings but it feels so different
It does feel extremely different. I still play ddnet on windows for that reason
Avatar
tried linux because i now have a bug on windows where my pc just freezes for half a second randomly
Avatar
Avatar
cyberFighter
tried linux because i now have a bug on windows where my pc just freezes for half a second randomly
check HDD (if you have) (edited)
Avatar
?
Avatar
Avatar
cyberFighter
?
windows slows down when trying to read from corrupted hdd blocks, I had this problem recently as cats jumped on the system unit and damaged the hard disk)
Avatar
when registering on the DDNet Wiki https://wiki.ddnet.org/ the e-mail you receive will not display your ipv4, but display a private ip (172.21.0.1), is that intended? :D
Avatar
oh
Avatar
Avatar
meloƞ
when registering on the DDNet Wiki https://wiki.ddnet.org/ the e-mail you receive will not display your ipv4, but display a private ip (172.21.0.1), is that intended? :D
webserver proxy pass maybe
Avatar
if it would be related to hdd wouldnt i see it on linux too
Avatar
Avatar
cyberFighter
if it would be related to hdd wouldnt i see it on linux too
perhaps now there is no reading from those blocks (edited)
Avatar
Avatar
cyberFighter
if it would be related to hdd wouldnt i see it on linux too
well if its a physical damage, yes, if its logical damage, linux might just skip those
13:10
you can use badblocks to search for blocks of memory which are either unreliable or corrupted
Avatar
capcom
13:34
@Learath2
13:34
and dragons dogma 2
13:34
how to not make a game (edited)
13:34
luckily i didnt prebuy it, cuz this reeks of shit
13:34
xd
Avatar
I don't get it. Why are people acting so surprised about this? This has been a thing since MH:World
Avatar
Avatar
murpi
I don't get it. Why are people acting so surprised about this? This has been a thing since MH:World
there.. was a shop in mh world to buy stuff?
Avatar
It's a CAPCOM title, of course there's going to be appearance vouchers
Avatar
oh whatafak - TiL
Avatar
Funnily enough, they're even more expensive in MH, lmao
Avatar
Avatar
murpi
I don't get it. Why are people acting so surprised about this? This has been a thing since MH:World
its only a thing with capcom
14:32
@murpi even if its a thing with them, people should be outraged at this practices regardless
Avatar
Avatar
Ryozuki
its only a thing with capcom
It's really not. There's a multitude of other games with silly DLCs like this one.
Avatar
my point is, people should complain and do good complaining about this xD
14:37
@heinrich5991 is m1 l1 cache 2mb?
14:37
isnt that insane
Avatar
Avatar
Ryozuki
@murpi even if its a thing with them, people should be outraged at this practices regardless
Oh yes, I definitely agree. It's just surprising how some folks act like CAPCOM's track record with questionable DLCs is a new thing
Avatar
mac m1
14:38
how to know the size of a cache line?
14:39
❯ cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size 64
14:39
i see
14:39
mac m1 has 128 byte line size
14:40
❯ getconf LEVEL1_DCACHE_LINESIZE 64
14:40
int SDL_GetCPUCacheLineSize(void);
14:40
lol
14:40
sdl has a method for this
Avatar
Avatar
Ryozuki
how to know the size of a cache line?
Did somebody say std::hardware_destructive_interference_size?
Avatar
Only correct for the target you are compiling for btw
Avatar
epic names
14:46
as always from cpp
Avatar
yo why is that?
14:55
my ground_jump_impulse tune is 3.63
Avatar
because you can use your groundjump before your tee hits the ground, I think
14:55
seems like it
14:56
the jump impulse values should scale linearly rigth?
14:56
so if default is 13.2 and i use 6.6 it should be half the height?
Avatar
not, sure, don't think so
14:58
in classical physics, kinetic energy is ½mv², but potential energy is mh
14:58
so if you double the initial jump impulse, it should quadruple the height(?)
14:58
hmmm
Avatar
(given that teeworlds very roughly approximates normal physics)
Avatar
well if i do half the ground impulse jump and then half the air_friction (0.95^(1/2)) then i wouldnt jump the same height would i?
Avatar
air_friction only works horizontally, I think
Avatar
oh so its just gravity then
Avatar
afaik yes
Avatar
hmm. gravity is the same as jump impulse ig. i mena vel.y += gravity; vel.y -= jump
15:01
but it doesnt seem like halving both results in the same jump height
Avatar
Avatar
Teero
hmm. gravity is the same as jump impulse ig. i mena vel.y += gravity; vel.y -= jump
it's not the same. one is applied once (like velocity), one is applied in each tick (like acceleration)
15:03
try taking a quarter of the ground jump impulse and half the gravity @Teero
Avatar
Avatar
heinrich5991
try taking a quarter of the ground jump impulse and half the gravity @Teero
when taking half of the gravity and half of the ground jump the jump is already way too low
15:07
so that cant be
Avatar
let's compute it (edited)
15:09
ground jump impulse v0
15:09
gravity g
15:10
then we are at h(t) = v0 * t - g * t * (t-1)
Avatar
2024-03-22 16:01:53 I Tuning: TPS:25 2024-03-22 16:01:53 I DefaultTunings: ground_control_speed:1000 ground_control_accel:200 ground_friction:50 ground_jump_impulse:1320 air_jump_impulse:1200 air_control_speed:500 air_control_accel:150 air_friction:95 hook_fire_speed:8000 hook_drag_accel:300 hook_drag_speed:1500 gravity:50 2024-03-22 16:01:53 I Tuning: ground_control_speed:500 ground_control_accel:100 ground_friction:70 ground_jump_impulse:660 air_jump_impulse:600 air_control_speed:250 air_control_accel:75 air_friction:97 hook_fire_speed:4000 hook_drag_accel:150 hook_drag_speed:750 gravity:25 i thought just halving them but after looking at the 2x spedup demo it all seems wrong (edited)
Avatar
v(t) = v0 - g * t
15:12
so we reach v(t) = 0 at t = v0/g (edited)
15:12
so we reach the height h(v0/g) = v0 * v0/g - g * v0/g * (v0/g - 1)
Avatar
okay wait
15:14
is v0/g supposed to be v0 divided by g?
Avatar
yes
Avatar
ascii math xd
15:14
okay thx
Avatar
but the result looks wrong, I'm trying to figure it out
Avatar
solve for y with default values and then solve for x with the calculated height and g/2 (edited)
Avatar
ah! I think the initial formula for the height was wrong
Avatar
if i understood correctly (edited)
Avatar
h(t) = v0 * t - ½ g * t * (t-1)
15:17
so now we reach the height h(v0/g) = v0 * v0/g - ½ g * v0/g * (v0/g - 1) = ½ v0²/g - ½ v0
❤️ 1
Avatar
Is teeworlds' numerical approximation of this set of differential equations?
Avatar
I tried to use tw math, not physics
Avatar
Avatar
heinrich5991
h(t) = v0 * t - ½ g * t * (t-1)
hence the weird (t-1)
Avatar
btw do you think you could completely represent the simple tw physics (hook/ad) as a formula?
Avatar
hook has saturated add, won't look nice
Avatar
Avatar
heinrich5991
hook has saturated add, won't look nice
xD i'd play tw with pen and paper in school (edited)
Avatar
Avatar
heinrich5991
so now we reach the height h(v0/g) = v0 * v0/g - ½ g * v0/g * (v0/g - 1) = ½ v0²/g - ½ v0
hmm my calculator says "no answer" when trying to solve the equation
15:26
*with the default values (edited)
Avatar
Wym? That equation has a value forall v0 in R and forall g in R\{0}
Avatar
ah lol im stupid
15:35
bruhh
15:36
yea my brain smol
Avatar
Avatar
heinrich5991
h(t) = v0 * t - ½ g * t * (t-1)
How did you figure this out btw? It doesn't smell familiar to me
Avatar
Avatar
Learath2
How did you figure this out btw? It doesn't smell familiar to me
0 + 1 + 2 + 3 + 4 + … + (n - 1) = n(n-1)/2. gauß
16:19
first tick your speed is v - 0 * g, second tick it's v - 1 * g, …
Avatar
Oh, that makes sense
Avatar
yo im confused. the default jump height is 5.23875 blocks i want to calculate the jump impulse that leads to the default jump height under the condition of the gravity. so i should have 5.23875 = (1/2)*((x*x)/a)-(1/2)*x which i then solve for x. then x = (a+sqrt(a*(a+41.91)))/2 but the values doesnt seem right
16:22
ah wait
16:23
maybe its something with 32 unit block
16:23
wait
16:23
so actually 5.23875*32
16:25
ah man it works
16:25
sometimes i question myself
16:26
x = (a+sqrt(a*(a+1341.12)))/2 thats it
16:28
if we half the games tickspeed would the gravity half too? based on what heinrich said i dont think so
16:28
hmm
Avatar
btw its not supposed to be possible to crash the client from the serverside right?
Avatar
it would be good if it wasn't possible
17:16
if you want to fix such a crash, it's appreciated
17:16
currently, there are many ways to crash the client from the server
Avatar
inserting static int x = 0; if(++x % 2 == 0) return; into CGameWorld::Tick() crashes the client on join xd (edited)
Avatar
that sounds bad ^^ you can create an issue if you want
Avatar
tbh would be funny to crash botters automatically if they are detected. theyll blame it on the client and receive constant random crashes. that would confuse the bot devs and the botclient would gain a bad reputation xd
17:20
jk
Avatar
it would be great to break their entire pc so they would never be able to join the game again
17:23
i just bricked my game with a bind i think
17:24
cant join kog anymore xd
17:24
crash on login
17:24
and no local server
17:24
wtff
17:24
default client
17:25
what did i do?
17:25
tf
Avatar
Srv looks fine :kek:
Avatar
okay i tried to reinstall newest version. running 8 tests test src/engine/console.rs - console::ffi::IConsole::Register (line 101) ... FAILED test src/engine/console.rs - console::ffi::IConsole_IResult::GetString (line 26) ... FAILED test src/engine/console.rs - console::ffi::IConsole_IResult::GetColor (line 41) ... FAILED test src/engine/console.rs - console::ffi::IConsole_IResult::NumArguments (line 29) ... FAILED test src/engine/console.rs - console::ffi::IConsole_IResult::GetInteger (line 27) ... FAILED test src/engine/console.rs - console::ffi::IConsole_IResult::GetVictim (line 29) ... FAILED test src/engine/console.rs - console::ffi::CreateConsole (line 28) ... FAILED test src/engine/console.rs - console::ffi::IConsole_IResult::GetFloat (line 27) ... FAILED failures: ---- src/engine/console.rs - console::ffi::IConsole::Register (line 101) stdout ---- error: linking with `cc` failed: exit status: 1 now i get errors wtf is wrong
17:30
ima go reboot
17:30
brb
Avatar
Want to follow along with Rust development? Curious how you might get involved? Take a look!
Avatar
Avatar
Teero
tbh would be funny to crash botters automatically if they are detected. theyll blame it on the client and receive constant random crashes. that would confuse the bot devs and the botclient would gain a bad reputation xd
I considered this for a while but I didn't think I could convince the others
Avatar
Change the range operators a..b, a.., and a..=b to resolve to new types ops::range::Range, ops::range::RangeFrom, and ops::range::RangeInclusive in Edition 2024. These new types will not implement Iterator, instead implementing Copy and IntoIterator.
17:40
@heinrich5991 this will be in ed 2024
17:40
finally ranges will be nice
17:40
Change the range operators a..b, a.., and a..=b to resolve to new types ops::range::Range, ops::range::RangeFrom, and ops::range::RangeInclusive in Edition 2024. These new types will not implement ...
Avatar
Avatar
Ryozuki
Change the range operators a..b, a.., and a..=b to resolve to new types ops::range::Range, ops::range::RangeFrom, and ops::range::RangeInclusive in Edition 2024. These new types will not implement Iterator, instead implementing Copy and IntoIterator.
Hm, why is this nice?
Avatar
the Range type right now is not copy
17:43
its a big pain point
Avatar
When would one need Range types to be copy?>
Avatar
a range is 2 integers
17:44
if its not copy u need to call .clone() when u pass it around
17:44
its a burden
17:44
xd
17:44
rustc itself has its own Span type
17:45
which is like Range
17:45
and its copy
17:45
From rust-lang/rust#48649 (closed as needing an RFC): It would be nice for Range<Idx: Copy> to implement Copy. I want to store a Range in a struct, but that prevents me from making the struct...
Avatar
Avatar
Learath2
When would one need Range types to be copy?>
cause it has nice syntactic sugar so you want to embed it into data structures which in turn can't implement copy then
Avatar
Avatar
Ryozuki
Change the range operators a..b, a.., and a..=b to resolve to new types ops::range::Range, ops::range::RangeFrom, and ops::range::RangeInclusive in Edition 2024. These new types will not implement Iterator, instead implementing Copy and IntoIterator.
this sounds bad though, we'll have distinct types that are called std::ops::Range and std::ops::range::Range
Avatar
Could you perhap show a smol example on what this would enable?
17:54
basically it gives me a way to say that something represents a range, without adding two members called start and end, or start and length
Avatar
this is conspicuously missing the unsafe std::env::set_var function 😦
Avatar
We got an email from the Serbian Registry of Internet Domain Names (RNIDS), the organisation that is responsible for the .rs top-level domain. Looks like they are a big fan of Rust. 😊
Avatar
Avatar
meloƞ
try setting them to 0 aswell as using another window mode (windowed-fullscreen) or (windowed-borderless)
maybe it could improve by using nvidia reflex ¿is it too hard to implement?
Avatar
nvidia reflex wouldnt fix screen tearing, it would decrease input lag (edited)
Avatar
Avatar
meloƞ
nvidia reflex wouldnt fix screen tearing, it would decrease input lag (edited)
yeah, the input lag increased because of the vsync which fix the tearing xd
18:36
am i wrong?}
Avatar
well its not input lag, its input delay / latency
18:37
which is expected to happen when using vsync
18:37
roby might have an idea on how to fix your issues
Avatar
@Ryozuki u said u have a google pixel 8 pro right?
Avatar
Avatar
Teero
inserting static int x = 0; if(++x % 2 == 0) return; into CGameWorld::Tick() crashes the client on join xd (edited)
Doesn't happen for me, do you have the crash log?
Avatar
Avatar
meloƞ
roby might have an idea on how to fix your issues
@Robyt3 👀
Avatar
AFAIK if you want the least input delay, disable VSync and select unlimited refresh rate everywhere
Avatar
Avatar
meloƞ
try setting them to 0 aswell as using another window mode (windowed-fullscreen) or (windowed-borderless)
already recommended that to him, it didnt work :c
Avatar
using (exclusive) fullscreen should be the best, but I guess you could try with all of them if you haven't already
Avatar
Avatar
meloƞ
well its not input lag, its input delay / latency
in older computers, its the same feeling
Avatar
Avatar
Robyt3
Doesn't happen for me, do you have the crash log?
2024-03-22 21:22:23 I http: task done: https://master1.ddnet.org/ddnet/15/servers.json 2024-03-22 21:22:23 I http: task done: https://info.ddnet.org/info 2024-03-22 21:22:24 I client: connecting to '45.141.57.45:8303' 2024-03-22 21:22:24 I host_lookup: host='45.141.57.45' port=8303 3 2024-03-22 21:22:24 I client: connected, sending info 2024-03-22 21:22:24 I datafile: could not open 'maps/NyantoFT.map' 2024-03-22 21:22:24 I motd: Visit https://kog.tw to find out your rank in this server. For news, join our discord. By playing here you automatically agree to our Terms of Service: https://kog.tw/#p=tos 2024-03-22 21:22:24 I chat: *** 'Teero' entered and joined the spectators 2024-03-22 21:22:24 I chat: *** Gores Mod. Version: 0.6/0.7 2.3.32-beta 2024-03-22 21:22:24 I chat: *** please visit KoG.tw or say /info and make sure to read our /rules 2024-03-22 21:22:24 I chat: *** Welcome to the |*KoG*| server of Gores maps 2024-03-22 21:22:24 I demo_recorder: Recording to 'demos/auto/NyantoFT_2024-03-22_21-22-24.demo' 2024-03-22 21:22:24 I demo_recorder: Recording to 'demos/replays/replay_tmp_NyantoFT_2024-03-22_21-22-24.demo' [1] 22790 segmentation fault (core dumped) DDNet looks like it crashes since it cant find a specific map
20:24
also happens on older versions
Avatar
Avatar
Teero
2024-03-22 21:22:23 I http: task done: https://master1.ddnet.org/ddnet/15/servers.json 2024-03-22 21:22:23 I http: task done: https://info.ddnet.org/info 2024-03-22 21:22:24 I client: connecting to '45.141.57.45:8303' 2024-03-22 21:22:24 I host_lookup: host='45.141.57.45' port=8303 3 2024-03-22 21:22:24 I client: connected, sending info 2024-03-22 21:22:24 I datafile: could not open 'maps/NyantoFT.map' 2024-03-22 21:22:24 I motd: Visit https://kog.tw to find out your rank in this server. For news, join our discord. By playing here you automatically agree to our Terms of Service: https://kog.tw/#p=tos 2024-03-22 21:22:24 I chat: *** 'Teero' entered and joined the spectators 2024-03-22 21:22:24 I chat: *** Gores Mod. Version: 0.6/0.7 2.3.32-beta 2024-03-22 21:22:24 I chat: *** please visit KoG.tw or say /info and make sure to read our /rules 2024-03-22 21:22:24 I chat: *** Welcome to the |*KoG*| server of Gores maps 2024-03-22 21:22:24 I demo_recorder: Recording to 'demos/auto/NyantoFT_2024-03-22_21-22-24.demo' 2024-03-22 21:22:24 I demo_recorder: Recording to 'demos/replays/replay_tmp_NyantoFT_2024-03-22_21-22-24.demo' [1] 22790 segmentation fault (core dumped) DDNet looks like it crashes since it cant find a specific map
The message seems unrelated, can you compile in debug mode and run with gdb to get a stack trace?
Avatar
seems like a opengl issue
20:34
im stupid
Avatar
still needs fixing no?
Avatar
i had opengl 3.0.0 selected
20:36
idk if it needs fixing. never happened before. maybe cuz of drivers
Avatar
you know, there is that mechanic in kog that you can despawn, but in ddnet servers its not allowed. Why? It would open new mechanics to build around maps
Avatar
Avatar
Bors Matyas
you know, there is that mechanic in kog that you can despawn, but in ddnet servers its not allowed. Why? It would open new mechanics to build around maps
it also exists in ddnet. it is not allowed on every map as it would break a lot of them ^^
Avatar
you mean people could skip parts or?
Avatar
i cant remember any situation ngl
Avatar
can i turn off the info window when joining a server or? I literally never need any information from it
Avatar
Avatar
Bors Matyas
can i turn off the info window when joining a server or? I literally never need any information from it
cl_motd_time 0
Avatar
thx
Avatar
@Learath2
23:06
ur playlist
Avatar
ws-client BOT 2024-03-22 23:53:19Z
<ChillerDragon> robsti u wakey?
Exported 373 message(s)