Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-11-25 00:00 and 2024-11-26 00:00
Avatar
Avatar
Learath2
50 cents is a very very fair price for setting up a server for someone
ye, but still its kinda strange for me
Avatar
ws-client BOT 2024-11-25 01:26
<ChillerDragon> @MilkeeyCat nice! I was actually aiming for that. It was on my bucket list to manage to do that once on github.
03:15
<ChillerDragon> bash is so flexible
Avatar
Avatar
ws-client
nonono thats a thing in bash?
04:16
its a command?
Avatar
@Jupstar ✪ have you found what causes https://github.com/ddnet/ddnet/issues/9228 to happen?
Example non black outline skin Custom colors enabled Custom colors enabled and dj used The back outline of the body is brighter than the front one when using custom colors, not sure when this was i...
Avatar
ws-client BOT 2024-11-25 08:28
<ChillerDragon> @Solly i implemented defer my self using eval and trap you dont wanna see the code. But I think it is neat that bash can implemnt such syntax you can even do named arguments if you want to.
poggers2 1
08:29
<ChillerDragon> eval is such a powerful tool
monkaS 1
Avatar
ChillerDragon
08:30
Is it possible to make a Python script that can log on to my server and send a certain message to the chat?
08:30
Exactly so that I can run this script on my phone or on my PC
Avatar
ws-client BOT 2024-11-25 08:31
<ChillerDragon> @MilkeeyCat i struggel with the conventional commit messages. I feel like I use "chore" way too much. But many things i do are neither refactors, fixes or features. Also not sure if I should use "doc" or "docs".
Avatar
Fifo
08:31
econ
Avatar
ws-client BOT 2024-11-25 08:32
<ChillerDragon> The word "feat" sounds so strong as if it claims to be a core feature of the project. Something a user of the software would notice and look for in the commit log. So if it is a tw network library a feature should implement parts of the protocol and not just tweak the cmake file to unlock some build feature.
Avatar
MilkeeyCat 2024-11-25 08:33
chillerdragon: I try to follow https://www.conventionalcommits.org/en/v1.0.0/
A specification for adding human and machine readable meaning to commit messages
Avatar
ws-client BOT 2024-11-25 08:33
<ChillerDragon> Is a typo in a commit really relevant enough to earn the "fix" badge?
08:33
<ChillerDragon> yea i red that still not too sure about it
Avatar
MilkeeyCat 2024-11-25 08:33
or slap chore and call it a day
Avatar
ws-client BOT 2024-11-25 08:33
<ChillerDragon> i never used BREAKING CHANGE: only feat!:
Avatar
MilkeeyCat 2024-11-25 08:33
Same
Avatar
ws-client BOT 2024-11-25 08:34
<ChillerDragon> i actually use conventional commits in twnet_parser and i automatically generate changelogs and the release script also automatically bumps to the correct next semver based on the conventional commits
Avatar
MilkeeyCat 2024-11-25 08:34
a commit that has a footer BREAKING CHANGE:, OR appends a ! after the type/scope
Avatar
ws-client BOT 2024-11-25 08:34
<ChillerDragon> and i check the conventional commit in the CI
08:35
<ChillerDragon> but after all this time it still feels weird
08:35
<ChillerDragon> > The type fix MUST be used when a commit represents a bug fix for your application.
08:35
<ChillerDragon> fixing a typo in a comment is not a bug fix in the application
Avatar
Avatar
arch1t3cht
client mod to replace rust in all messages
lmao he is deranged
Avatar
ws-client BOT 2024-11-25 08:37
<ChillerDragon> @Evelyn there is also announcements.txt which sends a list of messages to the chat there is no need to use a script for that
08:37
<ChillerDragon> if you want to chat from your phone i recommend to open a econ port on your server
Avatar
What I want is a Python script that kind of creates a bot that can log on to the server and perform any action
Avatar
Koll Potato 2024-11-25 08:52
wtf
08:53
just write a library which connects to ddnet servers
08:53
chiller has one but in ruby
😭 1
Avatar
Can I see it?
Avatar
Koll Potato 2024-11-25 09:18
A teeworlds 0.7 network protocol library written in ruby - ChillerDragon/teeworlds_network
Avatar
# Import required libraries from teeworlds_network require_relative 'path_to/teeworlds_client' # 1. Initialize the client # Create a new instance of TeeworldsClient with verbose output enabled client = TeeworldsClient.new(verbose: true) # 2. Set up event handlers # This block is triggered when the client successfully connects to a server client.on_connected do puts "Successfully connected to the server!" # Send an initial message to the chat client.send_chat("Hello, DDNet!") end # This block is triggered whenever a new chat message is received client.on_chat do |message| puts "New chat message received: #{message}" end # This block is triggered when the connection to the server is lost client.on_disconnect do puts "Disconnected from the server." end # 3. Connect to the server # Specify the IP address and port of the target server server_ip = "127.0.0.1" # Replace with the server's IP server_port = 8303 # Replace with the server's port client.connect(server_ip, server_port) # 4. Perform additional actions # For example, authenticate with RCON (if required) rcon_password = "your_rcon_password" client.send_chat("/login #{rcon_password}") # 5. Start a loop to keep the script running and processing events loop do # You can add logic here for commands, periodic actions, etc. sleep 1 end
09:24
normal?
Avatar
Are we really supposed to debug AI code in #developer @Evelyn ?
Avatar
What does it matter about the origin of this script? I asked if he was normal
Avatar
holy shit
Avatar
^ this is how voldermort spam bots work x-x
Avatar
why is chiller even helping this guy
09:29
he is just asking for free work
Avatar
¯\_(ツ)_/¯
Avatar
Avatar
Ryozuki
why is chiller even helping this guy
Koll Potato 2024-11-25 09:30
a good person doesn't belong in the cruel world
Avatar
meh it's up to chiller, if he wants to spend his time helping Evelyn it's obviously his ""problem"", but I'm not sure about asking for help on AI generated code :(
Avatar
if its only chiller, can u move this to dms
09:32
oh he is not in discord
09:32
welp
Avatar
Go matrix dms
Avatar
Evelyn zillyhuhn when
Avatar
move it to matrix
Avatar
Koll Potato 2024-11-25 09:32
yea
Avatar
Avatar
meloƞ
Evelyn zillyhuhn when
sillychicken
Avatar
Koll Potato 2024-11-25 09:33
i'm checking this channel for some epic dev stuff but i only see evelyn asking chiller for help
Avatar
dev channel for devs pls
09:33
not "i have a idea guys"
Avatar
Avatar
Ryozuki
not "i have a idea guys"
Hey Ehm so for a school project you know, like my teacher asked for it.. Ehm can you give me code on how to avoid freeze on my tee character? You know I want to make game accessible for people that are disabled, so Ehm.. yeah If you could help that would be awesome! Best regards Max mustermann
troll 2
09:36
I've been mentioned more times than I asked for lol
Avatar
♂S1mple♂ 2024-11-25 10:08
Nah, asking people to debug ai generated code for free is crazy
Avatar
Does anyone know, if and where a map stores the version of the client it's created with?
Avatar
checked the map-directory with twmap, and the files only contained { "type": "ddnet06", "created_by": "twmap 0.12.4" } So I guess the info i am searching for is simply not there
10:23
So there is no way to know by what client version a map was created by 😦
Avatar
Koll Potato 2024-11-25 10:24
why would you want that
10:24
thonk
Avatar
imagine all older versions have a bug so you can check against this
Avatar
Koll Potato 2024-11-25 10:25
epic
Avatar
why wouldn't you want that, this is reproducability
10:25
I am a scientist and I want to reliably reproduce my editor experiments /s (edited)
10:27
please at least contain a date, I think i have to go with the file date instead
Avatar
i would say yes
10:37
or wait
10:37
maybe not
Avatar
it's a bit annoying having to use grep -A1 or grep -B1 just to figure out the client ID, address, or player name. It would be much better if "player" in the server log line was replaced with the actual player name, so everything could be found in one line (and it would be easier to regex as well). 2024-11-25 06:54:32 I server: User has entered the game. ClientId=ID addr=<{...}> sixup=0 2024-11-25 06:54:32 I chat: *** 'User' entered and joined the game
Avatar
Avatar
Evelyn
# Import required libraries from teeworlds_network require_relative 'path_to/teeworlds_client' # 1. Initialize the client # Create a new instance of TeeworldsClient with verbose output enabled client = TeeworldsClient.new(verbose: true) # 2. Set up event handlers # This block is triggered when the client successfully connects to a server client.on_connected do puts "Successfully connected to the server!" # Send an initial message to the chat client.send_chat("Hello, DDNet!") end # This block is triggered whenever a new chat message is received client.on_chat do |message| puts "New chat message received: #{message}" end # This block is triggered when the connection to the server is lost client.on_disconnect do puts "Disconnected from the server." end # 3. Connect to the server # Specify the IP address and port of the target server server_ip = "127.0.0.1" # Replace with the server's IP server_port = 8303 # Replace with the server's port client.connect(server_ip, server_port) # 4. Perform additional actions # For example, authenticate with RCON (if required) rcon_password = "your_rcon_password" client.send_chat("/login #{rcon_password}") # 5. Start a loop to keep the script running and processing events loop do # You can add logic here for commands, periodic actions, etc. sleep 1 end
Please respond
Avatar
Avatar
murpi
it's a bit annoying having to use grep -A1 or grep -B1 just to figure out the client ID, address, or player name. It would be much better if "player" in the server log line was replaced with the actual player name, so everything could be found in one line (and it would be easier to regex as well). 2024-11-25 06:54:32 I server: User has entered the game. ClientId=ID addr=<{...}> sixup=0 2024-11-25 06:54:32 I chat: *** 'User' entered and joined the game
try "ripgrep"
10:40
but yeah
Avatar
Does this even work with 0.6?
Avatar
Avatar
Evelyn
Please respond
♂S1mple♂ 2024-11-25 10:42
It's crazy how you avoid doing anything yourself
Avatar
At least if this script works, then in fact I didn't ask anyone here to do it.
Avatar
Avatar
♂S1mple♂
It's crazy how you avoid doing anything yourself
he would make a fine CEO kek
Avatar
No you asked AI and instead of testing it yourself you asked us if it's "normal" which implies you want US to test YOUR script that you got from AI monkaStop
10:44
At this point just pay someone to do it NotLikeKogasa
Avatar
Avatar
meloƞ
No you asked AI and instead of testing it yourself you asked us if it's "normal" which implies you want US to test YOUR script that you got from AI monkaStop
This seems part of chillers https://github.com/ChillerDragon/teeworlds_network library made for 0.7 ^^
10:45
(hence my question whether this even works for 0.6)
Avatar
I just want you to tell me if this code can work at all
Avatar
♂S1mple♂ 2024-11-25 10:46
Put it in the game and see yourself
10:46
Bruh
Avatar
Please advise IDLE for Ruby
Avatar
If this is just a chatbot that works only for 0.7, you could probably rewrite something similar that simply reads the server chat log and sends responses through the input FIFO xd @Ryozuki Didn't you do something similar? (edited)
Avatar
I want to make a script like a bot that can log on to any server and execute any command, such as a chat message
Avatar
♂S1mple♂ 2024-11-25 10:49
Why it should be a bot in the first place
Avatar
Because a person will not be able to do 1 action indefinitely
Avatar
Ok you are basically asking for the same thing those spam advertising bots are doing
Avatar
cyberfighter 2 2024-11-25 10:52
lmao
Avatar
I'm not going to do any advertising.
Avatar
What is your goal?
Avatar
You can say it like dummy
Avatar
GitHub BOT 2024-11-25 10:57
a01bb18 Add 44 € funding for RUS by BratOK - def-
Avatar
Avatar
GitHub
Click to see attachment 🖼️
add google search engine for free funding
11:06
x-x
11:07
https://ddnet.org/funding/ wait this is sorta an account system
11:07
if you ahve ur ign in here, and have a paypal reciet u can prov e its you x-x
Avatar
Avatar
GitHub
Click to see attachment 🖼️
спасибо @BratOK
Avatar
Avatar
murpi
If this is just a chatbot that works only for 0.7, you could probably rewrite something similar that simply reads the server chat log and sends responses through the input FIFO xd @Ryozuki Didn't you do something similar? (edited)
A bot that uses server logs to listen for commands and send answers with fifo, made with python (DDnet) - edg-l/PyBot
Avatar
Old but gold for some people cough
Avatar
Avatar
zhn
спасибо @BratOK
cyberfighter 2 2024-11-25 11:30
spasibo to you too
Avatar
i tried this and its kindas nice https://umami.is/
11:32
its like a tracker for webs but it doesnt store personal info and self hosted
11:33
gdpr compliant
Avatar
Avatar
murpi
Does this even work with 0.6?
Koll Potato 2024-11-25 11:50
afaik 0.7 clients can connect to ddnet 0.6 servers but not to vanilla 0.6 servers
Avatar
is censorlist.txt simple string matching?
Avatar
Avatar
zhn
спасибо @BratOK
Всегда пожалуйста!
❤️ 1
Avatar
Avatar
Koll Potato
afaik 0.7 clients can connect to ddnet 0.6 servers but not to vanilla 0.6 servers
Koll Potato 2024-11-25 12:10
i doubt that now
12:10
While being fully teeworlds compatible ddnet added its own extensions. Meaning vanilla 0.6 teeworlds clients can join ddnet servers and ddnet clients can join 0.6 vanilla teeworlds servers.
12:11
from the chiller's protocol documentation
12:11
0.7 servers are almost non existent
12:13
maybe that library was chiller's attempt to revive it
Avatar
ws-client BOT 2024-11-25 12:29
<ChillerDragon> jupstar are you still around?
12:31
<ChillerDragon> @murpi my lib can only connect to 0.7 servers so no it does not work for 0.6 but that should be fine. ddnet servers accept 0.7 connections so unless you are running some ancient server it should be all smooth.
12:32
<ChillerDragon> @jxsl13 yes
Avatar
ChillerDragon
Avatar
ws-client BOT 2024-11-25 12:32
<ChillerDragon> gtg
Avatar
Avatar
Evelyn
# Import required libraries from teeworlds_network require_relative 'path_to/teeworlds_client' # 1. Initialize the client # Create a new instance of TeeworldsClient with verbose output enabled client = TeeworldsClient.new(verbose: true) # 2. Set up event handlers # This block is triggered when the client successfully connects to a server client.on_connected do puts "Successfully connected to the server!" # Send an initial message to the chat client.send_chat("Hello, DDNet!") end # This block is triggered whenever a new chat message is received client.on_chat do |message| puts "New chat message received: #{message}" end # This block is triggered when the connection to the server is lost client.on_disconnect do puts "Disconnected from the server." end # 3. Connect to the server # Specify the IP address and port of the target server server_ip = "127.0.0.1" # Replace with the server's IP server_port = 8303 # Replace with the server's port client.connect(server_ip, server_port) # 4. Perform additional actions # For example, authenticate with RCON (if required) rcon_password = "your_rcon_password" client.send_chat("/login #{rcon_password}") # 5. Start a loop to keep the script running and processing events loop do # You can add logic here for commands, periodic actions, etc. sleep 1 end
In theory, can this script work?
Avatar
Koll Potato 2024-11-25 12:33
oh they do accept 0.7 connections
12:33
epic
Avatar
ws-client BOT 2024-11-25 12:34
<ChillerDragon> in theory everything produced by chatgpt can be hallucinated in practice everything that is in my official example from the readme just straight up works thats all the time i have right now
Avatar
I'll read it now
12:36
require_relative 'lib/teeworlds_client' client = TeeworldsClient.new(verbose: false) client.on_chat do |_, msg| # note use `next` instead of `return` in the block next unless msg.message[0] == '!' case msg.message[1..] when 'ping' then client.send_chat('pong') when 'whoami' then client.send_chat("You are: #{msg.author.name}") when 'list' then client.send_chat(client.game_client.players.values.map(&:name).join(', ')) else client.send_chat('Unknown command! Commands: !ping, !whoami, !list') end end # properly disconnect on ctrl+c Signal.trap('INT') do client.disconnect end # connect to localhost and block the current thread client.connect('localhost', 8303, detach: false)
12:36
If I specify my IP address and the desired port here, will it work?
Avatar
Koll Potato 2024-11-25 12:38
idk test it yourself
Avatar
😢 no regex
Avatar
GitHub BOT 2024-11-25 12:47
d910d13 Overhaul console design: replace background, improve contrast - Robyt3 c14874f Merge pull request #9233 from Robyt3/Client-Console-Design-Overhaul - def-
Avatar
ws-client BOT 2024-11-25 13:26
<ChillerDragon> @Evelyn you need a maps7/ directory next to your maps/ directory on your server with the same map names for 0.7 otherwise your server shuts off the 0.7 bridge
poggers2 1
13:32
<ChillerDragon> @murpi yes the client sends startinfo before entergame so in https://github.com/ddnet/ddnet/blob/f27be0537175ee8053183ccc77a9d00a21c9e0c4/src/engine/server/server.cpp#L1612
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
13:33
<ChillerDragon> and it is indeed a common log parsing pain which requires state
Avatar
chillerdragon: poggers2 when qol pr?
Avatar
Koll Potato 2024-11-25 13:35
redesign ddnet protocol when poggers2
13:35
idk why but why not
Avatar
ws-client BOT 2024-11-25 13:35
<ChillerDragon> @Ryozuki the ready message is actually sent before the player sends its name
Avatar
qol changes > everything else
Avatar
Koll Potato 2024-11-25 13:35
the only weird thing in protocol imo is that there are 3 types of messages
Avatar
when colors in rcon console
Avatar
ws-client BOT 2024-11-25 13:36
<ChillerDragon> @murpi yeah sounds good dont forget to ping @jxsl13 in the pr
Avatar
Avatar
Koll Potato
the only weird thing in protocol imo is that there are 3 types of messages
connless, system, game
Avatar
ws-client BOT 2024-11-25 13:37
<ChillerDragon> is that the order? @fokkonaut
Avatar
i think?
Avatar
Avatar
fokkonaut
connless, system, game
Koll Potato 2024-11-25 13:37
what about control xd
Avatar
ws-client BOT 2024-11-25 13:37
<ChillerDragon> nah
Avatar
Avatar
Koll Potato
what about control xd
Ah you mean those
13:37
Yea
Avatar
ws-client BOT 2024-11-25 13:37
<ChillerDragon> connless is only for master stuff so its optional in the connection process
13:37
<ChillerDragon> sys and game are mixed in order
Avatar
Koll Potato 2024-11-25 13:37
oh
13:38
so there is a reason for that?
Avatar
Definitely
Avatar
Koll Potato 2024-11-25 13:38
i thought it was just a random decision xd
Avatar
connless is for when you're not connected to the server
13:38
control starts when you have a slot already on the server
Avatar
ws-client BOT 2024-11-25 13:38
<ChillerDragon> those are the message sent by ddnet server and client up until the code line murpi linked and highlighted in blue is the player name message
13:39
<ChillerDragon> the second highlight -.-
Avatar
then some handshake takes place, player gets inserted, system messages start, info, map, etc. then after the connection is established, the client sends it's own info like playername and skin (in game context already, but still a system msg). Then, the client is ready to enter the game
13:39
and game messages start
Avatar
I was pinged, log parsing mentioned?
Avatar
ws-client BOT 2024-11-25 13:39
<ChillerDragon> yes
Avatar
and as chiller said, system and game messages can be mixed, so while ingame you can receive specific system msgs aswell
13:41
@Koll Potato control messages are also used when you want to disconnect. The server will tell you to drop using Control messages aswell
Avatar
ws-client BOT 2024-11-25 13:41
<ChillerDragon> @Evelyn btw i also got a python library for clients but imo the ruby one is way easier to use
Avatar
Avatar
fokkonaut
and game messages start
Koll Potato 2024-11-25 13:41
no system messages are sent after game messages?
Avatar
Avatar
fokkonaut
and as chiller said, system and game messages can be mixed, so while ingame you can receive specific system msgs aswell
^
Avatar
ws-client BOT 2024-11-25 13:41
<ChillerDragon> @Koll Potato look at the screenshot alone
13:41
<ChillerDragon> game startinfo is sent before sys enter game
Avatar
Koll Potato 2024-11-25 13:42
yeah i see now
Avatar
ws-client BOT 2024-11-25 13:42
<ChillerDragon> and inputs are also system messages they are sent all the time
Avatar
For example, rcon is a system message. It's from the deeper engine server code. Game messages usually mean from the game context itself.
Avatar
Avatar
ws-client
<ChillerDragon> and inputs are also system messages they are sent all the time
inputs are also handled on the engine level at first
13:42
then redirected to the game context
Avatar
Koll Potato 2024-11-25 13:42
thanks for telling me this epic network stuff
Avatar
ws-client BOT 2024-11-25 13:43
<ChillerDragon> yea the game vs system is really about where they are in the code
Avatar
Koll Potato 2024-11-25 13:43
i luv u @fokkonaut and ChillerDragon
Avatar
you're welcome
Avatar
Koll Potato 2024-11-25 13:43
brownbear
Avatar
ws-client BOT 2024-11-25 13:48
<ChillerDragon> when was this star particle effect added to ddnet? https://zillyhuhn.com/cs/.1732542500.png
Avatar
ChillerDragon: for /invincible command
Avatar
ws-client BOT 2024-11-25 13:50
<ChillerDragon> i did not get a notification from my mod relevant label bot
13:51
<ChillerDragon> thanks btw @louis
Avatar
Avatar
ws-client
<ChillerDragon> @Evelyn btw i also got a python library for clients but imo the ruby one is way easier to use
Can you give it to me?
Avatar
bros about to spam all servers on master smh
Avatar
I have a ruby interpreter that does not want to be installed
Avatar
Avatar
zhn
bros about to spam all servers on master smh
No, I'm going to use it as a "dummy"
Avatar
Avatar
Evelyn
No, I'm going to use it as a "dummy"
dummy for what
Avatar
For example, implement the settings on YOUR server....
Avatar
Avatar
Evelyn
For example, implement the settings on YOUR server....
tf ur talking about
Avatar
You want to remotely access multiple servers to execute rcon commands? thisemoji
14:54
Use a discord bot/econ
Avatar
Hiiii chiller
Avatar
use discord bot + bash file + fifo file to do what you want or remove discord and use directly execute bash to execute rcon commands on your servers fifo file
Avatar
Avatar
meloƞ
Use a discord bot/econ
Senpai what distro are you using ?
Avatar
I want to create a bot that can send messages in chat and perform any action in the game
Avatar
Avatar
Evelyn
I want to create a bot that can send messages in chat and perform any action in the game
Only on your own servers?
Avatar
are you using linux or trash ?
Avatar
ubuntu
Avatar
nice
15:05
then you can create your discord bot with any language you want implement to send your command to fifo file of your server
Avatar
Avatar
Evelyn
ye
Then code your bot in the ddnet src instead of using external stuff
Avatar
Avatar
Peakies
Senpai what distro are you using ?
the only real one
15:06
NixOS
Avatar
#!/usr/bin/env zsh message="test text to broadcast and say" echo "broadcast \"$message\"; say \"$message\"" > /home/Vexar/DDNet/8303.fifo
15:06
example of using fifo to broadcast and say
15:07
it's on bash file you can do directly by your bot
Avatar
Avatar
meloƞ
NixOS
is it arch base or debian ?
Avatar
arch.. debian..
15:07
you make me sick!
Avatar
NixOS is it's own distinct distro, own package manager and system configuration approach (edited)
Avatar
it's fully declarative
Avatar
nice
Avatar
I don't want to use discord bots, because you can connect a bot directly through the teeworlds network, as well as scripts to my liking. I'm waiting for a response from ChillerDragon about python teeworlds network
Avatar
hmm
15:09
then we are stop talking until you get response from Chilly Dragon
Avatar
Avatar
meloƞ
it's fully declarative
and another question what's your recommendation for desktop manager, gnome or plasma ?
Avatar
Avatar
Peakies
and another question what's your recommendation for desktop manager, gnome or plasma ?
neither, i3
15:10
imagine needing a Desktop environment
15:10
couldnt be me
15:11
but i'm on sway rn, to be fair - but given it's a drop in replacement for i3 i didnt really notice any difference
15:11
just that i need to run xwayland now
15:11
..for DDNet to launch..
Avatar
If you want to make it even more annoying for yourself bspwm is very minimal
Avatar
no I like i3 more than anything in past I used i3 and that was really cool for programming and even multimedia usage
15:14
okey then "NixOS I3", I'm coming for you 😉
Avatar
gentoo pls
Avatar
no please
15:15
that's not for me right now (edited)
15:15
gentoo is on next level
Avatar
Avatar
Peakies
and another question what's your recommendation for desktop manager, gnome or plasma ?
i3 is good
15:17
ey are there any good alternatives to picom on xorg? (edited)
Avatar
Avatar
Peakies
okey then "NixOS I3", I'm coming for you 😉
mate, nixos is harder to get used to than gentoo
15:23
gentoo is a one time setup nixos is FULLY FULLY FULLY declarative, you need to learn the language: nix need to learn how to setup your SYSTEM with nix etc
Avatar
that sound like challenge hmm
Avatar
do it like @Nagi01 {LAN} - setup nix in a VM, get used to it, and then do the switch
Avatar
@meloƞ do u use nix with native march
Avatar
or even better, just use nix right now! the package manager works outside of the distribution
Avatar
Avatar
meloƞ
do it like @Nagi01 {LAN} - setup nix in a VM, get used to it, and then do the switch
Nagi01 {LAN} 2024-11-25 15:24
True story, but i was using nix for a long time before 😄
Avatar
then maybe I should stay as trash user
Avatar
Avatar
Ryozuki
@meloƞ do u use nix with native march
the compiler flag? kek
Avatar
yeah
15:24
compile with native cpu features
Avatar
nah i didnt bother
Avatar
ofc u didnt
15:25
i tried back then
15:25
it was awful
Avatar
Nagi01 {LAN} 2024-11-25 15:25
What is the point to use gentoo ?
Avatar
absolute control
Avatar
with gentoo u have absolute control indeed
15:26
for example say there is package X and it has a list of optional dependencies and features
15:26
u can select to enable or disable them
15:26
you also can compile the packages using ur native cpu feature set
15:26
distros use x86_64 v0 (edited)
15:27
i use v4
Avatar
Nagi01 {LAN} 2024-11-25 15:27
Interesting
Avatar
a few things like deselecting deps can be done on nix aswell
Avatar
Nagi01 {LAN} 2024-11-25 15:27
But now ill never leave nixos
Avatar
Avatar
meloƞ
a few things like deselecting deps can be done on nix aswell
Nagi01 {LAN} 2024-11-25 15:27
Yes i was about to say it xd
15:27
v1*
Avatar
you guys like living with linux and even sleeping with your os at night, I just compile some sources or maybe playing some games (edited)
Avatar
kek - Ryozuki is a Gentoo chad me and nagi live in the nix world
Avatar
then I don't thing Nix or Gentoo is good for me
Avatar
Avatar
Peakies
you guys like living with linux and even sleeping with your os at night, I just compile some sources or maybe playing some games (edited)
i also play some games
Avatar
they're basically nerdy distros, not really useful for people who just want stuff to work out of the box
Avatar
Avatar
meloƞ
kek - Ryozuki is a Gentoo chad me and nagi live in the nix world
Ryo are defender of Rust and Gentoo community 😄
Avatar
hey i also code in rust™️ (edited)
Avatar
Avatar
Ryozuki
i also play some games
most of games isn't fully support on linux yet
Avatar
Avatar
Peakies
then I don't thing Nix or Gentoo is good for me
Nagi01 {LAN} 2024-11-25 15:29
Nix(OS) requires a lot of investment is you want to make cool thing but you can totally write a simple configuration
Avatar
Avatar
Peakies
most of games isn't fully support on linux yet
false
Avatar
Avatar
meloƞ
hey i also code in rust™️ (edited)
yeah but not like ryo
Avatar
Gentoo ❤️
Avatar
i know a single brand that doesn't work on any linux kernel/distro
15:29
Riot Games
Avatar
other than that? never really had problems
Avatar
I don't care about riot game 😄
Avatar
ddnet is a linux first game (edited)
15:30
u get more support on linux than windows
Avatar
I still keep a windows install mostly for riot games games
Avatar
with your gif it's hard to denied that I love to use gentoo or nix 😄
Avatar
Ryo what's the highest FPS you tickled out of DDNet?
15:30
i peaked at 23K
15:30
the coil whine was crazy.. poor thing
Avatar
how u peak that high
15:30
ur pc is same as mine nearly
Avatar
different GPU
Avatar
idk it shows always the same fps no matter what i do
15:31
5k
15:31
i have a 3080
Avatar
you're on nvidia arent you?
15:31
amd masterrace
Avatar
i use a amd cpu
Avatar
Avatar
Learath2
I still keep a windows install mostly for riot games games
well I have to use dual boot for my systems I can't fully uninstall windows for now
Avatar
btw im on the "open source" nvidia made drivers
Avatar
I prefer to not share my spec 🙂
15:32
their ghz can eat or house fuck
15:32
😄
Avatar
how you got 0.07 gb more RAM >:c ... shitgame
Avatar
u know why my uptime is 27 mins?
15:32
27 mins ago i typed pkill xinit by mistake
15:32
KEKW
Avatar
pepeW how does one... accidentally type that
Avatar
wanted to pkill xivlauncher
15:33
MonkaChrist
Avatar
if you named Ryozuki maybe
Avatar
montikboom 2024-11-25 15:33
is this w or not
Avatar
i forgot i had the default keybind to pkill -f sway setup once accidentally shutdown my WM in a 2 1/2 h run on DDNet :)
Avatar
Avatar
montikboom
is this w or not
big L - client's dont even support 64+p (edited)
Avatar
Avatar
meloƞ
big L - client's dont even support 64+p (edited)
montikboom 2024-11-25 15:34
i already started server with it
Avatar
they can connect to server but it's broken on clients
Avatar
montikboom 2024-11-25 15:34
everything fine
Avatar
so in total it's broken
Avatar
Avatar
montikboom
is this w or not
montikboom 2024-11-25 15:34
also can i get it to 2000+ players?
Avatar
you set up a server with 136 dead slots (edited)
Avatar
try to connect some debug dummy and check scoreboard and etc
Avatar
Avatar
meloƞ
you set up a server with 136 dead slots (edited)
I can do it with infinite slots, but not working on ddnet's network base caclculation for rendering tee and etc
15:36
maybe juppy could do it easily on his Rust version of server but on c++ it's working like shit
Avatar
montikboom 2024-11-25 15:36
is ddnet++ have bugs more than working things?
Avatar
@Nagi01 {LAN} ofborg being annoying again gg
Avatar
Avatar
meloƞ
you set up a server with 136 dead slots (edited)
There is a possibility that he used fokkonauts patch but upped it to 200
Avatar
Avatar
Learath2
There is a possibility that he used fokkonauts patch but upped it to 200
that patch has completely done ?
Avatar
Avatar
Peakies
that patch has completely done ?
It's mostly fine except for a few bugs
Avatar
then it's still need more work to do
15:42
have redesign for scoreboard too ?
15:42
to show more than 64 clients
Avatar
Avatar
meloƞ
@Nagi01 {LAN} ofborg being annoying again gg
Nagi01 {LAN} 2024-11-25 15:42
Tf, i thought you already reviewed this xd
Avatar
i did -.-
Avatar
Avatar
Peakies
have redesign for scoreboard too ?
I think robyt3 had one
Avatar
nice
Avatar
Avatar
Learath2
I think robyt3 had one
upstream teeworlds had a scrolling scoreboard PR - which was implemented meh, but the idea was good (edited)
Avatar
The scoreboard already supports 128 players. But more seems unrealistic without either cutting some info like clans and country flags or making it scrollable (which would be less convenient to use and requires more work if you want to make it a proper UI)
Avatar
i dont know why we need to show every player ever if theres gonna be so many people
Avatar
why not just like, the top 10 and then where you are, surrounded by a few close ranks if there are any
Avatar
Avatar
Avatar
Voxel
why not just like, the top 10 and then where you are, surrounded by a few close ranks if there are any
I'm not sure if players wouldn't find this confusing because they expect that all players can also be found in the scoreboard. Though I think with the 128 backwards compatiblity that would already be the default behavior (only players close to each other are sent to each other to get around the 64 player limit).
Avatar
Avatar
meloƞ
i did -.-
Nagi01 {LAN} 2024-11-25 16:04
So why
Avatar
no idea >:c
Avatar
Avatar
Ryozuki
btw im on the "open source" nvidia made drivers
they are p good for me
Avatar
Avatar
Robyt3
Click to see attachment 🖼️
@meloƞ Imagine moderating this
16:16
This will be your future greenthing
Avatar
Avatar
murpi
@meloƞ Imagine moderating this
250 ecto's monthly ...
Avatar
guys one of those nameless tee is hacking WHICH OF THE 3923 PLAYING RIGHT NOW?
Avatar
Avatar
Peakies
and another question what's your recommendation for desktop manager, gnome or plasma ?
use GNOME if you want to use computer without headache use KDE if you also want to game use a tiling WM if you want to rice which it sounds like u dont
16:17
u can rice ur stacking wm but unixporn will call u mean names
Avatar
Avatar
meloƞ
guys one of those nameless tee is hacking WHICH OF THE 3923 PLAYING RIGHT NOW?
Ohoho, no, imagine them having cyrllic names. You really think you have the luxury to simply type out their name?
16:19
definitely a unique challenge
Avatar
Maybe someone has a link to the github teeworld network written in python?
Avatar
Avatar
murpi
Ohoho, no, imagine them having cyrllic names. You really think you have the luxury to simply type out their name?
monkaStop
Avatar
Avatar
Ewan
use GNOME if you want to use computer without headache use KDE if you also want to game use a tiling WM if you want to rice which it sounds like u dont
thank you ❤️
Avatar
Avatar
Evelyn
Maybe someone has a link to the github teeworld network written in python?
do you mean a server
16:19
i have no idea about it
Avatar
Avatar
murpi
Ohoho, no, imagine them having cyrllic names. You really think you have the luxury to simply type out their name?
u should be able to spec and get ur cursor out to click somebody and just ban them tbh
16:20
one day
Avatar
Avatar
ws-client
<ChillerDragon> @Evelyn btw i also got a python library for clients but imo the ruby one is way easier to use
That's what I mean.
Avatar
python client
16:22
oh no
Avatar
I recently wrote code to test memory latency under load, seeking to reproduce data in various presentations with bandwidth on the X axis and latency on the Y axis.
Avatar
Avatar
murpi
Ohoho, no, imagine them having cyrllic names. You really think you have the luxury to simply type out their name?
I think we have an issue for supporting chat autocompletion of names with transliteration, but we'd have to find a library to do that
Avatar
Avatar
Robyt3
I think we have an issue for supporting chat autocompletion of names with transliteration, but we'd have to find a library to do that
Scoreboard overhaul! Integrate it into the ESC menu, allowing ppl to clickily click on names to either copy or spectate them!
🫡 1
Avatar
Yeah, if we make the scoreboard scrollable it would be like in CSGO/CS2 where you can bring up a cursor and right-click players to open a context menu to mute, report etc.
Avatar
Or that 😄
Avatar
couldn't we reuse the spectator menu bind instead of right click
Avatar
@Sv1ntus #off-topic
Avatar
[cmake] CMake Error at CMakeLists.txt:646 (message): [cmake] You must install Rust and Cargo to compile DDNet how to fix this shit bruh
16:42
i reinstalled rust 3 times
Avatar
Avatar
Robyt3
Yeah, if we make the scoreboard scrollable it would be like in CSGO/CS2 where you can bring up a cursor and right-click players to open a context menu to mute, report etc.
that would be awesome
Avatar
Avatar
lio
[cmake] CMake Error at CMakeLists.txt:646 (message): [cmake] You must install Rust and Cargo to compile DDNet how to fix this shit bruh
What is the output of rustup show?
Avatar
Default host: x86_64-unknown-linux-gnu rustup home: /home/lio/.rustup stable-x86_64-unknown-linux-gnu (default) rustc 1.82.0 (f6e511eec 2024-10-15)
Avatar
did u install a toolchain (edited)
16:46
rustup toolchain install stable
16:47
oh yeah u did
Avatar
Avatar
lio
Default host: x86_64-unknown-linux-gnu rustup home: /home/lio/.rustup stable-x86_64-unknown-linux-gnu (default) rustc 1.82.0 (f6e511eec 2024-10-15)
Try to run rustc and cargo. Both should print something instead of "Could not find rustc/cargo", otherwise you either didn't install them correctly or you have to add them to your PATH variable manually
Avatar
rustc and cargo works and asks for a command
Avatar
say which cargo
Avatar
Avatar
Ewan
say which cargo
/home/lio/.cargo/bin/cargo
Avatar
do you use a different shell to build
16:49
or an IDE or smth
Avatar
im using vscodium bruh
Avatar
ok bruh
16:50
open a terminal in there and if cargo not found then you need to add it to your config, perhaps in your workspace
16:51
if in your shell where you call cargo & it succeeds, and the following command(s) also succeed, you just need your PATH to be updated within your ide cmake -B build -S && cmake --build build
16:51
that's roughly analagous to the run button in vscode
16:53
i get around this problem entirely by using direnv + the vscode extension, which lets me define environment variables & much more (it integrates with another config file inside my per-project repos which tells it what packages are needed for development in this dir, among other things)
Avatar
Avatar
Ewan
if in your shell where you call cargo & it succeeds, and the following command(s) also succeed, you just need your PATH to be updated within your ide cmake -B build -S && cmake --build build
it worked but /usr/lib/x86_64-linux-gnu/libfreetype.so', needed by 'DDNet'
16:54
missing
Avatar
install freetype(2?)
16:54
which distro? the pkg is called differently
16:54
there are package lists for all common distros in the readme
Avatar
crystal linux (edited)
16:56
archbased
Avatar
if it uses the same pkg repos sudo pacman -S --needed base-devel cmake curl ffmpeg freetype2 git glew glslang gmock libnotify libpng opusfile python rust sdl2 spirv-tools sqlite vulkan-headers vulkan-icd-loader wavpack x264
16:57
otherwise... you'll have to look the packages up
16:57
you can remove rust from that list, u have it already w rustup
16:58
sudo pacman -S --needed base-devel cmake curl ffmpeg freetype2 git glew glslang gmock libnotify libpng opusfile python sdl2 spirv-tools sqlite vulkan-headers vulkan-icd-loader wavpack x264
Avatar
error: '/usr/lib/libGLEW.so', needed by 'DDNet
16:58
i have glew
Avatar
Avatar
lio
error: '/usr/lib/libGLEW.so', needed by 'DDNet
in vscodium build
16:59
and still error: '/usr/lib/x86_64-linux-gnu/libfreetype.so', needed by 'DDNet' in terminal (edited)
Avatar
/usr/lib/x86_64-linux-gnu looks a little suspicious to me, i don't think arch will typically use a nested target arch dir like this for the native architecture (edited)
17:00
but idk what crystal linux is or what it does
17:01
but i actually dont know where that is coming from either, supposedly pkg-config is providing .pc files which point to that directory, but if the library doesn't exist then that's just wrong
17:02
i havent a x86-linux-gnu folder
17:02
wait what
17:02
x86_64 x86_64-linux-gnu-c++ x86_64-linux-gnu-g++ x86_64-linux-gnu-gcc x86_64-linux-gnu-gcc-ar x86_64-linux-gnu-gcc-nm x86_64-linux-gnu-gcc-ranlib x86_64-pc-linux-gnu-c++ x86_64-pc-linux-gnu-g++ x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc-14.2.1 x86_64-pc-linux-gnu-gcc-ar x86_64-pc-linux-gnu-gcc-nm x86_64-pc-linux-gnu-gcc-ranlib x86_64-pc-linux-gnu-pkg-config
17:02
that's all
Avatar
in your /usr/lib??
Avatar
how are u talking to me rn
17:02
ur pc should be shitting itself
Avatar
ok do like which sh
Avatar
i think i should install clear arch
Avatar
tell me what that say
17:03
im unsure about that
Avatar
it will work better
Avatar
i used clear linux for a while, which is a great distro but not really for devs
17:03
but idk what clear arch is
Avatar
just arch
17:03
dont archbased
17:03
u want to uninstall
Avatar
Avatar
Ewan
i used clear linux for a while, which is a great distro but not really for devs
actually it'd be good if you used nix. then you'd be unstoppable. use nixos at that point tho :D
Avatar
i like nixos's logo bruh
Avatar
i hate to be such a shill but most of my packaging issues for development have been completely solved (which historically has been a big reason behind my initial switch to linux then between distros)
17:05
it's kinda brainy and weird but if u want a new distro then it's worth a shot
Avatar
thanks
🫡 1
Avatar
nixos is great if you learn it's language (edited)
17:15
you can have it minimal and functional like any other distro
17:15
or you can fiddle around with it and create greatness
17:18
u can do like i did and go into it with very little prior knowledge
17:18
and just write terrible configs until you realize they are terrible and then u have to fix them
17:18
but it saves u having to read things
17:18
i wouldnt recommend it
Avatar
ws-client BOT 2024-11-25 17:43
<ChillerDragon> @montikboom which bug did you find in ddnet++?
17:47
<ChillerDragon> @Evelyn the python library is still quite low level and has no documentation yet there is only this quite complicated example available https://gitlab.com/teeworlds-network/twnet_parser/-/tree/master/examples/07/download_map?ref_type=heads
A teeworlds network protocol library, designed according to sans I/O (http://sans-io.readthedocs.io/) principles
17:47
<ChillerDragon> unless you need python because of some discord dependency i would highly recommend getting ruby to work which should be way smoother as of right now
Avatar
why does my firewall somehow prevent ddnet from seeing a local server hosted on the same machine?
17:52
i am pretty sure other servers work just fine without any special firewall rules
Avatar
depends on the firewall
17:54
many have application specific rules which don't act on ports, they act on binaries
17:54
if your thing was once allowed through by its binary location you'll have to re-do that for the new binary, or just open the port
17:54
local server should be visible regardless with or without firewall so i suspect other issues
17:55
firewall controls incoming and outbound connections but none have to leave your computer in order to be visible on ddnet (edited)
Avatar
i just use ufw
Avatar
i mean
17:57
what are your firewall rules
17:57
lol
17:57
try ufw allow $port/udp
17:57
even still should not be related unless you have very restrictive rules either there or in iptables or smth
Avatar
maybe it ddnet doesnt check for servers the loopback interface i have no idea how any of this works exactly
18:02
because the loopback isnt blocked by default
18:02
and i can still connect
18:03
its just that ddnet doesnt list the server
Avatar
there need not be any loopback device
18:09
if you cannot do like connect localhost:port in ddnet f1 console
18:09
then ur server is probably not working
Avatar
Avatar
meloƞ
no idea >:c
Nagi01 {LAN} 2024-11-25 18:28
it has been merged PEP_peepoHappy
yes 1
Exported 490 message(s)
Timezone: UTC+0