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-07-08 00:00:00Z and 2021-07-09 00:00:00Z
07:06
97d0eb1 Update finnish translations - tuhatk bb6dc97 Fix wrong line in finnish translation - def- 46af07f Merge pull request #3945 from tuhatk/finnish-translations - def-
07:08

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
Who knows how make the picture lag by 2 seconds?
Avatar
chillerdragon BOT 2021-07-08 09:26:47Z
cl_refresh_rate 2 maybe im not sure exactly what you want :D
09:27
can i get the server response from a fifo command i sent?
09:33
vodka
Avatar
no, I need a smooth image, just having a delay between drawing
Avatar
[quakenet] ChillerDragon BOT 2021-07-08 09:39:40Z
i still do not get it
Avatar
maybe make an artificial change to the value in cl_showhud. It is possible? (edited)
Avatar
[quakenet] ChillerDragon BOT 2021-07-08 09:42:44Z
??
Avatar
U know about command cl_showhud?
09:43
in f1
Avatar
[quakenet] ChillerDragon BOT 2021-07-08 09:43:21Z
yes
09:43
but what artificial change
Avatar
If I can change this value, and harden it, it can give the effect I want.
Avatar
chillerdragon BOT 2021-07-08 09:46:37Z
watafak
09:46
what is hardening in this case?
09:47
isnt setting it enough?
Avatar
hold*
Avatar
chillerdragon BOT 2021-07-08 09:47:20Z
?
09:47
so you want to see the old hud?
09:47
2 seconds old hud?
09:47
whats your usecase :D
Avatar
wow, you do not understand me at all.
09:49
I need the game, the picture on the monitor, to be rendered for me a few seconds after it happened, that is, with a delay
09:51
For standart: Game -> 8ms -> Picture on monitor What i mean: Game -> few seconds -> Picture on monitor
Avatar
Avatar
chillerdragon
vodka
LMFAO best thing you've said
09:51
sorry you can't see the reply but I'm referencing your "vodka" comment
Avatar
Avatar
Polterking
For standart: Game -> 8ms -> Picture on monitor What i mean: Game -> few seconds -> Picture on monitor
not within the client, maybe an external tool if u lucky, but never heard of smone wanting to have delay
Avatar
chillerdragon BOT 2021-07-08 10:04:10Z
lmao i wanted to test if pkill can do he double dashes to ignore arguments and interpret it as value so i tried pkill -f -- -a and expected it not to throw and argument error... well i can not recommend trying that in your shell :D
Avatar
something goes wrong with https-master
14:53
it doesn't update for me :p
14:55
master3.ddnet.tw is stuck
14:55
1-2 are stable
Avatar
@gerdoe Thanks for the report. I have temporarily disabled master3 until @heinrich5991 can take a look
Avatar
I still think we should fetch from 2 masters
15:06
and make it a race 😄
Avatar
6598e0a Another MacOS -> macOS in translations - def- a8b3cc2 Merge #3946 - bors[bot]
Avatar
what's benefit of using linked list for storing voteoptions?
Avatar
It's a simple data structure
Avatar
what if we will use common c-array?
19:23
like, what can we lose here
Avatar
c arrays don't resize, so you can only store a limited amount of options
Avatar
so, someone wanted to do over9k options for voting xd
19:24
okey, thanks
Avatar
Not only that, C arrays have a fixed size
19:24
So if you want the maximum to be 9000 you'll need to waste 9000 votes worth of memory
19:25
An std::vector is probably better here btw
Avatar
better = faster or better = less memory use?
Avatar
just faster
19:26
we iterate the votelist often, vectors play very well with prefetch and cachelines
19:28
the only scary thing about a vector is it can cause large memcpys
19:28
If the vector is full and something is allocated after it and you want to add more elements the entire vector needs to move
Avatar
hm, is there a need to insert another voteoptions while server running
19:30
i mean
19:30
while players are playing on server (edited)
19:30
not about map load -> entering
Avatar
Avatar
gerdoe
hm, is there a need to insert another voteoptions while server running
well not very often which is why I think vector would be better there
Avatar
oh I found this the other day too, idk what I'd really use it for but it's cute
Avatar
It is frequently used as a mechanism to store references inside standard containers (like std::vector) which cannot normally hold references.
19:46
it says it there
Avatar
well yes but when do you really want to keep a vector of references?
19:46
I guess maybe a data structure weaved through another one could have a use for this
Avatar
i guess to store the result of some operation that changes the order
19:48
like shuffle shown in the example
19:48
xd
Avatar
ah that is cute
Avatar
CPlayer::m_LastVoteTry is int when we are storing here int64 for current tick xd
Avatar
Avatar
gerdoe
CPlayer::m_LastVoteTry is int when we are storing here int64 for current tick xd
what do u mean?
20:41
int64 is mostly used for time i think
Avatar
yeah
20:48
the Now variable is wrong and useless
Avatar
ah lmao
20:49
Server()->Tick() is int too xD
Avatar
u can open a pr if it gives u compiler warnings or smth
Avatar
no, just eagle eye
Avatar
Thats annoying me since forever xD
20:58
we use int64 everywhere
20:58
but servertick returns int
Avatar
whats better to use tho
21:32
int64 for ticks or int
Avatar
for ticks int is enough
21:33
for time int64 is better
21:34
i mean for mods int64 might be better bcs u have more theoretical options for envelopes 😄
21:34
but not vanilla compatible anyway
Avatar
theoretical options? wdym
Avatar
u can fake server time to show synced enveloped animatioms
21:35
e.g. u could fake a real life clock 😄
21:35
as animations
Avatar
i think would be funny 😄
21:35
maybe i should add it to some map release 😄
Avatar
jupstar do you remember h-client?
Avatar
i only used gamer
Avatar
oh okey xd
Avatar
but i know h client was something similar
21:36
also from dune?
Avatar
just it had good envelopes pre-show
21:36
no unsigned char* did it
Avatar
ah ok
21:36
ok
Avatar
ah
21:38
does that not exists in ddnet?
21:38
thought i saw it before
Avatar
no i suppose
Avatar
but yeah looks really nice
21:38
a new editor should have it 😄
Avatar
generally i'd change envelops to be more like blender animations i think
21:38
i kinda find the dots in the envelop screen annoying to maintain
21:39
better just use smth like this and add keyframes
Avatar
2a74ca3 Avoid double free on m_pScore (fixes #3939) - def- bf8fe5d Merge #3940 - bors[bot]
Avatar
bruh another pr to look up xd
Avatar
u try to rebase against ddnet or what
Avatar
im trying to clean ddnet code and make new panic-like mod
Avatar
ah
Avatar
now im making votemanager
Avatar
yeah server code is rip xd
Avatar
its like 1/8 of gamecontext (edited)
Avatar
i think the basic idea of the server code is ok, but alot of smaller quick hacks
Avatar
client code has docs right?
Avatar
i dunno
Avatar
should write a bit docs for server side to rest ;d
Avatar
Avatar
Deleted User
e.g. u could fake a real life clock 😄
I have that with lasers, original idea was envelopes tho :D
21:51
Cool thing about lasers is you can adjust thickness (ab)using starttick
Avatar
yeah 😄
Avatar
I think you can also add an envelop timer that tells you how long your client is open
22:10
would also be funny in a map
22:10
(non synced env)
22:12
and since ddnet doesnt use floats anymore to store the envelop time it should be pretty accurate, depending on how reliable the processor gives timestamps (edited)
Avatar
not checked for correctness xd
Avatar
Oh I think very last tile layer is wrong must be deleted
Avatar
This is cute, we should take it
Exported 144 message(s)