Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-04-24 00:00:00Z and 2022-04-25 00:00:00Z
Avatar
[quakenet] xq BOT 2022-04-24 07:05:31Z
Hi, just wanted to say sending this query: https://ddnet.tw/maps/?query=%27 crashes the website.
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 07:06:30Z
bobby tables entered the game ...
07:07
@Ryozuki mr web dev go fix sql injection ^
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 07:58:13Z
Aaaa who wants to explain rust lifetimes to me :D I love how the compiler suggests to remove the scope .. duh https://paste.zillyhuhn.com/2m
Avatar
@Discord Mod
✅ 1
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:02:59Z
@irc mod
08:03
there isnt even message deletion on irc is there?
08:03
omg im about to rq rust again
Avatar
xd
Avatar
yq: Thanks, let me take a look
08:17
xq*
08:23
Fixed
Avatar
[quakenet] xq BOT 2022-04-24 08:28:23Z
:)
Avatar
Avatar
[quakenet] ChillerDragon
Aaaa who wants to explain rust lifetimes to me :D I love how the compiler suggests to remove the scope .. duh https://paste.zillyhuhn.com/2m
bruh nowhere does it talk about "removing" a scope
08:54
u create a player
08:54
and then put a reference to it on ur vector
08:54
but then the player gets out of scope so its destroyed
08:54
thats why
08:55
you should just pass the player to the vector without a reference
08:55
and why do you put it in a Box?
08:55
instead of a vec of mutable references let mut players: Vec<&mut Player> = Vec::new(); , create a vec of owned players let mut players: Vec<Player> = Vec::new();
08:55
and put them
08:56
fn add_player(players: &mut Vec<Player>) { let player = Player { x: 0, y: 0 }; players.push(player); }
08:56
one tip in rust
08:56
only use mut when u really need it
08:56
dont start typing stuff with mut
08:56
only put it when u rly require it
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:57:08Z
i use my gaming mouse macro to type mut
08:57
thanks a lot babe i love u
08:57
a Box is like a smart pointer
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:57:32Z
it does say remove the scope in rustc --explain E0597 :D
Avatar
for values on the heap
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:57:40Z
yea that i understood
08:57
i thought i need that
08:57
to heap alloc it and then pass the ownership into the vector
Avatar
i think the error is pretty clear
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:58:03Z
-.-
Avatar
borrowed value does not live long enough
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:58:11Z
ok i guess i tis
08:58
but the fix wasnt for me
Avatar
why did you use Box?
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:58:25Z
ok lemme try
08:58
because without Box it didnt work :D
Avatar
wow chillerdragon has his personal rust trainer
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:58:38Z
ikr
Avatar
u lucky one
Avatar
with box it doesnt work
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:58:57Z
@Jupstar ✪ as you can see i really need it :D
Avatar
because ur vector is not a vec of boxed players
08:59
ye
08:59
idk if u trollin
Avatar
XD
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:59:14Z
im not
Avatar
i rly hate ur low effort learning
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:59:20Z
:D
Avatar
u always rely on askin here
08:59
instead of googling
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:59:25Z
im just stupid
Avatar
and ye ur smiley face makes me even more upset
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:59:32Z
i was googling all morning
Avatar
xDDD
08:59
mad af
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 08:59:44Z
sorri senpai
08:59
UwU
Avatar
just one thing
09:00
just because u have a Vec<Player> and it doesnt say mut in the player
09:00
if u have a mut Vec<Player>
09:00
u can still change the players
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 09:00:23Z
oh wow thats weird
Avatar
because the vector is mutable and the vector owns the players
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 09:00:43Z
so thats mutable by default!?
09:00
i mean what about a mutable vector that holds immutable players?
Avatar
thats what i just said to you?
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 09:01:10Z
i thought mutable vector only means i can push into the vector not the entrys are mutable
Avatar
ifi the vector is mutable and it contains owned data
09:01
it can mutate the owned data
09:01
owned data = not a reference
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 09:02:19Z
awesome that compiles :3
09:02
i love u ryo <3
09:02
check it
09:03
the rust playground is awesome to share stuff btw
09:03
if its simple
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 09:03:22Z
neat
Avatar
you made me stop mining in ff14
09:03
pay for it
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 09:03:56Z
ff14?
09:04
final fantasy?
Avatar
a mmo xd
09:04
ye
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 09:04:03Z
cringe
Avatar
Leads to confusion why parts of map are not shown, no good reason to use it on hardware of the last 15 years. If someone has a use case for it please say so now.

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] C...
Avatar
Just upgraded to 16,0,3 (from 15) and FPS is spiking like crazy (edited)
10:48
1k+ FPS to 100 FPS spikes too often
10:49
Before, I had stable 1k FPS
Avatar
what does gfx_gl_major say? and what is ur OS and GPU
Avatar
Windows 10 AME, Nvidia P1000
10:51
gfx_gl_major = 3
Avatar
mh, the config vars were resetted for the GFX stuff, you could try vulkan in settings -> graphics -> renderer on CPU side: what i heard is that discord(the app) causes laggs and anti virus does weird stuff
Avatar
Ok I will try without Discord, will report back soon I will see if changing OpenCL does anything also
10:53
brb
10:56
All same behaviour, unfortunately
Avatar
latest drivers from nvidia directly?
10:59
nvidia.com
Avatar
Avatar
Pathos
All same behaviour, unfortunately
also vulkan should at least push ur fps higher really weird
Avatar
Don't get me wrong, I love Vulkan
11:00
I will try latest drivers
11:00
brb
Avatar
yeah but i wonder if there is at least no difference 😄
11:00
but yeah frame drops can have many reasons
Avatar
Looks like I have the latest version
Avatar
do u run anti virus software?
11:01
Windows Defender is disabled also
11:01
Or removed, not disabled but yeah
Avatar
mhh, can you PM me your config? also did you try again on DDNet 15, after the upgrade
11:02
to make sure its really DDNet
Avatar
My config? DDNet config? Computer config?
Avatar
DDNet config
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:02:54Z
jupstar is after your rcon binds!
11:03
also good to know ur windows defnder is off :p
Avatar
yeah i want to hack chinese community
11:03
or japanese
11:03
cant remember
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:03:35Z
isnt pathos europe?
Avatar
isnt he pathoslego smth on github
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:03:53Z
ye think so
11:04
imagine talking like he is not here
Avatar
i connect him with scoreboard laggs on japanese font 😄
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:04:41Z
o
Avatar
#809
Avatar
How to reproduce: Open DDNet client Set to Japanese Join server Press the key bound to show scoreboard There was already delay before, but with the latest patches, the lag is absolutely horrendous....
Avatar
such an oldie goldy
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:05:43Z
wow >1000
11:06
how do u even remember that
Avatar
i dunno xd
Avatar
did u restart ur client after changing renderer
11:06
xd
Avatar
xd
Avatar
always expect the worst
Avatar
true
11:07
vulkan must give 5k fps with any nvidia card or RQ
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:07:19Z
Ryo pro techsupporter
11:07
have you tried turning it on and off again?
Avatar
no for real
Avatar
Avatar
[quakenet] ChillerDragon
also good to know ur windows defnder is off :p
Yeah I'm using Windows AME :D
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:08:08Z
whats AME
Avatar
@Pathos can u try real fullscreen just to see if that fixes it, i know IME is broken then, but worth a try
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:08:24Z
African Methodist Episcopal Church
Avatar
Avatar
Ryozuki
did u restart ur client after changing renderer
Yes, every time
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:08:52Z
ah neat unbloated windows
Avatar
just use linux
Avatar
ah lol
11:09
@Pathos u have cl_refresh_rate 288
11:09
set that to 0
Avatar
Avatar
[quakenet] ChillerDragon
whats AME
Ameliorated
Avatar
Avatar
Jupstar ✪
@Pathos u have cl_refresh_rate 288
No it was 0 before, I set it to 288 to see if it was due to auto throttling
Avatar
ok
11:10
so if cl_refresh_rate is 0 and gfx_refresh_rate is 0 it still laggs?
11:10
in "real" fullscreen
Avatar
Avatar
Jupstar ✪
@Pathos can u try real fullscreen just to see if that fixes it, i know IME is broken then, but worth a try
Tried fullscreen, no change -- interestingly, usual FPS didn't go up, even though it should... hmm
Avatar
Avatar
Jupstar ✪
in "real" fullscreen
Ok I will try this combination
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:12:29Z
Lmao AME is illegal? :D
Avatar
Avatar
Jupstar ✪
in "real" fullscreen
Hmm stranger FPS behaviour now -- I can't really take a screenshot of the graph
11:13
Well, let me try multiple, one sex
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:13:30Z
sex
11:13
looks like AME is deprecated
11:14
It does this every few seconds, interestingly enough
Avatar
can u try ddnet 15
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:14:49Z
lmao Cylox
11:15
@Pathos could you ping Cylox in chat and say "raaaaaaaawr dinosaur" for me? :D
Avatar
Avatar
Jupstar ✪
can u try ddnet 15
I will have to try this another time
Avatar
ok
Avatar
Avatar
[quakenet] ChillerDragon
@Pathos could you ping Cylox in chat and say "raaaaaaaawr dinosaur" for me? :D
No Cylox in here
11:15
I will come back with this issue probably another time, thanks
Avatar
[quakenet] ChillerDragon BOT 2022-04-24 11:15:44Z
meh he was on screenshot
11:15
blue team on fng
Avatar
restarting win10 also solved alot of problems xd
11:16
else remeber, usually good config vars are: gfx_backend "Vulkan";gfx_refresh_rate 1000;cl_refresh_rate 0;gfx_fullscreen 1;quit for good stable fps xd
Avatar
Should we try setting Vulkan as default at some point? After it's been tested a bit more
Avatar
could try it out yeah, only non solvable issue is one amd gen yet other issues were issues in the code
Avatar
Avatar
deen
Should we try setting Vulkan as default at some point? After it's been tested a bit more
why not open gl 3.3.0=
Avatar
bcs intel opengl driver on windows suck
Avatar
Vulkan is a good way to avoid these various driver issues since it's lower level
11:33
At least that was my understanding
Avatar
most people i talked to disliked vulkan since it had multiple bugs
Avatar
what bugs does it have?
Avatar
and opengl support is kind of not ideal everywhere, since only few games use it
Avatar
for example stuff like weirdness when two clients were opened or so
11:33
idk
Avatar
They should report those bugs...
Avatar
i never heard any complain from anyone tbh
11:34
actually it was the opposite
11:34
ppl with older AMD cards could finally run the game without laggs (rx 480)
Avatar
i'll stick to 3.3.0
Avatar
i mean do what u want
11:35
but if there is a problem for you pls tell
11:35
remember vulkan is just next gen opengl
Avatar
maybe we can update PTS some day and check if lower end/older hardware profits from it or if it hurts or whatever
11:49
when i see that they name their benchmarks as "low end gpus" and then list rx vega 56 or rx 590 xDD
Avatar
394b2a0 Remove cl_show_quads bind - def- 0be35fb Merge #5016 - bors[bot]
Avatar
Avatar
deen
Should we try setting Vulkan as default at some point? After it's been tested a bit more
ᶰ°Konͧsti 2022-04-24 16:06:07Z
Works fine for me
16:07
Dont know if related but sometimes when i open the minimized client its bad resolution and i have to minimize again then reopen
Avatar
You can check if it only happens with Vulkan
Avatar
i bet its an sdl issue xdddd just tested the latest sdl2 code
17:27
everything broken xD
17:27
2.0.22 gonna be fun
17:27
they want to release in 1 week Xd
17:27
apparently (git bisected) 8bae343 (1) and 0249df9 (2) (i hope i did the bisect correct, bcs the (1) issue i only discovered while bisecting but not sure if i can reproduce it on the main code) brea...
17:28
but i linked ddnet, so we get some views from linux enthusiasts xd
Avatar
Regarding vulkan as default: Idk why, i am playing tw since many years like that, but i cant play with vsync off. Everything feels so shaky and "too much responsive" when i turn vsync off. When i change the renderer to vulkan, its the same feeling. I dont know what vsync does and i am too lazy to google it, my fps are capped at 60fps when its turned on. But thats the reason i dont like to switch to vulkan.
Avatar
vulkan also supports vsync
Avatar
never could play with vsync
17:41
gameplay becomes sooo smooth and soo unresponsive
Avatar
its the other way around for me :D
Avatar
Avatar
Vy0x2
Regarding vulkan as default: Idk why, i am playing tw since many years like that, but i cant play with vsync off. Everything feels so shaky and "too much responsive" when i turn vsync off. When i change the renderer to vulkan, its the same feeling. I dont know what vsync does and i am too lazy to google it, my fps are capped at 60fps when its turned on. But thats the reason i dont like to switch to vulkan.
what about your card?
Avatar
graphic? Radeon RX 570 Series (edited)
Avatar
if u turn on vulkan and vsync is your FPS set to 60fps or unlimited?
Avatar
Its set to 60fps
Avatar
then vsync is on
17:43
also with amd cards make sure to use drivers from march 2022 or newer
17:43
so newest drivers from amd directly
17:48
but anyway not like we drop opengl, if u need it for some weird reason to have more input delay xD i guess most ppl prefer lower input delay tho, so you are kinda an edge case
Avatar
Yea i guess vulkan is too good and fast for me, it changes my timing a bit and i cant adapt after 10 years of playing 😢
Avatar
^^
Avatar
u probs can adapt
19:27
u just dont give it enough time
19:27
usually 1 week is enough
19:27
human brain
Avatar
yes i guess, havent tried longer than 30min
Avatar
when yoc(a gores player) switched from vsync to non vsync he suddenly got insane player xD
19:55
true story
Avatar
dont give me hope monkaS
Avatar
still an issue? channel not receiving data, ChillerDragon?
Avatar
hello, i'm coming here because i have a request (if it's possible ) about a ban. My friend have 100 hours on the game and yesterday (or somethings likes that) he got banned because he blocked a player. the problem is we spend so much time to play together and wee want to replay together but i'ts not possible. he knows what he have done and i want to know if it's possible to deban or minimalize his ban (oh and he is banned only on the map multiplayer, for the map solo he's not banned, it's weird ?)
✅ 1
Avatar
Should probably be tested in CI. scripts/generate_unicode_confusables_data.py scripts/generate_unicode_tolower.py CC @Chairn CC #4854
Avatar
@heinrich5991 what's the problem exactly?
22:54
i noticed that some files are indeed useless
Avatar
src/base/unicode/confusables_data.h and src/base/unicode/tolower_data.h were generated files
Avatar
now they were manually edited/moved without changing the generating scripts
Avatar
i thought all generated files were in builddir/CMakeFiles/generated
Avatar
we have some generated files that are checked into source control
22:58
a CI job verifying that they're up-to-date would probably be useful, as noted in the issue ^^
Avatar
ill try to fix that within the week, im on my windows right now
Avatar
oh, cool 🙂
Avatar
im trying to find the file that i know is not included anywhere
22:59
yet, it's object file is used, i think it was about checksum
23:06
can't find it 😦
Avatar
e428f6a Ignore F5 key press when ingame menu is open - def- 9be59a9 Merge #4678 - bors[bot]
Exported 261 message(s)