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 2022-05-03 00:00:00Z and 2022-05-04 00:00:00Z
Avatar
d0b31d6 Add curl_slist_free_all to the list of required functions - heinrich5991
Avatar
have you ever had a computer that shuts down just like there was a power cut?
01:17
my old thinkpad just did that, and it's not the first time
01:18
all kernel logs show nothing, except sometimes the last line before reboot is truncated and filled with null bytes
01:18
time to save my work on usb stick 🙂
Avatar
perhaps the hardware powered down because it was overheating
Avatar
nah, laptop is cold, and overheating would have a trace in kernel logs
01:47
i was just typesetting some latex, nothing fancy
Avatar
why would overheating turn up in kernel logs?
01:48
isn't that mostly hardware stuff?
Avatar
i suppose there might be a shortcut because it happend when i layed down my hands on the keyboard quite fast
01:48
nah, it triggers an interrupt first
01:49
when the interrupt is fired, the kernel has like 15ms before going down
Avatar
oh
01:49
TIL
Avatar
at least, it's the case in most embedded cpu i worked on
01:50
temperature cinetic allows this stuff
01:55
this is final message in /var/log/kern.log: May 3 03:08:30 hostname kernel: [36837.329504] [UFW BLOCK] IN=enp0s25 OUT= MAC=12:34:56:78:9a:bc:de:f0:12:34:56:78:9a:bc SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x80 TTL=1 ID=0 DF PROTO=2 May 3 03:10:30 hostname kernel: [ 0.000000] microcode: microcode updated early to revision 0x2f, date = 2019-02-17
Avatar
Avatar
Chairn
nah, it triggers an interrupt first
there's also an interrupt when power goes down
02:14
first there's brown out interrupt
02:15
then there's black out interrupt
02:15
black out interrupt typically state, cpu can execute x instructions (not guarenteed) (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-05-03 07:05:49Z
bra Ac1dBeef stap reconnecting :/
Avatar
does anyone know if using references within functions has disadvantages? https://www.tutorialspoint.com/cplusplus/cpp_references.htm E.g. if I do something like vec2 &ViewPos = pGameServer->m_apPlayers[SnappingClient]->m_ViewPos; so I don't have to write the long expression repeatedly? Is it better to use a reference than a pointer?
C++ References, A reference variable is an alias, that is, another name for an already existing variable. Once a reference is initialized with a variable, either the variable n
Avatar
[quakenet] ChillerDragon BOT 2022-05-03 08:28:39Z
use a macro :trol:
08:29
i think jupstar once said that refrences are the better pointers
👍 1
Avatar
Avatar
deen
no, server doesn't know the difference between another player and dummy
ᶰ°Konͧsti 2022-05-03 08:29:21Z
Could be just fixed by one vote per IP to use practice
Avatar
[quakenet] ChillerDragon BOT 2022-05-03 08:30:49Z
ddnet/2021-09-15.log:38:12:01 <+bridge> [ddnet] <Jupstar ✪> reference is bascially same as pointer, just without uglyness and NULL xd
08:30
@c0d3d3v ^
Avatar
Avatar
c0d3d3v
does anyone know if using references within functions has disadvantages? https://www.tutorialspoint.com/cplusplus/cpp_references.htm E.g. if I do something like vec2 &ViewPos = pGameServer->m_apPlayers[SnappingClient]->m_ViewPos; so I don't have to write the long expression repeatedly? Is it better to use a reference than a pointer?
if anything you can actually gain (at least on msvc) from using a reference/pointer instead of writing long chains everywhere (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-05-03 09:15:05Z
omagwad im too stopid to write collision code -.- send brain
Avatar
i think its better to use the reference
Avatar
[quakenet] ChillerDragon BOT 2022-05-03 11:36:29Z
this guy
11:37
I think i need a better irc client or filter out connection messages in weechat -.-
Avatar
/set irc.look.smart_filter on /filter add irc_smart * irc_smart_filter *
11:47
A new smart filter for IRC join/part/quit message has been added. It is disabled by default (so you'll see all join/part/quit by default). To enable it, use following commands:
Avatar
[quakenet] ChillerDragon BOT 2022-05-03 11:57:57Z
ye i also did that but then i realized i wanna see those messages
11:58
but this guy is literally flooding it -.-
11:58
bad collision code? or awesome walljump feature? :D
11:59
Ac1dBeef:!
Avatar
while revising and testing the dragger.cpp I noticed that two different ranges are used in the old code. First the characters nearby are selected here: https://github.com/ddnet/ddnet/blob/14927684eb078615c7eab8841c7043e0d063d6b3/src/game/server/entities/dragger.cpp#L59 Here the range g_Config.m_SvDraggerRange is used but in the function FindEntities https://github.com/ddnet/ddnet/blob/14927684eb078615c7eab8841c7043e0d063d6b3/src/game/server/gameworld.cpp#L56 the m_ProximityRadius = 28 of a char is added. And later in the code the tee is droped (so not pulled) because of this line, because the m_ProximityRadius was not added: https://github.com/ddnet/ddnet/blob/14927684eb078615c7eab8841c7043e0d063d6b3/src/game/server/entities/dragger.cpp#L138 Should I also ignore the m_ProximityRadius in the new dragger? I do not think any map would suffer if we would add m_ProximityRadius but it is a physics change
Avatar
This would basically increases the range of a dragger by ~half a tee (edited)
Avatar
If someone wants to give his opinion on this please tag me or write it on the PR https://github.com/ddnet/ddnet/pull/5063 so I can read it later....
Fixes #4723 and #5054 Physic that got changed by this PR: Solo players are not included in the calculation of the next team players to the dragger. This does not affect any map. With 4bcaf76 the ...
Avatar
when i have problem with lag, someone let me download 16.0-rc1 beta with vulkan, but now i don't receive new update, what i need to do :d
Avatar
download the latest client
13:59
from the web
13:59
it has vulkan too
13:59
and better
14:02
one thing i noticed is lot of ppl force push on pull requests, but specially on large prs this makes revieweing harder
14:02
because you don't have a diff from your last review
14:02
so u gotta check all over again
14:02
imho i would rebase when its finally reviewed into a clean commit
Avatar
Avatar
Ryozuki
imho i would rebase when its finally reviewed into a clean commit
xD do you mean me?
Avatar
xd in general
14:14
but in this case i said this cuz i noticed heinrich
14:14
force pushed the master server pr
Avatar
I think he published it as draft just that we can have a sneek preview... Was not ready for review
14:16
ok xd
15:41
Avatar
34ede19 Some fixes for ddnet-setup.sh - def-
Avatar
A question about prediction. Other players hooks are predicted? What if a tee near you is hooking another tee out of camera? Is prediction broken? Or is hook predicted with destination point too?
Avatar
the prediction needs the hooked character, so if the hooked character is network clipped the hook won't get predicted
Exported 68 message(s)