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 2019-05-28 00:00:00Z and 2019-05-29 00:00:00Z
Avatar
@Learath2 is this const char *pFilename = m_pClient->DemoRecorder(RECORDER_REPLAYS)->GetCurrentFilename(); m_pClient->Storage()->RemoveFile(pFilename, IStorage::TYPE_SAVE); thread safe?
Avatar
heinrich said storage is threadsafe no?
Avatar
yeah probably but
10:12
since i need to store a list of CDemoEdit (my task), I need to have that in the header file of CClient right? (edited)
10:14
but, since the actual CDemoEdit class is defined after CClient in the header, because CDemoEdit needs to have access to CClient in order to get that storage, but also the netversion from the gameclient, CDemoEdit isn't recognized in the header xd
Avatar
ok i managed to get something that works
Avatar
13:37
11:37
wtf
Avatar
xD
Avatar
how can it be 13:37 so many times i look on the clock
11:41
this is black magic
Avatar
Why is 13 37 so special and why you spam it in #developer
11:47
Go do something usefultroll
Avatar
you should know of the leetspeak, since your name is written in it xD
Avatar
Ah so you wanna say you are an elite in programming by spamming 1337?
Avatar
exactly
11:53
no
11:53
never heard of that? always looking instinctively at the clock at the same time, and in my case its 13:37, search for it on the internet
Avatar
Because wikipedia said this: Leet, oftewel l33t of 1337 enzovoort, is een internetschrijfwijze van overwegend Engelsefonetische klanken door ze te vervangen door andere tekens die enige uiterlijke overeenkomst hebben. Het woord l33t is een verbastering van elite. Het duidt onder meer op het bereiken van een ingewikkeld doel oftewel elitestatus in bijvoorbeeld een computerspel of bij programmeren.
12:02
Leet /1337 is an internetlanguage for especially english. You replace normal characters with symbols. 1337 means elite and it is used in gaming or programming to say they acheived something and they deserve the elite status.
Avatar
did you just translate that yourself instead of posting the english wikipedia article
12:12
Here you go
12:12
The term "leet" is derived from the word elite, used as an adjective to describe formidable prowess or accomplishment, especially in the fields of online gaming or computer hacking. The leet lexicon includes spellings of the word as 1337 or l33t.
Avatar
wow
Avatar
if the .teeworlds dir is a symlink will it work anyway?
Avatar
i think
Avatar
well ill make settings_ddnet.cfg only be the symlink
12:36
setting up some dotfiles repo xd
Avatar
@Ryozuki in general, symlinks will work with all programs unless they actively work against it
Avatar
wait what is that error?
13:33
Avatar
change the order of the initializers to match the class definition to fix the error
Avatar
ok fixed, thanks
Avatar
i oficially can say now
16:48
"i use arch btw"
16:49
debian will be always in my heart feelsbadman
Avatar
welcome to the club
16:50
you officially hate debian now
16:50
change your web btw
Avatar
oh true
16:50
Avatar
pls change to arch logo and write "Debian sucks, be as cool as me and use Arch"
16:51
oh god
16:51
i have to unsubscribe from all
16:51
debian mailing lists
16:51
xd
16:51
one day i went full crazy and subscribed to a lot
16:51
xd
Avatar
i use ubuntu
Avatar
all works fine :D
Avatar
meh, obs vaapi sucks so hard
17:35
still cant stream using gpu on linux
17:35
feelsbadman
Avatar
@Ryozuki why are you arch?
Avatar
use ubuntu
Avatar
@Learath2 wdym xd
Avatar
If a bullet hits two tees on the exact same tick only one gets frozen
17:47
@Ryozuki thought you were happy with debian unstable
Avatar
yeah but wanted to try new things
Avatar
@Learath2 rly? xd
Avatar
@archimede67 yep, one more bug to fix
Avatar
is it some break in the loop check or what
17:48
probably
Avatar
prob the bullet was initially meant to hit one tee
17:48
but in ddnet
17:48
it doesnt disappear
17:48
or smth
Avatar
yeah but how can it hit 2 tees on same tick?
Avatar
well easy way to simulate it is the dummy copy move
Avatar
When you are in solo watching other tees (freeview or not) you don't see their hookline hitting. See the screenshots below !image !image
Avatar
on a solo part
Avatar
oh so the one bullet is kinda "common" to all tees even if they are in solo?
Avatar
I guess so
17:57
I bet it'd also happen if two tees are inside eachother
Avatar
that would make sense
17:58
since in solo you're inside your dummy but not seeing him
Avatar
the code looks very complex :/
18:00
but I guess the gist of it is that IntersectCharacter only ever returns one characte
18:00
r
Avatar
ah
Avatar
yeah idk how to fix this
18:00
I'll just create an issue
Avatar
yeah xd
18:02
as we all do xd
Avatar
If two tees hit a freezing bullet on the same tick, (can reproduce in a solo part using dummy copy move) only one of them gets frozen. This seems to be because we just do IntersectCharacter in projectile.cpp which returns only one of the tees.
Avatar
now that i think about it, this could be abusable with some insane setup 😛
Avatar
yeah xd
Avatar
@archimede67 I'm not sure about this but maybe for the replay thing you could use a ringbuffer of snapshots instead of recording a demo the whole time
Avatar
ooohh
18:11
that's smart
Avatar
as what are demo names encoded?
Avatar
wym
Avatar
it's not utf8
Avatar
ah
Avatar
what kind of demo names?
18:13
in general, we use utf8
18:13
but our interfacing with windows is broken for non-ascii characters
Avatar
@Learath2 is there already something for ringbuffers?
Avatar
@archimede67 if you're on linux, you could try grep -ri ringbuffer src/ in the repository
Avatar
ahh nice there is 😄
19:39
thx
Avatar
grep let's you search the whole source tree quickly, you could look into it, it's pretty useful 🙂
Avatar
^^
Avatar
-rni better
19:48
if u want line number
Avatar
ah nice
19:50
oh i noticed a bug, i have my menu (esc) opened but i can't interract with it
Avatar
(install rg, it comes with better defaults)
Avatar
idk how to reproduce it
19:51
i can't click anything but i can scroll the serverbrowser xd
Avatar
@archimede67 did u have ddnet prediciton on when u tested the hookline issue
Avatar
ye
20:28
lemme try without
20:29
same without antiping
Avatar
r u sure
20:39
yea
20:43
ok idk why ith appens
Avatar
idk too
Avatar
Rafael Fontenelle 2019-05-28 23:12:52Z
R.I.P. Linux 😂
Exported 129 message(s)