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-19 00:00:00Z and 2021-08-20 00:00:00Z
05:09
is forum down? i can't open https://ddnet.tw/rules
Avatar
I'll check
05:49
works again
Avatar
Avatar
GitHub
Click to see attachment ๐Ÿ–ผ๏ธ
no no no no no no no...
Avatar
yay prediction pr
Avatar
chillerdragon BOT 2021-08-19 09:04:08Z
are u fakin kidding me SDL2 bug is gone in all versions now
09:04
probably some combo bug of SDL2 plus some other software
09:04
๐Ÿฅณ
09:05
oh nvm i forgot to turn on fullscreen ahahahah pls kill me i need coffe
09:05
how did i even get used to borderless oh no
Avatar
ะ—ะฐ ั‡ั‚ะพ?
10:14
ะะธะบ LordRon_XD
10:20
For what ? Here is my nickname LordRon_XD
Avatar
c571df0 Update ddnet-setup.sh for Debian 11 - def-
Avatar
chillerdragon BOT 2021-08-19 10:27:21Z
lul im doing deb11 update rn
10:27
get out of my head deen
Avatar
Python2 was removed, now I have to upgrade all my scripts :/
Avatar
chillerdragon BOT 2021-08-19 10:28:40Z
oh lol didnt know
10:28
aaiaiiaiaiai
10:29
deen when make this github repo the source of truth?
Avatar
When I have time
Avatar
chillerdragon BOT 2021-08-19 10:29:56Z
i would really love to contribute more there but current state is useless for contributors :(
10:30
can i help somehow?
Avatar
I know, but any changes there are dangerous since nothing is tested and lots of stuff can break
10:30
it's a bunch of brittle scripts
Avatar
chillerdragon BOT 2021-08-19 10:30:29Z
yas i would like to add tests too!
Avatar
[quakenet] ChillerDragon BOT 2021-08-19 10:38:54Z
is there still a mouse raw mode or something? I can barley move my mouse on my deb11 laptop ._.
Avatar
chillerdragon BOT 2021-08-19 10:40:32Z
is the irc bridge down @heinrich5991 ?
10:41
ah nvm its just suuuuuper slow
Avatar
996fd04 server stats: add india - def-
Avatar
chillerdragon BOT 2021-08-19 12:06:25Z
Is it hard to record traffic from a tw server and save it to later on slap it at the client again and reproduce the whole expirience?
Avatar
uhm help?
12:48
[2021-08-19 14:47:29][client]: starting... [2021-08-19 14:47:29][sdl]: SDL version 2.0.16 (compiled = 2.0.14) [2021-08-19 14:47:29][gfx]: Created OpenGL 3.3 context. X Error of failed request: BadRRCrtc (invalid Crtc parameter) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 20 (RRGetCrtcInfo) Crtc id in failed request: 0x0 Serial number of failed request: 291 Current serial number in output stream: 291
12:48
already tried restarting 2 times, nuking the settings_ddnet.cfg
12:49
it removes my monitor, I have to add it with xrandr/arandr again
Avatar
you are not the first with SDL .16 problems
12:50
find the broken commit and report it https://github.com/libsdl-org/SDL/issues
Simple Directmedia Layer. Contribute to libsdl-org/SDL development by creating an account on GitHub.
Avatar
so I would need to downgrade sdl as a dirty fix?
12:52
I think I would need some hand-holding to bisect sdl
Avatar
yes or try the master branch
12:52
maybe its fixed already ๐Ÿ˜„
Avatar
my sdl version seems to be 1.2.15-14
Avatar
sdl2
12:56
yup, 2.0.16-2
12:57
okay, downgrading worked for me, not sure how I would install nightly/master
Avatar
chillerdragon BOT 2021-08-19 14:02:29Z
lul @Patiga u too?
14:02
who dafaq it breaking all SDL
14:03
Are there any projects as rvm or nvm to manage versions for librarys?
14:03
i didnt find anything im currently creating sdlvm my self to quickly install and switch between SDL2 versions
Avatar
chilledragon i saw ur new repo
14:24
imho its wasted time
14:25
this doesnt happen usually
14:25
and its what you get for using arch linux
14:25
you may get a new version of a software that has problems
14:25
its ur problem to find how to solve it
14:25
otherwise u can use debian
Avatar
chillerdragon didnt see your message, if you are on arch linux you could use the aur package 'downgrade'
Avatar
btw instead of engineering a tool to manage sdl versions u can just install a old version till its fixed
14:26
pacman keeps atleast 3 versions
14:26
and u can pin the version u want
14:27
14:28
btw fd > find
14:29
there is aur/sdl2-git
14:29
to use sdl2 master
Avatar
any reason editor cursor moves so weird, or can i fix that
Avatar
chillerdragon BOT 2021-08-19 14:59:34Z
Took me 1 sec to add an alias to my bashrc that fixes my SDL version
troll 1
15:00
I started sdlvm after I already triaged the bug and downgraded my version. Because i think its convienient. Also I have no good expirience with -git aur packages i feel like they never update
15:02
@Ryozuki: why you use fd instead of find? what are the advantages you need? I find my self using fzf instead of find most of the time. Also fd is an alias to combine fzf with cd on my system
15:02
i also have fim to fuzzy open a file with vim :D
15:02
i like fzf a lot my ssh manager and password manager use it too
Avatar
chillerdragonb
15:26
ppl configure fzf to use fd to find files
15:26
fd has better defaults and works better with git etc
Avatar
chillerdragon BOT 2021-08-19 15:26:32Z
hm
Avatar
export FZF_DEFAULT_COMMAND='fd --type f'
Avatar
chilledragon
Avatar
chillerdragon BOT 2021-08-19 15:43:12Z
im not bought
Avatar
its also way faster
Avatar
chillerdragon BOT 2021-08-19 15:43:46Z
thats a selling point actually
15:44
but when im on a system where i depend on the speed of find it probably takes as long to install fd as it takes for the command to finish
15:44
sometimes ur rly stupid
15:44
xd
Avatar
chillerdragon BOT 2021-08-19 15:44:57Z
i barley search files in big dirs on my main systems
15:45
more in enviroments where my tool suites are not installed
Avatar
i wonder if fzf uses find by default
15:45
making fzf use fd makes it way faster
15:45
15:45
yep fzf uses find by default
Avatar
chillerdragon BOT 2021-08-19 15:51:17Z
image.png
15:51
haha wtf
15:51
why not a simple grep -o ?
15:52
yo @Ryozuki im currently trying to understand what gets run when i type ddnet in my gnome search and enter? Is there some .desktop file? Where is it located? Who provides the icon?
Avatar
idk bro
15:53
i dont use gnome
15:53
search urself
Avatar
chillerdragon BOT 2021-08-19 15:53:16Z
xd
15:53
arent u package maintainer?
15:53
do you have a icon for your ddnet in i3?
15:53
is it done by ninja install?
Avatar
no i dont have icons
Avatar
chillerdragon BOT 2021-08-19 15:54:10Z
oh wow
Avatar
no icon is installed by pkgbuild
Avatar
chillerdragon BOT 2021-08-19 15:54:12Z
poor u
Avatar
i dont need icons
15:54
i use rofi
Avatar
chillerdragon BOT 2021-08-19 15:54:24Z
wats dat
Avatar
search it
Avatar
chillerdragon BOT 2021-08-19 15:54:46Z
oh not i3 naymore?
15:55
ah wait
15:55
thats not an i3 replac,emt
15:55
looks like rofi could display icons tho
15:55
16:00
found it /usr/share/applications/ddnet.desktop
Avatar
i didnt do the version thing in pkgver
Avatar
chillerdragon BOT 2021-08-19 16:04:21Z
i didnt say that
16:04
i just yeeted it in this public space
16:06
omagawd i dont get those magic .desktop files tha bitch is not picking up my LD_LIBRARY_PATH env var
16:07
probably because its not sourcing my .bashrc
16:07
rude
Avatar
This would remove ui_mousesense and use the desktop cursor position instead for menus and editor This would also fix the editor cursor to not move faster than in menus. That's probably how most games would handle menus, instead of using relative mouse mode And this would work for touch inputs. The normal gameplay relative mouse is ofc NOT affected by any kind Opinions? Missing:
  • [ ] m_MouseSlow in menus
  • [ ] Make desktop cursor invisible

Checklist

  • [x] Tested the cha...
f3 2
Avatar
chillerdragon BOT 2021-08-19 18:09:32Z
@Patiga: since you also have SDL2 issues. If you plan to bisect I can recommend https://github.com/ChillerDragon/sdlvm i am using it right now it works like a charm
SDL version manager. Contribute to ChillerDragon/sdlvm development by creating an account on GitHub.
18:09
take commit hash git bisect gives you and runsdlvm install <commit>open new terminal and run DDNet
18:10
maybe step 0 would be todo sdlvm install latest && cd ~/.sdlvm/src && git bisect start && git bisect bad HEAD && git bisect good <good commit>
Avatar
chillerdragon BOT 2021-08-19 18:26:14Z
@Deleted User: ez found it btw only took a few days
Avatar
NICE
Avatar
whyats the commit
18:37
An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. - GitHub - NvChad/NvChad: An attempt to make neovim cli as functional as an IDE while being very bea...
18:37
looks so pretty
Avatar
chillerdragon BOT 2021-08-19 18:47:58Z
@Ryozuki: why do you care about the commit? Do you want to submit a SDL2 patch? Anyways here are my finindings if u care or wanna like/share/subscribe https://github.com/libsdl-org/SDL/issues/4674
Tabbing out of fullscreen SDL2 applications used to be instant for me. this commit introduced a black screen when tabbing in and out 8e35ff5 and this commit then changed the black screen to some so...
Avatar
Curiosity
Avatar
chillerdragon BOT 2021-08-19 18:49:01Z
go fix
Avatar
Im outside
18:55
greenthing
Avatar
chillerdragon BOT 2021-08-19 18:57:43Z
thanks for the like fan :)
18:57
wew i feel so good now it took so long at during some lows i thought it would never be fixed or i would also never find the commit due to xserver crashes
Avatar
how do I use grep to match lines that contain two different strings? I tried grep 'string1\|string2' *log* but this matches lines that contain either string1 or string2 ๐Ÿ‘€
19:02
sorry, I meant words, not strings justatest
Avatar
chillerdragon BOT 2021-08-19 19:02:55Z
use two greps
19:02
grep string1 | grep string2 *log*
19:03
?
19:03
whats the difference
19:03
do you need them to be word delimitered by spaces and commas or what?
Avatar
chillerdragon: should be grep string1 *log* | grep string2
Avatar
chillerdragon BOT 2021-08-19 19:13:10Z
ah ye
19:13
sure
Avatar
What is the External IP range used for when trying to port foward?
20:03
this field can't be ignored and I have no clue what to enter
Avatar
i think it's just the same port
Avatar
it needs to be a IP, not port
20:05
it wants you to guess how NAT will define your public IP
20:05
monkaS
20:06
what happens when you put 0.0.0.0 255.255.255.255
monkalaugh 1
20:06
troll
Avatar
fixes #3716

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://github.com/ddnet/ddnet/#using-addresss...
Exported 164 message(s)