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-08-20 00:00:00Z and 2021-08-21 00:00:00Z
Avatar
how to work with sqlite db
08:50
Is there complete interface? Can i just like Server()->SqlQuery("smth");
08:50
or sth that kind
08:56
i cant access class CDbConnectionPool *DbPool() { return m_pConnectionPool; } in server.h
08:56
but its public smh
Avatar
ok nvm ((CServer *)->Server())->DbPool() works
Avatar
The memfd_secret() system call has, in one form or another, been covered here since February 2020. In the beginning, it was a flag to memfd_create(), but its functionality was later moved to a separate system call. There have been many changes during this feature's development, but its core purpose remains the same: allow a user-space proces...
Avatar
chillerdragon: Have you tried using SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0?
Avatar
bcs of that flag we have to wait for SDL 2.0.18 xD bcs it destroys windows
11:05
and its default for desktop fullscreen now apparently
Avatar
/template load name_or_id:zf4juMeKxAFV
Avatar
The file is unused and probably always was. (Same as https://github.com/teeworlds/teeworlds/pull/2929)

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 ...
Avatar
chillerdragon BOT 2021-08-20 14:40:34Z
dafaq is Robyt3 doing in ddnet?
Avatar
Good to see
Avatar
chillerdragon BOT 2021-08-20 14:43:05Z
oh wow @Maiski that actually works
Avatar
8fa7610 remove obsolete engine/shared/message.h - Robyt3 af2d65e Merge #4097 - bors[bot]
Avatar
chillerdragon BOT 2021-08-20 14:43:29Z
So can all the sdl flags that are passed in code also passed with env vars like? SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS
14:44
is it even an SDL2 issue now? or should we just add that flag to ddnet?
14:45
@Deleted User: its not default for me?
Avatar
as said it breaks windows rn
14:57
so we cannot add it
14:57
it depends on SDL version, 2.0.14 had it desfault for all fullscreen, not its only for desktop fullscreen
Avatar
The config variables are unused. (First commit is also https://github.com/teeworlds/teeworlds/pull/2913)

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 th...
Avatar
@fokkonaut Do you see the pings you get on github? https://github.com/ddnet/ddnet/pull/3958
@fokkonaut said that sending more gameticks made the emoticon smoother, so I tried to look at the clientside render code. Does this fix it? @fokkonaut. Checklist Tested the change ingame Provide...
Avatar
This replaces remaining usages of std::min with minimum. Fixes build for me on Windows with Visual Studio 2015.

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
  • [ ] T...
15:18
fea9eb5 Allow floats arguments for zoom - Jupeyy 863f7a9 Merge #4096 - bors[bot]
Avatar
74fac43 log git revision hash to stdout/console - edg-l 200af58 check if GIT_SHORTREV_HASH exists - edg-l 55abc3f Make fallback stronger and safer - Jupeyy 372dbf7 Don't promote modern GL setting in menu, if the driver is on blocklist - Jupeyy 08ef63a Add prediction for switch tiles - trml dba2121 Merge #4089 #4093 #4094 - bors[bot]
Avatar
1820c72 use minimum instead of std::min - Robyt3 3de25b7 Merge #4099 - bors[bot]
15:45
fd66957 remove unused gfx_alphabits config variable - Robyt3 769ae98 remove dead code - Robyt3 4ad16b0 Merge #4098 - bors[bot]
Avatar
hello it is possible to play a sound in a terminal? like a command that make an error sound?
Avatar
chillerdragon BOT 2021-08-20 16:05:50Z
yes
16:05
\e i think
16:06
no
16:06
its called bell
16:06
echo -e "\a" test123
You're invited to talk on Matrix
Avatar
thats good for linux terminal :D now im trying to find for winshit
Avatar
ok i just have to include <windows.h> then Beep(Freq_in_Hertz, Time_duration_for_sound);
justatest 3
Avatar
Using bool instead of int for m_SendNAfkMsg Deleted m_pAfkMsg from CPlayer declaration Cleaned last activity check code Please test this PR, because I don't know what can go wrong here :P

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 an...
Avatar
Hey, i was just wondering if it was possible to make it so hooks can invert gravity, literally invert the flow of mfing gravity, break the laws of physics completely, thanks
18:24
I was put up to this btw by @chumtoad troll
Avatar
who ping
Avatar
so much good work recently
18:33
So is it or is it not possible?
Avatar
why do we keep base/tl/*?
22:04
(just everything from it is in std already)
Avatar
I intended to replace it's use with the stl variants, just didn't have the time yet
22:14
and it's not as trivial as it appears on first look 😄
Avatar
Only used client-side so no protocol change

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 affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://gi...
Avatar
This only enables prediction if the pickup has existed for some time (e.g. is not blinking, like disabled switch ones). It also makes moving pickups slightly smoother in some cases.

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 ind...
Exported 63 message(s)