Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/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 2021-01-22 00:00:00Z and 2021-01-23 00:00:00Z
Avatar
can u pls make an account system
07:04
i dont like that people can just steal my name and finish maps for me that i wanted to finish myself
07:04
its so dumb
07:05
i really like ddnet and all
07:05
but man
07:05
make a god damn account system xd
Avatar
@Iza not as easy as you might think
Avatar
got discussed many times already
Avatar
time for debate #53
Avatar
make a ddnet login system
07:07
everyone has their own userid
07:07
solved
07:07
sounds easy, why dont u go make a pr
Avatar
@Iza what if I just register my acc before Aoe does, then steal his name?
07:08
as an example
Avatar
no
07:08
because i will do it before u
Avatar
Avatar
fokkonaut
@Iza what if I just register my acc before Aoe does, then steal his name?
ip, mac adress
Avatar
can change
Avatar
and people can proof themselves
07:09
i dont think ur mac adress changes weekly
Avatar
so many players, we cant check it for everyone
Avatar
its just stupid that people can finish maps for me
07:10
idk what u people think about it
Avatar
I think nobody wants to finish maps for you, you should have just chosen a more uncommon name
07:11
DDNet warns you about that in the beginning
Avatar
i could choose the most uncommon name in the world, but that doesnt change the fact that people still can pretend to be me xd
07:12
i didnt saw that warning tbh
Avatar
finishing for others is good in 90% of cases, faking isnt tho
07:12
i think accounts is good but its not so simple to implement, it would need a lot of planning. also this discussion happens like every week here
Avatar
well these discussions dont happen without reason
Avatar
It doesnt help if we discuss the same things withe different people every time, because people dont understand that its a big act
Avatar
#43411
07:14
#3411 *
Avatar
If anyone wants to summarize the discussion, feel free to. I just wanted to create the issue now.
Avatar
If there is no clear goal, no one will code this. If we don't decide on the scope before someone codes it it will stay as a pr being discussed forever
Avatar
you gotta plan something
07:15
ik its harder than said
07:16
but as you can see alot of people bring up discussions about it weekly
Avatar
I can't plan anything myself. This is a huge feature and we don't get to change much about it after we roll it out
Avatar
It has to be perfect on the first try
Avatar
So people need to contribute to the discussion on github, where we intend to come up with a plan
Avatar
At least the core
Avatar
At this point I mostly need devs talking but even that is hard to get
07:17
Learath are you here for a second?
Avatar
i'd suggest to take inspiration from other game devs
07:18
how they solved problems like these
Avatar
@Iza thats not too easy, because we still have the problem with old players and a lot of ranks
07:18
We cant just randomly give the old points to anybody who claims to be that guys
07:19
There are players with the same names, who just both play and get points
Avatar
its just a random idea and idk how well it works out, but how about taking ip & mac adress "captures" from players like daily or weekly and then with that data finding out which ip adress or mac adress uses the account most frequently
Avatar
@Iza feel free to join the discussion on github and present us your plan, maybe you can bring it into a new direction :)
Avatar
im not a github person xd
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 07:48:09Z
time to become one
07:48
its fun easy to use place
07:48
its run by evilcorp tho
Avatar
ChillerDragon: you are really cool you know that?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 08:54:20Z
i feel offended
Avatar
ChillerDragon: troll
Avatar
ChillerDragon: cuz you chill
09:11
i'm sorry
Avatar
Exploit Discord's cache system to remote upload payloads on Discord users machines - ecriminal/Exploit-Discord-Cache-System-PoC
10:49
Not very interesting, abuses the fact that discord doesn't sanitize pngs
Avatar
ehm what?
10:50
is that just saying that discord doesn't re-encode PNGs?
10:50
doesn't seem like a vulnerability to me
10:51
I guess it would be defense in depth to re-encode them
Avatar
injects a payload to the end of a png, which you add to a server as emoji, then you send said emoji and the cache downloads it, triggering the AV
Avatar
ah, it's AV being stupid
10:51
hm
Avatar
it's not an actual RCE but did make me worried for about a second why there is a threat detected in my discord cache 😛
10:52
I would truncate any PNG I host at IEND tbf
Avatar
you can surely embed stuff that AV detects in the image part of a PNG
10:53
doesn't sound like a fix to me
10:53
have you tried disabling your AV? it lowers performance and increases your attack surface 😉
10:54
I guess re-encoding is the only proper solution
10:54
I got a fairly trivial payload in mine, dunno which discord server I got it from
Avatar
what's the 'payload'?
10:54
a zip file?
10:55
with a malicious executable?
10:55
VBScript
10:55
It's kinda hopeless though, I don't see how he could ever get someone to run this
10:56
I guess you could send a python file along with it, saying "xDe check out this free discord nitro hack abusing the cache <insert payload emoji>"
Avatar
just execute my payload directly already
Avatar
and someone who thinks they know a lot about computers but don't coooullld be fooled
10:57
yeah, overall meh attack
Avatar
the only impact I can see is the AV detecting this and the user getting scared
Avatar
yeah, I can't see node js or discord being stupid enough to execute their cache
Avatar
I wonder why web browser caches never trigger such false positives
Avatar
they probably do something like encrypt it or encode it in a way that AV can't access it?
11:08
I can see the AV then trying to crack the encryption
Avatar
AV means anti virus?
Avatar
yes
Avatar
That stuff windows ppl use
11:09
think_bot
11:09
Another discussion about accounts monkalaugh
Avatar
not really relevant, we could only see the MAC address from the same computer and then also see the real one
Avatar
Avatar
fokkonaut
Hey, I have moved my 0.6 whisper part in my mod to PreProcessMsg(), no logic change, just changed the place where the whisper is split into parts and where we get the message out of the /w command. https://github.com/fokkonaut/F-DDrace/commit/cb5622b612da54c43e0ab2ba2a96c67d2e74f133?w=1 somehow, on the way from preprocessmsg to onmessage again, the m_pMessage gets (invalid utf8), and i dont know why
@Learath2 do you have any idea about this one? or @heinrich5991 maybe
Avatar
debug print it on the way and find out what kind of corruption occurs and where
Avatar
when returning its all fine, but when using the m_pMessage in the main function it returns invalid utf8
11:14
the rest of the packet works (target, mode..)
11:14
i dont know what i should debug else, otherwise i wouldnt ask
11:14
i checked it right before the return and directly inside of the CL_SAY part of OnMessage
Avatar
what kind of corruption occurs? where in the string?
Avatar
it couldnt have been modified
11:14
?
Avatar
you say it's invalid
11:15
what do you mean by invalid? what kind of corruption?
Avatar
yeah, i return it as a string and it returns (invalid utf8)
11:15
and when sent to the client it just doesnt display anything
11:15
print*
11:15
not return
11:18
i dont get it, without the change it all worked, also the m_pMessage did not fail
11:18
i really dont get it xD
Avatar
if you say '(invalid utf8)', then that string needs to come from somewhere
11:18
try grepping the source for it
Avatar
(invalid utf8) comes from the formatting
11:19
not from the tw source
Avatar
so from src/base you mean?
Avatar
i will check it
11:21
F-DDrace is a server mod for Teeworlds 0.7 developed by fokkonaut. - fokkonaut/F-DDrace
11:22
only appearance
Avatar
I guess that's where it comes from then
Avatar
yeah, doesnt help me any further i think, how can it break on the way from returning to the main function
Avatar
helping you is annoying for me
Avatar
you seem to assume that you know everything already, when the fact that something does not work as you think it should, suggests that you need to rethink an assumption
11:27
debugging means "I don't understand why the code is doing what it does, so I can't be sure about my assumptions"
11:27
"I try to find the point where my understanding is wrong"
Avatar
You know where the print that causes (invalid utf8) happens, I'd suggest breaking there
11:29
looking at what exactly is broken about the string if anything obvious
11:30
Then if it's not obvious, I'd disable threaded logging and step into the actual logger code where the string occurs, to see why it's thinking that
Avatar
(invalid utf8) seems to only exist on windows, no threaded logging there
Avatar
even easier
11:31
@heinrich5991 we should try to reenable aio on windows
Avatar
yes
11:31
maybe we should add a config option to disable threaded loggin
11:31
g
Avatar
We don't have one?
Avatar
look at me suggesting a config option
11:31
no, can be annoying for debugging
Avatar
ah actually it's not really easy to add a config option for that 😛
11:32
system.c has no idea what a config is
Avatar
engine can do that on setup
11:32
but I guess we get a bootstrapping problem
Avatar
I guess we could have the client call sth like dbg_enable_treaded_log
Avatar
yea
Avatar
well @heinrich5991 i am sorry but my knowledge is far away from analyzing a character or a string like this to see what breaks
11:38
what i know is that it shouldnt break from just returning, and nothing more, thats why i have no idea about it
Avatar
So your assumption that you are "just returning" it is wrong
11:41
maybe you are returning a misaligned pointer, maybe you are accidentally returning a pointer to a pointer, maybe the memory you are returning is now out of scope
Avatar
oh, yeah, that might be it
11:42
thanks
Avatar
You are doing the very last one...
11:42
the whispermsg
Avatar
It would be so obvious if you'd just put a breakpoint on where you return from preprocessmsg
Avatar
why?
Avatar
because then you could probably observe the string changing
Avatar
as i said, i put a dbg msg right before the return
11:43
and it was all okay
Avatar
print aWhisperMsg before the return would show you the correct string
11:44
print aWhisperMsg after would show you garbage
Avatar
yea, thats what it does; invalid utf8
Avatar
At that point I would print &aWhisperMsg
11:46
Anyway, you are just being lazy with your debugging imo. You made the correct observation but didn't look into it's consequences
Avatar
trust me i did everything i can, i just didnt know more
Avatar
A return indeed shouldn't be changing a string. So what does a return change? The only thing it changes is the stack frame
Avatar
and i dont even know what that is
Avatar
Well, now you know \o/
Avatar
thanks
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 12:30:51Z
sourcecode - compiler - objectcode - linker - library - executable programm
12:31
not sure about lib and linker tho
Avatar
yeah idk what a linker is
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 12:32:01Z
is it static or dynamic lib?
12:32
it might also be lib last if its dynamic lib i guess
12:32
the linker links your obj files and libarary together to a executable
12:32
the compiler turns the code into obj files
12:33
is this ur homework or something? Am i supporting you to cheat a exam? please dont get me in jail
Avatar
Nah some homeschooling
Avatar
source code - compiler - object code
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 12:35:06Z
ye thats what i said heinrich
12:35
also nice ip grabber link @NeXus
Avatar
then object code + libraries using the linker transforms to executable
12:35
I think
Avatar
@ChillerDragon what where
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 12:35:32Z
yea is it linker or libs first
12:35
12:35
this
Avatar
that's a discord link
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 12:35:50Z
thats what i said
12:35
:D
Avatar
I think they want to see that the linker combines libraries and object code to an executable
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 12:36:13Z
yes
12:36
get creative NeXus
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 12:36:55Z
you need more than - to seperate them :D
Avatar
the image shows that this is possible ChillerDragon
Avatar
little bug, you can type x_ skins in here (in game you're just default)
Avatar
not really a bug
12:47
client says to server i want to be x_spec, but server disallows it
12:48
some servers might allow that
Avatar
it's the client that forbids that btw 😉
Avatar
but it probs shows other tees faking x_spec as default
12:57
right?
Avatar
yes, it's the client that does this replacement
Avatar
but only if the server tells the client to do that
Avatar
yes, we have a server flag that disables it
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 13:49:37Z
any chance we can get a command to set view pos in ddnet? To bind camera positions in maps? Might as well ask upstream before i slap it in my fork
Avatar
That seems a bit problematic, not everyone has the zoom level. What do you want to use it for?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 13:52:04Z
write a bind that teleports me in a specific position in the map
13:52
also as spectator you can quickly toggel between hotspots of a map
13:53
i do not see how it relates to zoom
Avatar
I assumed you want to change the view position during playing, not spectating
Avatar
clientside^
Avatar
For freeview spec sounds fine to me, even though I'm not sure it's that useful
Avatar
clientside in spec sounds okay for me
Avatar
He wants it for a custom client xd
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 13:56:28Z
i dont want it in my custom client id prefer it in ddnet
13:56
yea i thought about spec
13:56
inagme it sounds like infinite dyn bind
13:57
oka lets see if i can code it xd
13:57
then ill pr against ddnet
Avatar
a couple of years ago i think ddnet had the feature that when you watch a player in spec you rather follow his client and not only the tee. so when he watches something in spec your camera automaticaly follows his nd if he switches dummy so does your cam... is it just a false memory or why was it removed?
Avatar
TIL spec char is a skin
Avatar
Didn't even know this was a possibility
Avatar
for me it was 10min
14:11
I was quicker googling
14:11
than to wait for it
Avatar
There is a way to get past it?
Avatar
I had ssh access
14:12
plus you can get past with a live medium
Avatar
Funnier thing is I actually logged in, then I tried to sudo and made a typo 3 times
14:12
So now I have a logged in tty that I can't escalate to root
14:12
And another I can't log in on at all
Avatar
do you know the root pw? su might work
Avatar
There is no root pw
Avatar
fair
Avatar
Atleast iirc, that's how I usually set up my linux systems
14:14
Anyway only need to wait an hour to update my system
Avatar
66min might be enough to try the live medium
14:14
ah, you have a logged in session and can work as usual?
14:14
then all is fine
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 14:15:27Z
wait so if i fail sudo 3 times i get timeout on ddnet?
14:15
scary shit
Avatar
why do you have access to ddnet servers? ^^
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 14:15:54Z
oops
14:15
i mean
14:15
yikes
14:16
no u troll i mean if i am connected with my tw client to a server and then on a terminal type sudo test and fail
14:16
will it close my session and kill my client to server connection
Avatar
no
Avatar
is this a bug
14:27
Avatar
can assets break ninja skins too
Avatar
the katana skin could break it but i think it only uses the x_ninja skin
Avatar
aren't katanas behind tees?
Avatar
weird
Avatar
idk just make sure ur x_ninja skin is good first but it might be smth else
Avatar
couldn't get more info out of the guy having the problem tbh
14:31
actually katanas are drawn just fine lol
14:32
and it is kinda weird that the eyes are fine if ninja skin is broken
Avatar
@deen CHN1 have no vote options
Avatar
myb perma server?
Avatar
no, the vote options are empty, perma server have some vote options at least i think. and it wasn't perma i'm pretty sure
Avatar
[quakenet] Ryozuki BOT 2021-01-22 14:58:31Z
A simple url shortener server made in rust. Contribute to edg-l/shorust development by creating an account on GitHub.
Avatar
ok the votes appear after manually switching to a map using /map
15:04
pepesweat i /map'ed every empty chn1 servers, now most of them are kobra now.
15:04
vote works now tho
Avatar
@Learath2 I even added sha256 support to teehistorian2demo now 🙂
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:10:11Z
cool Ryozuki
15:10
i never really felt the need for a urlshortner tho
15:10
do you have a running instance i can use Ryozuki ?
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:10:46Z
i can set it up fast
Avatar
don't use URL shortener please, they contribute to link rot
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:11:00Z
put one in readme that people can test its nice
15:11
link rot?
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:11:08Z
i made it mainly to practise
Avatar
link rot = links 404ing after some time
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:11:30Z
oh
Avatar
without a link shortener, the original site can go down
15:11
with a link shortener, the original site or the link shortener can go down
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:11:49Z
ye
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:11:54Z
i mean
15:12
ppl use link shortener services to track info
15:12
xd
Avatar
yes, people do plenty of nasty stuff 😉
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:12:35Z
but i wanted to make some quick app to learn stuff
15:12
and i indeed learning, the error wrapping stuff
15:12
learned*
Avatar
sorry, I didn't want to complain about your project
15:13
just about ChillerDragon wanting to use a link shortener
Avatar
@Deleted User are CUIElements supposed to be self contained?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:13:52Z
heinrich hater
Avatar
@heinrich5991 oh, I forgot to deploy a newer version of teehistorian2demo :/
Avatar
now the newer version isn't even a downgrade in any respect 🙂 (edited)
15:17
Ryozuki: not sure if intended, the db included in the git repo has some link to some youtube video 😄
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:17:56Z
oh
15:17
it included the db
15:18
didnt meant to lmao
Avatar
.gitignore!
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:18:18Z
yea, forgot
15:19
ah it has a link to some 80's japanese music i found cool
15:19
nothing to worry about xd
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:19:33Z
Ryozuki: i made a url linking to ur url shortener using my url longener https://paste.zillyhuhn.com/zu
15:19
just to trigger heinrichs dead link concern
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:20:13Z
ChillerDragon i think ur paste can be predicted
15:20
does it follow the abc?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:20:26Z
no its random
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:20:33Z
random with 2 chars?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:20:37Z
yes
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:20:43Z
not very securi iirc
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:20:55Z
but fast to type
15:21
dont hate on pstd
15:21
its best paste service
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:21:13Z
(&mut rng)
15:21
.sample_iter(Alphanumeric)
15:21
.take(6)
15:21
.map(char::from)
15:21
.collect()
15:21
rust best
15:21
ez to make a random readable toen
15:21
token
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:21:40Z
echo $RANDOM
15:21
shell better
Avatar
Can I pay one of you to port CScrollRegion over to ddnet?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:22:20Z
how much
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:22:35Z
how much
15:22
u can pay in gpus btw
15:22
a 3070 is enough for me
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:22:58Z
xd
15:23
id take a 3090
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:23:11Z
thats 2k€ sir
Avatar
Are you insane? I would pay at most 1/10th of a gpu for a feature already coded
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:23:24Z
xd
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:23:30Z
gönn doch
Avatar
Let's start the bidding at 20 euros
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:23:39Z
not worth
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:23:44Z
if you pay in btc
15:23
i take 20
15:24
will be 2k when i finished coding
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:24:11Z
kappa
15:24
i hear its going down rn
15:24
from 30k to 26k €
15:24
yep
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:24:42Z
buy the DIP!
Avatar
I'll pay you the 20e and you can get bitcoin with it? 😄
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:25:00Z
ChillerDragon buy TRX
Avatar
Trx scam coin haha
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:25:11Z
i made a gamble that day u said
15:25
and bought 10€ worth of TRX
15:25
Get the latest TRON price, TRX market cap, trading pairs, charts and data today from the world’s number one cryptocurrency price-tracking website
15:25
@Ama why is it a scam xd
Avatar
Its not scam but it has too many coins
15:26
And produces more every month
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:26:52Z
There is a spike of USDT transactions in Tron, a dPoS network, based on data from Coin Metrics, a blockchain analytics firm, a CoinDesk report on Jan …
Avatar
So it will never be Worth much i think i cashed out 15k 3 years ago when it went to 2000 satoshi
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:26:56Z
i wonder what this means
Avatar
I'll up my offer to 30e, you can get a reaaally nice bottle of gin for that
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:27:22Z
doesnt it have a cap?
Avatar
I bought at 300 satoshi
15:27
And sold at 1800
15:28
At 1 point i had 1 btc with an 2k usd investment
15:28
Too bad i didnt hold on to the btc haha
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:29:11Z
hehe
Avatar
Yes, we all have cryptoregrets, can we get back to the topic on hand?
15:29
I require CScrollRegion ported
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:30:06Z
i would consider at 100€, im just in a rly lazy mod for c++ rn
15:30
rust is too great
15:30
ChillerDragon go code it
15:30
u dont contribute since long
15:30
nobo
Avatar
100 is a little too rich for my blood, two entire bottles of very decent whiskey
Avatar
Avatar
Learath2
@Deleted User are CUIElements supposed to be self contained?
dunno what u mean
Avatar
Do they render themselves?
Avatar
no, they basically only a state object
Avatar
So they are more tracking of elements than actual elements?
Avatar
yeah
Avatar
What is m_OwnUIElements for and what is m_UIElements for?
15:36
(obv CUI::)
Avatar
ui elements maintained by CUI class
15:37
like, deleted
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:37:28Z
ChillerDragon here the url shortener https://noby.world/
A url shortener made with rustlang.
15:37
and yes, its a domain i own xd
15:37
A simple url shortener server made in rust. Contribute to edg-l/shorust development by creating an account on GitHub.
Avatar
What does it mean for an ui element to be maintained by the CUI class?
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:39:24Z
that it is managed by the cui?
15:39
e.g cui says when its rendered
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:39:30Z
ah nice noby.world url shortner i love it
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:39:33Z
and passes events to it
15:39
idk
15:39
xdd
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:40:04Z
chillerbot has 8 repositories available. Follow their code on GitHub.
15:40
love it
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:40:25Z
nice
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:40:35Z
maybe i should host a instance
Avatar
It seems to me if you create a CUIElement it self inserts into m_UIElements, if you get one thru GetNewUIElement it's also inserted into m_OwnUIElements
Avatar
@Learath2 nothing special, it just means u dont need to deallocate it
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:40:41Z
and then buy facebook ads to promote it
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:40:45Z
ChillerDragon see, this one is hardly predictable
15:40
ur 2 letter id is
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:40:57Z
then sell out the url shortner and redirect everything to some ads and get rich
Avatar
[quakenet] Ryozuki BOT 2021-01-22 15:41:04Z
ChillerDragon shh
15:41
actually smart
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 15:41:13Z
the 2 letter is awesome
15:41
i can remember them and use it to share pastes across devices
Avatar
@Deleted User what are some elements using this new api?
Avatar
server browser
Avatar
Allows to bind spectator camera positions. Can be used to write teleport binds for test server or quickly spectate specific spots of the map.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that aff...
Avatar
So this is a class that keeps track of a vector of quads(?) and uses quad containers to make sure they aren't re rendered all the time?
15:49
(I know I should have asked these before merging)
Avatar
it keeps track of specific attributes the streamed functions use, e.g. color of text, the text itself and checks if any of them changed
15:50
its still streamed, just cached
Avatar
So it can handle only text?
Avatar
and ui rects
Avatar
How does it decide if a ui rect changed?
Avatar
how can i record all gameplay but only save when i want to
Avatar
with common attributes color size
Avatar
Avatar
Im 'corneum
how can i record all gameplay but only save when i want to
if u mean demo record, there is cl_replays
Avatar
If you mean actual video your gpu is much better at that then we could ever hope to be, take a look at ReLive for AMD and ShadowPlay for Nvidia
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:23:48Z
gpus are fast and all but i feel like recording tw demos is less overhead than an actual screen record
16:24
and demos can always be tunred into video aftwards
16:24
but i think classic corneum is here for replay bots and wants to hax some ranks xd
Avatar
no i just dont want gigabytes of demos piling up
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:24:56Z
oh nice
16:24
so legit
Avatar
but still keep cool moments
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:25:03Z
ye cl_replays is ur friend
Avatar
cl_replaybot
Avatar
and turn auto demo record off?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:25:27Z
🤖
16:25
@noby i actually had conflicts when i tried to merge with upstread because some replay functions already existed
16:25
:justatest:
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:26:31Z
idk probably auto demo off give it a try or ask the math brain
16:26
or wait how did i use to call him
16:26
forgot his nickname
Avatar
ChillerDragon: Problem is recording videos or tw demos on ourside has "some" overhead while recording a video for gpus have very negligible overhead as they have hardware for this specifically
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:27:10Z
did u ever run fraps on windows
16:27
xd
16:27
rip framerate
Avatar
fraps is not the same as gpu accelerated recording
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:27:42Z
yea fair i guess
Avatar
obs can utilize some of the hardware capabilities now, so that's a more fair comparison
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:28:20Z
yea obs performs quite well
16:28
still feels like more overhead than tw demos
Avatar
@Learath2 i read always everywhere that cpu encoding/recording has more quality always
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 16:28:50Z
i never noticed a difference when recording tw demos
Avatar
well ofc 😄 how do you think they "accelerate" the process?
16:29
silicon real estate is premium, can't waste too much
Avatar
Jiuzhang is a 76-qubit photon-based quantum computer prototype developed by the University of Science and Technology of China (USTC). It is named after Jiuzhang suanshu, an ancient Chinese mathematical classic. On 3 December 2020, USTC announced on Science that Jiuzhang has successfully conducted a Gaussian Boson sampling task in 200 seconds, wh...
16:30
i wonder about quantum computers
16:30
china supposedly made this
Avatar
nvenc is quiiite good though, still not perfect but at that speed it's much better quality than I ever expected
Avatar
thats 2.5 billion times faster than their own supercomputer (edited)
16:31
The Chinese team claims it to be 10 billion times faster than Google's superconductor-based Sycamore processor, and as such, becomes the second computer to attain quantum supremacy
16:31
they also claim its 10 billions time faster than google quantum computer
16:31
xdd
Avatar
america should drop a bomb on that thing before they start to decrypt all our communications
Avatar
i mean
16:32
if quantum computers exist
16:32
they already decrypted all
16:32
i would only assume that murica army is already using them
16:32
there is quantum proof cryptography tho
Avatar
quantum computers exist, they just weren't strong enough yet
Avatar
cana quantukm computer run tw with 20x zoomout tho
Avatar
"post quantum cryptography" is a really interesting field
Avatar
cant they uise the quantum computer to find a super good covid vaccine thanks bye
16:33
imagine using science for human needs and not info warfare or wars
16:33
we would be in another place rn
16:33
In quantum computing, quantum supremacy or quantum advantage is the goal of demonstrating that a programmable quantum device can solve a problem that no classical computer can solve in any feasible amount of time (irrespective of the usefulness of the problem). Conceptually, quantum supremacy involves both the engineering task of building a powe...
16:33
monkalaugh
Avatar
Avatar
Ryozuki
imagine using science for human needs and not info warfare or wars
thats kumbaya
Avatar
I think google with their quantum computer already demonstrated solving some insane problems
16:36
I wonder if they have enough qubits to break rsa with any meaningful key size
16:40
Apparently around 6k qubits are needed to break AES-256, not even close 😛
16:41
oh and that's logical qubits not physical ones, so multiply that by 12 or so
16:46
then makes sense
Avatar
@Learath2 source? I didn't know you could break stuff like AES with quantum computers
Avatar
https://arxiv.org/pdf/1512.04965v1.pdf I found it in some guys comment in stackexchange but I closed the tab 😛
16:56
I guess it doesn't give significant advantage for AES?
16:56
Oh, it should actually, you can browse the search space more efficiently
Avatar
We know Grover's algorithm speedup brute-force attacks two time faster in block ciphers (e.g brute-forcing 128 bit keys take $2^{64}$ operations not $2^{128}$). That explains why we are using 256 ...
16:58
this stuff says you can "only" reduce the search space by sqrt()
16:58
means that 256bit AES is still secure, 128bit is not
17:02
funny comment
Avatar
famous last words before the ASIO builds a quantum computer the size of jupiter to spy on australian citizens
Avatar
23c145d Improve ClShowDistance a bit - def- 77a9f41 Merge #3530 - bors[bot]
Avatar
@Learath2 would you mind taking al ook at https://github.com/ddnet/ddnet/pull/3492 ? 🙂
This continues what #3439 started, and also replaces non-extended messages that are DDRace extensions with extended messages. The DDNet server still sends the old message to old clients and the DDN...
Avatar
cd8e67d Handle switch number 0 - def- 93acedf Merge #3523 - bors[bot]
Avatar
199da24 Prevent OpenSSL SIGPIPE (fixes #3513) - def- 989d26b Merge #3527 - bors[bot]
Avatar

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [x] Written a unit test if it works standalone, system.c especially
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [x] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
9196a9a Fix crash on namechange (fixes #3444) - def- a99f4f1 Add str_utf8_truncate test for size 0 - def- 281492c Fix memory leak in Thread.Lock unit test - def- 7f4ec45 Merge #3532 - bors[bot]
Avatar
Does the client or server get weird if you run it for a long time without restarting?
Avatar
shouldn't
19:00
if it does, it's a bug
Avatar
Well maybe you can recreate it. I used cheat engine to speed hack and after 14 hours some bullets stopped moving and my grenades don't rotate. Even after reload
Ban 2
Avatar
(sounds plausible, these kinds of bugs)
Avatar
Do the official servers restart when empty?
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 19:09:50Z
@Ryozuki investing in warefare is important when space invaders come and attaxx us
19:10
and like zombies
Avatar
ChillerDragon we can find any signs of life by ourselves, we wont be able to protect if they come anyway
19:10
cant*
Avatar
@Im 'corneum yes, daily
Avatar
[quakenet] ChillerDragon BOT 2021-01-22 19:14:17Z
well only zombies then
Avatar
Maybe we can try out https://github.com/wolfcw/libfaketime or something similar to see if we can reproduce these physics problems
libfaketime modifies the system time for a single application - wolfcw/libfaketime
Avatar
What does this do compared to speedhack?
19:21
Also, can u host servers that run on 50% speed so I can play Gores bettertroll
Avatar
it's for linux instead of windows
Avatar
As reported by Im 'corneum: Well maybe you can recreate it. I used cheat engine to speed hack and after 14 hours some bullets stopped moving and my grenades don't rotate. Even after reload Maybe we can try out https://github.com/wolfcw/libfaketime or something similar to see if we can reproduce these physics problems
Avatar
@Im 'corneum hehe I remember running a speedhack on both game and server cause I was too bad to test my parts years ago
Avatar
Yeah it's a useful tool... Didn't know you found that before mesaddo
Avatar
yeah in like 2016
Avatar
You could have told me(
Avatar
is there any trigonometry function using time as input?
19:26
might be the problem for rotation stopping
Avatar
I think I found it even before I played on ddnet, messed around with it on vanilla
Avatar
Avatar
Chairn
is there any trigonometry function using time as input?
You mean the hack itself caused it?
Avatar
i remember long ago having a bug because trigonometry function didn't work out when input was too big
19:28
that's just an idea because you said you used speedhacks
Avatar
``` [2021-01-23 00:02:50][sql]: MySQL Error: MySQL server has gone away free(): invalid pointer Thread 2 "DDNet-Server" received signal SIGABRT, Aborted. [Switching to Thread 0x7ffff6743640 (LWP 2903048)] 0x00007ffff75e8615 in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff75e8615 in raise () from /usr/lib/libc.so.6 #1 0x00007ffff75d1862 in abort () from /usr/lib/libc.so.6 #2 0x00007ffff762a5e8 in __libc_message () from /usr/lib/libc.so.6 #3 0x00007ffff763227a in mall...
Exported 544 message(s)