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-30 00:00 and 2024-12-01 00:00
Avatar
Avatar
Evelyn
What do these tiles do?
there is no doc currently
Avatar
Avatar
TsFreddie
me doing math be like
trippy
Avatar
does anyone know wtf flow.cpp does?
04:30
likewise m_FlowAffected on CParticle
04:34
it seems to do nothing except draw debug info?
04:35
it's like for explosions to push around particles except it doesn't seem to be work
Avatar
Avatar
Robyt3
@Voxel I was wrong, the flow component is currently disabled, but it doesn't take much code to enable again: https://github.com/Robyt3/ddnet/tree/Client-Flow-Activate (for testing I increased the smoke lifespan from 0.5-0.9 seconds to 50-90 seconds)
@fokkonaut this
04:35
was added in 0.4 even afair, never used
04:36
maybe even earlier
04:36
oh fokko xd
Avatar
but it's basically done?
Avatar
why it did ping fokko lmao
04:36
im sorry
Avatar
Avatar
Tater
but it's basically done?
hm i don't really know since it didn't get on prs in ddnet
Avatar
there's even an old loc to turn it back on
04:38
well atleast people know about it so I guess there's a reason it's off idk
Avatar
guys
06:13
what if we add a map command or flag that hint client it should use high precision and make that flag a new default (but make sure old maps still uses the normal precision). HUH so if a mapper want heavy uses of edge hook and 45aim bind they can disable that. it's just a hint tho, but ddnet client will respect that obviously, and we don't give client a config in client so non-hacker player don't just mess around with it.
Avatar
why do we have telecursor when tp's description says roughly the samething?
06:41
even though it didn't work like that
06:41
Avatar
Where is the Player Search API located in teedata
06:51
tater and i are thinking it's probably just vram corruption
06:51
game lags out bad and has white streaks, but only at a specific zoom level, and only on that one session of having that map loaded
06:51
was reproducible by zooming in and out within that session but not after (e.g. switched maps and switched back and couldnt replicate)
06:52
though i have seen broken maps cause some wild ass bugs
Avatar
the description of tele / teleport / tp / telecursor all does the same thing when there is 0 arguments wtf
06:56
and only telecursor & tele are implemented as the one that teleports to cursor hmm (edited)
06:57
actually i think teleport coords has been moved into another command so i relinquish all responsibility in that regard (edited)
06:58
womp womp
Avatar
the description didn't update when they did that probably
Avatar
do i remove tp's description or just add the cursor thing back
Avatar
they moved it out on purpose so idk
06:59
maybe just update the description to be good for each
Avatar
ok then
07:00
still no idea why tele just decide to do the same thing as telecursor then there is no argument tho
Avatar
it's a flexible command
07:00
imo it should all be 1 command cuz it's all very easy to infer user intent based on # of args
07:00
but you know
07:01
gotta make it complicated
Avatar
god damn it
07:01
07:01
why does telecursor need to teleport you to other players
Avatar
ppl just be changing shit for no reason
Avatar
that doesn't even have anything with cursor
07:02
i hate
07:02
life
Avatar
i will just make sure the behavior is the same as previously implemented and open another pr to clearify everything maybe (edited)
07:06
i wouldnt revert anything without a great reason
07:06
we'd have to make a case for it etc
07:06
too much work
Avatar
GitHub BOT 2024-11-30 07:54
Closes #9294 #8452 #8666

Problem:

As previously stated in #9298 and #9296. Dyncam (off-character camera) and Zoom combination introduces some extra math that needs to be done to correctly calculate player's actual cursor position. We also do not want to touch any dyncam implementation (e.g. adjust the camera position after zoom) since that could kill some player habit.

Implementation:

Since the actual cursor position is rarely used (currently only tele and telecursor), af...
Avatar
we are here
Avatar
MilkeeyCat 2024-11-30 07:56
Morning
Avatar
norming
08:05
is @fokkonaut still active 👀
Avatar
Avatar
GitHub
Click to see attachment 🖼️
I approve
Avatar
Avatar
TsFreddie
is @fokkonaut still active 👀
yes
Avatar
Avatar
fokkonaut
yes
greenthing care to try that PR above and edge hooks?
08:33
if you adjusted your aim to zoom 9 already i'm gonna cry tho
Avatar
hi fokkonaut how are u
Avatar
I'm not playing a lot lately, but I think it's enough to send our target pos instead of all those infos like follow factor. (or? idk?)
Avatar
Avatar
Ewan
hi fokkonaut how are u
good and u
Avatar
p good
Avatar
Avatar
fokkonaut
I'm not playing a lot lately, but I think it's enough to send our target pos instead of all those infos like follow factor. (or? idk?)
that's for other commands, not related to control and character input (edited)
Avatar
ah, oki
Avatar
Avatar
Ewan
p good
employed. somehow liberating feeling even tho it is the opposite
Avatar
Avatar
Ewan
employed. somehow liberating feeling even tho it is the opposite
hahaha, but cool ;)
Avatar
Avatar
TsFreddie
that's for other commands, not related to control and character input (edited)
i'll test it, but cant promise that it'd be done today
Avatar
do what you want, just tagging you cuz the issue is yours
❤️ 1
08:36
amogus
Avatar
for me it was just weird, that after someone implemented the target pos sending to server, the zoom level did change physics. When you aim right through an edge and hook/Shoot, and it goes through, you can zoom out/in and it might not work, without changing angles, because it's more precise now
08:38
And that's just weird
08:38
it should just always take the original zoom lvl 10 for determining the angle
08:38
then the precision isnalways same, regardless of zoom lvl
Avatar
Avatar
fokkonaut
for me it was just weird, that after someone implemented the target pos sending to server, the zoom level did change physics. When you aim right through an edge and hook/Shoot, and it goes through, you can zoom out/in and it might not work, without changing angles, because it's more precise now
do you remember when that was
08:39
cuz i am actually quite worried about breaking some new players habit instead too.
Avatar
no, that's one of those things that just got merged quite quickly
08:39
ah
08:39
it should be like a few months just
Avatar
ok so that's not that bad then
Avatar
dunno why heinrich and others didnt care tbh
Avatar
Avatar
TsFreddie
ok so that's not that bad then
yes
Avatar
nouis i am debating whether to introduce a flag to let mapper decide whether they want high precision tho
08:41
like for those easier fun maps instead of just tech after tech (edited)
Avatar
wrong remote moment?
08:42
HUH
Avatar
Avatar
TsFreddie
wrong remote moment?
yes
Avatar
i did that before
08:43
relatable
Avatar
i just presed the button that appeared on github
Avatar
Not you...
Avatar
This happens every month xd
Avatar
its an easy mistake
Avatar
It is
Avatar
is it bcs this
08:45
no idea how github choose the default upstream tho
Avatar
Github forks are so cursed and annoying
08:45
Major regret making it a fork
Avatar
can you just break it
Avatar
github forks are cursed
Avatar
The only thing I like is the diff on the main page and commit behind number
08:46
You can easily audit the code
Avatar
but i wish it was part of git
08:46
not sure if it is relevant
Avatar
like origin is normally the remote you are just using
08:46
and upstream is normally what you are forking from
Avatar
ah it involves deleting the repo (edited)
Avatar
github could somehow detect that in your repo
08:47
yeah you can
08:47
delete your repo
08:47
then create it
08:47
push all the branches
Avatar
lol
08:47
bummer
Avatar
Idk too scary for now id rather just ignore it xd
👍 1
Avatar
just a few closed issue is probably not bad
Avatar
This one wasn't even the fault of the github fork
08:48
Well
Avatar
at least we are not express
Avatar
Not the tclient fork
08:48
Wtf why
08:49
Is this the Indian tutorial thing
Avatar
yes
08:49
it is still going
08:49
express maintainer is pretty chill about it somehow tho
Avatar
I mean it's not their fault really be mad at the video creator
Avatar
well i do think it is a pretty dumb move to instruct on live repo
Avatar
Yeah everyone agrees on that
08:51
But they should have taken it down by now
Avatar
what hapepned?
Avatar
Sometimes I forget how confusing github used to be before I understood anything. I was one of those people who took forever to find the release section and accidently downloaded the source code several times.
Avatar
Kaffeine BOT 2024-11-30 08:52
Not long ago it was possible to ask GitHub support to detach your fork. Worked for me.
Avatar
That link is dead for me
Avatar
every week my mobile provider spams me with a message saying "to use data on your phone you will need to ...."
08:53
if i block the number they switch the number they send it from
Avatar
Sometimes my phone filters those
Avatar
everytime i can be bothered i block and report as spam cuz its those 3 digit ones
Avatar
I probably got about 500-1000 text messages about the election the last 4 months
Avatar
JESUS CHRIST
Avatar
Idk samsung seems to have good filtering so it wasn't an issue
Avatar
I havent recieved that many text msgs in my life
08:55
thats
Avatar
Basically zero got through
Avatar
thats horrible
08:55
stupid fcuking polotics
08:55
#off-topic moment
Avatar
They all stopped now lol
Avatar
ws-client BOT 2024-11-30 09:15
<ChillerDragon> @Solly i had the same issue. I solved it by removing my sim card. No more ads!
Avatar
Avatar
ws-client
<ChillerDragon> @Solly i had the same issue. I solved it by removing my sim card. No more ads!
wow
09:18
overthrowing the government also works
Avatar
ws-client BOT 2024-11-30 09:19
<ChillerDragon> paying for a provider that abuses its power to send ads felt really wrong
09:19
<ChillerDragon> seems like this is a common thing here in indonesia so I decided to try going without sim card and it worked quite well so far. I don't miss it at all actually.
Avatar
i have a sim card for the phone # so i can verify stuff but i dont pay anything
Avatar
Avatar
Tater
but it's basically done?
It's very basic so enabling it in this state wouldn't do much because
  • the effect is minor that you can hardly notice it because particles disappear quickly
  • there are currently no particle generator tiles that would make it noticeable
  • it works weirdly in some cases, e.g. the tee momentum can keep moving smoke/dust particles on the ground
Avatar
ws-client BOT 2024-11-30 09:20
<ChillerDragon> oh not paying is nice
Avatar
do u have to pay to have a phone #?
Avatar
ws-client BOT 2024-11-30 09:21
<ChillerDragon> i am not sure i think i could still receive sms after the prepaid balance expired
09:21
<ChillerDragon> but depending on phone numbers always felt wrong to me
Avatar
the mobile everything feels extremley predatory
Avatar
ws-client BOT 2024-11-30 09:24
<ChillerDragon> i did not login to my bank since they introduced the requirement of an ios and android app to login. It is sad to see how it is widely accepted that having an ios or android phone with active phone number becomes slowly a base requirement to take part in society.
Avatar
nod nod
Avatar
ws-client BOT 2024-11-30 09:25
<ChillerDragon> especially if these systems are propriatary and the vendors abuse it to force ads and spyware onto their users
Avatar
nod nod
Avatar
ws-client BOT 2024-11-30 09:26
<ChillerDragon> proprietary* such hard word
Avatar
well if dictionaries werent so closed of and controled by the high and mighty few
09:27
we could make it spelt eazier
Avatar
ws-client BOT 2024-11-30 09:27
<ChillerDragon> indeed
Avatar
do anyone really use dyncam control when spectating players?
09:31
like to move the camera around
Avatar
ChillerDragon
09:54
I noticed the same type of server on two identical servers, but with different types of server. I would also like to add color to my server types.
Avatar
Avatar
TsFreddie
do anyone really use dyncam control when spectating players?
nah and it always annoyed me
09:55
always felt better to just zoom
Avatar
Avatar
Evelyn
I noticed the same type of server on two identical servers, but with different types of server. I would also like to add color to my server types.
i think many the colors depend on the mod name
09:57
not sure if thats the case for all of them
09:57
but when you name your mod anything and add "fng" or "race" at the end of it
09:58
it should have a different color
Avatar
Avatar
Souly
nah and it always annoyed me
ok then, i'm essentially nuking that
Avatar
Avatar
Souly
it should have a different color
so for example modname fng
Avatar
maybe some mod uses that but i doubt it
Avatar
Avatar
Souly
so for example modname fng
But then 2 types will be shown
09:59
SlowNet fng
Avatar
The colors are iirc random
10:00
Through a hash, so it's "statically" random
Avatar
@ChillerDragon stap sniffing lmao
10:00
no one should read my code, its bad
10:01
:D
Avatar
But how do you get these colors on your type?
Avatar
Avatar
Learath2
Through a hash, so it's "statically" random
is this the case for all colors? im checking the server browser and it looks like some are hardcoded
Avatar
You don't have to do anything, the name of your gamemode determines the color it gets
Avatar
Avatar
Souly
is this the case for all colors? im checking the server browser and it looks like some are hardcoded
There is a possibility that I never commited this and I'm lying
10:03
I most certainly wrote the code for it, but maybe I never made it a PR 🙃
Avatar
trollearath
Avatar
Why is the color white on my "SlowNet" type?
10:03
I use ddnet++
Avatar
Yeah I guess it's just hardcoded
10:03
Sorry
10:05
So you get your color by making a pull request to ddnet, and wait for a new client release. But idk if we want to make this a thing everyone does. It would be annoying to have 80 branches in the code for every mod ever
Avatar
ye i think fokkonauts mod has iDM at the end of the mod name or something
10:06
but i cant see it now
Avatar
I am currently writing a website with one coder, like a bot that can log on to any server
Avatar
With the use of swarfey
Avatar
heinrich said something about gamemode color before i think
10:28
actually, can we also nuke spectating your paused self too
10:28
actually nvm, i think mods might use that more often
10:29
wait no, i think we can still do that, just don't let client select themself, mod can still force it by snapping the spectator info
Avatar
2024-11-30 11:38:23 E http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (6): Could not resolve host: master1.ddnet.org
10:39
helpl me
Avatar
check your dns settings on your OS
Avatar
from where
Avatar
on your server i guess, idk how
Avatar
come general 4 and scrreen me
Avatar
i can't
10:45
maybe someone else can help
Avatar
do ping master1.ddnet.org
Avatar
Where should I do?
Avatar
also check if your server time is correct, sync with a timeserver if not btw
Avatar
ask chatgpt :) (edited)
Avatar
asking chatgpt is probably not a bad idea tbh
Avatar
Avatar
TsFreddie
asking chatgpt is probably not a bad idea tbh
its the first thing i do for most problems now
10:46
and most of the time it resolves the problem
Avatar
I wrote to chatgpt 10 times but it could not be resolved.
Avatar
too bad i can't use chatgpt, they ban every account that shows a trace of being in china
Avatar
me vds amazon aws eu-north (edited)
Avatar
Avatar
TsFreddie
too bad i can't use chatgpt, they ban every account that shows a trace of being in china
try mixtrel
Avatar
2024-11-30 13:47:36 E register/6/ipv6: error sending request to master 2024-11-30 13:47:40 E http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (28): Failed to connect to master1.ddnet.org port 443 after 4015 ms: Timeout was reached 2024-11-30 13:47:40 E register/6/ipv4: error sending request to master
Avatar
i just uses supermaven's built-in chat with their credit
Avatar
Avatar
TsFreddie
i just uses supermaven's built-in chat with their credit
supermaven got into my way when coding so i rm -rf'd it out of my system kek
Avatar
Avatar
meloƞ
supermaven got into my way when coding so i rm -rf'd it out of my system kek
cammo
10:48
how
10:48
i mean it sometime is dumber than copilot
Avatar
even when i turned off inline completion it still sometimes auto completed
Avatar
Avatar
remusex
2024-11-30 13:47:36 E register/6/ipv6: error sending request to master 2024-11-30 13:47:40 E http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (28): Failed to connect to master1.ddnet.org port 443 after 4015 ms: Timeout was reached 2024-11-30 13:47:40 E register/6/ipv4: error sending request to master
help me friends
Avatar
it made me so angry
Avatar
Avatar
meloƞ
even when i turned off inline completion it still sometimes auto completed
in what editor
Avatar
Avatar
TsFreddie
in what editor
vim
Avatar
lol
10:49
maybe just a bad plugin then
10:49
they are not focusing on plugins now
10:49
which is kinda sad
10:49
i don't want to use cursor
Avatar
Avatar
remusex
help me friends
type ping master1.ddnet.org in your console @remusex
Avatar
Avatar
meloƞ
type ping master1.ddnet.org in your console @remusex
ok waitr
Avatar
the only time i find autocomplete annoying is when i write in python
Avatar
Avatar
TsFreddie
the only time i find autocomplete annoying is when i write in python
why python of all langs?
Avatar
cuz you know. tab is how you format the code.
10:50
but tab just autocompletes
10:50
nouis
Avatar
tab is for going through LSP completion, accepting it is <leader>sa gigachad vim masterrace (edited)
Avatar
sad
Avatar
Avatar
remusex
Click to see attachment 🖼️
@meloƞ
Avatar
Avatar
remusex
Click to see attachment 🖼️
are you using a VPN/tunneling service?
10:51
are you behind a school or shared network?
Avatar
Avatar
meloƞ
are you behind a school or shared network?
vds amazon aws
Avatar
can you see the task bar on your server? can you screenshot the bottom right corner for time (edited)
Avatar
pepeW i would never thought it would be a windows server (edited)
justatest 1
👍 1
Avatar
utc+3 İSTANBUL
Avatar
looks fine tbh
10:53
no idea what is happening to your server really
Avatar
is any network reachable from your server? e.g ping 1.1.1.1
Avatar
Microsoft Windows [Version 10.0.20348.2849] (c) Microsoft Corporation. Tüm hakları saklıdır. C:\Users\Administrator>ping 1.1.1.1 Pinging 1.1.1.1 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 1.1.1.1: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Avatar
gg - your network is not configured correctly
Avatar
Do you want me to open a new virtual server again?
Avatar
(have u considrered using linux)
Avatar
Avatar
Solly
(have u considrered using linux)
bro
10:55
When I installed ddnet in Linux, I could not create a ddnet-server.
Avatar
Avatar
remusex
Do you want me to open a new virtual server again?
your VS has no access to your network adapter
Avatar
and
10:55
Do I open Amazon Linux?
10:56
compilation did not work on linux
10:57
hey
Avatar
Avatar
Solly
(have u considrered using linux)
Shall we start from scratch?
Avatar
why are you using a virtual server to host DDNet anyway?
Avatar
I want to open a public server
10:58
I deleted the vds and will open linux
10:59
Which one do you recommend?
Avatar
if you want to use a virutal server for ddnet
10:59
ubuntu
Avatar
Avatar
meloƞ
if you want to use a virutal server for ddnet
Avatar
das good yes
Avatar
Which one do you think I should choose?
11:00
1. ?
11:02
@meloƞ hey melon
Avatar
please stop pinging me, i can read without my notifications going BRRR ^^
11:02
the first one is good yes
Avatar
ok worry
11:02
sorry
11:02
11:03
Should the fragment remain this way or allow HTTP traffic?
Avatar
i have no idea what i'm looking at since i dont speak or understand your language i'm afraid
Avatar
wair
11:03
wait
11:04
Should it be a tick?
Avatar
Avatar
meloƞ
i have no idea what i'm looking at since i dont speak or understand your language i'm afraid
(dont be afriad)
Avatar
Allow https traffic, don't allow ssh traffic if youre able to connect to it without
Avatar
Avatar
meloƞ
Allow https traffic, don't allow ssh traffic if youre able to connect to it without
yes ?
11:06
Is 250gb ssd gp3 enough?
11:06
I can increase
Avatar
Avatar
remusex
Is 250gb ssd gp3 enough?
5gb would be enough if you don't have a db setup
Avatar
It could be 250
Avatar
No need
Avatar
okey 10 gb ?
11:07
I can open it as much as I want.
Avatar
Sounds good
Avatar
okey
11:08
launch vds
11:08
launched
11:08
11:08
Let's wait for the opening
11:09
also look at: Setting Up your LAN Server for online play (edited)
11:09
$wiki LAN
Avatar
README.md ?
Avatar
Avatar
remusex
README.md ?
yeah
Avatar
okey
11:11
Initializing server
11:14
BROOOOOOOOOOOOO
11:14
not connnetc
11:14
Avatar
u disabled ssh?
11:15
or is that not needed
Avatar
Avatar
remusex
yes ?
.
Avatar
don't allow ssh traffic if youre able to connect to it without thisemoji
11:15
i go dip
Avatar
Avatar
Solly
u disabled ssh?
yes disabled
11:15
Should I open it again?
11:19
ohhhhh
11:19
es
11:19
11:19
git clone --recursive https://github.com/ddnet/ddnet
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
no need to recursively clone on linux
Avatar
I will follow all the steps in order and if there is any mistake I will write it here.
Avatar
git clone https://github.com/ddnet/ddnet.git cd ddnet mkdir build cd build sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools Ninja cmake .. ninja
11:21
these are the commands in order
Avatar
okey
11:22
ubuntu@ip-172-31-38-199:~/ddnet$ mkdir build mkdir: cannot create directory ‘build’: File exists ubuntu@ip-172-31-38-199:~/ddnet$
Avatar
cd build
Avatar
yes and
Avatar
i even sent in the commands in order :(
Avatar
Avatar
meloƞ
i even sent in the commands in order :(
No apt package "spirv-tools", but there is a snap with that name. Try "snap install spirv-tools" E: Unable to locate package glslang-tools E: Unable to locate package google-mock E: Unable to locate package libavcodec-extra E: Unable to locate package libavdevice-dev E: Unable to locate package libavfilter-dev E: Unable to locate package libavformat-dev E: Unable to locate package libavutil-dev E: Unable to locate package libglew-dev E: Unable to locate package libnotify-dev E: Unable to locate package libopusfile-dev E: Package 'libsdl2-dev' has no installation candidate E: Unable to locate package libx264-dev E: Unable to locate package spirv-tools E: Unable to locate package Ninja ubuntu@ip-172-31-38-199:~/ddnet/build/build$
11:24
is everything ok
Avatar
sudo apt update && sudo apt upgrade
11:24
type that in
11:25
No VM guests are running outdated hypervisor (qemu) binaries on this host. ubuntu@ip-172-31-38-199:~/ddnet/build/build$ sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools Ninja Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libfreetype-dev' instead of 'libfreetype6-dev' E: Unable to locate package Ninja ubuntu@ip-172-31-38-199:~/ddnet/build/build$
Avatar
hm, is it ninja ?
11:26
change the Ninja to ninja, if that doesnt work, just remove it
Avatar
k wait
Avatar
and change the command cmake .. ninja to cmake .. make
Avatar
sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools ninja (edited)
Avatar
no need to paste it in here, yes that should work
Avatar
Avatar
remusex
sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools ninja (edited)
I deleted the ninja at the end and it said downloading yes or no and I said yes. (edited)
Avatar
good
11:28
No VM guests are running outdated hypervisor (qemu) binaries on this host. ubuntu@ip-172-31-38-199:~/ddnet/build/build$ cmake .. CMake Warning: Ignoring extra path from command line: ".." CMake Error: The source directory "/home/ubuntu/ddnet/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. ubuntu@ip-172-31-38-199:~/ddnet/build/build$
Avatar
why do you have a build folder in your build folder now ...
11:31
cd .. rm -r build cmake ..
Avatar
-- Build files have been written to: /home/ubuntu/ddnet/build ubuntu@ip-172-31-38-199:~/ddnet/build$
Avatar
now make
Avatar
what
11:32
ubuntu@ip-172-31-38-199:~/ddnet$ make make: *** No targets specified and no makefile found. Stop. ubuntu@ip-172-31-38-199:~/ddnet$
11:33
mkdir build cd build cmake .. make -j$(nproc)
11:33
11:34
Avatar
@meloƞ isn't it better having him in voice channel to check what he's doing lmaoo
Avatar
Avatar
ReiTW
@meloƞ isn't it better having him in voice channel to check what he's doing lmaoo
.._.
Avatar
[100%] Linking CXX executable DDNet [100%] Built target game-client ubuntu@ip-172-31-38-199:~/ddnet/build$
Avatar
Avatar
meloƞ
and change the command cmake .. ninja to cmake .. make
cmake --build . --config Release --target everything (fyi)
Avatar
Avatar
Solly
cmake --build . --config Release --target everything (fyi)
[100%] Built target everything ubuntu@ip-172-31-38-199:~/ddnet/build$
Avatar
./DDNet-Server
Avatar
WOW
Avatar
Avatar
meloƞ
EW
it works with any build system so its more fool proof
Avatar
good, connect to ur srv
Avatar
172-31-38-199
11:37
this is not ur IP
11:38
I mean it's your instance's IP but this is a private IP address lol
11:38
d
11:38
i-06e5036fc67c6f6e2 Genel IPv4 adresi 16.171.32.214 | açık adres
Avatar
if it registered with master (no error) then you can just search by map name or server name
Avatar
16.171.32.214 this is better
11:38
and also you need to open the port, by default it is filtered by aws
Avatar
Avatar
ReiTW
and also you need to open the port, by default it is filtered by aws
automatic port opening
11:39
8303
11:39
172-31-38-199^C2024-11-30 11:37:30 I server: interrupted
Avatar
can you set english language on the interface, it's easier
Avatar
yess
11:40
Avatar
sunucu ayaralrı Nereden acıagım
12:01
Where do I open the server settings?
Avatar
ws-client BOT 2024-11-30 12:35
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
12:35
<ChillerDragon> @Solly your code looks good
Avatar
where?
Avatar
GitHub BOT 2024-11-30 12:49
When pasting the clipboard on Android, we don't get a Ctrl+V event like on other platforms but instead SDL sends the clipboard contents as one or more text input events. The clipboard text can contain newline characters which we don't filter out properly yet. However, SDL also sends a KEY_RETURN event for every newline character, which causes the current console/chat contents to be sent incorrectly. This seems like intentional behavior in SDL to support some software keyboards that send new...
Avatar
ws-client BOT 2024-11-30 12:58
<ChillerDragon> your 3yo sdl repo i like it
12:59
<ChillerDragon> @Robyt3 the new console goes hard. I think this is the first visual improvement since I started playing the game. Besides from sharper renderers.
Avatar
GitHub BOT 2024-11-30 13:03
For example when pasting multiple lines of text containing Windows line endings, the \r characters were not being removed from lines except the first one.

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
  • [ ]...
Avatar
Avatar
ws-client
<ChillerDragon> your 3yo sdl repo i like it
@ChillerDragon 3yo?
13:06
ohg
13:06
yes x-x (edited)
13:06
it doesnt work
Avatar
ws-client BOT 2024-11-30 13:10
<ChillerDragon> oh ._.
13:10
<ChillerDragon> yea i did not run it
Avatar
@ChillerDragon well it doesnt crash, its just that it cant get past the first loop
13:23
i think i know why its like a 1 line change
Avatar
Avatar
Evelyn
With the use of swarfey
justatest
Avatar
👍 1
🚀 1
13:36
demo now records camera settings. however it is hardcoded with smooth dyncam (if the recorded player is using dyncam, does not matter for non dyncam player)
13:37
as soon as user press zoom+/-, dyncam immediately disables and zoom settings are overridden by user unless reset zoom is pressed. (edited)
Avatar
@Robyt3 its 1 if versus might need to redo text containers
13:50
):
Avatar
@TsFreddie 10x dev
Avatar
lol i need to disable cursor for multi-view
13:52
nouis what if i just show every cursor in multi-view
13:53
probably couldn't tell which is whose tho, i'll just disable it
Avatar
Avatar
kebs
@TsFreddie 10x dev
@TsFreddie when do we unlock 10 cursors?
13:57
to play better
Avatar
Avatar
Swarfey
justatest
How to use swarfey
Avatar
a side effect of defaulting to spectator zoom is that you can do this...
Avatar
chinese servers are so cute!
Avatar
wdym cute
14:05
kekw
Avatar
Avatar
Evelyn
How to use swarfey
i assume you mean my library, you can view some docs/examples here: https://gitlab.com/swarfey/teeworlds-client/-/tree/main/docs?ref_type=heads
14:06
but start saying u use my lib and not me pepeW
Avatar
Is it possible to make a website where you can enter the ip:port of the server, click connect and then perform any actions of the bot by sending a request to the hosting where swarfey is installed!
Avatar
ws-client BOT 2024-11-30 14:08
<ChillerDragon> @Swarfey Some of them want to use you. Some of them want to get used by you. Some of them want to abuse you. Some of them want to be abused.
14:08
everything is possible if you want it hard enough @Evelyn (edited)
Avatar
right-click while spectating does nothing right?
Avatar
There’s no reason why toggle has arguments coded as integers when it can accept any type, as it has internal validation. This restores how the command worked before 18.6 by fixing cases where color...
14:10
now i can toggle assets without having to name then "1" or "2" kek
Avatar
Avatar
TsFreddie
right-click while spectating does nothing right?
i'm thinking of taking it as a camera reset
Avatar
Avatar
Swarfey
everything is possible if you want it hard enough @Evelyn (edited)
Help!
Avatar
Avatar
ws-client
<ChillerDragon> @Swarfey Some of them want to use you. Some of them want to get used by you. Some of them want to abuse you. Some of them want to be abused.
who am i to disagree
Avatar
chillerdragon else if(str_find_nocase(pGametype, "f-ddrace") || str_find_nocase(pGametype, "freeze")) HslaColor = ColorHSLA(0.0f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "fng")) HslaColor = ColorHSLA(0.83f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "gores")) HslaColor = ColorHSLA(0.525f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "BW")) HslaColor = ColorHSLA(0.05f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "ddracenet") || str_find_nocase(pGametype, "ddnet") || str_find_nocase(pGametype, "0xf")) HslaColor = ColorHSLA(0.58f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "ddrace") || str_find_nocase(pGametype, "mkrace")) HslaColor = ColorHSLA(0.75f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "race") || str_find_nocase(pGametype, "fastcap")) HslaColor = ColorHSLA(0.46f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "s-ddr")) (edited)
14:12
How to add your mod here
Avatar
Avatar
Evelyn
Help!
1. watch some tutorial on how to open up a webserver using node.js 2. create a web api so you the client connects to your desired server when you send a request to it 3. if you pro learn how to use websockets & make it useful
Avatar
This code can cause an SEH exception: auto name_match = [payload_name](PayloadParameterSchema p) { return p.name == payload_name; }; auto ppms = std::find_if(payload.begin(), payload.end(), name_match); Anybody an idea why and how
Avatar
Avatar
Swarfey
1. watch some tutorial on how to open up a webserver using node.js 2. create a web api so you the client connects to your desired server when you send a request to it 3. if you pro learn how to use websockets & make it useful
but k-i-o's electron client should work fine, idk why you would want more
Avatar
maybe I should ask chatgpt first
Avatar
Avatar
Evelyn
chillerdragon else if(str_find_nocase(pGametype, "f-ddrace") || str_find_nocase(pGametype, "freeze")) HslaColor = ColorHSLA(0.0f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "fng")) HslaColor = ColorHSLA(0.83f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "gores")) HslaColor = ColorHSLA(0.525f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "BW")) HslaColor = ColorHSLA(0.05f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "ddracenet") || str_find_nocase(pGametype, "ddnet") || str_find_nocase(pGametype, "0xf")) HslaColor = ColorHSLA(0.58f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "ddrace") || str_find_nocase(pGametype, "mkrace")) HslaColor = ColorHSLA(0.75f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "race") || str_find_nocase(pGametype, "fastcap")) HslaColor = ColorHSLA(0.46f, 1.0f, 0.75f); else if(str_find_nocase(pGametype, "s-ddr")) (edited)
lol i change s-ddr to my mod
Avatar
chillerdragon: you should make a web interface for DMing you
14:15
kekw
Avatar
ws-client BOT 2024-11-30 14:15
<ChillerDragon> @Swarfey u say in the readme "Note: If you have or know any projects running using this library, please contact me so i can add them, or PR them yourself."
14:15
<ChillerDragon> do you know about https://github.com/k-i-o/CChat.TW?
DDNet / Teeworlds Chat Client, no game, just chatting - k-i-o/CChat.TW
14:15
<ChillerDragon> @TsFreddie there is https://chat.zillyhuhn.com/
Avatar
Avatar
ws-client
<ChillerDragon> do you know about https://github.com/k-i-o/CChat.TW?
ah yeah true i can add it to the readme. ty!
Avatar
ws-client BOT 2024-11-30 14:16
<ChillerDragon> oh you just mentioned it
14:16
<TsFreddie> i mean.. does this do private chat
Avatar
Avatar
ws-client
<ChillerDragon> oh you just mentioned it
yeah, i knew about it, he contacted me while he was developing it
14:17
tho i forgot i have that section on the docs
Avatar
ws-client BOT 2024-11-30 14:17
<ChillerDragon> @TsFreddie #off-topic is not bridged on a web platform with 0 users every channel is a private channel
14:21
<ChillerDragon> @Evelyn create a pr on github to contribute to ddnet. https://www.youtube.com/watch?v=mxBwyEIeaRQ
Avatar
MilkeeyCat 2024-11-30 14:22
I watched all your tw coding vids and didn't write anything myself xd
Avatar
ws-client BOT 2024-11-30 14:22
<ChillerDragon> didn't write what?
Avatar
MilkeeyCat 2024-11-30 14:22
tw code
Avatar
ws-client BOT 2024-11-30 14:23
<ChillerDragon> no you are a valuable ddnet contributor
14:23
<ChillerDragon> master of 0.7 server browser
Avatar
chillerdragon can you code something for me too?
Avatar
ws-client BOT 2024-11-30 14:23
<ChillerDragon> what do you need @Learath2
Avatar
Avatar
ws-client
<ChillerDragon> @Evelyn create a pr on github to contribute to ddnet. https://www.youtube.com/watch?v=mxBwyEIeaRQ
i dont understand english lol
Avatar
Hmm, let me pick something
Avatar
MilkeeyCat 2024-11-30 14:24
chillerdragon: help me to write a compiler :DD
Avatar
ws-client BOT 2024-11-30 14:24
<ChillerDragon> Maybe start with some english lessons then. English is essential for contributing to ddnet @Evelyn
14:25
<ChillerDragon> oh no @MilkeeyCat compiler hard
Avatar
Can you make me a block server where I can sell rainbow skin?
Avatar
ws-client BOT 2024-11-30 14:25
<ChillerDragon> @Learath2 https://github.com/DDNetPP/DDNetPP/
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - DDNetPP/DDNetPP
Avatar
MilkeeyCat 2024-11-30 14:25
chillerdragon: monke together stronk
Avatar
I want stripe integration so they can pay ingame for rainbow
Avatar
ws-client BOT 2024-11-30 14:25
<ChillerDragon> yes we together stronk a ddnet protocol lib in C first
14:26
<ChillerDragon> @Learath2 i wonder how hard stripe is in C i can add it to the todo
14:26
<ChillerDragon> hopefully just a few libcurl calls
Avatar
Redirect them to a qr code map which they can scan for payment
Avatar
MilkeeyCat 2024-11-30 14:27
@Learath2 I finally did something about ir(https://github.com/MilkeeyCat/meraki/blob/feat/v2/src/ir/mod.rs) and it looks almost like ast xdd
Avatar
ws-client BOT 2024-11-30 14:27
<ChillerDragon> @Learath2 your order has been placed and will be worked on shortly https://github.com/DDNetPP/DDNetPP/issues/397
@Learath2 on discord I want stripe integration so they can pay ingame for rainbow Redirect them to a qr code map which they can scan for payment
Avatar
chillerdragon
Avatar
LOL
14:28
I changed s-ddr to SlowNet and also changed the color and then did make but it didn't work
Avatar
Avatar
Learath2
LOL
15% commision to chillerdragon tho
Avatar
Avatar
Solly
15% commision to chillerdragon tho
He is a benevolent man who does not charge for his work
Avatar
ws-client BOT 2024-11-30 14:29
<ChillerDragon> I am sure open source code that cuts commisions would be very effective
Avatar
ws-client BOT 2024-11-30 14:30
<ChillerDragon> @Evelyn you are not making any sense to me
Avatar
But why didn't I get a color
Avatar
ws-client BOT 2024-11-30 14:46
<ChillerDragon> for which gametype?
Avatar
ws-client BOT 2024-11-30 14:57
<ChillerDragon> I just realized I did the exact same thing to teeworlds that the indian youtuber did to expressjs https://youtu.be/mxBwyEIeaRQ?t=1081
14:58
<ChillerDragon> but it had no impact because the video is too long for the 10 viewers to even reach that part
Avatar
Avatar
ws-client
<ChillerDragon> for which gametype?
SlowNet
Avatar
ws-client BOT 2024-11-30 15:03
<ChillerDragon> Yes that makes sense. SlowNet is not in the snippet of code I sent you. It is not a known gametype to the ddnet client.
Avatar
Avatar
Assa
This code can cause an SEH exception: auto name_match = [payload_name](PayloadParameterSchema p) { return p.name == payload_name; }; auto ppms = std::find_if(payload.begin(), payload.end(), name_match); Anybody an idea why and how
Found out, that his was an issue with google test causing payload to be empty (which is logically impossible) by doing some memory shenanigans. Apperently gtest uses fixtures (edited)
Avatar
ws-client BOT 2024-11-30 15:20
<ChillerDragon> another reason not to use gtest and write your own test framework instead
15:21
<ChillerDragon> all i need for testing is assert_eq and assert_streq thats just one if statement with either == or strncmp no need to pull in a dependency for that
Avatar
Avatar
ws-client
<ChillerDragon> I just realized I did the exact same thing to teeworlds that the indian youtuber did to expressjs https://youtu.be/mxBwyEIeaRQ?t=1081
Koll Potato 2024-11-30 15:30
why havent i seen this stuff earlier xd
Avatar
Avatar
ws-client
<ChillerDragon> all i need for testing is assert_eq and assert_streq thats just one if statement with either == or strncmp no need to pull in a dependency for that
gtest isn't bad for this, it was very easy to setup, does your assert eq, assert ne, assert gt ... statements for you for multiple types, and it's just a testing dependency anyway, so I don't worry about that
Avatar
i fully recommend catch2 over gtest
15:42
even if it wasn’t better avoiding google is reason enough
Avatar
that's actually a good recommendation, sections are something I'd need, gonna look into it, thank you!
Avatar
GitHub BOT 2024-11-30 15:57
Refactor sqlx usage. Newer sqlx make the use of the Any* variants much harder (and not type safe anymore) (e.g. https://github.com/launchbadge/sqlx/issues/2636, https://github.com/launchbadge/sqlx/issues/3155, https://github.com/launchbadge/sqlx/issues/2644 etc.). So reinvent the wheel and implement an own any wrapper, bcs the older sqlx dep has too many vulnerabilities, don't want to be stuck on that version forever
15:57
9ad7c1e Update deps - Jupeyy 106c7ab Upgrade all packages, refactor sqlx - Jupeyy 830316b Merge pull request #4 from Jupeyy/pr_upgrade_deps - Jupeyy
Avatar
is it possible to run multiple commands with one vote
16:08
no ?
Avatar
it is, put your commands into a file like "vote_idk.cfg" and use exec "vote_idk.cfg" as vote command
Avatar
oh no, i'm overscoping
Avatar
YEEEEY
16:10
ur genius
16:10
auto camera indicator
16:10
justatest
Avatar
Avatar
barlas
ur genius
also you can chain commands, I did for a bind: bind np0 "echo \"test\"; +jump" but I wouldn't recommend this
Avatar
how to write vote.cfg
Avatar
with editor or notepad
16:15
it's just a plain text file
Avatar
i wanna ban all the players in server at once
🧐 1
16:17
like should i write ban 1 1 ban 2 1 ban 3 1 ?
Avatar
@Solly You reverted changes from master again in #9284
Avatar
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 (especially base/) or add...
Avatar
@Learath2
16:28
Where is the Player Check API located in Teedata?
Avatar
Avatar
Robyt3
@Solly You reverted changes from master again in #9284
NOTTT AGAAINNN
Avatar
How do you rebase/merge?
Avatar
^ git novice
16:35
i only use reset
16:35
rebase and merge are scary
Avatar
All you should have to do is update the master branch, then checkout your feature branch and git rebase master (edited)
Avatar
git pull ddnet master?
16:36
:)
Avatar
assuming you never change your master, pulling should work
16:36
otherwise fetch, then reset
Avatar
welp other than that
16:37
Avatar
Avatar
Solly
Click to see attachment 🖼️
montikboom 2024-11-30 16:38
Use /r
Avatar
Avatar
Solly
welp other than that
Well, I use a script that fetches upstream, resets master, pushes it to origin and deletes merged branches (edited)
Avatar
$stupid{use /r} yeah im in T0 LIKE A CHAD
Avatar
This command was not found.
Avatar
ah i want my bot
16:38
it does spongebob case when i do $stupid{text}
Avatar
catbite @Robyt3 If i changed too much from the spec cursor PR, do you prefer a new PR to start over or just in that original one with updated description
Avatar
Avatar
Solly
ah i want my bot
montikboom 2024-11-30 16:39
Why u send all this into developer channel
Avatar
Avatar
TsFreddie
catbite @Robyt3 If i changed too much from the spec cursor PR, do you prefer a new PR to start over or just in that original one with updated description
It's fine either way to me
Avatar
alright thx
Avatar
Avatar
Solly
$stupid{use /r} yeah im in T0 LIKE A CHAD
REAL
17:09
8eb605b Add user specified field in profile json file, for customizations per implementation - Jupeyy f8e0141 Prepare next release - Jupeyy aac2ae1 Merge pull request #5 from Jupeyy/pr_profile_extra - Jupeyy
Avatar
neat
17:39
i can finally go back to my own project after these get merged
Avatar
Avatar
Solly
Click to see attachment 🖼️
montikboom 2024-11-30 17:56
Use /tp DoBrya
pepeW 1
Avatar
GitHub BOT 2024-11-30 18:02
i'm download ddnet from flatpak but when i try to start it... first its start to initialize. but freezes after 2 seconds... after 1 minute the system crashing...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
holy shit finally
18:22
accounts
Avatar
MilkeeyCat 2024-11-30 18:42
@Learath2 do these registers not have 1 byte registers?
Avatar
Avatar
MilkeeyCat
@Learath2 do these registers not have 1 byte registers?
19:51
are u refering to smth like that
Avatar
Avatar
MilkeeyCat
@Learath2 do these registers not have 1 byte registers?
Repetitive strain injury mentioned?!
Avatar
Avatar
ReiTW
Click to see attachment 🖼️
MilkeeyCat 2024-11-30 19:53
Oh thanks, I was looking at a bad table :p
Avatar
Hey, does anyone here know what the nameplate font is?
Avatar
do we have a specific font for nameplate?
Avatar
Avatar
TsFreddie
do we have a specific font for nameplate?
well thats gotta be some sort of font
20:08
I would like to know the font so I can design it on top of my head.. 🤣
Avatar
dejavu sans
Avatar
I was the one to take the screenshot so I didn't have a nametag above my head
Avatar
Avatar
TsFreddie
dejavu sans
is that a standard windows font or a custom one?
20:09
Should be standard iirc
Avatar
it is all dejavu sans until it isn't
20:09
you can just grab it from ddnet install directory
20:09
it's in the data folder
20:09
every fonts we use are there (edited)
Avatar
Alright, thanks a lot for the quick response.
Avatar
you can probably just make your entities background white and dummy spectate yourself to take a screenshot for nameplate kek
KEKW 1
Avatar
The font looks smoother ingame, are you sure thats the font?
Avatar
game renders font pretty differently
Avatar
nevermind I got it 🤣
20:16
i had to tweak it a bit
Avatar
are you using photoshop
Avatar
yeah kek
Avatar
did you just changed the rendering to smooth instead of whatever it was
20:17
I am close to perfection
Avatar
nvm bro
Avatar
Avatar
ryuma
Click to see attachment 🖼️
good luck to the tee thats gonna have to pass through this without touching other tees
Avatar
Avatar
ryuma
I was the one to take the screenshot so I didn't have a nametag above my head
if you have a demo then set cl_nameplates_own to 1 and skip to the point where you took this screenshot
Avatar
Avatar
Teero
if you have a demo then set cl_nameplates_own to 1 and skip to the point where you took this screenshot
I managed to get it done in photoshop, but thanks anyways :D
👍 1
Avatar
GitHub BOT 2024-11-30 22:40
c77415e Fix clipboard not being sanitized when pasting multiple lines - Robyt3 7cce8c4 Merge pull request #9304 from Robyt3/Lineinput-Clipboard-Sanitize - def-
Exported 622 message(s)
Timezone: UTC+0