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 2025-01-02 00:00 and 2025-01-03 00:00
Avatar
MilkeeyCat 2025-01-02 08:02
@Learath2 it's time to change the language's syntax yet another time 😬
08:03
now array size will be before the type itself xd
Avatar
@deen u are a haskell fan right?
08:14
do u know about granule?
08:14
The Granule Project: A Research Project Studying the Next Generation of Functional Programming Languages
08:14
(it can be installed via stack, which is a haskell tool iirc)
08:15
its interesting cuz it implemented graded types
08:15
graded modal types
Avatar
when im finished with my computer science bachelor i will join up in developing (hopefully)
08:15
also: is there a windows rust ddnet build yet (edited)
Avatar
nice
08:15
not that i think no
Avatar
unlucky
08:16
would like to give it a shot
Avatar
why not compile it urself
08:16
install rust
08:16
u are a comp sci bachelor 😬
Avatar
not yet
08:16
:)
Avatar
why u limit urself by a title/ study
08:17
learn it urself
Avatar
real and true
08:17
will do
Avatar
nice
Avatar
Fr fr
Avatar
if u just follow a curriculum u will be average
08:17
or lower
08:17
self learn is the best u can do in this field
08:18
To follow the path: look to the master, follow the master, walk with the master, see through the master, become the master.
08:18
poggers2
08:19
i like this web a lot https://justforfunnoreally.dev/
heartw 1
Avatar
Avatar
Learath2
Fr fr
i find it funny how he knows about graded modal types, which is smth rly niche and not about building a rust project
08:20
thats what academia is doing nowadays? justatest
Avatar
idk shit about coding tbh xd
08:22
like purely math and network things
08:26
@Learath2 what u think about linear types u would need to write most code like db, result = query(db, blah)
08:26
but it doesnt allow u to close a file twice
08:26
or a db
Avatar
Avatar
Fluni
also: is there a windows rust ddnet build yet (edited)
Avatar
Avatar
Ryozuki
@deen u are a haskell fan right?
I was a Haskell fan around 2007-2013, haven't used it since then
Avatar
Avatar
Ryozuki
@Learath2 what u think about linear types u would need to write most code like db, result = query(db, blah)
Hm, it is a smart and correct solution, but it does look very cumbersome to use. Idk, maybe nice?
Avatar
Avatar
Learath2
Hm, it is a smart and correct solution, but it does look very cumbersome to use. Idk, maybe nice?
well with borrows maybe its more ergonomic
Avatar
@deen i registered a server myself and i think i finally fixed it hopefully
Avatar
ok, trying
10:25
85/256, seems fine
Avatar
cool, I'll announce it on Steam now too. Maybe 256 players won't be enough 😄
10:27
we didn't get the registration on GER1 working btw, really weird
Avatar
probably too old
Avatar
even with whitelist for old registration servers
10:28
but maybe fine on ger2
Avatar
if i got motivation i should remake this for next year.
10:29
like with a database or something so maybe we can host multiple ones instead of relying on a gaint one.
Avatar
would be pretty sick
10:30
i feel bad for those in east asia since you get 250+ ping
Avatar
honestly, feel fine just by prediction
Avatar
but with a segmented map its harder to put easter eggs and weapons which (i hope) people find fun
Avatar
since it is mostly single player
Avatar
ye maybe
10:31
in my experience jp isnt predicted correctly especially with tunes
Avatar
it does jitter tho
10:31
ye
10:31
remind me in 10 months or something
10:31
i could remake this
10:39
f841cff fix formatting - def- 59459fb fix - def-
Avatar
@eidderFsT close to CPU limit 🙂
Avatar
make sv_poses_queue_interval_low higher might help, which is how often it refreshes what player sees on screen. it is already 1500ms tho
10:58
you can also do sv_snapshot_interval 2 if it is not already, or even 3 or 4 until you feel like prediction is not doing fine anymore.
Avatar
The latter worked
Avatar
epic
Avatar
@deen do you still have 22 23 and 24's poses data
Avatar
@eidderFsT Where is the source for the server? I can get the http registration in there (edited)
Avatar
Avatar
Learath2
@eidderFsT Where is the source for the server? I can get the http registration in there (edited)
github.com/teeworldscn/momentcap
Avatar
Which branch?
Avatar
main
Avatar
Avatar
Learath2
Which branch?
love you btw.
Avatar
GitHub BOT 2025-01-02 11:26
6e53ebb Set a recursion limit for config files - MilkeeyCat c29ddcf Merge pull request #9447 from MilkeeyCat/pr_recursion_limit_for_config_files - def-
Avatar
When I compile ddnet for linux (ubuntu) cd /root/build/ddnet22/ddnet/ rm -rf build mkdir build cdbuild cmake -DMYSQL=ON .. make -j$(nproc) no error in the console but when I try to change maps in the server it displays this: Segmentation fault (core dumped) (edited)
Avatar
@eidderFsT do you mind if I break the client updater?
Avatar
yes
11:29
wait
11:29
no i don't mind
11:30
english is opposite from chinese semantic
Avatar
Avatar
eidderFsT
@deen do you still have 22 23 and 24's poses data
i think deleted, why?
Avatar
Avatar
i am not
When I compile ddnet for linux (ubuntu) cd /root/build/ddnet22/ddnet/ rm -rf build mkdir build cdbuild cmake -DMYSQL=ON .. make -j$(nproc) no error in the console but when I try to change maps in the server it displays this: Segmentation fault (core dumped) (edited)
run with gdb and do backtrace
Avatar
Avatar
deen
run with gdb and do backtrace
okay
Avatar
i might want to add search, if you have the old one i can update them
11:33
but nvm we could just start adding it this time
Avatar
nope, removed them
Avatar
MilkeeyCat 2025-01-02 11:46
is it planned that super can interact with others when both in solo?
Avatar
Avatar
MilkeeyCat
is it planned that super can interact with others when both in solo?
yes
Avatar
chillerdragon BOT 2025-01-02 12:04
Is that pure ddnet? Or did you make some changes to it?
Replying to @i am not When I compile ddnet for linux (ubuntu with […]
Avatar
Avatar
chillerdragon
Is that pure ddnet? Or did you make some changes to it?
i just activated SQL
12:04
and actually i have something like that
12:04
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 2025-01-02 12:01:29 I mysql: connection established 2025-01-02 12:01:29 I sql: map info failed: (prepare:stmt:1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for t 2025-01-02 12:01:29 I sql: [14] map info failed on all databases
Avatar
Avatar
eidderFsT
no i don't mind
I had to send the client back to the middle ages but I got it compiling still atleast
Avatar
when i disable use sql it works but when i able it it doesn't
Avatar
Avatar
Learath2
I had to send the client back to the middle ages but I got it compiling still atleast
justatest
Avatar
GitHub BOT 2025-01-02 12:15
… 0 or 1 Closes #5710

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [X] Changed no physics that affect existing maps (probably)
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://g...
Avatar
ChillerDragon BOT 2025-01-02 12:23
@i am not so you did not edit the code? Which Ubuntu version do you have? Do you use MySQL or MariaDB?
Avatar
Avatar
ChillerDragon
@i am not so you did not edit the code? Which Ubuntu version do you have? Do you use MySQL or MariaDB?
i did not, i have ubuntu 24.04 i use mysql
Avatar
chillerdragon BOT 2025-01-02 12:24
Weird
12:24
Mysql might be untested I think everyone uses mariadb
12:24
You could try that
Avatar
Avatar
chillerdragon
Mysql might be untested I think everyone uses mariadb
RARHHHHHHHHH
12:24
okey
12:24
gonna try
12:24
':)
12:24
thx
Avatar
chillerdragon BOT 2025-01-02 12:24
But ideally it should also work
Avatar
Avatar
chillerdragon
But ideally it should also work
yeah but idk... maybe i did something wrong
Avatar
GitHub BOT 2025-01-02 12:49

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 or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
GitHub BOT 2025-01-02 13:05
71a6cc7 Translations for upcoming DDNet 18.9 - def-
13:10

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 or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
GitHub BOT 2025-01-02 13:38
[ddnet/ddnet-web] New branch created: pr-18.9
Avatar
Avatar
chillerdragon
You could try that
with mariadb the data seems to be loading but when i try to change map it say 2025-01-02 13:47:19 E sixup: couldn't load map maps7/Mixi4jkaem.map like why is it loading maps7/ ?
13:48
and not map
Avatar
GitHub BOT 2025-01-02 13:48
aaf817a Translations for upcoming DDNet 18.9 - def-
Avatar
Avatar
i am not
with mariadb the data seems to be loading but when i try to change map it say 2025-01-02 13:47:19 E sixup: couldn't load map maps7/Mixi4jkaem.map like why is it loading maps7/ ?
it needs both. You can use the map_convert_07 tool to convert the map to 0.7 format
13:50
if you want compatibility for TW 0.7 players to join your s ervers
Avatar
Avatar
deen
if you want compatibility for TW 0.7 players to join your s ervers
and if i don't want
13:51
i can disable it ?
13:51
because i have like 900 maps actually
Avatar
sv_sixup 0
Avatar
okkkk thx
13:56
#0 0x00007ffff7950203 in ?? () from /lib/x86_64-linux-gnu/libmysqlclient.so.21 #1 0x00007ffff7952121 in mysql_stmt_fetch_column () from /lib/x86_64-linux-gnu/libmysqlclient.so.21 #2 0x00005555555891d3 in CMysqlConnection::IsNull (this=0x7fffe8000b70, Col=1) at /root/build/ddnet22/ddnet/src/engine/server/databases/mysql.cpp:513 #3 0x0000555555625f56 in CScoreWorker::LoadPlayerData (pSqlServer=0x7fffe8000b70, pGameData=0x555555aef820, pError=0x7ffff4c59900 "unknown error", ErrorSize=256) at /root/build/ddnet22/ddnet/src/game/server/scoreworker.cpp:241 #4 0x0000555555583315 in CDbConnectionPool::ExecSqlFunc (pConnection=0x7fffe8000b70, pData=0x555555c17390, w=NORMAL) at /root/build/ddnet22/ddnet/src/engine/server/databases/connection_pool.cpp:460 #5 0x0000555555582815 in CWorker::ProcessQueries (this=0x5555559ff5f0) at /root/build/ddnet22/ddnet/src/engine/server/databases/connection_pool.cpp:320 #6 0x0000555555582559 in CWorker::Start (pUser=0x5555559ff5f0) at /root/build/ddnet22/ddnet/src/engine/server/databases/connection_pool.cpp:277 #7 0x00005555556d0857 in thread_run (user=0x5555559fe2d0) at /root/build/ddnet22/ddnet/src/base/system.cpp:820 #8 0x00007ffff6e05ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #9 0x00007ffff6e97850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 (gdb) what can i do with that....
13:59
when i change maps my server crash
13:59
with "Segmentation fault (core dumped)"
14:00
only when sql is on
14:00
but idk what's wrong with my sql database
Avatar
Is this current ddnet state?
14:01
I think I've seen this error before and fixed it
Avatar
Avatar
deen
Is this current ddnet state?
wdym
Avatar
Avatar
deen
I think I've seen this error before and fixed it
ah
14:01
idk
Avatar
current repository in https://github.com/ddnet/ddnet or an older state?
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
current
Avatar
from what i can see, is IsNull just not initialized when calling mysql_stmt_fetch_column() ?
14:02
bool CMysqlConnection::IsNull(int Col) { Col -= 1; MYSQL_BIND Bind; my_bool IsNull; mem_zero(&Bind, sizeof(Bind)); Bind.buffer_type = MYSQL_TYPE_NULL; Bind.buffer = nullptr; Bind.buffer_length = 0; Bind.length = nullptr; Bind.is_null = &IsNull; Bind.is_unsigned = false; Bind.error = nullptr; if(mysql_stmt_fetch_column(m_pStmt.get(), &Bind, Col, 0)) { StoreErrorStmt("fetch_column:null"); dbg_msg("mysql", "error fetching column %s", m_aErrorDetail); dbg_assert(0, "error in IsNull"); } return IsNull; }
Avatar
my brain isn't braining
Avatar
Bind.is_null = &IsNull; will make it be written to
Avatar
hm, odd
Avatar
is the problem the sourcecode or my sql db ?
Avatar
source code
Avatar
okey
14:06
i can't solve it or i can ?
Avatar
maybe a compatibility problem with the mysql version you are using
Avatar
Avatar
deen
maybe a compatibility problem with the mysql version you are using
hmm probably
Avatar
which one is it, what operating system are you on?
Avatar
ubuntu
14:06
22.04 or something
14:06
64 bits
14:06
maybe
Avatar
can you do mariadb --version (forgot, just mariadb is enough it's a dropin replacement) (edited)
Avatar
mysql Ver 15.1 Distrib 10.6.18-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper huh how the hell is it debian..........
14:07
....
Avatar
10.6.18 is old - i'm on 11.4.4 - works for me
Avatar
okkk
14:07
how can i update
14:07
because i installed it today
14:09
Reading state information... Done mariadb-server is already the newest version (1:10.6.18-0ubuntu0.22.04.1). The following packages were automatically installed and are no longer required: libevent-pthreads-2.1-7 libmecab2 libprotobuf-lite23 mecab-ipadic mecab-ipadic-utf8 mecab-utils Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@vps385544254:~#
Avatar
ubuntu has package indexes, the newest version seems to be 24.10 google how to update the package index on ubuntu - the file is located under /etc/apt/sources.list
Avatar
Avatar
meloƞ
ubuntu has package indexes, the newest version seems to be 24.10 google how to update the package index on ubuntu - the file is located under /etc/apt/sources.list
okey
14:10
thx
Avatar
good luck!
Avatar
thx
Avatar
Avatar
meloƞ
ubuntu has package indexes, the newest version seems to be 24.10 google how to update the package index on ubuntu - the file is located under /etc/apt/sources.list
is docker slow
14:11
just curious, cuz usually when i hit these i just use the docker imagejustatest
Avatar
well that just hides the fact that it's borked on their machine but doesnt fix the underlying problem
Avatar
i'm asking for me tho
14:13
greenthing
Avatar
kek - if you're just using docker to build the server, i'd consider it okay'ish
Avatar
i often keep my servers distro untouched, install dockers and just get my services that way.
Avatar
that's fair for people knowing how to use docker yea
Avatar
thx
Avatar
ReiTW had to sit through 2hours of me suffering with docker
Avatar
i feel assured
Avatar
Avatar
meloƞ
ReiTW had to sit through 2hours of me suffering with docker
what?
14:15
which part
Avatar
i setup a test environment for blockworlds - and i had to have the DDNet server communicate with an api i wrote
Avatar
sounds very manageable, maybe i'm too docker coded
Avatar
looking back it was very very manageable
14:18
but understanding where you are within the docker container etc made my head go brrrrrr
14:18
like.. "okay this file i need to copy into here, this into DAMN IT THAT'S THE WRONG PATH"
Avatar
justatest ideally you would never need to go inside a container
14:18
well maybe you are trying to build a image yourself
14:18
then idk, that can be hard
Avatar
Avatar
meloƞ
ubuntu has package indexes, the newest version seems to be 24.10 google how to update the package index on ubuntu - the file is located under /etc/apt/sources.list
i don't find it..
14:20
not from my VPS
Avatar
MilkeeyCat 2025-01-02 14:22
we're down to 666 issues justatest
Avatar
did melon literally just means apt update
Avatar
Avatar
eidderFsT
did melon literally just means apt update
no, updating the actual index by changing the repository within /etc/apt/sources.list
14:25
so he can fetch latest packages
Avatar
fair
14:26
i also never done that before
Avatar
i had to do that on my raspberry pi once kek
14:26
broke my entire home assistant with it NotLikeKogasa
15:03
aaf817a Translations for upcoming DDNet 18.9 - def- 7376184 Merge pull request #9455 from def-/pr-transl-18.9 - Robyt3
15:04
4101267 Bump nightly version to 19.0 - def- 0b4b00b Merge pull request #9457 from def-/pr-bump189 - Robyt3
Avatar
Avatar
MilkeeyCat
we're down to 666 issues justatest
Jupstar ✪ 2025-01-02 15:13
robyte actually did it, epyc ddnet maintaining moment
Avatar
MilkeeyCat 2025-01-02 15:21
wtf, it's possible to chat with copilot on github -.-
Avatar
Jupstar ✪ 2025-01-02 15:23
ask him how a rewrite in javascript would look like
Avatar
Y'all should move to Codeberg, for real
Replying to @MilkeeyCat wtf, it's possible to chat with copilot on github -.-
Avatar
Jupstar ✪ 2025-01-02 15:26
how fast are their runners?
Avatar
MilkeeyCat 2025-01-02 15:26
is there any script to format pyson code in ddnet repo?
Avatar
Jupstar ✪ 2025-01-02 15:26
that's the only selling argument for me tbh
Avatar
Avatar
MilkeeyCat
is there any script to format pyson code in ddnet repo?
Jupstar ✪ 2025-01-02 15:26
i think there is some checker that simply uses pysoron tools
Avatar
also, am I late to translate?
Avatar
Jupstar ✪ 2025-01-02 15:28
3h too late maybe
15:28
so no 😄
Avatar
MilkeeyCat 2025-01-02 15:29
lmao
Avatar
Jupstar ✪ 2025-01-02 15:31
i mean that is what you wanted technically xd
15:31
was it to fix the issue
Avatar
GitHub BOT 2025-01-02 15:32
826173d Add 25€ donation by Route66 - def-
Avatar
@Route66 Thank you!
❤️ 1
Avatar
On the side note, uh, why am I still here? I don't play DDNet nowadays anyways...
Avatar
Avatar
EGYT
On the side note, uh, why am I still here? I don't play DDNet nowadays anyways...
Jupstar ✪ 2025-01-02 15:35
Nobody can quit teeworlds
Avatar
false
Replying to @Jupstar ✪ Nobody can quit teeworlds
Avatar
Jupstar ✪ 2025-01-02 15:36
It's true
Avatar
false
Replying to @Jupstar ✪ It's true
Avatar
Jupstar ✪ 2025-01-02 15:37
Prove it
Avatar
can a developer check my config file pls to see if it works
15:38
to see if the problem comes from there or not*
Avatar
Jupstar ✪ 2025-01-02 15:38
why don't you let the game check it
15:38
ok go
Avatar
Me ?
Avatar
Jupstar ✪ 2025-01-02 15:38
yes
Avatar
hum
Avatar
look
Replying to @Jupstar ✪ Prove it
Avatar
in fact
15:39
I have already tried to look at what it tells me
15:39
but I still have the same problems
Avatar
Jupstar ✪ 2025-01-02 15:39
tell your problem
Avatar
the database does not load sqlite data, I wonder if it comes from the connection in autoexec_config
15:40
and when the top5 is displayed it is without nicknames (even though there are basic ones)
15:40
and the /mapinfo displays nothing either even though they are supposed to display data
Avatar
Jupstar ✪ 2025-01-02 15:40
but you opened the sqlite file and looked if all data was correctly written?
Avatar
and sometimes it can't even connect to the base
Avatar
Avatar
Jupstar ✪
but you opened the sqlite file and looked if all data was correctly written?
Yes
15:40
sql file now
Avatar
Jupstar ✪ 2025-01-02 15:40
are u on windows?
Avatar
no
15:40
linx
15:40
linux
15:41
and it's an sql file, I corrected all the errors normally
Avatar
Jupstar ✪ 2025-01-02 15:41
if writing works and reading not, then maybe it's a bug in the code?
Avatar
Avatar
Jupstar ✪
if writing works and reading not, then maybe it's a bug in the code?
what code?
15:41
which
Avatar
Jupstar ✪ 2025-01-02 15:41
the source code
Avatar
huh
15:41
I can't do anything about it can I?
Avatar
Jupstar ✪ 2025-01-02 15:42
you could fire up a debugger and see why reading fails. or add more logs to see if errors occure
Avatar
Avatar
Jupstar ✪
you could fire up a debugger and see why reading fails. or add more logs to see if errors occure
ok
15:42
I'm going to see
Avatar
cyberfighter 2 2025-01-02 15:43
looks like using a rc version early can get you banned from some servers troll
Avatar
chillerdragon BOT 2025-01-02 15:43
Really nice! Now the next goal is 666 stars
Replying to @MilkeeyCat we're down to 666 issues
Avatar
Avatar
cyberfighter 2
looks like using a rc version early can get you banned from some servers troll
Jupstar ✪ 2025-01-02 15:43
ez
Avatar
chillerdragon BOT 2025-01-02 15:45
Is MySQL not working a known issue @deen? If only mariadb works and MySQL doesn’t we should maybe mention that in the readme or fix it.
Avatar
Avatar
chillerdragon
Really nice! Now the next goal is 666 stars
Hold on let me help
Avatar
Avatar
chillerdragon
Is MySQL not working a known issue @deen? If only mariadb works and MySQL doesn’t we should maybe mention that in the readme or fix it.
Jupstar ✪ 2025-01-02 15:46
it's sqlite
Avatar
Avatar
chillerdragon
Is MySQL not working a known issue @deen? If only mariadb works and MySQL doesn’t we should maybe mention that in the readme or fix it.
I tried on mariadb too but I was told that I needed version 24.10 of ubuntu to install version 11.4.4 of Mariadb on my server,
Avatar
Avatar
i am not
I tried on mariadb too but I was told that I needed version 24.10 of ubuntu to install version 11.4.4 of Mariadb on my server,
and it gave me an error when I tried to change maps (I think it still does)
Avatar
mysql has been deprecated for a while now with mariadb being the drop-in replacement for it - we could at this point just change mysql to mariadb in the readme (edited)
Avatar
Avatar
i am not
I tried on mariadb too but I was told that I needed version 24.10 of ubuntu to install version 11.4.4 of Mariadb on my server,
but I can't install 24.10
Avatar
Jupstar ✪ 2025-01-02 15:47
can u just start a exec on macos? or is that too advanced?
Avatar
Avatar
chillerdragon
Is MySQL not working a known issue @deen? If only mariadb works and MySQL doesn’t we should maybe mention that in the readme or fix it.
should be fixed
Avatar
Avatar
Jupstar ✪
can u just start a exec on macos? or is that too advanced?
too hard I think
Avatar
Jupstar ✪ 2025-01-02 15:48
i think so too
Avatar
xD
15:48
I'm going to wait for my friend to come back to see all that
15:49
I have never used SQL
Avatar
Avatar
chillerdragon
Really nice! Now the next goal is 666 stars
Jupstar ✪ 2025-01-02 15:49
and Route66 renames to Route666
Avatar
Avatar
i am not
I have never used SQL
Jupstar ✪ 2025-01-02 15:49
Don't let deen see that, but databases are boring 😬
Avatar
Avatar
Jupstar ✪
Don't let deen see that, but databases are boring 😬
fr
Avatar
Avatar
cyberfighter 2
looks like using a rc version early can get you banned from some servers troll
that's known
Avatar
cyberfighter 2 2025-01-02 15:50
well that happened to me for the first time
Avatar
Jupstar ✪ 2025-01-02 15:50
@eidderFsT btw i know u asnwered this 20 times, but why exactly do u need a new flag?
Avatar
ye, it can only be fixed at their end now
Avatar
Jupstar ✪ 2025-01-02 15:51
like what does the flag tell the client or server
Avatar
what type of coordinate it is in the input packet
Avatar
cyberfighter 2 2025-01-02 15:51
wtf D:
Avatar
Jupstar ✪ 2025-01-02 15:51
i see
Avatar
cyberfighter 2 2025-01-02 15:51
seeing cursors in spec is so cursed
Avatar
Avatar
cyberfighter 2
seeing cursors in spec is so cursed
Jupstar ✪ 2025-01-02 15:52
it is as it always should have been
Avatar
you can turn it off
Avatar
Jupstar ✪ 2025-01-02 15:52
i also added a dyncam_spec config in ddnet-rs
Avatar
no menu settings yet, cuz i don't want to touch menus tbh (edited)
Avatar
Avatar
Jupstar ✪
i see
any further ideas? cuz usually this convo goes to people trying to figure out ways to do it without a flag in the input.
Avatar
why ukr server dont work
15:56
?
15:56
Avatar
cyberfighter 2 2025-01-02 15:56
wut
Avatar
Avatar
eidderFsT
any further ideas? cuz usually this convo goes to people trying to figure out ways to do it without a flag in the input.
Jupstar ✪ 2025-01-02 15:57
In ddnet-rs it's simply solved by the fact that the server knows if u are in freespec or not
Avatar
Avatar
zen1xula
Click to see attachment 🖼️
the ukr server is currently under attack. you can check with /ddos here
❤️ 1
Avatar
cyberfighter 2 2025-01-02 15:57
is there a way to revert this
Avatar
Jupstar ✪ 2025-01-02 15:57
like freecam is a proper concept
15:58
and the clients know about it for other clients too then
Avatar
Jupstar ✪ 2025-01-02 15:59
but i wouldn't say this is better to be clear about it xd
15:59
i actually thought about making it an enum first too
15:59
but i dont think a local player ever wants to follow what the other tee is spectating
Avatar
@Skeith last chance btw, are you still hating it. and have you convinced lerato to hate it too
Avatar
I definitely think my suggestion is a massive improvement for the overall feel
Avatar
Jupstar ✪ 2025-01-02 16:05
where can i read?
16:05
or is there a tl;dr?
Avatar
we might get more people on yourside during the RC. ill prepare a pr but ill wait for a bit
Avatar
Avatar
Jupstar ✪
where can i read?
the skeith hated thing?
Avatar
Avatar
eidderFsT
the skeith hated thing?
Jupstar ✪ 2025-01-02 16:06
what he hates and what he wants to improve
16:06
best in 2 sentences xd
Avatar
Avatar
Jupstar ✪
best in 2 sentences xd
spectating players have a separate zoom value from playing zoom now. because when i implementing the new auto spec cam feature where it sync what spectated player camera setting it is easier to manage how the feature toggles
Avatar
Jupstar ✪ 2025-01-02 16:08
oh it even copies the zoom?
Avatar
code wise
Avatar
Jupstar ✪ 2025-01-02 16:08
yeah that is a no-go imho
Avatar
Avatar
Jupstar ✪
oh it even copies the zoom?
yes
Avatar
Jupstar ✪ 2025-01-02 16:08
zoom is something you set locally
Avatar
that doesn't bother skeith
16:08
you can turn it off as soon as you zoom once
Avatar
Avatar
eidderFsT
you can turn it off as soon as you zoom once
Jupstar ✪ 2025-01-02 16:09
yeah but i think that is a bad default
16:09
it should be opt-in not opt-out
16:09
in 99% of cases u want your zoom
Avatar
I think it's perfectly fine to see the exact perspective of the person you're spectating, but it shouldn't override your zoom level when you're currently trying to zoom out, I also think it shouldn't have 2 different zoom levels between spectating a person and your own
16:09
these are my gripes with it
Avatar
mostly the two zoom i assmue
16:10
i do plan on remove the two separate zoom but skeith still want the auto cam thing opt out by automatically turn on via condition which i am opposed to (edited)
Avatar
Jupstar ✪ 2025-01-02 16:10
in a demo i could understand the zoom thing (maybe) but in a spec i do not tbh
Avatar
im fine with opt in
Avatar
It's good information to see what a person is seeing
skeithnerd 1
Avatar
Avatar
Skeith
It's good information to see what a person is seeing
Jupstar ✪ 2025-01-02 16:11
how often?
16:11
as moderator maybe
Avatar
i think if auto cam is off it should never turn itself back on unless when you can see the indicator.
Avatar
Jupstar ✪ 2025-01-02 16:11
a normal person just wants to spec around
16:12
i'd be surprised if many ppl like it
Avatar
id be surprised if many ppl hate it either, i think most just wouldnt care.
Avatar
I think it's just fun in general to see the exact perspective of other tees when you're looking at their POV
Avatar
Avatar
Jupstar ✪
i'd be surprised if many ppl like it
btw it was implemented so by default the cursor doesnt go out of your screen too often if you are spectating a zoomed out player (edited)
16:13
which their cursor is futher out
16:14
its really for the spec cursor at least when i implemented it
Avatar
Also freddie I had a bug with the cursor in a demo I recorded, the cursor was attached to someone else entirely I think? rather than my perspective
Avatar
will take a look. i could see that happen.
Avatar
Avatar
Skeith
I think it's just fun in general to see the exact perspective of other tees when you're looking at their POV
Jupstar ✪ 2025-01-02 16:15
but you don't. or does your screen resolution change too?
Avatar
there is only one cursor info at all time so in demo it will only work for the tee you are recording.
16:16
wait no
16:16
im lying
16:17
actually i need your demo now (edited)
16:17
or a screenshot
Avatar
Avatar
Jupstar ✪
but you don't. or does your screen resolution change too?
Don't think so, but you still know what they're looking at regardless
Avatar
Avatar
eidderFsT
actually i need your demo now (edited)
Let me see if I can find the demo
Avatar
cyberfighter 2 2025-01-02 16:18
16:18
the heart on the side really doesnt help troll troll troll
Avatar
Avatar
cyberfighter 2
Click to see attachment 🖼️
it is not toggleable
Avatar
GitHub BOT 2025-01-02 16:19
Closes #8205

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 or valgrind's memcheck](https://github.com/ddnet/ddnet/#...
Avatar
Avatar
eidderFsT
it is not toggleable
cyberfighter 2 2025-01-02 16:19
i think it should be reverted
Avatar
Avatar
Skeith
Don't think so, but you still know what they're looking at regardless
Jupstar ✪ 2025-01-02 16:20
I dunno, i am not really convinced. I think we could add a small 🔒 icon next to the name in the spectator list and only if someone clicks it, it uses the same zoom too
16:21
I wouldn't want to manually change the zoom all the time, just bcs someone plays on 21:9 TV and zooms out by default
16:21
and Teero that pro plays zoomed in
16:21
that sucks even more 😂
Avatar
My suggestion makes it only show their perspective at your default zoom, if you zoom out once it breaks it and should never copy their zoom levels until you reset
16:22
I think that's fine
Avatar
and i dont
Avatar
It's like spectating someone else in any other game
Avatar
i think it should never turn back on if you zoomed at all
Avatar
Yall weird as fuck not gonna lie, but whatever, impossible to convince
16:23
do whatever
Avatar
Avatar
Jupstar ✪
I dunno, i am not really convinced. I think we could add a small 🔒 icon next to the name in the spectator list and only if someone clicks it, it uses the same zoom too
that might be a good idea but where were you before the RC tho. lol i cant just make a UI change this fast.
Avatar
Avatar
Skeith
My suggestion makes it only show their perspective at your default zoom, if you zoom out once it breaks it and should never copy their zoom levels until you reset
Jupstar ✪ 2025-01-02 16:24
So if i have my default zoom, i see Teeros zoom in?
Avatar
Avatar
eidderFsT
that might be a good idea but where were you before the RC tho. lol i cant just make a UI change this fast.
Jupstar ✪ 2025-01-02 16:24
but we can still default to off for now
Avatar
Avatar
Jupstar ✪
So if i have my default zoom, i see Teeros zoom in?
You'll see exactly what Teero is seeing
16:25
minus resolution difference
Avatar
Jupstar ✪ 2025-01-02 16:25
Yeah but I dont want to xD
16:25
I simply don't understand why ppl would like that as default behavior
Avatar
Don't spectate teero then, or zoom out, not everyone's gonna be a weirdo like teero
Avatar
Jupstar ✪ 2025-01-02 16:25
But if 99% have default zoom then it's even worse
16:25
when suddenly it zooms out or in
Avatar
Why can't the cursor be accurate regardless of zoom level btw, freddie
Avatar
Jupstar ✪ 2025-01-02 16:26
yeah who the fuck broke that btw xD
16:27
that is defs the most useless change ever
16:27
the cursor is relative to the tee
Avatar
Is it a lack of information or is Freddie bad at math?
Avatar
Avatar
Skeith
Why can't the cursor be accurate regardless of zoom level btw, freddie
do you mean the zoom level changes consistency?
16:28
i changed it back already.justatest if you are talking about aiming, not spectating
Avatar
Idk, I'm assuming when you zoom it'll just inaccurately show the person's cursor position, if that's not the case then just don't match the person's zoom level at all, it's pointless besides fun / slight information
16:28
I just notice when i zoom out when I see the cursor it glitches their cursor a bit in the process
Avatar
Avatar
Skeith
Idk, I'm assuming when you zoom it'll just inaccurately show the person's cursor position, if that's not the case then just don't match the person's zoom level at all, it's pointless besides fun / slight information
oh, we assume cursor is world pos
Avatar
I'm assuming it breaks it, or is it just recalculating it?
Avatar
so idk what is broken
16:29
do you have a screenshot comparison or something
Avatar
Jupstar ✪ 2025-01-02 16:29
yeah but that is just bad design, why should cursor be world pos xD
16:30
if we need to translate cursor pos to world pos for a cmd, then do it on the client
Avatar
Avatar
Jupstar ✪
yeah but that is just bad design, why should cursor be world pos xD
i could make it not, but it is nice to see what a cursor is landing on exactly.
Avatar
Jupstar ✪ 2025-01-02 16:30
the server does need to know the exact screen resolution to work, lmao
Avatar
aiming is screenpos now
16:30
telecursor is specially handled
Avatar
Jupstar ✪ 2025-01-02 16:31
ok then let me rephrase
16:31
if it's world pos. then the client should send it like that to the server
16:31
but even that
16:31
should not be used by the server
16:31
it just sounds super inaccurate
16:32
for spec ok, but for calculations, i dunno
Avatar
are we talkind about aiming or not (edited)
Avatar
Jupstar ✪ 2025-01-02 16:32
well also about telecursor
16:33
aiming must be relative always anything else must get the world pos from client
16:33
not calc on server
Avatar
i could remove telecursor chat command and make it a netmsg.
16:34
but we need to remove telecursor fast
16:34
for this version
Avatar
Jupstar ✪ 2025-01-02 16:34
but i asumme it wasnt u who even added it, or was it?
Avatar
telecursor? (edited)
16:34
no
Avatar
Accept friend request so I can send you the zipped demo freddie
16:34
I'm assuming that's why I can't send you this file
Avatar
Jupstar ✪ 2025-01-02 16:36
just send here
Avatar
Maybe discord's angry about it being a zip file, 10MB upload limit is amazing
Avatar
Jupstar ✪ 2025-01-02 16:36
no secrets under tees
16:36
here u have high upload limit too
Avatar
No thanks, dunno if anything private was said
Avatar
Jupstar ✪ 2025-01-02 16:36
ok then send here with pw
16:36
and send pw to freddie
16:36
😏
Avatar
Avatar
Skeith
Accept friend request so I can send you the zipped demo freddie
one sec. i'm flooded with dms and random things
Avatar
cursor seems entirely broke in this demo, dunno why
Avatar
Jupstar ✪ 2025-01-02 16:38
in #bugs we also have a case of wrong interpolation 😄
Avatar
aiming was inconsistent after someone decided to send world pos, and the world pos is actually wrong if dyncam is on. telecursor position hence was broken under dyncam, and aiming made some old players feel really inconsistent.
Avatar
GitHub BOT 2025-01-02 16:44
I have libvulkan in /opt/homebrew/opt/vulkan-loader/lib/, but still seeing: [2025-01-02T16:41:08Z INFO graphics_backend::backend_thread] graphics backend thread exited: dlopen(libvulkan.dylib, 0x0005): tried: 'libvulkan.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibvulkan.dylib' (no such file), '/usr/lib/libvulkan.dylib' (no such file, not in dyld cache), 'libvulkan.dylib' (no such file)
Avatar
so i changed it back to screenpos and found other ways to make telecursor work
Avatar
@eidderFsT Could you just make it to where auto zoom never zooms in past your default zoom
Avatar
and to make telecursor work client was sending camera info to the server. the camera info is never used for anything apart from telecursor. which lead to spec cursor having the info. which is how auto spec cam was implemented
Avatar
Avatar
Skeith
@eidderFsT Could you just make it to where auto zoom never zooms in past your default zoom
i could
16:49
so if we want a rework of telecursor, the whole spec cursor need to be scraped again
Avatar
Would remove trolling (people zooming in to extreme levels) I really wish we could just have an option to make default zoom auto
16:50
I like my version a lot more than having to toggle it on each time
Avatar
Avatar
arch1t3cht
it might depend on your PATHEXT environment variable
I'll give it another try. I'm on a fresh Windows installation at the moment. I encountered this issue on a much older installation before. 😄
Avatar
Avatar
Skeith
Would remove trolling (people zooming in to extreme levels) I really wish we could just have an option to make default zoom auto
btw i said i could but im like fixing four or five things at once plus the event server for some reason.
16:52
im currently very overwhelmed. ill try to think more before 18.9 releases, hopefully i have enough time
Avatar
The current version is fine enough as is, it's just mildly annoying and you should 100% expect people to be annoyed by the double zoom when it hits release
Avatar
im also rushing to fix chn stuff for websites and bots pepeW
Avatar
idk why it all happened at once lmao
Avatar
Avatar
Skeith
The current version is fine enough as is, it's just mildly annoying and you should 100% expect people to be annoyed by the double zoom when it hits release
my goal i think is to remove the two zoom but not the default zoom = auto spec cam
16:55
currently
Avatar
Add an option for it, #fuckthesystem
Avatar
btw are we adding cursor to tab?
Avatar
That whole context menu thing?
Avatar
ye (edited)
Avatar
No clue! Would be cool
16:57
(Also don't add an option for it btw, you'll have deen hein and maybe robyt at this point yelling at you, unlucky)
Avatar
actually. can i add a button in esc menu instead of assuming stuff.
Avatar
I wish we could have options for things that are used a lot! Options good for convenience :C
Avatar
is that a place we could use?
Avatar
I have no clue, I'm just a lowly moderator
Avatar
like there you can turn it on and off. on is your behavior, off is if you turn it on it auto turns off
Avatar
That sounds like an option to me, freddie!
16:59
tsk tsk
Avatar
sure
17:00
so on assmues you want it, and temporarily turn it off. and off assumed you dont want it unless you temporarily turn it on
Avatar
Avatar
Skeith
That sounds like an option to me, freddie!
what was the accuracy thing btw
Avatar
Accuracy thing?
Avatar
Avatar
Skeith
Why can't the cursor be accurate regardless of zoom level btw, freddie
this
Avatar
I think I might've been wrongly assuming something about the cursor
17:02
Is it already accurate to where they're aiming regardless of your own zoom level
Avatar
Avatar
Skeith
Is it already accurate to where they're aiming regardless of your own zoom level
is it the thing that become inaccurate at some point
17:03
like a few month ago
Avatar
Hook collision?
17:04
the laser pointer
Avatar
hmm
Avatar
Avatar
Skeith
Is it already accurate to where they're aiming regardless of your own zoom level
is it #8452
Avatar
or are you talking about other things
Avatar
I assumed it just didn't show an accurate position cause it gets kinda glitchy when you first zoom out when spectating someone, the cursor jumps to a different position, but I think it just corrects itself once
Avatar
so spectating
Avatar
Ya, if you're spectating a tee and watching their cursor, if you zoom out their cursor will zoom out as well but then go back to the "accurate" (I'm assuming) location, it corrects itself
Avatar
assuming specing 18.8
17:08
sounds like a bug
17:09
well more like a compatibility issue but i think i know what caused it
Avatar
Also I totally do have that hook collision line bug currently, if I zoom out my hook collision shows it hooks through when it doesn't
Avatar
Avatar
Skeith
Ya, if you're spectating a tee and watching their cursor, if you zoom out their cursor will zoom out as well but then go back to the "accurate" (I'm assuming) location, it corrects itself
eitherway, ye, i think i touched way too much code for this version, from controls to server cursor to spectating, so it gets really confusing which one when you just say accuracy
Avatar
Avatar
Skeith
Also I totally do have that hook collision line bug currently, if I zoom out my hook collision shows it hooks through when it doesn't
i can check that, although i dont think it is related but it sounds like i couldve cause it
Avatar
Avatar
Skeith
Ya, if you're spectating a tee and watching their cursor, if you zoom out their cursor will zoom out as well but then go back to the "accurate" (I'm assuming) location, it corrects itself
can you check if it is also like that when specing 18.9
Avatar
GitHub BOT 2025-01-02 17:17
Currently the hookline ignores hook teleports, I think it would make sense for it to pass through the teleport and actually show where the hook will go. This should solve issue #8735 !image

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially bas...
Avatar
Avatar
Skeith
Click to see attachment 🖼️
17:20
did i miss anything
Avatar
Don't believe so 👍
Avatar
Avatar
eidderFsT
Click to see attachment 🖼️
Jupstar ✪ 2025-01-02 17:23
make community vote if it should be default on 😬
Avatar
it wont be
17:23
actually idk
17:23
you do that
Avatar
Jupstar ✪ 2025-01-02 17:24
ok give #announcements permissions
Avatar
i dont think people know what it does yet tho
Avatar
Jupstar ✪ 2025-01-02 17:24
give me insanity's role
Avatar
Yall devs need to not be so afraid of options lmao
17:25
If the feature is used CONSTANTLY and people would obviously be divided on using it, allow an option...
Avatar
Avatar
Skeith
Yall devs need to not be so afraid of options lmao
Jupstar ✪ 2025-01-02 17:25
I am afraid of bad default behavior
Avatar
MilkeeyCat 2025-01-02 17:26
lol
Avatar
Avatar
Jupstar ✪
I am afraid of bad default behavior
Have it defaulted to off, but have an option for people that wouldn't want to have to always toggle it on aka me
17:29
Honestly, I definitely see why people are using the DDNet client less and less
Avatar
Avatar
Skeith
Honestly, I definitely see why people are using the DDNet client less and less
Jupstar ✪ 2025-01-02 17:29
More and more ppl use ddnet actually 😄
Avatar
As a moderator, I don't think this is true
Avatar
Koll Potato 2025-01-02 17:30
ChillerDragon: does teeworlds 0.6 server acknowledge ddnet packets or just ignores them? i tried ignoring them and ddnet kept sending me them with resend flag xd
Avatar
i honestly worry people would wonder why they cant see some peoples cursor cuz it was out of screen. but that is also the case for specing old clients so i probably shouldn't
Avatar
Avatar
Jupstar ✪
More and more ppl use ddnet actually 😄
nope, more and more people use modified ddnet clients
Avatar
Avatar
Skeith
As a moderator, I don't think this is true
Jupstar ✪ 2025-01-02 17:30
But see your argument is two sided. You want new technical features like demos ingame, accounts? Then you cannot spam the client with useless stuff all the time and hope it works forever
Avatar
Big influx of new players skews data to determine this I guess, but a lot of people have been swapping to tater.
Avatar
Avatar
Cellegen
nope, more and more people use modified ddnet clients
See the point is that more and more people are playing DDNet in general, and you missed the joke
Avatar
Avatar
Jupstar ✪
But see your argument is two sided. You want new technical features like demos ingame, accounts? Then you cannot spam the client with useless stuff all the time and hope it works forever
Eh, we can certainly be smarter about options, rather than being against having them no matter what
Avatar
DDNet specific clients, more likely
Avatar
i should sleep
Avatar
Good night Freddie
Avatar
it doesn't mean they are using the original, which is weird, but understandable
Avatar
haven't been able to for about two nights now lol
Avatar
Avatar
Skeith
Eh, we can certainly be smarter about options, rather than being against having them no matter what
Jupstar ✪ 2025-01-02 17:32
I'd say it's a hard topic, I could imagine most options are not used or only by 1-2 ppl
Avatar
if the topic is "why people use other clients, than ddnet's client" then it makes sense to say that they are not using the vanilla ddnet
Avatar
Not every russian kid who joins downloads that which must not be named most of them are probably getting vanilla DDNet
Avatar
Jupstar ✪ 2025-01-02 17:33
But we don't have any stats
Avatar
Shrug, this feature would be. So I'm definitely advocating for an option here
Avatar
Jupstar ✪ 2025-01-02 17:34
I didnt say I am against this specific option, I was really more about your generalization
Avatar
Ya I understand, I believe Freddie tried to add options for this feature when it was originally submitted, and devs opted not to have any. Which is a problem in my opinion
17:36
Ya'll need to think more about having options for major changes, imo
Avatar
Jupstar ✪ 2025-01-02 17:37
Well maybe you are right, maybe we should be smarter about options. E.g. if a new option is added the dev also has to add tests for it. For the client this probably means taking some kind of screenshots to ensure behavior is as intended
Avatar
Can probably phase out certain options over time if they're deemed unused
Avatar
i always have videos in my pr
17:39
well i lied
17:40
but i do care a lot about my pr to have clear enough info imho
Avatar
chillerdragon BOT 2025-01-02 17:50
Yea even if you do not know the Message id you should acknowledge all vital chunks.
Replying to @Koll Potato ChillerDragon: does teeworlds 0.6 server acknowledge ddnet packets or ju…
Avatar
Koll Potato 2025-01-02 17:51
im going crazy
17:51
ty
Avatar
chillerdragon BOT 2025-01-02 17:52
If you really go crazy go allocate some time to setup libtw2 wireshark dissector
17:52
It will keep you sane you can just compare a healthy connection to yours and see exactly where you are going wrong
Avatar
chillerdragon: i love you
Avatar
Koll Potato 2025-01-02 17:52
yeah because debugging the same problem for 5 freaking days is not normal
17:52
even more ig
Avatar
chillerdragon BOT 2025-01-02 17:52
@eidderFsT: u ok?
17:53
Happy new year Freddie
Avatar
chillerdragon BOT 2025-01-02 17:54
Love you too
Avatar
how do people sleep when they got tasks to do
17:55
i cant sleep
Avatar
chillerdragon BOT 2025-01-02 17:55
Pills and alcohol
Avatar
ah forgot i was asking a german
Avatar
Koll Potato 2025-01-02 17:55
ChillerDragon: wait are you on arch too?
Avatar
chillerdragon BOT 2025-01-02 17:55
Yes BTW
Avatar
Koll Potato 2025-01-02 17:56
is it possible to install older wireshark versions with pacman or i have to build it manually?
Avatar
chillerdragon BOT 2025-01-02 17:56
Is libtw2 behind? -.-
Avatar
Koll Potato 2025-01-02 17:56
yeah
17:56
thats why i couldnt set it up the previous time
Avatar
chillerdragon BOT 2025-01-02 17:56
I often use my own package manager crackman
17:57
Which allows me to get new stuff on Debian and old stuff on arch
17:57
Compiling wireshark is smooth af it just is a fat git repo
Avatar
Koll Potato 2025-01-02 17:57
but how exactly does it do that
17:57
alright
Avatar
chillerdragon BOT 2025-01-02 17:58
Then it’s one build command in libtw and moving the .so
17:58
It will take a bit of time but trust me it’s a game changer for your problem
Avatar
Koll Potato 2025-01-02 17:59
thank you the teeworlds expert
Avatar
Jupstar ✪ 2025-01-02 18:05
writing cis is harder than writing vk
Avatar
Koll Potato 2025-01-02 18:05
oh no
Avatar
Jupstar ✪ 2025-01-02 18:05
change my mind
18:05
well only for windows tbh 😂
18:05
since 2 days i do nothing else lmao
Avatar
i should stop checking every messages and assume everything is my fault justatest
Avatar
Avatar
eidderFsT
i should stop checking every messages and assume everything is my fault justatest
Jupstar ✪ 2025-01-02 18:05
nothing is your fault lol
Avatar
anxiety prob
Avatar
Jupstar ✪ 2025-01-02 18:06
first of all we have a clash of opinions
Avatar
no i was looking at general
Avatar
Avatar
Jupstar ✪
nothing is your fault lol
oh btw, someone said the auto thing did clamp to their settings already, do you mean clamping to a safer one or is that ok
18:09
ill double check the gl1 handling too tomorrow
Avatar
Avatar
eidderFsT
oh btw, someone said the auto thing did clamp to their settings already, do you mean clamping to a safer one or is that ok
Jupstar ✪ 2025-01-02 18:09
mh ok, but what even happens on invalid values anyway
18:09
like what datatype do we even use lmao
Avatar
int
18:10
ddnet protocol is all int i think?
Avatar
Jupstar ✪ 2025-01-02 18:11
ig so
Avatar
Koll Potato 2025-01-02 18:11
int and str
Avatar
ill double check extreme zoom values too
18:12
str is just an array of uint8, jk
Avatar
Koll Potato 2025-01-02 18:13
technically int is also array of uint8
Avatar
I'm unsure why the cursor jump thing happens when zooming Freddie, doesn't happen consistently! gl monkaStop
Avatar
Avatar
Skeith
I'm unsure why the cursor jump thing happens when zooming Freddie, doesn't happen consistently! gl monkaStop
are you sure it is not version related
Avatar
I have no clue, not enough people on nightly to test
Avatar
do you always see the jump if they dont have an indicator
Avatar
I tested with Souly he's not on nightly, couldn't get the cursor to jump when I zoomed
18:15
I have no clue what causes it to happen, maybe it's when they're moving the cursor quickly when I zoom
Avatar
i could remove a piece of smoothing and make sure it always shows the real position
Avatar
maybe overlay in debug mode like the tee
Avatar
not that one
18:16
but good idea
18:16
i did turned off interp when debug is on (edited)
18:17
but robyt3 says debug should not toggle features
18:17
so maybe i should make it a overlay
18:18
idk if they buy that i added a debug overlay after the feature is already implemented tho
Avatar
Avatar
Koll Potato
oh no
when is this allowed ever? is someone trying to do a fish-style command substitution
Avatar
Avatar
eidderFsT
idk if they buy that i added a debug overlay after the feature is already implemented tho
add it for urself for now ig
18:18
if the problem is not consistent then rip
Avatar
its not the interps fault im pretty sure
Avatar
I got it to happen while watching cyberfighter, it also appears in the demo. he's on nightly
Avatar
Avatar
Ewan
when is this allowed ever? is someone trying to do a fish-style command substitution
Koll Potato 2025-01-02 18:19
i just had a space in the directory name xd
18:19
compiling wireshark now
Avatar
there was a zoom smoothing handling since server camer info is unsmoothed
Avatar
should be fine
18:20
chiller not escaping paths??
18:20
justatest
Avatar
(otherwise it would be a lot of netmsg from client)
Avatar
Koll Potato 2025-01-02 18:20
nah
18:20
my fault
18:20
i installed wireshark twice
18:20
so the second one got named with (1) in the end
Avatar
Koll Potato 2025-01-02 18:20
6% compiled in 15 minutes
😃 1
Avatar
Avatar
eidderFsT
(otherwise it would be a lot of netmsg from client)
why does server need to know zoom? can’t u send its states only at the start and end of the interpolated window
Avatar
Avatar
Skeith
I got it to happen while watching cyberfighter, it also appears in the demo. he's on nightly
He was also zooming when I zoomed, maybe it's due to both people trying to zoom when auto is enabled
Avatar
Avatar
Ewan
why does server need to know zoom? can’t u send its states only at the start and end of the interpolated window
e.g. just dont interpolate for the server. but i am forgetting what this issue is all about
Avatar
Avatar
Skeith
He was also zooming when I zoomed, maybe it's due to both people trying to zoom when auto is enabled
wait. if auto is off the cursor will always jump, is it like jumping back and forth or just teleporting due to them zooming
Avatar
the cursor will just teleport when they zoom, maybe you speced right when they were changing zoom and it looked like
Avatar
That's from me zooming and resetting zoom
18:24
Maybe
Avatar
only in demo?
Avatar
Nah, also ingame
Avatar
they might just be zooming in and out
18:25
it looks like they are just zooming in and out really
Avatar
so you just want the interpolation so that looks good?
Avatar
i didnt make interp for that cuz we already had three different interp for zoom.
18:26
im scared of stacking another one
Avatar
I'll record him zooming out then watch the demo to compare, I guess
Avatar
do let me know if you are sure it is you zooming causing the jump (edited)
Avatar
I need a good test subject that stands still xD that's also on nightly. Would a dummy have the same results?
Avatar
if it is not your zooming, then i guess maybe adding a interp is a better experience. the problem is it will never match camera zoom smoothing so we do need two different smoothing, one for auto, one for nonauto oof
Avatar
Cursor position is very slightly off btw
Avatar
it can be
18:33
it is integer
18:33
it will be completely wrong if you zoom way out and point somewhere with a mouse_distance 50 or something
Avatar
Swapping between dummy and spectating dummy, the cursor is slightly off normal zoom, it's just a pixel or two off, not a big deal
Avatar
ye, server cursor is different that your mouse
18:34
no way to fix that really
Avatar
Fair enough, just making sure
Avatar
well there is a way if i just send another pair of floats but that sounds wasteful
Avatar
It's barely incorrect, so not a real issue
Avatar
Avatar
eidderFsT
it will be completely wrong if you zoom way out and point somewhere with a mouse_distance 50 or something
try this, it can be a lot more wrong if you intentionally make it wrong
Avatar
Can't test the accuracy with dummy, my zoom resets for both greenthing
18:39
oh, 2 clients ig
18:43
Oooo, I can make the cursor jump this way
18:43
It doesn't happen every time either, definitely feels like a bug
18:45
@eidderFsT
18:46
Real POV during the zooming
18:47
real cursor location
18:47
So it's trying to show me the unzoomed cursor location each time I zoom while spectating, neat
18:48
or something like that
18:49
(Nah it definitely isn't, it's just jumping to a different position, idk why)
18:50
Not nerd enough to figure that out, glgl monkaStop
18:52
tl;dr: If the person you're spectating is zoomed out and you change your zoom at all, the cursor will jump.
Avatar
Avatar
Skeith
@eidderFsT
noted
18:56
this is much more bug like and i can probably tell why if i look hard enough
18:57
tomorrow
Avatar
Can I run a pre-compiled version of ddnet on the host?
Avatar
so i installed ubuntu 24.10, mariadb 11.4.3 but it still doesn't work, what can i do ?
Avatar
Avatar
Skeith
@eidderFsT
wait did i forgot to track dummy's received camera info separately
Avatar
That was on 2 different clients
Avatar
oh
19:00
right
19:00
i should sleep
heartw 1
Avatar
Avatar
i am not
so i installed ubuntu 24.10, mariadb 11.4.3 but it still doesn't work, what can i do ?
MilkeeyCat 2025-01-02 19:05
still the same error?
Avatar
Avatar
MilkeeyCat
still the same error?
nope
19:05
like
19:05
no errors on it
19:05
but it's the same problem
19:05
the database "connect" but not the data
19:08
` 2025-01-02 16:23:56 E storage: could not determine user directory 2025-01-02 16:23:56 E storage: could not determine fallback user directory 2025-01-02 16:23:56 I storage: couldn't open storage.cfg 2025-01-02 16:23:56 I storage: using standard paths 2025-01-02 16:23:56 E storage: cannot add path '$USERDIR' because it could not be determined 2025-01-02 16:23:56 I storage: added path '$DATADIR' ('data') 2025-01-02 16:23:56 I storage: added path '$CURRENTDIR' ('/home/ddnet/DDNet-18.8.2-linux_x86_64') 2025-01-02 16:23:56 I host_lookup: host='localhost' port=0 1 2025-01-02 16:23:56 I host_lookup: host='localhost' port=0 2 2025-01-02 16:23:56 I console: executing 'autoexec_server.cfg'
19:08
only error i see
Avatar
Koll Potato 2025-01-02 19:16
ChillerDragon: i have a massive skill issue with permissions on arch
19:16
ive compiled wireshark but it does not let me capture anything
19:16
"you have no permissions"
19:16
even though i have added my user to the wireshark group
19:21
XDDDD
19:21
im a dumbass
19:21
i was setting up access for /usr/bin/dumpcap
19:21
not the one that i have built
19:22
LETS GOOOO
19:22
it works
19:23
or not
19:23
no teeworlds packets
19:28
nice
Avatar
huh
19:29
why is my message blocked
19:30
whyyy
19:31
why is it blocked
Avatar
automod flags it as spam
Avatar
huh
Avatar
Avatar
i am not
why is it blocked
Not right. only two lines required.
Avatar
Avatar
Zwelf
Not right. only two lines required.
really
19:34
but which one
Avatar
Avatar
Zwelf
ah, and also append 1 for crating the tables (on the first run) sv_use_sql 1 add_sqlserver r ddnet_server record ddnet 'thebestpassword' 121.0.0.1 3303 add_sqlserver w ddnet_server record ddnet 'thebestpassword' 121.0.0.1 3303 1
these
Avatar
Avatar
Zwelf
ah, and also append 1 for crating the tables (on the first run) sv_use_sql 1 add_sqlserver r ddnet_server record ddnet 'thebestpassword' 121.0.0.1 3303 add_sqlserver w ddnet_server record ddnet 'thebestpassword' 121.0.0.1 3303 1
ohhh ok
19:35
i forgot
19:35
thx
19:37
Jan 02 19:36:25 vps385544254.lowhosting.org DDNet-Server[18894]: 2025-01-02 19:36:25 I mysql: connection established it say that but the data doesn't load
Avatar
The tables in the database should then have the name record_maps, record_race, record_teamrace, record_points, record_saves. (They get automatically created with setupdatabase 1 parameter.
Avatar
Avatar
Zwelf
The tables in the database should then have the name record_maps, record_race, record_teamrace, record_points, record_saves. (They get automatically created with setupdatabase 1 parameter.
yes
19:38
Avatar
Avatar
Zwelf
The tables in the database should then have the name record_maps, record_race, record_teamrace, record_points, record_saves. (They get automatically created with setupdatabase 1 parameter.
Those tables were created from the long config above. You can drop them except the ones I mention in this message.
Avatar
okk
19:39
thx
Avatar
Koll Potato 2025-01-02 19:40
ChillerDragon: basically ten minutes of debugging and i got my server to work, looks like the sequence and ack was correct all along
19:40
i was supposed to send snap single and not snap empty
Avatar
GitHub BOT 2025-01-02 19:40
It seems that there has been a regression where the 45 degree aim bind does not work when zoomed in. instead it will always shoot upwards. Additionally the hookline is not visible when the bug is happening. I've tested a few versions from the ddnet website and found that 18.0.3 has the bug, while 17.4.2 does not. Here's a video of this bug in action (first half of the video is the old version where it works, second half the one where it's broken) https://g...
19:41
this is good ?
19:41
okey
19:41
nice
Avatar
looks good
Avatar
Koll Potato 2025-01-02 19:41
ChillerDragon: i believe snap empty is never sent to the client xD
Avatar
Avatar
Zwelf
looks good
data still doesn't load
Avatar
Is there data in the tables?
Avatar
yeah
Avatar
Are there errors loading the data?
Avatar
hm
Avatar
Koll Potato 2025-01-02 19:43
ahh snap empty might be sent when delta size is smaller or equal to 0
Avatar
the only errors
Avatar
When you finish a map on the server to add new data, then restart the server. Does the new data appear?
Avatar
Avatar
Zwelf
When you finish a map on the server to add new data, then restart the server. Does the new data appear?
nope
19:43
but the /top load
19:43
like if i hadn't a database it would just print an error
19:43
but it doesn't
19:44
19:44
is this ok ?
19:45
19:46
Does /mapinfo 001 not work?
Avatar
nope
19:46
doesn't work
19:46
like it say "no map like "001" found
Avatar
is there any response?
19:46
or does it just wait long doesn't write a message to chat?
Avatar
Avatar
Zwelf
or does it just wait long doesn't write a message to chat?
wdym
Avatar
ah, u gave response in one message above
Avatar
it says "no map like "001" found in the chat
19:47
yes lol
19:48
and i can't vote another map bc it makes the server crash (only when sql is on)
Avatar
crash doesn't sound nice. (do you have a stack trace?)
Avatar
huh
19:49
log file ?
19:49
or gbd thing
Avatar
dump_sqlservers r dump_sqlservers w print the respective database server?
19:49
gdb thingy
Avatar
Avatar
Zwelf
dump_sqlservers r dump_sqlservers w print the respective database server?
i don't have t hat
Avatar
in server console (f2)
Avatar
oh
Avatar
Avatar
Zwelf
dump_sqlservers r dump_sqlservers w print the respective database server?
i gotta print this in the f2 ?
Avatar
I think so. Yes.
Avatar
2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_maps' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_points' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_race' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_saves' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_maps_teamrace' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_points' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_race' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_race_backup' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_saves' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:50:58 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_saves_backup' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: ClientId=0 rcon='dump_sqlservers r ' 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_maps' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_points' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_race' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_saves' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_maps_maps_maps_teamrace' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_points' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_race' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_race_backup' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:51:05 I server: MySQL-Read: DB: 'ddnet_server' Prefix: 'record_saves' User: 'ddnet' IP: XXX Port: 3306
Avatar
Ah, please restart server so it only has the two entries from the database
Avatar
ok
19:53
the 2nd
19:53
dump_sqlservers w
19:53
doesn't work
19:53
i think
19:53
2025-01-02 19:52:49 I server: MySQL-Write: DB: 'ddnet_server' Prefix: 'record_saves_backup' User: 'ddnet' IP: XXX Port: 3306 2025-01-02 19:52:49 I server: SQLite-WriteBackup: DB: 'data/ddnet-server.sqlite' 2025-01-02 19:53:35 I server: ClientId=0 rcon='dump_sqlservers w'
Avatar
hm. should print the same database. Do you have it in the config?
Avatar
yes
Avatar
And /mapinfo should start working with the r(ead) database already
Avatar
okk
19:57
Jan 02 19:56:48 vps385544254.lowhosting.org DDNet-Server[20131]: 2025-01-02 19:56:48 I sql: failed connecting to db: (real_connectmysql1045): Access denied> Jan 02 19:56:48 vps385544254.lowhosting.org DDNet-Server[20131]: 2025-01-02 19:56:48 I sql: [6] show top5 failed on all databases
19:57
now
Avatar
ok
19:58
bb
Avatar
Koll Potato 2025-01-02 22:02
ChillerDragon: so i plugged in libtw2 snapshot implementation once again just to figure out that i did not attach the size to the data in the snap single chunk lmao
22:03
it works now though
22:03
ddnet rewrite in rust is real
Avatar
Jupstar ✪ 2025-01-02 22:07
let's go
Avatar
whos gonna win? jupstar or koll
Avatar
Jupstar ✪ 2025-01-02 22:08
or zwelf + patiga
22:08
exactly robyte who starts tomorrow
Avatar
Koll Potato 2025-01-02 22:26
we all kinda work on different things xd
Avatar
Jupstar ✪ 2025-01-02 22:27
i think what zwelf is doing is kinda close 😄
22:27
he plans a server impl in rust
Avatar
Koll Potato 2025-01-02 22:27
oh no
22:31
it took me whole 2 months to just get snapshots and initial connection working lmao
Avatar
I haven't done any networking yet. Only physics + teehistorian stuff https://gitlab.com/ddnet-rs/twgame
Avatar
Koll Potato 2025-01-02 22:32
well thats because i had zero knowledge about the protocol before
Avatar
Avatar
Zwelf
I haven't done any networking yet. Only physics + teehistorian stuff https://gitlab.com/ddnet-rs/twgame
Koll Potato 2025-01-02 22:32
twsnap?
22:32
or is it just for reading
22:32
not writing snaps
Avatar
It's a better representation for snapshots in rust (output from twgame physics, input for twgpu rendering) and can be serialized to/deserialized from libtw2 snapshot format. (edited)
Avatar
GitHub BOT 2025-01-02 22:34
the map editor shows none of the other standard/added directories nor does it allow for the directory path text to be edited i don't think there is any good reason for it to be this way/hardcoded since it shouldn't cause any issues for the game to save in other folders in the past i remember being able to maptest with a local server easily, not this inconveniently, so maybe this could also be bugged
Avatar
It's the interop between Patigas and my crates.
Avatar
Koll Potato 2025-01-02 22:35
sounds amazing
Avatar
@Koll Potato Do you have a link to your repository?
Avatar
Koll Potato 2025-01-02 22:44
its a complete mess rn and i currently rewrite most of the code
22:44
even wrote custom derive macros
22:45
you can take a look at it on my github, but its the old version
22:45
and it also doesnt work xd
22:47
and i also need a good name
22:47
twgame, ddnet-rs are taken
22:48
im thinking of teeverse but it sounds too similar to tee galaxy
22:48
alr enough talk i go to sleep
22:48
gn devs
22:51
Not sure if still relevant: If you don't modify the crates that you copied from libtw2, you could also use the version from crates.io: https://crates.io/search?q=pre-rfc3243-libtw2
Avatar
Avatar
Koll Potato
im thinking of teeverse but it sounds too similar to tee galaxy
22:52
but might still be fine
22:53
Might also resemble teewars
Avatar
GitHub BOT 2025-01-02 22:59
Also builds ffmpeg feature for Windows using MinGW and lots of hacks. MacOS is build but probably useless (#2) and also the binary only rn.
Avatar
Kaffeine BOT 2025-01-02 23:17
Oh wow. Who said TeeUniverse? Its client and server code does not really exists but the editor is used for Infclass maps. I maintain a fork at https://github.com/infclass/teeuniverse and last year added a few video tutorials.
23:18
Meh, I somehow misread teeverse. nvm then
Avatar
Jupstar ✪ 2025-01-02 23:21
i want the teeuniverse org xd
23:21
perfect space to host mods
Avatar
Kaffeine BOT 2025-01-02 23:29
Yeah, and it was supposed to be something like that. But then the author had lost their energy and disappeared.
Avatar
Jupstar ✪ 2025-01-02 23:31
I wish we could at least contact him for the name <.<
Avatar
Kaffeine BOT 2025-01-02 23:32
BTW do you know if there is a place for teeworlds shared knowledge base? DDNet wiki is focused on ddnet (what a surprice). Teeworlds forum is dead, various fandom wiki, etc are dead. I could not find a resource with e.g. list of all known clients.
Avatar
Jupstar ✪ 2025-01-02 23:33
I am sure ddnet wiki would accept teeworlds content too, but not really, chilllerdragon probs has some repos where list of mods etc. are
Avatar
Kaffeine BOT 2025-01-02 23:33
They do not respond. It seems that they registered the account (https://github.com/necropotame, and the same @gmail.com) exactly for this project.
Replying to @Jupstar ✪ I wish we could at least contact him for the name <.<
Avatar
Jupstar ✪ 2025-01-02 23:33
Ah alright
23:33
Too bad 😄
Avatar
Kaffeine BOT 2025-01-02 23:33
Yeah but those are focused on server mods.
Replying to @Jupstar ✪ I am sure ddnet wiki would accept teeworlds content too, but not really,…
Avatar
Avatar
Jupstar ✪
i want the teeuniverse org xd
tee cinematic universe
Exported 842 message(s)
Timezone: UTC+0