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-12-09 00:00:00Z and 2022-12-10 00:00:00Z
02:01
Unfortunately other colors don't work
02:06
I know @Jupstar ✪ will be interested in reading this ^
Avatar
Again? Xd
Avatar
d61608b A Inception Oldschool - ddnet-maps
Avatar
3rd time
Avatar
A Rust framework for building Minecraft servers. Contribute to valence-rs/valence development by creating an account on GitHub.
Avatar
how to make custom guns :d?
Avatar
by putting another game.png in %appdata%/ddnet, for example https://forum.ddnet.org/viewtopic.php?f=6&t=506 (edited)
Avatar
Oh lol, didnt know you already read it, sorry
Avatar
I read it again xdd tho it was more scrolling over
Avatar
I made it act like a node.js console
14:45
It worked well but i was on phone and couldn't do more lines
14:45
But setting variables and making functions worked
14:46
Next time I need to install something really fast i'm gonna ask it to generate a powershell script for it
Avatar
Does anyone know a terminal sql client that can do postgres, mariadb, mysql?
Avatar
Why would you want one for all of them?
15:22
I think everyone just uses psql and mysql respectively
Avatar
Hm, just so I can have less packages on my system tbf 😄
Avatar
mysql works for mariadb and mysql since they are mostly compatible
Avatar
Also thought maybe there might be a client that's a little more ergonomic
Avatar
I really wouldn't want to deal with this imaginary tool not supporting the DBMS perfectly. Safest bet to use the standard cmd line tool
15:25
That said, google tells me https://github.com/xo/usql
Universal command-line interface for SQL databases - GitHub - xo/usql: Universal command-line interface for SQL databases
Avatar
Avatar
deen
I really wouldn't want to deal with this imaginary tool not supporting the DBMS perfectly. Safest bet to use the standard cmd line tool
Hm, at the end of the day, aren't you the one writing the queries? The client shouldn't really be doing much at all except maybe display some helpful visuals
Avatar
The client has to support the right data types and be able to display them properly, for example with jsonb
15:29
error messages have to contain all relevant information
15:30
many DBMSes have nice convenience functions like \dt
Avatar
btw u can prettyfy psql and sqlite
16:50
❯ cat .sqliterc #.mode column .headers on #.separator ROW "\n" .nullvalue NULL .mode line .timer ON
16:50
.psqlrc can be made too irc
16:50
i dont have one rn
Avatar
pipewire truly is the best thing since sliced bread 😄
17:13
I can mix sources however I want, I can put filter nodes inbetween for noise reduction, EQ
Avatar
what is that tool called?
17:16
looks fun
Avatar
qpwgraph
Avatar
so its just display?
17:16
or can u modify stuff there
Avatar
You can also manage the graph in cli but working with graphs one node/edge at a time is not pleasent
Avatar
Avatar
Jupstar ✪
or can u modify stuff there
I can change connections between nodes as I like here
Avatar
thats cool 😄
Avatar
Filter nodes are provided by 3rd party programs or you can create filter chains yourself in pipewire configs and the nodes will be created when pipewire launches
17:17
then you can wire them up however you like
Avatar
Avatar
Learath2
qpwgraph
When I saw this I thought it was gibberish xD. Really cool though
Avatar
You can also use lua to program what sources go to which sinks. I saw a guy who when he brings his laptop home it auto connects to his desktop so he gets only his notification audio on both headphones and a bluetooth speaker in the middle of his house
Avatar
@heinrich5991 RustVersionPrint in rust_version.cpp looks unused or is it there to understand how to call rust code from c++?
Avatar
it got unused somewhen
17:28
it was supposed to be called on server and client startup
17:28
but it got lost somewhen
Avatar
ok
Avatar
Avatar
deen
by putting another game.png in %appdata%/ddnet, for example https://forum.ddnet.org/viewtopic.php?f=6&t=506 (edited)
I mean a custom gun, like a shotgun that fires grenade shells x2
Avatar
Avatar
Ryozuki
Code
Is there any tutorial
18:46
or example of a custom gun
Avatar
life aint so easy
18:49
first know c++
18:49
then learn the codebase
18:50
This article aims to introduce you into DDNet development, since it's an open-source game, it relies on random people kind enough to contribute to it on their free time.
Avatar
Fixes #6106 Seems like I didn't if the rank got removed in the successful path before.

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 (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the cha...
Avatar
chillerdragon BOT 2022-12-09 21:09:39Z
Seems even less complete than feather but yea still cool (@Ryozuki)
21:09
chiller the downer
Avatar
how do you monitor service availability?
22:06
does someone have stories how they do it at work?
22:06
we usually only notice that something is down once users report it here
Avatar
have a separate serverr
22:07
pinging
Avatar
how do you set that up?
22:08
presumably also checking stuff like "enough servers in server list"?
22:08
large jumps in server number?
22:08
but how do you track that
Avatar
b5b15d2 Null-terminate string returned by mysql - def- ebe9024 Merge #6051 - bors[bot]
Avatar
f4517c1 Adapt move_sqlite.py script to _backup tables - def- 3b9725c Merge #6102 - bors[bot]
Avatar
7c46b51 Add button that tells you how to save power - def- f833095 Merge #6109 - bors[bot]
Avatar
Please do not update to newest version (master) on ddnet server, until https://github.com/ddnet/ddnet/issues/6107 is fixed: updating existing teamranks doesn't work (edited)
Avatar
@Avolicious ^
Avatar
9f1bbbe Remove successful queries from write backup - Zwelf 5290193 Merge #6110 - bors[bot]
Avatar
Fixes #6107

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#u...
Exported 89 message(s)