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 2023-12-07 00:00:00Z and 2023-12-08 00:00:00Z
Avatar
00:03
1000 comments
00:03
insane
Avatar
finally a discord mobile update that isn't buggy on the first look
05:54
actually quite nice and smooth
Avatar
There might be already an existing issue, but I couldn't find it so here goes. So heres step by step what I did: 1. I joined 176.9.114.238:8338 (GER2) with map Koule 16. 2. I voted Dummy maps -> Essential 2 from the vote menu. 3. I left the server and reconnected, because noticed I spawned somewhere out of map boundary, but my game is crashing. Some other oddities:
  • "Steff fastrun 5" was loaded by the client, despite voting Essential 2 from the vote menu, and the demo recor...
Avatar
hi, how to install vulkan-sdk?
06:25
Avatar
Avatar
Towa
hi, how to install vulkan-sdk?
pepelook 2
06:27
Why you are trying to compile client in vds? xdd
Avatar
Avatar
Mʎɹ シ
Why you are trying to compile client in vds? xdd
server
Avatar
cmake .. -DCLIENT=OFF
Avatar
Avatar
Mʎɹ シ
cmake .. -DCLIENT=OFF
Avatar
Avatar
Mʎɹ シ
cmake .. -DCLIENT=OFF
он тоже русский
06:48
лол
Avatar
Avatar
people
он тоже русский
And?
Avatar
Avatar
Towa
Click to see attachment 🖼️
apt update apt install rustc
Avatar
раст карго типо?
Avatar
Avatar
Towa
Click to see attachment 🖼️
лучше без рута сделай
Avatar
Avatar
people
раст карго типо?
rust compiler
Avatar
понял
Avatar
Avatar
people
лучше без рута сделай
папки?
Avatar
компиль без рута
06:51
и в целом
06:51
рут не надо так часто юзать
Avatar
Avatar
people
компиль без рута
всм, без рут юзера или че
06:51
у меня он 1 просто
06:51
или ты про папку
Avatar
лан кароче похуй
Avatar
Avatar
Mʎɹ シ
apt update apt install rustc
and how to build?
Avatar
Avatar
Towa
and how to build?
Just run it and try to run cmake
Avatar
Avatar
Mʎɹ シ
cmake .. -DCLIENT=OFF
this?
Avatar
rustup is the best way to install everything
f3 1
Avatar
Avatar
Towa
всм, без рут юзера или че
Он про то, чтобы ты создал нового юзера, чтобы не использовать рут. Я не вижу в этом смысла
Avatar
Avatar
Towa
this?
Yap
Avatar
Avatar
Mʎɹ シ
Он про то, чтобы ты создал нового юзера, чтобы не использовать рут. Я не вижу в этом смысла
ты русский?
f3 1
06:54
или это переводчик (edited)
Avatar
Avatar
Mʎɹ シ
Он про то, чтобы ты создал нового юзера, чтобы не использовать рут. Я не вижу в этом смысла
в его случае ему рут не нужен особо
Avatar
Also english, mods will annoy u about that, or go private
Avatar
ну тут
06:54
уже просто на всякий случай
Avatar
Avatar
Mʎɹ シ
Yap
06:55
;(
Avatar
Avatar
Towa
Click to see attachment 🖼️
ща
Avatar
я просто хочу понять как ядро билдить
06:55
что бы изменить кое каакой текст
Avatar
Avatar
Towa
Click to see attachment 🖼️
Then use rustup
Avatar
внутри
Avatar
Avatar
Mʎɹ シ
Then use rustup
how
Avatar
Avatar
ReiTW
@Mʎɹ シ https://rustup.rs
Or this
Avatar
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
06:56
or this)
Avatar
i installed
06:57
but
06:57
how to use it to build server?
Avatar
You don't, look at the last line
06:57
source ~....
06:57
Copy paste it to your terminal
Avatar
Avatar
ReiTW
source ~....
where is it?
06:58
i cant see
Avatar
When you ran the curl command
06:58
The last line was to enable rust tools in ur current znv
06:58
Env*
06:58
Or just close your terminal and open a new one
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 DDNet readme is useful thing
Avatar
Avatar
Mʎɹ シ
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 DDNet readme is useful thing
страшно
Avatar
Avatar
Mʎɹ シ
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 DDNet readme is useful thing
i do this but last X libs cant installed (edited)
Avatar
Avatar
ReiTW
source ~....
Avatar
Avatar
Towa
Click to see attachment 🖼️
какой у тя дистрибутив вобще на дедике стоит
Avatar
ooooooooo
Avatar
Avatar
people
какой у тя дистрибутив вобще на дедике стоит
20.04 (edited)
😈 1
Avatar
Avatar
people
какой у тя дистрибутив вобще на дедике стоит
Ubuntu
07:00
e2rj-o[r3'd
Avatar
and where is DDNet-Server file?
Avatar
Avatar
Towa
and where is DDNet-Server file?
Run make command in build directory
Avatar
Avatar
Towa
and where is DDNet-Server file?
А потом ./DDNetPP
Avatar
Avatar
people
А потом ./DDNetPP
i know
Avatar
ну тоесть название файла DDNetPP
07:01
ок
07:01
да
07:01
вс
07:01
е
07:01
hehe
Avatar
Avatar
Towa
Click to see attachment 🖼️
птеродактел ?
Avatar
Avatar
Towa
Click to see attachment 🖼️
а
Avatar
это дднет обычны
Avatar
Avatar
Towa
😎
птеродактеллл
Avatar
ты сам хостил?
07:02
на вдс
07:02
установил
Avatar
бля ебать как
Avatar
изи же
Avatar
я птеродактель уже 1 год не могу установить
Avatar
1 командой
Avatar
захостсить
Avatar
Avatar
people
я птеродактель уже 1 год не могу установить
ну 1 год хочу)
07:03
просто страшно на репозиторий их смотреть
07:03
не перевариваю
07:03
лан
Avatar
Avatar
people
ну 1 год хочу)
apt update -y ; apt upgrade -y ; apt install curl -y ; bash <(curl -s https://pterodactyl-installer.se)
07:03
на
07:03
вот это пиши
07:03
там дальше поймёшь че делать
Avatar
legend ❤️
Avatar
проверено на убунте 20.04
Avatar
бубунту
Avatar
на дебиане у друга все взорвалось
Avatar
блять
07:04
я на дебиане запускаю
07:04
стражно
Avatar
ура сбилдилось
07:04
спасибо
👍 2
07:04
я просто все это делаю
07:04
ради
07:04
дефолтных сообщений в чате от дднета
Avatar
круто
Avatar
Guys
07:08
Russian is not the world language
Avatar
Avatar
Jupstar ✪
Russian is not the world language
okay sry
Avatar
suka blyat
Avatar
ruska vodka medvedi!!!
Avatar
Avatar
Jupstar ✪
Russian is not the world language
我不明白你的意思
Avatar
did utf8(russian) symbols supported in ddnet?
07:45
07:45
wtf!!!
Avatar
Original message was deleted or could not be loaded.
To be clear. Stop speaking russian
Avatar
ok sorry my bad
07:45
i wwant delet
Avatar
Avatar
people
wtf!!!
That's indeed very strange that it fails
Avatar
Avatar
Towa
did utf8(russian) symbols supported in ddnet?
Yes they are supported
Avatar
Avatar
Jupstar ✪
Yes they are supported
if i change text here can i change only server file? or i need change all build files?
07:53
for ex: translate english text to russian
07:53
and build server
Avatar
Avatar
Towa
if i change text here can i change only server file? or i need change all build files?
*change files on hosting
Avatar
Change the language in client settings xdd
07:55
There's a menu for that
07:56
Ah you mean the server messages
Avatar
Avatar
Teero
Change the language in client settings xdd
i need change this text on server, where? this lang only on client folder (edited)
Avatar
Avatar
Teero
Ah you mean the server messages
yes
Avatar
I think they're hardcoded So they're not easily translatable except editing the source files (edited)
07:58
.cpp
Avatar
if you have an IDE installed you can just search for the phrases and then change them
Avatar
Avatar
Teero
if you have an IDE installed you can just search for the phrases and then change them
i change this
07:59
root@tasfers:~# grep -r -F "entered and joined the game" /home/ddnet/ /home/ddnet/src/game/client/components/menus_settings.cpp: str_format(aLineBuilder, sizeof(aLineBuilder), "'%s' entered and joined the game", aBuf);
07:59
grep
Avatar
Avatar
Towa
for ex: translate english text to russian
As long as you are only changing variables etc yes
08:02
But ofc not in built keywords
Avatar
Avatar
Towa
root@tasfers:~# grep -r -F "entered and joined the game" /home/ddnet/ /home/ddnet/src/game/client/components/menus_settings.cpp: str_format(aLineBuilder, sizeof(aLineBuilder), "'%s' entered and joined the game", aBuf);
Ah yes, that should work
Avatar
Avatar
Jupstar ✪
Ah yes, that should work
Okay, only server file?
08:07
Change on hosting
Avatar
Yeah change it in your hosting, or fork ddnet and maintain a Russian version
08:07
Something like that
Avatar
Avatar
Towa
root@tasfers:~# grep -r -F "entered and joined the game" /home/ddnet/ /home/ddnet/src/game/client/components/menus_settings.cpp: str_format(aLineBuilder, sizeof(aLineBuilder), "'%s' entered and joined the game", aBuf);
That's that phrase that is in the clientside settings xd Wrong location
08:12
All the server files are located in src/game/server
Avatar
Avatar
Teero
That's that phrase that is in the clientside settings xd Wrong location
Oh true oups xd
Avatar
my coffee arrived
08:22
i made one and it’s good
Avatar
hi coffee im dad
Avatar
discord app changed
Avatar
not for me yet
Avatar
ur american right u use ios
08:23
and ur racist with ppl who use android
08:23
i seen it on socials
08:23
"green ticks"
08:23
xD
Avatar
i updated it
Avatar
Avatar
Ryozuki
"green ticks"
yea it’s cuz anyone without iMessage shows up as green in our messages
08:24
it’s really not so bad except for when you’re in a group text and there’s ONE person who has an android
08:24
so all iMessage features cant be used
Avatar
they racist
08:24
well its apple fault
08:24
why tf u dont use whatsapp like everyone in eu
08:25
its funny its only a american problem
Avatar
nobody uses whatsapp here except for mexicans and mexican immigrants lol
Avatar
Avatar
Ryozuki
why tf u dont use whatsapp like everyone in eu
?
Avatar
ok whats or telegram idk
Avatar
Most ppl i know nowadays use telegram xd
Avatar
its whats used be real
Avatar
but yeah
Avatar
i have telegram but the only ppl on there are drug dealers lol
Avatar
One of these
Avatar
chillerdragon BOT 2023-12-07 08:25:50Z
Both Bad
Avatar
Hello sir
Avatar
but atleast we not mobile racists
08:26
xddd
Avatar
im not mobile racist
Avatar
Thanks for fighting for my rights
08:26
i like apple but that doesn’t mean I hate android
08:26
u know
Avatar
Avatar
Ryozuki
but atleast we not mobile racists
It's generally so stupid to be a fan of a company
Avatar
chillerdragon BOT 2023-12-07 08:26:43Z
I hate apple but that doesn’t mean I like android
08:26
u know
Avatar
They focus so much power on them with that thinking
Avatar
the green tick by apple is made to make a big social pressure on android users to use iphone
08:26
its scummy
08:26
Nah
08:27
It’s ’based’
Avatar
its not based lol
Avatar
they don’t even have market dominance but they are still able to get away with such a big social pressure
08:27
i think it’s funny
08:27
i think they have
08:27
atleast on youth
08:28
89% on youth iitc
08:28
iirc
08:28
because social pressure there is bigger
Avatar
chillerdragon BOT 2023-12-07 08:28:24Z
sms is weird
Avatar
apple is 16% market share in q3 2023
08:28
it’s based
Avatar
Nov 14, 2023 · According to this year's report, 87 percent of teenagers surveyed own an iPhone, while 88 percent expect to buy an iPhone as their next device.
Avatar
i hope u know i’m not defending apple’s green box thing
08:30
some ppl think based means something different than it does
Avatar
though it does help to weed out non-iMessage contacts so you can know not to use iMessage specific features on them that will suck
Avatar
well for me using gentoo is based
08:30
because ur not like everyone
08:30
apple is used by everyone
Avatar
like the memoji things (and up until recently, reactions)
Avatar
its opposite of based
Avatar
its normie
08:31
based is just like someone doing their own thing and continuing to do it because they don’t care what other ppl think
08:32
yea lots of apple users but doesn’t mean it’s not based
Avatar
btw by discord app i mean mobile
08:32
not desktop
Avatar
i updated it but it’s the same
08:32
i think Samsung had more market share anyway
Avatar
do u have oled theme on
Avatar
what dat
08:33
they totally changed theme
Avatar
tap dark theme 10 times in settings
Avatar
but maybne they put me a custom theme
08:33
this oled mode
Avatar
uh i like my mode better
08:34
but its dark like tis because discord theme
Avatar
yea it’s a third discord theme
Avatar
now dms are in their own tab
08:34
at bottom
08:34
Avatar
i updated but my app is the same feelsbadman
Avatar
r u apple?
Avatar
maybe apple’s enforced longer staging period
08:35
i see u got 5g
Avatar
i am going to a meetup tomorrow because apparently it’s good for networking
08:35
ya i got 5g
08:35
who doesn’t
Avatar
my mobile is 5g compat
08:35
but i never seen the 5g symbol xd
08:36
and u are in barcelona?
Avatar
maybe my carrier doesnt do 5g yet?
Avatar
big ass city and no 5g owo
08:36
perhaps
08:36
is it some uncommon one
08:36
here even the uncommon ones just rent out service from the grids of the big 3
Avatar
Avatar
Ryozuki
but i never seen the 5g symbol xd
You can't have 5g while on power saving mode. maybe it's that?
Avatar
5g lte when
Avatar
I do have 5g but Idk, sometimes it feels worse than 4g so I don't use it x)
Avatar
Avatar
Devinci
You can't have 5g while on power saving mode. maybe it's that?
i never have power saving
Avatar
prob cuz everyone is on it
Avatar
omg why i dont have 5g
Avatar
do you pay for some budget line
08:37
essential
Avatar
i have "infinite" data
08:37
xd
08:38
but i read the terms its probs limited to 200gb
Avatar
yea i think every unlimited plan has 5g now
Avatar
anyway i dont use mobile much
Avatar
infinite bad data feelsbadman
Avatar
yes :c
Avatar
Avatar
Ryozuki
but i read the terms its probs limited to 200gb
i have downloaded shit tons and never hit the ceiling
Avatar
@Ewan i find it funny in america its common to limit home internet
08:38
here one would be insane
Avatar
as someone who doesn't even have wifi I don't think I even reach 150gb/month
08:39
i do XD
Avatar
Avatar
Ryozuki
@Ewan i find it funny in america its common to limit home internet
says who
Avatar
i seen lot of stories
Avatar
never seen that
Avatar
oh wow lmao. and I download kind of a lot of stuff at that
Avatar
u need to download more hentai ehem
😳 1
08:39
im joking
Avatar
limited data is common for old ppl but limited home internet isn’t
08:39
I’ve never known someone with it
08:40
and even the bare minimum xfinity contract is still unlimited
08:40
maybe it’s limited in the boonies
Avatar
i know 1 guy with a bandwidth cap but he’s in the depths of the yukon mountains
08:40
not even usa
Avatar
Oh nvm, I used 471GB on November justatest
08:41
Whoops
Avatar
and close to 700gb on october. I was full caping wtf
Avatar
You pay absurd prices for limited internet if you live in the middle of nowhere in america
Avatar
yea it’s very expensive
Avatar
what are absurd prices? I do pay quite high for my subscription
Avatar
americans pay more
Avatar
$80+ a month
Avatar
@Devinci u from barcelona too right
Avatar
$80-$200 a month
Avatar
Avatar
Ryozuki
@Devinci u from barcelona too right
I am, but I do not live there feelsbadman
Avatar
For really bad speeds, throttled if you go over X GB
Avatar
even for 200? wow. I think I am on 90 or something rn. And well, can't raelly complain that much
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
do u mean this is a nitro theme
08:45
aoc time
Avatar
I pay $60 a month for 2.8MB/s down 1.6MB/s up, had to install a 90 foot tower with guy wires
Avatar
Avatar
Skeith
I pay $60 a month for 2.8MB/s down 1.6MB/s up, had to install a 90 foot tower with guy wires
dude where are you holy shit
08:47
you can’t even use a satellite?
Avatar
Rural illinois
08:47
Satellite internet is ass, haven't tried starlink tbf
08:48
probably don’t have it where you are
08:48
advent of code
Avatar
Avatar
Skeith
I pay $60 a month for 2.8MB/s down 1.6MB/s up, had to install a 90 foot tower with guy wires
lol
Avatar
Living in the middle of the woods, so starlink would be ass probably
08:48
Too many trees
Avatar
for 60€ i get my home internet and unlimited mobile data, home is 110mb/s down (the real speed)
Avatar
Ya, price of living rural
Avatar
they are bundled cool
08:49
we pay separate
Avatar
well it depends on provider
08:49
but here probs healthier competition
Avatar
yea same here
Avatar
there are like 6 or 7
08:49
maybe more
Avatar
I'm lucky I can even get this internet. I used to have half these speeds for the same price, but they doubled it about half a year ago
Avatar
@Skeith do each home owner there own a shotgun and a armament?
08:50
xd sry
Avatar
Before that, I had 600KB/s for the same price, for like 9 years
08:51
Unironically
08:51
does anyone got a sniper rifle
Avatar
Maybe, dunno
08:51
Wouldn't be surprised
Avatar
i want a barret
Avatar
Someone fires a cannon nearby, it's loud
08:52
boom house destroyed
08:52
this goes thro thick walls iirc xd
08:52
anti tank bullets
08:53
Avatar
Mostly people hunting deer around me though, bow, shotgun (edited)
Avatar
do they use classic bow
08:54
or the one thats dope
Avatar
I don't know, probably either
Avatar
do u have outsiders
Avatar
I'm personally not redneck enough to know these things
08:55
im sry but i can only imagine ur place like a old cowboy movie
08:55
western movie
Avatar
Outsiders? People showing up on the property to hunt randomly? Ya kinda
Avatar
are u all white
08:56
justatest
08:56
@Skeith do u consider spanish from spain non white?
08:56
cuz i definitly heard it
08:57
and im quite white with blue eyes
08:57
XD
08:57
but well some americans think spain is mexico
Avatar
Uh idk, no opinion
Avatar
so white is not rly about color?
08:57
argentinians are rly white t oo
Avatar
depends on the guy
Avatar
Avatar
Skeith
Uh idk, no opinion
boo boring
Avatar
Avatar
Ewan
depends on the guy
well yeah i mean a obviously white looking spaniard
08:58
im catalan tho
08:58
owo
Avatar
@Ewan i had some job offers where u have to sign the non racist thing
08:59
and u have to say ur race
08:59
which is pretty racist itself
08:59
and i saw spanish
Avatar
but i guessed it meant latin
Avatar
i dont consider myself latin spanish
Avatar
actually no spanish from spain does xd
Avatar
U do that for disability status, veteran status, and gender here too
Avatar
to not "be racist"
09:00
if u dont need to be racist at work u dont ask uur race
Avatar
and for all of them you can choose not to opt but they will be able to tell as soon as u interview
Avatar
u simply accept the person
09:00
xd
Avatar
the worst anti-racist racism is minority-based college grants
Avatar
they asked that for a job in barcelona?
Avatar
im poor but white and fully able so i would not apply for these grants meant to be given to the less fortunate
09:01
idk if it was this one
09:01
i think not
09:02
09:02
im white justatest
09:02
is this
Avatar
@Devinci i also got pretty weirded out
09:02
but u do that when getting a job there
Avatar
did the U.S go colorblind
Avatar
ChillerDragon BOT 2023-12-07 09:03:16Z
wtf why are there race checkboxes
Avatar
cuz they racist
09:03
xddddd
09:03
+
09:03
and they specifically ask
09:03
if ur hispanic or latino
Avatar
ChillerDragon BOT 2023-12-07 09:03:43Z
wtf
Avatar
ChillerDragon BOT 2023-12-07 09:03:48Z
why do they care
Avatar
Avatar
Ryozuki
+
ah here is where i was confused!
Avatar
and after completing that do they give you a little star to put on your uniform or something
Avatar
because it doesnt mention european Spain
09:04
@Ewan
Avatar
ChillerDragon BOT 2023-12-07 09:04:33Z
yikes devinci
Avatar
XD @Devinci evil
09:04
they give u a star color
09:04
depending on ur race
Avatar
ChillerDragon BOT 2023-12-07 09:04:58Z
ohno
09:05
enough irc for the morning
09:05
the americans got silent
09:05
justatest
Avatar
Avatar
Ryozuki
because it doesnt mention european Spain
yea i would say no
Avatar
you are technically hispanic by definition
09:06
but it has nothing to do with how most Americans imagine hispanic ppl from south
Avatar
thats what i thought
09:06
it just reeks ignorance on their part
09:06
and this form
09:06
i ended up not applying
09:06
was long time ago tho
09:07
@Ewan are latinos rly a minority there? iirc there are lots xd
Avatar
yea sorta
Avatar
and probs the one doing the hard manual labour
Avatar
yea that’s why
Avatar
here the manual labour is done mostly by immigrants ngl
09:08
u hear them and none speak spanish
Avatar
yea they are the immigrants here xD
09:08
many don’t speak English
09:08
they talk in 2000wpm spanish
09:09
but im sure they work more than ur white collar worker
09:09
mexicans are notoriously hard workers
Avatar
but well salary is more decided by the scarcity on people having a skill set
Avatar
and manual labor is smth most men can do
09:09
cuz i never seen women doing plumber
Avatar
it pays well ish here
09:10
though you have a high pay rate on paper there are many ways that you get screwed as a manual laborer
09:10
usually a very toxic environment
09:10
i had a friend who worked a bit at the barcelona port
09:11
apparently they are all day drunk working
09:11
xd
09:11
working at the port that handles the rich guys boats
09:12
oh now im feeling lazy to do the aoc problem
09:13
meased up
09:13
messed
Avatar
hi
09:14
@Ewan are u going to sleep
Avatar
honestly manual work pay depends on the country, I may be saying shit but on countries like switzerland the pay is still high comparing it with other jobs
Avatar
why u ask
09:15
i have to finish my coffee first
Avatar
Avatar
Devinci
honestly manual work pay depends on the country, I may be saying shit but on countries like switzerland the pay is still high comparing it with other jobs
but also cost of living
Avatar
can we mute that russian
09:19
ban*
Avatar
yeah, but that's why I said comparing with other jobs. you aren't paid 1/10 of what a dev could get, iirc it's more balanced (edited)
Avatar
2023-12-07 12:39:48 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server. 2023-12-07 12:39:48 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8306.
09:40
help pls
09:53
pls
Avatar
Have you tried googling configure your firewall/nat to let through udp on port 8306.
Avatar
what is 2nd "%s" parametr? "game"
Avatar
Red team
09:59
Spectators
09:59
Blue team
09:59
Game
09:59
thanks
Avatar
Avatar
Jupstar ✪
Red team
where is this localization?
10:01
i want to translate this part
10:01
but
10:01
Avatar
You can't translate server text with ddnet translation system
10:02
This text is hardcoded
Avatar
Avatar
Mʎɹ シ
You can't translate server text with ddnet translation system
i can
Avatar
This can be only changes by code
Avatar
i removed ddnet ads
Avatar
Avatar
Towa
i removed ddnet ads
this
Avatar
Avatar
Mʎɹ シ
This can be only changes by code
So what am I asking?
Avatar
Simply look how the parameter was passed in code
Avatar
I asked where the names of the teams were
Avatar
Avatar
Jupstar ✪
Simply look how the parameter was passed in code
pPlayer->GetTeam()
Avatar
do you know cpp?
Avatar
Avatar
Jupstar ✪
do you know cpp?
partly
Avatar
Avatar
Towa
partly
CTRL + mouse click on the argument that writes the "game" or "red team" and follow it down until you see the strings
10:09
GetTeamName or smth
10:10
ddnet/src/game/server /gamecontroller.cpp
10:10
const char *IGameController::GetTeamName(int Team)
Avatar
ctrl+ mouse click lol what
Avatar
ctrl + mouseclick is "hop to definition" iirc? lol - also look at: void CGameControllerDDRace::OnPlayerConnect(CPlayer *pPlayer) in DDRace.cpp if you want to know how the welcome message is done (edited)
Avatar
do you guys never use it or what?
Avatar
my keybind for definition is ctrl+alt+b lol
Avatar
waddafak
Avatar
and to jump back u also use keyboard?
10:17
instead of the buttons on the mouse?
10:17
forward, backward buttons i mean
Avatar
jumpback is mouse5 ofc
Avatar
in vscode you can also use ALT + arrow left
10:18
very rarely i also use that 😄
Avatar
ctrl+mouseclick is hop to definition in what?
10:18
lmfao
Avatar
vscode
Avatar
oh yeah cuz everyone uses vscode >_>
Avatar
just checked, ctrl+mouseclick also works on clion
10:19
TiL
Avatar
yeah eclipse also used it
10:19
i think it's very common
10:19
for editors with mouse support 😂
Avatar
why only i can connect to my ddnet server (not localhost) and why my server does not showing in Network? when i starting server this parametr sets to 0? why?
Avatar
did you port forward
Avatar
Avatar
Towa
why only i can connect to my ddnet server (not localhost) and why my server does not showing in Network? when i starting server this parametr sets to 0? why?
set it to "ipv4" with the "
Avatar
sv_register "ipv4"
10:20
this?
Avatar
also change it in ~/.ddnet cmake might overwrite that file
10:20
yes
10:21
or create a separate cfg
Avatar
Avatar
Jupstar ✪
also change it in ~/.ddnet cmake might overwrite that file
where? in build or in server files
Avatar
or pass it as start param: ./DDNet-Server "sv_register ipv4"
Avatar
Avatar
Towa
where? in build or in server files
none
10:22
$configdir
Avatar
DDNet config directory & settings_ddnet.cfg location:
On Windows: Old: %appdata%\Teeworlds New: %appdata%\DDNet On Linux: Old: ~/.teeworlds New: ~/.local/share/ddnet On macOS: Old: ~/Library/Application Support/Teeworlds New: ~/Library/Application Support/DDNet The settings_ddnet.cfg file contains all your friends, control, player & game settings.
Avatar
or create custom cfg
Avatar
you can create a myserverconfig.cfg file aswell
Avatar
Avatar
Jupstar ✪
or create custom cfg
i changed this on autoexec
10:22
not this?
Avatar
Avatar
Towa
i changed this on autoexec
yes, but maybe that file gets overwritten
10:22
it's better you don't use that file in the build dir
Avatar
directly there
Avatar
Avatar
Jupstar ✪
directly there
where is config?
Avatar
Avatar
Towa
where is config?
copy paste it there
Avatar
autoexec?
Avatar
or use custom config. bcs autoexec will affect all servers
10:23
just so u aware
Avatar
Avatar
Towa
autoexec?
yes
Avatar
Avatar
Jupstar ✪
yes
2023-12-07 13:24:47 I register/6/ipv4: registering... 2023-12-07 13:24:47 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server. 2023-12-07 13:24:47 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303. 2023-12-07 13:25:02 I register/6/ipv4: registering... 2023-12-07 13:25:02 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server. 2023-12-07 13:25:02 E register/6/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
Avatar
sv_ipv4only 1
10:26
also - port forward
Avatar
anyway, to resolve your firewall problem, google
Avatar
i dunno if your VPS provider has a custom firewall
10:26
where is the VPS from?
Avatar
Avatar
Jupstar ✪
where is the VPS from?
vds france
Avatar
Allow game controllers to implement their own scoring snap. This comes in handy for forks that are not using race times as scores. And want to send their own values. sv_gametype ddnet still loads scores just fine. sv_gametype mod shows score 0 at all times.

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 ...
Avatar
Avatar
Jupstar ✪
i dunno if your VPS provider has a custom firewall
i removed ufw
10:35
but it not fixed
10:35
port opened
10:36
and my vds havent custom firewall
Avatar
udp?
Avatar
Avatar
Jupstar ✪
udp?
how to check this
Avatar
can you connect with direct IP address?
Avatar
Avatar
Jupstar ✪
can you connect with direct IP address?
yes but my friends cant, idk why
10:37
this is not local address
Avatar
maybe ur friend is retarded? xd
10:37
give him step by step guide
Avatar
Avatar
Jupstar ✪
maybe ur friend is retarded? xd
no, he cant join bc server writing "The server has not responded yet"
Avatar
Avatar
Towa
no, he cant join bc server writing "The server has not responded yet"
tell him to send screenshot and check if the ip and port is correct
Avatar
Avatar
Jupstar ✪
tell him to send screenshot and check if the ip and port is correct
corrected my 2 friends cant connect
10:40
and @people
Avatar
few things to check:
  • port forwarded correctly?
  • static ip?
  • a few firewall/antivirus programs block certain connections
  • is the server running when you're connecting to localhost and your direct ip (not 127.0.0.1 - kekw)?
  • is your friend's router retarded? (or maybe your friend idk)
(edited)
Avatar
Avatar
Towa
corrected my 2 friends cant connect
but you can?
10:40
maybe russian traffic is filtered
Avatar
Avatar
meloƞ
few things to check:
  • port forwarded correctly?
  • static ip?
  • a few firewall/antivirus programs block certain connections
  • is the server running when you're connecting to localhost and your direct ip (not 127.0.0.1 - kekw)?
  • is your friend's router retarded? (or maybe your friend idk)
(edited)
1. yes 2. yes 3. havent 4. i havent localhost, i bought vds
Avatar
Avatar
Jupstar ✪
but you can?
yes
Avatar
Avatar
Jupstar ✪
maybe russian traffic is filtered
i and my friends from russia
Avatar
Avatar
Towa
i and my friends from russia
try in cmd: ping <ip>
10:41
if it works for you, tell your friend too
10:41
if it doesnt work for him => he won't ever be able to connect
Avatar
Avatar
Towa
i and my friends from russia
what OS are you on
Avatar
Avatar
Jupstar ✪
try in cmd: ping <ip>
Пакетов: отправлено = 4, получено = 4, потеряно = 0
Avatar
Avatar
meloƞ
what OS are you on
ubuntu 20.04
Avatar
sudo ufw allow 8303/tcp
Avatar
Avatar
meloƞ
sudo ufw allow 8303/tcp
what about upd?
Avatar
then check with -nmap
Avatar
Avatar
Towa
Пакетов: отправлено = 4, получено = 4, потеряно = 0
now your friend
Avatar
Avatar
meloƞ
then check with -nmap
how
Avatar
Avatar
Jupstar ✪
now your friend
sec
Avatar
Avatar
meloƞ
sudo ufw allow 8303/tcp
i need to allow upd?
Avatar
Avatar
meloƞ
sudo ufw allow 8303/tcp
not fixed
Avatar
Avatar
meloƞ
sudo ufw allow 8303/tcp
if he can connect, it kinda unlikely be a firewall issue i guess. except there is some preinstalled filter for specific IPs
Avatar
Avatar
Jupstar ✪
now your friend
same
Avatar
well then try what melon said, but with udp
10:46
but something is really weird here tbh
Avatar
Avatar
Jupstar ✪
well then try what melon said, but with udp
Let's fix this problem first:
10:47
why this error
10:47
i need to allow 8303/udp? (edited)
Avatar
"let through udp on port 8303" - sudo ufw allow 8303/udp - even tho it makes no sense, as long as YOU can connect to it (edited)
Avatar
Avatar
Towa
Let's fix this problem first:
yeah but if you really can connect to the server, it either allows udp traffic, or you didnt say us anything
Avatar
Avatar
Jupstar ✪
yeah but if you really can connect to the server, it either allows udp traffic, or you didnt say us anything
I can connect but it is not visible in the public browser
Avatar
Avatar
Towa
Let's fix this problem first:
if i set ipv4 parametr this error (edited)
Avatar
yes, but as said that makes no sense that nobody else can connect
10:50
are you using their VPN or smth
10:51
why should it work exactly for you and nobody else
Avatar
I also don't understand why this is so
Avatar
ws-client BOT 2023-12-07 10:51:14Z
<ChillerDragon> yo @Ryozuki my top5 favorite clang dev when fix this troll
Avatar
Avatar
Jupstar ✪
are you using their VPN or smth
no
Avatar
ws-client BOT 2023-12-07 10:52:04Z
<ChillerDragon> a i ran wrong file xd nvm ./a.out also segfaults
Avatar
Avatar
ws-client
where is the error
10:52
ur doing ub bro
10:52
anythings game
Avatar
ws-client BOT 2023-12-07 10:52:58Z
<ChillerDragon> fix ub then
Avatar
u can fix ub
10:53
use rust
10:53
not c++
10:53
owo
Avatar
not even friday yet
10:53
and chiller does activism
Avatar
ChillerDragon BOT 2023-12-07 10:56:53Z
yes
Avatar
ChillerDragon BOT 2023-12-07 11:19:29Z
omg wasnt valgrind just valgrind ./DDNet-Server????
11:19
fakin bitsh
11:20
11:20
it just exits on me
11:20
aaa
11:20
xd
11:20
had asan on too
Avatar
ChillerDragon BOT 2023-12-07 11:22:38Z
a nobodi saw that xd
11:22
xd
Avatar
ChillerDragon BOT 2023-12-07 11:22:46Z
fak
11:23
omg i hate integration tests
Avatar
ChillerDragon BOT 2023-12-07 11:27:47Z
a got the bitsh
11:32
lmao trol video ryo
11:32
its from a half life speedrunner
Avatar
ChillerDragon BOT 2023-12-07 11:33:14Z
"now we made it to japan"
11:33
by stepping on a pickaxe xd
Avatar
it's only good if u know the half life speedruns
11:40
bcs they literally the same xd
Avatar
chiller logic
Avatar
ChillerDragon BOT 2023-12-07 11:56:45Z
wot
Avatar
hi guyz, dis no pr, dis an issue
Avatar
ChillerDragon BOT 2023-12-07 11:57:05Z
a
Avatar
but i make pr
11:57
chiller logic
Avatar
ChillerDragon BOT 2023-12-07 11:57:21Z
issues font have pipelines to showcase issues
11:57
dont*
Avatar
you could contribute a CI that triggers this issue
11:57
that also prevents it in future
Avatar
ChillerDragon BOT 2023-12-07 11:57:59Z
i triggered the issue with a pr CI is already there
Avatar
ez
Avatar
i should play some video game
Avatar
@Jupstar ✪ ports opened (edited)
12:30
but error(
Avatar
Avatar
Towa
@Jupstar ✪ ports opened (edited)
Avatar
Can Friends Connect?
12:40
@Ryozuki why is there no mutable iterator, that gives u the item as mut and additionally an mutable iterator over the remaining items?
12:40
Or is there
12:40
iter mut
Avatar
Avatar
Ryozuki
iter mut
Where are the remaining items?
Avatar
I want item as mut and the rest as rest iterator
12:44
And use them simultaneously
12:44
Similar to split mut
12:44
Just as iterator
Avatar
A dynamically-sized view into a contiguous sequence, [T]. Contiguous here means that elements are laid out so that every element is the same distance from its neighbors.
12:45
A dynamically-sized view into a contiguous sequence, [T]. Contiguous here means that elements are laid out so that every element is the same distance from its neighbors.
Avatar
But that's not part of itetator xd
12:47
I need gpt4 or Heinrich 😬
Avatar
u make the iterator after getting the first item
12:48
what u want doesnt exist
12:48
or simply make a iter mut
12:48
and call next()
12:48
and save it
12:48
and then keep iterating
Avatar
Avatar
Jupstar ✪
set it to "ipv4" with the "
quotes are optional
12:51
ChillerDragon: you're dereferencing a null pointer. segmentation fault is the best you can hope for
Avatar
Avatar
Ryozuki
and call next()
Yeah sadly not what i need, but thanks
Avatar
what ryo says
12:55
calling next() does what you need
Avatar
Not really
Avatar
you'll get the first element and an iterator for the rest
12:55
that you can use simultaneously
Avatar
But i want all other objects
12:56
Remaining was wrong word
12:56
Other
Avatar
are you iterating over a vec/slice?
Avatar
No
12:56
Hash map
Avatar
you want to be able to index the rest of the map?
Avatar
I want to iter over all elments and for each element i also want an iterator over the other objects
Avatar
Avatar
Jupstar ✪
Can Friends Connect?
no
Avatar
ah
Avatar
Avatar
Towa
no
Yeah sry i can't help anymore. Makes no sense to me^^
Avatar
@Towa can connect but others can't?
Avatar
Avatar
heinrich5991
@Towa can connect but others can't?
yes
Avatar
but it's not hosted on the computer @Towa is connecting from?
Avatar
Avatar
heinrich5991
but it's not hosted on the computer @Towa is connecting from?
not my computer
12:58
vds
Avatar
what OS are you running? what OS is running on the vds?
Avatar
chillerdragon BOT 2023-12-07 12:59:31Z
I was hoping for a compiler warning at least
Replying to @heinrich5991 ChillerDragon: you're dereferencing a null pointer. segmentation fault i…
Avatar
Avatar
chillerdragon
I was hoping for a compiler warning at least
try rust
Avatar
Avatar
heinrich5991
what OS are you running? what OS is running on the vds?
error fixed, but friend cannot join
Avatar
chillerdragon BOT 2023-12-07 12:59:51Z
xd
Avatar
chillerdragon BOT 2023-12-07 12:59:55Z
Sure
13:00
So don’t remove rust from ddnet then hehe
Avatar
Avatar
Towa
error fixed, but friend cannot join
what OS are you running? what OS is running on the VDS? (edited)
Avatar
Avatar
heinrich5991
what OS are you running? what OS is running on the VDS? (edited)
ubuntu 20.04 (edited)
Avatar
Avatar
Towa
error fixed, but friend cannot join
13:01
but if friend joining here or writing my ip he cant
Avatar
can you execute curl https://ipinfo.io/ip; echo on your VPS?
Avatar
Avatar
heinrich5991
can you execute curl https://ipinfo.io/ip; echo on your VPS?
for what?
Avatar
chillerdragon BOT 2023-12-07 13:02:16Z
Maybe it’s ipv6 only
Avatar
no, i writing ipv4
13:02
when connecting
Avatar
for debugging the issue
Avatar
and my friend do this
13:02
but cant connecting
13:02
bruuuuuh
Avatar
Avatar
heinrich5991
for debugging the issue
13:03
Avatar
chillerdragon BOT 2023-12-07 13:03:24Z
Root !
Avatar
Avatar
Towa
Click to see attachment 🖼️
friend's screen
Avatar
Avatar
chillerdragon
Root !
yes and?
Avatar
chillerdragon BOT 2023-12-07 13:03:38Z
It’s dangerous
Avatar
Avatar
chillerdragon
It’s dangerous
why
Avatar
chillerdragon BOT 2023-12-07 13:04:21Z
Is your ddnet server running as root?
13:04
If it has a bug then it has root powers
Avatar
Avatar
chillerdragon
Is your ddnet server running as root?
no
Avatar
chillerdragon BOT 2023-12-07 13:04:41Z
Ah nvm then
Avatar
on pterodactyl
Avatar
your firewall seems to block UDP from IP addresses that haven't connected via TCP yet
Avatar
I connected to your SSH port and I could join the server
Avatar
Avatar
heinrich5991
I connected to your SSH port and I could join the server
ddnet?
Avatar
try to get in touch with your hoster
Avatar
Avatar
Towa
ddnet?
yes
13:05
try to disable "ddos protection" or similar
Avatar
Avatar
heinrich5991
try to disable "ddos protection" or similar
friend join
13:06
he fixed it using ssh connection
13:06
and save fingerprint
Avatar
chillerdragon BOT 2023-12-07 13:06:50Z
lol
Avatar
and can join
13:07
how to disable this shit?
Avatar
chillerdragon BOT 2023-12-07 13:07:07Z
Maybe setup a website where players can whitelist
13:07
That’s on your Hoster
Avatar
this is ddos protection?
Avatar
chillerdragon BOT 2023-12-07 13:07:19Z
Looks like
Avatar
no need to save fingerprint
13:07
just any TCP connection will work
Avatar
Avatar
heinrich5991
no need to save fingerprint
how to save fingerprint without ssh?
13:11
maybe bash script
13:11
or what
Avatar
fingerprint is completely irrelevant to this issue
13:12
it has nothing to do with your problem
Avatar
Avatar
Jupstar ✪
I want to iter over all elments and for each element i also want an iterator over the other objects
Done 😏
13:35
i doubt I'm the first that needs this. But sometimes it's really hard to find crates that do it
13:35
U end up searching longer than just implement it xd
Avatar
Avatar
Jupstar ✪
Done 😏
how?
Avatar
Avatar
heinrich5991
how?
I'm done implementing it
Avatar
how did you implement it?
Avatar
i wrote a wrapper that does it
13:41
13:42
little bit different than i described, but still similar
Avatar
the unsafe block looks fishy, probably UB
Avatar
why
13:44
the compiler suggested it
Avatar
the compiler suggested using a raw pointer?
Avatar
did the compiler suggest using a raw pointer?
Avatar
the raw pointer is ofc to get away from the borrow checker
Avatar
u probs should use a refcell
Avatar
and then?
13:45
it panics
Avatar
if a refcell panics it means u had 2 mutable references to the same point iirc, that would be ub in rust using pointers
Avatar
well i have two mut refs to same hash map, but not to same element
13:47
the hashmap is private
Avatar
iter/iter_mut is unsound at least, it generates a reference to the ignored element (only to throw it away)
13:47
but creating the reference is already UB
Avatar
i disagree
Avatar
@Jupstar ✪ run the code through miri
13:48
do u have a small snippet
Avatar
Avatar
Ryozuki
@Jupstar ✪ run the code through miri
give command line
Avatar
on using this
13:48
?
13:48
cargo miri test
Avatar
on running the test
13:48
ok
Avatar
Avatar
Jupstar ✪
i disagree
unless you have something to back it up, this is no question of opinion
13:48
it's about what rust guarantees and what it expects you to guarnatee
13:49
also, I think, you can get two mutable references out of this interface
13:49
consider a hashmap with three elements
13:49
get the first two with the remainder
13:49
use the remainder to get a mutable reference to the third element
13:49
in both cases
Avatar
ah yeah btw this sucks sadly
13:49
i dont really want an iterator
13:49
i just need the for each
13:50
but in my use case miri runs without problems
Avatar
but did u do a test
13:50
with the code running the iterator
13:50
did u also add edge cases
13:50
etc
Avatar
yes
13:50
as said i only need for each
Avatar
miri finds ub if it runs through ub
13:50
iirc
Avatar
i'll rewrite it. sadly i need to call it as function then
13:51
i prefer the for .. in ...
Avatar
ur in nightly right
Avatar
i use nightly compiler, but i dont want to use nightly features ^^
13:51
maybe that helped idk
Avatar
Avatar
heinrich5991
also, I think, you can get two mutable references out of this interface
beside this, since i dont need it and removed it. what else comes to you mind?
13:53
is creating two iterators that 100% don't hit the same object also UB?
Avatar
I don't know
Avatar
@heinrich5991 just having 2 mut refs is enough for ub right
13:57
u dont need to deref
Avatar
afaik yes
Avatar
UB in the sense of safe rust?
Avatar
ub in rust
13:58
because rust uses that fact for optimizations
Avatar
yeah but like. then u can never use unsafe rust
Avatar
unsafe rust is not about making 2 mut refs tho
Avatar
You can, just dont have 2 mutable refs to the same thing
Avatar
Unsafe Superpowers To switch to unsafe Rust, use the unsafe keyword and then start a new block that holds the unsafe code. You can take five actions in unsafe Rust that you can’t in safe Rust, which we call unsafe superpowers. Those superpowers include the ability to: Dereference a raw pointer Call an unsafe function or method Access or modify a mutable static variable Implement an unsafe trait Access fields of unions
Avatar
i never acces the same mut var twice at the same time from two different points
Avatar
access doesnt matter irc
13:59
u cant have 2 mutable references to same place
14:00
but u can have 2 pointers iirc
Avatar
yeah but bro, as if the standard isn't full of UB then
14:00
i'd love if my above example exist in std. but it doesnt
14:00
so i have to write it my own
14:00
since i have no access to underlaying objects => I have to use unsafe
14:01
i totally agree that next is a problem, but as said, i dont need or use it
Avatar
Source of the Rust file library/core/src/slice/mod.rs.
14:07
it goes out of its way to not generate two mut slices for the whole range
14:08
Check that the preconditions of an unsafe function are followed, if debug_assertions are on, and only at runtime.
Avatar
ok but tbh then i don't care about UB
14:10
this restriction goes a bit too far
14:11
i don't see how it's more UB than deferencing pointers
Avatar
it's part of the rust model
14:11
like creating a string slice with invalid UTF-8
Avatar
i can have two pointers of this mut ref and access them after each other
Avatar
and it's UB in rust
14:11
AFAIK
Avatar
why should it
14:11
rust only says not have 2 mut refs
Avatar
ah
14:12
two raw poiners
14:12
yes, that's fine
Avatar
see and that's why it's bs xD
14:12
should i cast it to pointer first before accessing it?
Avatar
Raw pointers are iirc the safe unsafe way to do what you want in rust
Avatar
you sound like someone learning about integer overflow being in C/C++
14:13
yes, signed integer overflow in C/C++ really is UB
Avatar
not comparable, and you know that
Avatar
there's little you can do about it (except for passing -fwrapv etc)
14:13
it seems very comparable to me
Avatar
i think its comparable
14:13
its rly stupid to get ub from that xd
Avatar
also just because rust says it is unexpected result
14:14
doesn't make it better
Avatar
and I definitely don't know why
14:14
why do you insinuate I do?
14:14
I find that irritating
Avatar
ok this heinrich again
14:14
i'm off cya
Avatar
References have some rules enforced by the compiler. Specifically, they cannot outlive what they refer to (the "referent"), and mutable references cannot be aliased. Other than that, references behave a lot like the variables they point to. They have a type, and you can interact with that type to read it or (with mutable references) modify it. On the other hand, pointers are semantically more about the address. This means that when we interact with them, we'll be modifying the address (things like add will do pointer offsets instead of adding to the underlying value). When we print them, we don't print the underlying value—in fact, we cannot get to the underlying value at all without the unsafe keyword. Instead, we print out the address.
14:15
raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
14:15
the aliasing rule of references
Avatar
Avatar
Jupstar ✪
see and that's why it's bs xD
It's moreso that it's used as an apriori for optimization that's the issue. Raw pointers arent and thus dont share the same issue
Avatar
allows the compiler to do some optimizations
14:16
u can achieve the same in c/c++ using the noalias
14:16
attribute
Avatar
restrict
14:16
ok that
Avatar
btw i compare the immutable keys, so in theory i never have two mutable refs
Avatar
As a practical example if you hold a mut ref. Read from it, do some other stuff, read again the compiler can optimize out the second read as it'll assume you hold the one and only mut ref thus the object cant have mutated while you hold it
Avatar
Avatar
Learath2
As a practical example if you hold a mut ref. Read from it, do some other stuff, read again the compiler can optimize out the second read as it'll assume you hold the one and only mut ref thus the object cant have mutated while you hold it
yeah but that's not directly the thing
Avatar
pointers arent subject to aliasing rules, thats the main diff
14:19
u can make ur iterator on pointers maybe
Avatar
Btw ifk what you are doing and whether it's sane or not. Just saying why refs have different rules and why such a rule might be desirable for optimization reasone
Avatar
it's likely impossible to do what @Jupstar ✪ wants without having access to the impl of the hashmap itself
Avatar
but well if u tested all edge cases through miri and it doesnt say anything maybe its fine tm
14:20
ah ok xd
Avatar
If you CAN create 2 mut refs but never do, then it's definitely not UB. But you might want to guard against it in your API, up to you
Avatar
let's see it like this:
  • i have a mut ref to a vec
  • i have a mut ref to the first element of the vec
  • i create an iterator (of the above vec) that checks, by key, if the key is the first element, if so it skips to the next key (i could use an iterator of keys here => then no mut ref is created) if i use iter_mut() (instead of keys() => filter => get_mut()) the iterator theoretically holds a ref mut
if the above ref mut would be a pointer, it would not be UB
(edited)
Avatar
Avatar
Learath2
If you CAN create 2 mut refs but never do, then it's definitely not UB. But you might want to guard against it in your API, up to you
correct, the first sentence
Avatar
Avatar
heinrich5991
correct, the first sentence
I'd guess you'd change my second sentence to "you should guard against it in your api" 😄
Avatar
I didn't want to make a statement about the second one
14:22
likely correct as well
14:22
but it was a "might want", not some fact
14:24
this probably doesn't work because you need a reference to the whole vec to create an iterator
Avatar
ah yeah i mean if i'd have access to the underlaying data
Avatar
then yes
Avatar
anyway, i guess i'll accept UB then
14:25
because this is impossible
14:26
the slow path would be pop_front push_back but i'd say that's complete overkill
14:26
i already benchmarked it
Avatar
Is there some piece of code I can take a look at? Maybe I can come up with some trick for you?
Avatar
for a vec, you could implement it on your own
14:27
because you have access to all the internals
Avatar
Avatar
Learath2
Is there some piece of code I can take a look at? Maybe I can come up with some trick for you?
sure , gimme a second
Avatar
Or maybe just a description of the task if that's easier
Avatar
Avatar
Learath2
Or maybe just a description of the task if that's easier
basically i want to replicate teeworlds' character tick rn i do i it overcomplicated by passing simply all characters to the tick call: https://github.com/Jupeyy/dd-pg/blob/test5/game/shared-game/src/world.rs#L632-L646 now i thought, it would be much cleaner to simply call tick on the character and pass the "other"-characters additionally, for every character so i kinda create an iterator, and an "rest"-object that always guarantees that the current object is filtered.. basically an view over the characters data structure
14:31
as said it's not impossible to do it differently. i just think it's extremly overcomplicated
Avatar
ah, I think @Zwelf also worked on it
Avatar
@Jupstar ✪ hm, I'm sure you thought of this so why isn't using std::iter::filter an option?
Avatar
how to change type of game?
14:34
"TestDDr"
14:34
can i set custom?
Avatar
disable sv_test_cmds
Avatar
Avatar
heinrich5991
disable sv_test_cmds
what is this?
Avatar
to get DDraceNetwork
Avatar
Avatar
Learath2
@Jupstar ✪ hm, I'm sure you thought of this so why isn't using std::iter::filter an option?
well i need "this"-character as mut, and the rest as mut
Avatar
but if you want a custom one, you'll need to recompile it
Avatar
filter only gives me one of it
Avatar
Avatar
heinrich5991
but if you want a custom one, you'll need to recompile it
where
14:36
if you have to ask that question, it might be too complicated for you
14:36
you could put the characters into Cells
Avatar
if they are only POD
Avatar
Avatar
Towa
Click to see attachment 🖼️
this?
Avatar
Avatar
Jupstar ✪
well i need "this"-character as mut, and the rest as mut
Ah, and when you borrow this character as mut you can't borrow the others as mut anymore since they are all in the same vec and no partial borrows?
Avatar
Avatar
Towa
Click to see attachment 🖼️
please don't work as root ._.
Avatar
Avatar
heinrich5991
please don't work as root ._.
why
14:37
its only my machine
Avatar
because it's bad practice. it makes it easy to accidentally trash your system
Avatar
Avatar
heinrich5991
because it's bad practice. it makes it easy to accidentally trash your system
how
Avatar
Avatar
Learath2
Ah, and when you borrow this character as mut you can't borrow the others as mut anymore since they are all in the same vec and no partial borrows?
yes, adding RefCell around every char sounds annoying IMO
Avatar
Avatar
Towa
how
rm -rf /*
Avatar
you could say teeworlds logic is to blame, but imo rust could offer such a thing
Avatar
you dont have my pass))
Avatar
yes, but you do
14:38
mistakes can be made
Avatar
i don't see why at least in theory, it should ever be a problem ^^
Avatar
Avatar
heinrich5991
mistakes can be made
i cant, i use my main pass
Avatar
"main pass"?
14:38
please use a password manager 😦
14:38
don't reuse passwords
Avatar
i reuse my passwords troll
Avatar
Avatar
cyberFighter
i reuse my passwords troll
Bitwarden makes it easy for businesses and individuals to securely generate, store, and share passwords from any location, browser, or device. Create your free Bitwarden account today.
Avatar
why would i use that
Avatar
Avatar
Jupstar ✪
i don't see why at least in theory, it should ever be a problem ^^
if the character is POD, you can wrap it in a Cell (not RefCell) (edited)
Avatar
Avatar
heinrich5991
if the character is POD, you can wrap it in a Cell (not RefCell) (edited)
sadly no
Avatar
Avatar
cyberFighter
why would i use that
because it's a lot better than reusing passwords, security-wise
Avatar
Avatar
heinrich5991
disable sv_test_cmds
if i do this can i use rcon commands and teleport?
Avatar
ah, sucks
Avatar
Avatar
Towa
if i do this can i use rcon commands and teleport?
no
Avatar
Avatar
heinrich5991
no
bad
Avatar
that's what the TestDDR stands for
14:40
that people may use testing commands there
Avatar
i wont
Avatar
it's still a matter of question if creating a ref out of a pointer is really the same reference in rust. it seems like it's not as clear as we say here: https://github.com/rust-lang/reference/issues/788
tl;dr: Rust documentation is unclear on reborrowing, should explain details in the Reference As it stands, there is only one mention of "reborrowing" in the Reference, in this section on ...
Avatar
ill just use a piece of paper next time
Avatar
i read a bit of stack overflow comments and they fighting about it
Avatar
@Jupstar ✪ I think for a vec you can do this properly using unsafe code without invoking nasal demons. For an arbitrary container I don't think it's possible
Avatar
Avatar
Learath2
@Jupstar ✪ I think for a vec you can do this properly using unsafe code without invoking nasal demons. For an arbitrary container I don't think it's possible
it's no vec 😄 it's basically a linked list
Avatar
but... i can
Avatar
god i hate discord and the new icons
Avatar
just with more power and perf
Avatar
maybe chillerdragon was right about using shitty bridges everywhere
Avatar
Avatar
Towa
but... i can
yea, just no tele etc
Avatar
Is it a linked list you implemented? If you have access to the implementation you should also be able to do it safely
Avatar
Avatar
heinrich5991
yea, just no tele etc
uh bad
Avatar
Avatar
heinrich5991
yea, just no tele etc
bob
Avatar
Actually if it's a linked list why can't you partially borrow? Each element should be their own object. I'll take a look at your code I guess. Just curious at this point
Avatar
Avatar
Towa
bob
hehehe
14:44
Avatar
please don't
14:44
:D
Avatar
because it's bad experience for users
14:45
if admins cheat all the map
14:45
but yea, can't and don't want to stop you right now
Avatar
Avatar
heinrich5991
but yea, can't and don't want to stop you right now
Can't being the relevant one 😄
Avatar
well
Avatar
Avatar
heinrich5991
if admins cheat all the map
👍🏿
Avatar
we could ban servers for that
14:45
from the masterservers
14:45
which is effectively stopping them
Avatar
Oh true, we do own the masters now and can have whatever policy we want
Avatar
Avatar
heinrich5991
we could ban servers for that
ok
Avatar
(but we currently don't)
Avatar
but if i change gamemode for custom, not "DDraceNetwork", you dont banned me?
Avatar
Avatar
Learath2
Actually if it's a linked list why can't you partially borrow? Each element should be their own object. I'll take a look at your code I guess. Just curious at this point
i guess simply because how would i create an iterator out of this cleanly? 1. no access to the underlaying list 2. do you want to temporarily remove the object? that would probably indeed work. i also thought about it, but with pop_front push_back or building 2 lists, way too much overhead
Avatar
Avatar
Towa
but if i change gamemode for custom, not "DDraceNetwork", you dont banned me?
yes. we also currently don't ban for DDraceNetwork
14:49
you could copy the linked list impl to your crate
Avatar
Avatar
Jupstar ✪
i guess simply because how would i create an iterator out of this cleanly? 1. no access to the underlaying list 2. do you want to temporarily remove the object? that would probably indeed work. i also thought about it, but with pop_front push_back or building 2 lists, way too much overhead
No access to the underlying list is game over sadly. Why is removing and reinserting so expensive in a linked list?
Avatar
Avatar
Learath2
No access to the underlying list is game over sadly. Why is removing and reinserting so expensive in a linked list?
because i dont really get the heap object
Avatar
Oh does it cause a copy?
Avatar
sadly sometimes moving actually means memcpy
Avatar
yes
Avatar
yes i assume so, i didnt check, but besides that, it also means creating a new heap object etc.
Avatar
someone called rust a "copy-heavy language" due to that
Avatar
Yeah not controlling the list is awful. Removing and reinserting an element from a linked list should always be just O(1) if you have a pointer to it
Avatar
Avatar
heinrich5991
yes. we also currently don't ban for DDraceNetwork
and if you ban in the future, will all servers fall under this ban, or only those that abuse commands?
Avatar
Avatar
Learath2
Yeah not controlling the list is awful. Removing and reinserting an element from a linked list should always be just O(1) if you have a pointer to it
besides that i think it uses some optimized storage we talked about that lately 😄
14:51
not a classic linked list
Avatar
Avatar
Jupstar ✪
besides that i think it uses some optimized storage we talked about that lately 😄
If you had control of the list, you could truly temporarily just unlink it but not destroy it
Avatar
yep
14:52
that's true
Avatar
what stops you from taking control of the list?
Avatar
Or you could just iterate using pointers, that way you could filter without invoking demons
Avatar
Avatar
heinrich5991
what stops you from taking control of the list?
I guess it's a maintainance burden to keep the list code in tree?
Avatar
you could never update it
Avatar
That is true. It does work afterall
Avatar
anyway i'll go with my solution. the compiler that makes this break the program can challenge me by time
Avatar
Or maybe try to pr a temporary unlink function to upstream. The api could hand out a mut borrow to the unlinked element which could be relinked at Drop 😄
Avatar
my other pr already got ignored xdd
Avatar
even tho she was open to merge it
14:56
but anyway. i really don't care, i can write a test that runs with miri, that's good enough for me
14:57
haters gonna hate in this case i am a c fanboy
Avatar
Good for you
14:58
Superior language
Avatar
Create a mut raw pointer to a place, without creating an intermediate reference.
14:59
Create a mut raw pointer to a place, without creating an intermediate reference. Creating a reference with &/&mut is only allowed if the pointer is properly aligned and points to initialized data. For cases where those requirements do not hold, raw pointers should be used instead. However, &mut expr as *mut _ creates a reference before casting it to a raw pointer, and that reference is subject to the same rules as all other references. This macro can create a raw pointer without creating a reference first. Note, however, that the expr in addr_of_mut!(expr) is still subject to all the usual rules. In particular, addr_of_mut!(*ptr::null_mut()) is Undefined Behavior because it dereferences a null pointer.
Avatar
And it reminded me of split_mut on slice
Avatar
i told him about that
15:01
split_mut_at too
Avatar
I do it by having a TeeCore in the game state that gets passed around (with stuff that other tees can affect like pos/velocity/freeze. And a Tee that lives in the Entity list that owns all the other variables (weapons, jump, powerups). That way I can iterate over all Tees and can call Tick on Tees at the same time.
Replying to @Jupstar ✪ as said it's not impossible to do it differently. i just think it's extr…
Avatar
Oh how about you don't hold a mut ref to the character you are calling tick on?
Avatar
But I need to modify stuff like velocity and position. (Also from other tees)
Avatar
Instead hold a raw pointer. That you only get a mut ref out of AFTER the iterator next()
Avatar
raw pointer needs unsafe :/
Avatar
Avatar
Zwelf
raw pointer needs unsafe :/
unsafe is 🔥
🦀 1
Avatar
@Learath2 do u know a lightweight file manager
15:06
or a image manager
15:06
frontend of imagemagick
15:06
i use X
15:06
but its quite limited
Avatar
How lightweight and what features do you need?
Avatar
preview images and rotate them
15:06
xd
15:06
and save in place
15:06
yes, xfe cant do that i think
Avatar
Avatar
Jupstar ✪
as said it's not impossible to do it differently. i just think it's extremly overcomplicated
I had like 3 different versions: 1. Tees in game state with Ref<RefCell<Tee>> 2. Remove the current tee from Gamestate for calling tick 3. Split up Tee into Tee and TeeCore
Avatar
I used pornview for a bit
15:07
is that name
15:08
There is also nnn that people like but I never managed to set up the live previews properly, then got annoyed at it, then stopped using file managers at all
15:09
Nowadays I just use feh to look at my images and coreutils to manage my files
Avatar
i use feh ye
15:10
same
15:10
convert -rotate 90
Avatar
Avatar
Zwelf
I had like 3 different versions: 1. Tees in game state with Ref<RefCell<Tee>> 2. Remove the current tee from Gamestate for calling tick 3. Split up Tee into Tee and TeeCore
Yeah but, do you like that?
15:11
Xd
Avatar
Avatar
heinrich5991
we could ban servers for that
would you really masterban a server for admin abusing though
Avatar
Avatar
Jupstar ✪
basically i want to replicate teeworlds' character tick rn i do i it overcomplicated by passing simply all characters to the tick call: https://github.com/Jupeyy/dd-pg/blob/test5/game/shared-game/src/world.rs#L632-L646 now i thought, it would be much cleaner to simply call tick on the character and pass the "other"-characters additionally, for every character so i kinda create an iterator, and an "rest"-object that always guarantees that the current object is filtered.. basically an view over the characters data structure
I though about doing it this way too, but I'm now also happy with my current approach.
15:13
The TeeCore is small. The only downside I see is that I need to do a lookup from the Tee to its own TeeCore when accessing stuff like the current position. (edited)
15:13
(A hashmap lookup)
Avatar
Avatar
Learath2
Instead hold a raw pointer. That you only get a mut ref out of AFTER the iterator next()
You can also jam all the unsafe into the iterator by having it hand out a tuple of both the current character and the next
Avatar
Avatar
Zwelf
I though about doing it this way too, but I'm now also happy with my current approach.
So the 3. Is your current approach
Avatar
Yes. Refactored to it a few weeks ago.
15:14
Next project is tele.
Avatar
And smth like take damage when someone hammers?
15:15
That's a bigger issue for me than the physics core
Avatar
Avatar
Jupstar ✪
And smth like take damage when someone hammers?
Then put health into TeeCore as well.
15:16
(I don't have a health variable at all)
Avatar
And tee core is a separate list?
Avatar
Yes. I have a GameState object that I pass along to all entities. The TeeCore is in the GameState. The Tee is outside in the entity list
15:17
entities don't need to be in the GameState.
15:17
The access pattern is always Entity -> TeeCore (edited)
Avatar
I see
15:18
I'd have liked to talk about something specific.. too bad
Avatar
if i load here my skin how long i need to wait? it moderating?
Avatar
I currently refactor it kind of in a opposite direction
Avatar
And I allow map entities like pickup access to the Tees, so they can change more stuff like give weapons.
Avatar
Since i have a strict hierarchy i can't really do the same as you
Avatar
I was pretty happy when I removed all the Rc<RefCell> stuff, because there is less potential for panics.
Avatar
I pass stuff around
Avatar
Avatar
Zwelf
I was pretty happy when I removed all the Rc<RefCell> stuff, because there is less potential for panics.
Yeah. That's why I have a strict hierarchy
15:21
I also wrap all refcells so there are no borrow calls leaking to upper components
👍 1
Avatar
@noby I have a question.
16:28
@noby if someone else's name is used on fng or my nickname can be banned?
Avatar
@Mr.Gh0s7 me need noby
Avatar
It was I.
Avatar
someone used my nickname
Avatar
are they using it now?
16:30
i rus
16:31
@Mr.Gh0s7I mean, you (did you use my nickname to get me banned?)
Avatar
? we should move this to #off-topic
Avatar
Is there any way to make the client think a player has 0 velocity from serverside? (edited)
Avatar
vel = (0,0) ?
Avatar
ye but the prediction bugs
16:41
then
Avatar
the client thinks the player will fall but the server just does vel = vec2(0,0)
Avatar
So how would you tell the client the tee is not actually falling ?
Avatar
It was a question to you
Avatar
thats my question
Avatar
How does the client predict it ?
Avatar
You mean from gravity? Send different tuning for that client I guess
Avatar
how would i tell the client that my tee isnt falling
Avatar
Avatar
Robyt3
You mean from gravity? Send different tuning for that client I guess
man (edited)
16:42
dont spoiler
16:42
>:(
Avatar
Avatar
Robyt3
You mean from gravity? Send different tuning for that client I guess
they arent map specific?
16:43
can you change them on the fly?
Avatar
No, you can update them at any time
16:43
CGameContext::SendTuningParams
Avatar
okay cool but that would then be a change for all players no? (edited)
Avatar
Check that func
Avatar
You can send different tunings to every player
Avatar
Avatar
Robyt3
You can send different tunings to every player
man (edited)
16:43
dont spoiler
16:44
>:(
Avatar
Avatar
Robyt3
You can send different tunings to every player
sounds fun
Avatar
If I've learned one thing from @heinrich5991 it's to make people learn to find things out themselves by providing help for the steps required @Robyt3
16:46
(had to learn it the hard way haha)
16:46
but it's super helpful
16:47
Anyways, what do y'all think about the new discord mobile app? I personally like it a lot better since it's the first update which doesnt break more things but instead it's actually smooth. Just a little too dark for my taste
Avatar
Avatar
Voxel
sounds fun
Doing that on my server a lot
Avatar
Avatar
fokkonaut
Anyways, what do y'all think about the new discord mobile app? I personally like it a lot better since it's the first update which doesnt break more things but instead it's actually smooth. Just a little too dark for my taste
i didnt update
16:48
i like swiping left to see the members
Avatar
Oh my
16:49
i didnt see that they changed that
16:49
wtf
Avatar
How tf do I get there now
16:49
ah
16:49
wow
Avatar
Avatar
fokkonaut
How tf do I get there now
i dunno
Avatar
click the 🔍
Avatar
const float z = GameServer()->Tuning()->m_Gravity; GameServer()->Tuning()->m_Gravity = 0.f; GameServer()->SendTuningParams(pChr->GetPlayer()->GetCID(), 0); GameServer()->Tuning()->m_Gravity = z; fun
Avatar
Wouldn't do it that way tho
16:51
But sure works
Avatar
The LoadMapSearch function returns an error message or nullptr on success but the condition was incorrectly changed in #7580 so the opposite was checked instead. Closes #7597.

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 bo...
Avatar
Avatar
fokkonaut
Anyways, what do y'all think about the new discord mobile app? I personally like it a lot better since it's the first update which doesnt break more things but instead it's actually smooth. Just a little too dark for my taste
i dont like any of it
Avatar
Avatar
fokkonaut
Anyways, what do y'all think about the new discord mobile app? I personally like it a lot better since it's the first update which doesnt break more things but instead it's actually smooth. Just a little too dark for my taste
you can change the design no? 😄 - i like it
Avatar
Avatar
fokkonaut
Wouldn't do it that way tho
then how would u xd
Avatar
yea, either white or black or the new gray which is darker than before
Avatar
Avatar
Teero
then how would u xd
So, the tunings update a lot, e.g. switching Tune zone or respawning triggers a new send
Avatar
so i'd modify the properties of CTuningParams inside the functio
16:59
depending on player States
Avatar
Avatar
fokkonaut
yea, either white or black or the new gray which is darker than before
>new
Avatar
Avatar
fokkonaut
depending on player States
makes sense didnt think of that
Avatar
i wanna make a map where one tee has a really strong hammer but only 1 tee in a group of four
Avatar
The variable Id is translated for old clients and is not guranteed to be the real id. While m_ClientID is the real ID. That can also be used to index the CServer::m_aClients[] array to get the authed state. closed #7599 Fixes ``` valgrind ./DDNet-Server "dbg_dummies 1" [..] 2023-12-07 18:01:33 I chat: *** 'Debug dummy 1' entered and joined the game ==75634== Conditional jump or move depends on uninitialised value(s) ==75634== at 0x2DAA83: CVariableInt::Pack(unsigned char...
Avatar
Avatar
Voxel
i wanna make a map where one tee has a really strong hammer but only 1 tee in a group of four
I have tune lock in F-DDrace
Avatar
chillerdragon BOT 2023-12-07 17:09:17Z
Too bad it’s closed source
17:10
40bfbf2 Update brazilian_portuguese.txt - rffontenelle 8b8ce65 Merge pull request #7594 from rffontenelle/patch-3 - Robyt3
Avatar
how to add my own skin here?
Avatar
#📬submit-skins
Avatar
Avatar
fokkonaut
I have tune lock in F-DDrace
i mean a map i can submit to ddnet
Avatar
Feels more organized to not do this wall of switcher code in the CGameController snap

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 added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change ...
Avatar
can i use commands for other players? for ex: freeze e.t.c
Avatar
ChillerDragon BOT 2023-12-07 17:43:45Z
you mean a impersonate tee feature?
17:43
sounds fun :D
17:46
doing f2 impersonate v[victimID] and it then does pSelf->m_apPlayers[pResult->m_ClientID].m_pCharacter = pSelf->m_apPlayers[pResult->GetVictim()] what can go wrong
17:51
17:51
yea totally nothing can go wrong
Avatar
No such command: impersonate
Avatar
ws-client BOT 2023-12-07 17:54:12Z
<ChillerDragon> i said "sounds fun :D" because it doesnt exist
Avatar
ws-client BOT 2023-12-07 17:54:28Z
<ChillerDragon> but is that what you mean?
Avatar
I want to use commands on behalf of a person, or apply them to a person
17:55
freeze command freezing me
17:55
but i want to freeze other peoples
Avatar
ws-client BOT 2023-12-07 17:57:02Z
<ChillerDragon> yea wouldnt neccesarly need impersonate could also be implemented by slapping arguments on all the commands
17:58
<ChillerDragon> i think ddnet++ has that
18:01
<ChillerDragon> using github as free cdn poggies
18:02
<ChillerDragon> does it preview as video on discord?
18:05
<ChillerDragon> @Ryozuki u listenin to dubstep?
Avatar
Avatar
ws-client
<ChillerDragon> i think ddnet++ has that
this is a mod?
Avatar
ws-client BOT 2023-12-07 18:06:01Z
<ChillerDragon> ddnet++ is a custom ddnet mod yes
18:06
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - GitHub - DDNetPP/DDNetPP: DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) ...
18:06
<ChillerDragon> its free and bugged af xd
Avatar
Avatar
ws-client
<ChillerDragon> @Ryozuki u listenin to dubstep?
yes chiller
Avatar
ws-client BOT 2023-12-07 18:07:05Z
<ChillerDragon> idk bout dat
Avatar
well i also like trance
18:07
or progressive techno
Avatar
ws-client BOT 2023-12-07 18:07:14Z
<ChillerDragon> send some trance
18:07
<ChillerDragon> pls
18:07
<ChillerDragon> and techno too
Avatar
are u on offtopic
Avatar
ws-client BOT 2023-12-07 18:07:31Z
<ChillerDragon> youtube put me in fakin lofi loop again
18:07
<ChillerDragon> no im not booting matrix now
18:07
<ChillerDragon> i saw ur dubsteps earlier
Avatar
ws-client BOT 2023-12-07 18:07:49Z
<ChillerDragon> and listend to em now
Avatar
this is a classic
Avatar
ws-client BOT 2023-12-07 18:07:52Z
<ChillerDragon> but they dubste
18:08
<ChillerDragon> classic indeed
Avatar
ws-client BOT 2023-12-07 18:08:26Z
<ChillerDragon> omg wat happend to da link
Avatar
i made it so it doesnt expand
Avatar
ws-client BOT 2023-12-07 18:08:38Z
<ChillerDragon> frontenddragon
Avatar
i did it on purpose
Avatar
ws-client BOT 2023-12-07 18:08:49Z
<ChillerDragon> ah i thought my code bugged xd
Avatar
ws-client BOT 2023-12-07 18:09:34Z
<ChillerDragon> ok pumpin dat now thanks dj ryowo
Avatar
ws-client BOT 2023-12-07 18:10:09Z
<ChillerDragon> uwustep
18:12
are u changing blmapchill?
Avatar
ws-client BOT 2023-12-07 18:13:21Z
<ChillerDragon> wot no
18:13
<ChillerDragon> i finished my shits a while ago
18:13
<ChillerDragon> also cyber finally use patigas pog lib and write some python code
18:13
<ChillerDragon> imagine using editor in 2023 to make maps
Avatar
wtf am i gonna write python code for
Avatar
ws-client BOT 2023-12-07 18:14:23Z
<ChillerDragon> so u can stop asking me if i edit the map
18:14
<ChillerDragon> just write it as a patch that gets applied to the map
Avatar
i use 4 separate unhook tiles instead of 1 for corners
18:14
i dont think that can work
Avatar
ws-client BOT 2023-12-07 18:14:50Z
<ChillerDragon> everything can work
18:14
<ChillerDragon> patigas lib cvers it all
Avatar
not for me
18:15
btw i tested deleting old layers and images and got the map to like 600 kb size
Avatar
ws-client BOT 2023-12-07 18:15:42Z
Scripts for things like themes. Contribute to DDNetPP/maps-scripts development by creating an account on GitHub.
18:15
<ChillerDragon> checkout this dark theme
Avatar
its ugly
Avatar
ws-client BOT 2023-12-07 18:16:15Z
<ChillerDragon> here it graps layer 1 in the 17th group and applies the colors 200 200 200 255 for the bg quad m.groups[17].layers[1].color = (200, 200, 200, 255)
18:16
<ChillerDragon> you can do the same for your changes
Avatar
yeah i could
Avatar
ws-client BOT 2023-12-07 18:16:45Z
<ChillerDragon> @Patiga very pog lib btw for auto generating themes of a map that can be applied to new versions of it
Avatar
do u think i should delete cave tiles that are behind bushes
Avatar
ws-client BOT 2023-12-07 18:17:17Z
<ChillerDragon> no
Avatar
ok
Avatar
ws-client BOT 2023-12-07 18:17:33Z
<ChillerDragon> maybe someone has gfx_bno_bushes on xd
Avatar
yeah seems odd
Avatar
ws-client BOT 2023-12-07 18:18:01Z
<ChillerDragon> but it prolly makes the map smaller
Avatar
idk it maybe could give like
18:18
+0.000001 more fps
18:18
if ur in that area lol
Avatar
ws-client BOT 2023-12-07 18:18:46Z
<ChillerDragon> worth
18:18
<ChillerDragon> @Jupstar ✪ break design for more fps? good?
Avatar
its not broken if u use normal default mapres shipped with the game and not halfway overlay entities
18:19
troll
Avatar
ws-client BOT 2023-12-07 18:19:54Z
<ChillerDragon> i replaced my mapres/ folder with mapres-uwu community theme
Avatar
how does it look like
18:21
<ChillerDragon> this is how Multimap looks for me
Avatar
what
18:21
thats biggernouis
18:21
<ChillerDragon> ryo be like
Avatar
???????????????????? wtf is my game doing
18:22
i have my map, i put it onto my lan server, and my laptop just fucking downloads the map from itself
18:22
?????????
18:22
fucking genius
Avatar
ws-client BOT 2023-12-07 18:22:37Z
<ChillerDragon> xd
Avatar
nice bg
Avatar
Avatar
cyberFighter
i have my map, i put it onto my lan server, and my laptop just fucking downloads the map from itself
Nightly currently has a bug
Avatar
oh ok
18:25
funny bug tho
Avatar
ur funny
Avatar
chillerdragon: i think my map has more fps than ur one already cuz i map cleaner than u nobo
18:26
but im giving u a pass cuz u have like
18:26
17k fps or some shit
18:26
so no way ud care about it
Avatar
ws-client BOT 2023-12-07 18:27:42Z
<ChillerDragon> yea only lerato is based enough to have 4090 and care about bad spec people
18:28
<ChillerDragon> at this point im causing lags for all just for competetive advantage in game
kek 1
Avatar
but ur playing aglee map very ugly
18:30
honestly kinda lazy af to do switches rn
Avatar
Avatar
Robyt3
Nightly currently has a bug
this is like the second/third really annoying bug this week i think
Avatar
ws-client BOT 2023-12-07 18:33:24Z
<ChillerDragon> nightly is clearly too outdated
Avatar
ChillerDragon BOT 2023-12-07 18:34:56Z
$sh uptime
Avatar
chillerbot BOT 2023-12-07 18:34:57Z
18:34:55 up 00:02:05, 3 users, load average: 0.00, 0.00, 0.00
Avatar
When chatting in team mode, it makes no sense to be able to mention a player who is not in the team as that player will never see that message. This PR makes the completion only use the team member names when chatting in team mode.

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
  • [...
19:43
We support little and big endian but not PDP endian (Middle-endian).

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 added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan ...
20:04
2dd917f Update preview lines instead of initializing them only once - archimede67 48805a6 Merge pull request #7596 from archimede67/fix-chat-preview-update - Robyt3
Avatar
The IP_TOS attribute cannot be changed for IPv6 sockets with setsockopt on Windows, as this API is simply not implemented. This causes the log messages socket: Setting TOS on ipv6 failed: 0 on Windows. The error message contains the wrong error code which I will fix shortly. The actual error code is 10022 (WSAEINVAL), as the IP_TOS attribute is not allowed for IPv6 sockets anymore. It seems we should use the newer [qWAVE API functions](https://learn.microsoft.com/en-us/previ...
Avatar
Can someone review #7600 so next nightly isn't broken?
Avatar
The LoadMapSearch function returns an error message or nullptr on success but the condition was incorrectly changed in #7580 so the opposite was checked instead. Closes #7597. Checklist Tested th...
Avatar
Avatar
Robyt3
Can someone review #7600 so next nightly isn't broken?
Seems to work. I can't reproduce it any more. I tried the following. 1. Deleting any existing downloaded maps. 2. Load a map that I have, and then load a map that I don't have downloaded. Both start a new download, like expected.
Avatar
6b547b1 Fix incorrect map being loaded/downloaded - Robyt3 6a85828 Merge pull request #7600 from Robyt3/Unpacker-Regression-Fix - Jupeyy
Avatar
new icons are ugly
Avatar
Avatar
Jupstar ✪
new icons are ugly
i agree
Avatar
Avatar
Voxel
i agree
This user tried to see the members but failed, due to the new update.
21:17
especially the members icon
21:17
it looks like the aol logo LOL
Avatar
Avatar
Voxel
especially the members icon
This user tried to see the members but failed, due to the new update.
Avatar
Avatar
Voxel
This user tried to see the members but failed, due to the new update.
r u ok
Avatar
im gonna send that every time i try to see members
21:32
until i get aliucord installed
Avatar
ah xD I thought you meant it as I told you but you didn't listen and the changes will be like that for the new update
21:36
but you mean it as discord's mobile app being broken/bad
Avatar
btw I moved to antiX (debian without systemd) from Artix (Arch without systemd)
21:37
all good so far :)
21:38
I mainly moved because I was tired of the constant updates of Arch
Avatar
why is compiling ddnet on windows such a pain
Avatar
you already gave the answer
Avatar
what is not working?
21:56
the hardest part is if u use mingw to select the proper rust toolchain
Avatar
im using cmake and vs studio
Avatar
if u followed the readme shouldn't be that hard to compile it
22:01
just annoying on windows
Avatar
Avatar
louis
im using cmake and vs studio
any specific step you currently considering hard?
22:02
or pain
Avatar
i don't see
22:04
You can compile the DDNet client by right-clicking the DDNet project (not the solution) and select "Select as StartUp project".
22:04
anywhere
22:05
maybe its just vs ui
Avatar
maybe it's on the left on newer VS? 😂
22:06
there should be a project tree somewhere
Avatar
i straightg up just odnt see a ddnet project actually
22:08
Avatar
ah lol
22:08
it's called game-client now
Avatar
u could create an issue
22:09
bcs that is not intended
Avatar
i get this too when i try building
Avatar
oh ok
Avatar
honestly maybe my directory got fucked ill just redo everything
Avatar
maybe it's called client-bin or smth
22:10
ok they are alphabetically
22:10
dunno what the last entries are
22:10
but then dunno, rip
Avatar
Avatar
louis
why is compiling ddnet on windows such a pain
do u want a answer
22:14
NekoEvil
❤️ 1
22:14
NekoEvil NekoEvil NekoEvil
22:15
@Ryozuki we so boring and predictable
Avatar
i turned it off and on and it works
22:19
i love windows and bill gates
Avatar
Avatar
louis
i love windows and bill gates
gigachad
Avatar
couldnt you just use vsc/jetbrains with wsl?
Avatar
In the theory of cellular automata, an oscillator is a pattern that repeats itself after a fixed number of generations; that number is called its period. A cellular automaton is called omniperiodic if there exist oscillators of all periods. At the turn of the millennium, only twelve oscillator periods remained to be found in Conway's Game of Lif...
owo 1
Avatar
See #7605.

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
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#us...
Avatar
Avatar
Voxel
This user tried to see the members but failed, due to the new update.
wait how do you see the members
23:22
UHHH
Avatar
Avatar
cyberFighter
wait how do you see the members
click on channel name on top
Avatar
oh that sucks
Avatar
yea im just not gonna do it (edited)
Avatar
chiller was so right bro
23:23
we shoulda used irc
23:23
matrix whatever
23:23
A modification for the Discord Android App. Contribute to Aliucord/Aliucord development by creating an account on GitHub.
Avatar
DONT SAY THAT
23:54
peepoBlush
Avatar
fr, big ty for parser
23:54
owo
Avatar
Avatar
-StormAx
@furo i love @meloƞ https://i.imgur.com/EzG9uvB.png
:o ddstats?
23:56
thats my domain https://ddstats.org/ xd
View DDNet / Teeworlds Statistics.
Avatar
basically parsing ddnet.org/players/player=?json and handling the data in the client visually - a little project from me and stormi (edited)
Exported 1,427 message(s)