00:03 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/967546188528246865/message.txt 00:07 <+bridge> [ddnet] Does putting a password on a server do anything to prevent ddos? 00:09 <+bridge> [ddnet] NO 00:09 <+bridge> [ddnet] No 00:10 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/967547941235613706/unknown.png 00:10 <+bridge> [ddnet] what you can simply do if you don't want anyone to know you're running out a private server : simply just do not register it & do give the IP of the server to trusted people 00:10 <+bridge> [ddnet] Ok thats good to know, thanks 09:05 < xq> Hi, just wanted to say sending this query: https://ddnet.tw/maps/?query=%27 crashes the website. 09:06 <+ChillerDragon> bobby tables entered the game ... 09:07 <+ChillerDragon> @Ryozuki mr web dev go fix sql injection ^ 09:58 <+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 10:00 <+bridge> [ddnet] <∗̥✩⁺˚ 빛 wldn> http://gkswowns.com/5b0c2c05-fa72-4d71-a3a4-37b1f1871272 10:01 <+bridge> [ddnet] @Discord Mod 10:02 <+bridge> [ddnet] thanks 10:02 <+ChillerDragon> @irc mod 10:03 <+ChillerDragon> there isnt even message deletion on irc is there? 10:03 <+ChillerDragon> omg im about to rq rust again 10:04 <+bridge> [ddnet] xd 10:17 <+bridge> [ddnet] yq: Thanks, let me take a look 10:17 <+bridge> [ddnet] xq* 10:23 <+bridge> [ddnet] Fixed 10:28 <+xq> :) 10:54 <+bridge> [ddnet] bruh nowhere does it talk about "removing" a scope 10:54 <+bridge> [ddnet] u create a player 10:54 <+bridge> [ddnet] and then put a reference to it on ur vector 10:54 <+bridge> [ddnet] but then the player gets out of scope so its destroyed 10:54 <+bridge> [ddnet] thats why 10:55 <+bridge> [ddnet] you should just pass the player to the vector without a reference 10:55 <+bridge> [ddnet] and why do you put it in a Box? 10:55 <+bridge> [ddnet] 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 = Vec::new();` 10:55 <+bridge> [ddnet] and put them 10:56 <+bridge> [ddnet] ```rust 10:56 <+bridge> [ddnet] fn add_player(players: &mut Vec) { 10:56 <+bridge> [ddnet] let player = Player { x: 0, y: 0 }; 10:56 <+bridge> [ddnet] players.push(player); 10:56 <+bridge> [ddnet] } 10:56 <+bridge> [ddnet] ``` 10:56 <+bridge> [ddnet] one tip in rust 10:56 <+bridge> [ddnet] only use mut when u really need it 10:56 <+bridge> [ddnet] dont start typing stuff with mut 10:56 <+bridge> [ddnet] only put it when u rly require it 10:57 <+ChillerDragon> i use my gaming mouse macro to type mut 10:57 <+ChillerDragon> thanks a lot babe i love u 10:57 <+bridge> [ddnet] also 10:57 <+bridge> [ddnet] a Box is like a smart pointer 10:57 <+ChillerDragon> it does say remove the scope in rustc --explain E0597 :D 10:57 <+bridge> [ddnet] for values on the heap 10:57 <+ChillerDragon> yea that i understood 10:57 <+ChillerDragon> i thought i need that 10:57 <+ChillerDragon> to heap alloc it and then pass the ownership into the vector 10:57 <+bridge> [ddnet] i think the error is pretty clear 10:58 <+ChillerDragon> -.- 10:58 <+bridge> [ddnet] borrowed value does not live long enough 10:58 <+ChillerDragon> ok i guess i tis 10:58 <+ChillerDragon> but the fix wasnt for me 10:58 <+bridge> [ddnet] why did you use Box? 10:58 <+ChillerDragon> ok lemme try 10:58 <+ChillerDragon> because without Box it didnt work :D 10:58 <+bridge> [ddnet] wow chillerdragon has his personal rust trainer 10:58 <+bridge> [ddnet] no? 10:58 <+ChillerDragon> ikr 10:58 <+bridge> [ddnet] u lucky one 10:58 <+bridge> [ddnet] with box it doesnt work 10:58 <+ChillerDragon> @Jupstar as you can see i really need it :D 10:59 <+bridge> [ddnet] because ur vector is not a vec of boxed players 10:59 <+bridge> [ddnet] ye 10:59 <+bridge> [ddnet] idk if u trollin 10:59 <+bridge> [ddnet] XD 10:59 <+ChillerDragon> im not 10:59 <+bridge> [ddnet] i rly hate ur low effort learning 10:59 <+ChillerDragon> :D 10:59 <+bridge> [ddnet] u always rely on askin here 10:59 <+bridge> [ddnet] instead of googling 10:59 <+ChillerDragon> im just stupid 10:59 <+bridge> [ddnet] and ye ur smiley face makes me even more upset 10:59 <+ChillerDragon> i was googling all morning 10:59 <+bridge> [ddnet] xDDD 10:59 <+bridge> [ddnet] mad af 10:59 <+ChillerDragon> sorri senpai 10:59 <+ChillerDragon> UwU 10:59 <+bridge> [ddnet] just one thing 11:00 <+bridge> [ddnet] just because u have a Vec and it doesnt say mut in the player 11:00 <+bridge> [ddnet] if u have a mut Vec 11:00 <+bridge> [ddnet] u can still change the players 11:00 <+ChillerDragon> oh wow thats weird 11:00 <+bridge> [ddnet] because the vector is mutable and the vector owns the players 11:00 <+ChillerDragon> so thats mutable by default!? 11:00 <+ChillerDragon> i mean what about a mutable vector that holds immutable players? 11:01 <+bridge> [ddnet] thats what i just said to you? 11:01 <+ChillerDragon> i thought mutable vector only means i can push into the vector not the entrys are mutable 11:01 <+bridge> [ddnet] ifi the vector is mutable and it contains owned data 11:01 <+bridge> [ddnet] it can mutate the owned data 11:01 <+bridge> [ddnet] owned data = not a reference 11:02 <+ChillerDragon> awesome that compiles :3 11:02 <+ChillerDragon> i love u ryo <3 11:02 <+bridge> [ddnet] https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=a85a9b736ed55e0adbc8c847bbfb3542 11:02 <+bridge> [ddnet] check it 11:03 <+bridge> [ddnet] the rust playground is awesome to share stuff btw 11:03 <+bridge> [ddnet] if its simple 11:03 <+ChillerDragon> neat 11:03 <+bridge> [ddnet] you made me stop mining in ff14 11:03 <+bridge> [ddnet] pay for it 11:03 <+ChillerDragon> ff14? 11:04 <+ChillerDragon> final fantasy? 11:04 <+bridge> [ddnet] a mmo xd 11:04 <+bridge> [ddnet] ye 11:04 <+ChillerDragon> cringe 11:04 <+bridge> [ddnet] no u 12:47 <+bridge> [ddnet] Just upgraded to 16,0,3 and FPS is spiking like crazy 12:47 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/967738643609432095/unknown.png 12:48 <+bridge> [ddnet] 1k+ FPS to 100 FPS spikes too often 12:49 <+bridge> [ddnet] Just upgraded to 16,0,3 (from 15) and FPS is spiking like crazy 12:49 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/967738643609432095/unknown.png 12:49 <+bridge> [ddnet] Before, I had stable 1k FPS 12:49 <+bridge> [ddnet] what does gfx_gl_major say? 12:49 <+bridge> [ddnet] 12:49 <+bridge> [ddnet] and what is ur OS 12:49 <+bridge> [ddnet] and GPU 12:51 <+bridge> [ddnet] Windows 10 AME, Nvidia P1000 12:51 <+bridge> [ddnet] `gfx_gl_major = 3` 12:52 <+bridge> [ddnet] mh, the config vars were resetted for the GFX stuff, you could try vulkan in settings -> graphics -> renderer 12:52 <+bridge> [ddnet] 12:52 <+bridge> [ddnet] on CPU side: 12:52 <+bridge> [ddnet] what i heard is that discord(the app) causes laggs 12:53 <+bridge> [ddnet] and anti virus does weird stuff 12:53 <+bridge> [ddnet] Ok I will try without Discord, will report back soon 12:53 <+bridge> [ddnet] I will see if changing OpenCL does anything also 12:53 <+bridge> [ddnet] brb 12:56 <+bridge> [ddnet] All same behaviour, unfortunately 12:59 <+bridge> [ddnet] latest drivers from nvidia directly? 12:59 <+bridge> [ddnet] nvidia.com 12:59 <+bridge> [ddnet] also vulkan should at least push ur fps higher really weird 13:00 <+bridge> [ddnet] Don't get me wrong, I love Vulkan 13:00 <+bridge> [ddnet] I will try latest drivers 13:00 <+bridge> [ddnet] brb 13:00 <+bridge> [ddnet] yeah but i wonder if there is at least no difference 😄 13:00 <+bridge> [ddnet] but yeah frame drops can have many reasons 13:00 <+bridge> [ddnet] Looks like I have the latest version 13:01 <+bridge> [ddnet] do u run anti virus software? 13:01 <+bridge> [ddnet] Nope 13:01 <+bridge> [ddnet] Windows Defender is disabled also 13:01 <+bridge> [ddnet] Or removed, not disabled but yeah 13:01 <+bridge> [ddnet] mhh, can you PM me your config? 13:02 <+bridge> [ddnet] 13:02 <+bridge> [ddnet] also did you try again on DDNet 15, after the upgrade 13:02 <+bridge> [ddnet] to make sure its really DDNet 13:02 <+bridge> [ddnet] My config? DDNet config? Computer config? 13:02 <+bridge> [ddnet] DDNet config 13:02 <+ChillerDragon> jupstar is after your rcon binds! 13:03 <+ChillerDragon> also good to know ur windows defnder is off :p 13:03 <+bridge> [ddnet] yeah i want to hack chinese community 13:03 <+bridge> [ddnet] or japanese 13:03 <+bridge> [ddnet] cant remember 13:03 <+ChillerDragon> isnt pathos europe? 13:03 <+bridge> [ddnet] isnt he pathoslego smth on github 13:03 <+ChillerDragon> ye think so 13:04 <+ChillerDragon> imagine talking like he is not here 13:04 <+bridge> [ddnet] i connect him with scoreboard laggs on japanese font 😄 13:04 <+ChillerDragon> o 13:05 <+bridge> [ddnet] #809 13:05 <+bridge> [ddnet] https://github.com/ddnet/ddnet/issues/809 13:05 <+bridge> [ddnet] such an oldie goldy 13:05 <+ChillerDragon> wow >1000 13:06 <+ChillerDragon> how do u even remember that 13:06 <+bridge> [ddnet] i dunno xd 13:06 <+bridge> [ddnet] did u restart ur client after changing renderer 13:06 <+bridge> [ddnet] xd 13:06 <+bridge> [ddnet] xd 13:06 <+bridge> [ddnet] always expect the worst 13:06 <+bridge> [ddnet] true 13:07 <+bridge> [ddnet] vulkan must give 5k fps with any nvidia card or RQ 13:07 <+ChillerDragon> Ryo pro techsupporter 13:07 <+ChillerDragon> have you tried turning it on and off again? 13:07 <+bridge> [ddnet] no for real 13:07 <+bridge> [ddnet] Yeah I'm using Windows AME :D 13:08 <+ChillerDragon> whats AME 13:08 <+bridge> [ddnet] @Pathos can u try real fullscreen just to see if that fixes it, i know IME is broken then, but worth a try 13:08 <+ChillerDragon> African Methodist Episcopal Church 13:08 <+bridge> [ddnet] Yes, every time 13:08 <+ChillerDragon> ah neat unbloated windows 13:09 <+bridge> [ddnet] just use linux 13:09 <+bridge> [ddnet] ah lol 13:09 <+bridge> [ddnet] @Pathos u have `cl_refresh_rate 288` 13:09 <+bridge> [ddnet] set that to 0 13:09 <+bridge> [ddnet] Ameliorated 13:09 <+bridge> [ddnet] No it was 0 before, I set it to 288 to see if it was due to auto throttling 13:10 <+bridge> [ddnet] ok 13:10 <+bridge> [ddnet] so if cl_refresh_rate is 0 and gfx_refresh_rate is 0 it still laggs? 13:10 <+bridge> [ddnet] in "real" fullscreen 13:11 <+bridge> [ddnet] Tried fullscreen, no change -- interestingly, usual FPS didn't go up, even though it should... hmm 13:11 <+bridge> [ddnet] Ok I will try this combination 13:12 <+ChillerDragon> Lmao AME is illegal? :D 13:12 <+bridge> [ddnet] Hmm stranger FPS behaviour now -- I can't really take a screenshot of the graph 13:13 <+bridge> [ddnet] Well, let me try multiple, one sex 13:13 <+ChillerDragon> sex 13:13 <+ChillerDragon> looks like AME is deprecated 13:14 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/967745232164777984/unknown.png 13:14 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/967745232387072081/unknown.png 13:14 <+bridge> [ddnet] It does this every few seconds, interestingly enough 13:14 <+bridge> [ddnet] can u try ddnet 15 13:14 <+ChillerDragon> lmao Cylox 13:15 <+ChillerDragon> @Pathos could you ping Cylox in chat and say "raaaaaaaawr dinosaur" for me? :D 13:15 <+bridge> [ddnet] I will have to try this another time 13:15 <+bridge> [ddnet] ok 13:15 <+bridge> [ddnet] Thanks 13:15 <+bridge> [ddnet] No Cylox in here 13:15 <+bridge> [ddnet] I will come back with this issue probably another time, thanks 13:15 <+ChillerDragon> meh he was on screenshot 13:15 <+ChillerDragon> blue team on fng 13:15 <+bridge> [ddnet] restarting win10 also solved alot of problems xd 13:16 <+bridge> [ddnet] else remeber, usually good config vars are: 13:16 <+bridge> [ddnet] `gfx_backend "Vulkan";gfx_refresh_rate 1000;cl_refresh_rate 0;gfx_fullscreen 1;quit` 13:16 <+bridge> [ddnet] for good stable fps xd 13:29 <+bridge> [ddnet] Should we try setting Vulkan as default at some point? After it's been tested a bit more 13:32 <+bridge> [ddnet] could try it out yeah, only non solvable issue is one amd gen yet 13:32 <+bridge> [ddnet] 13:32 <+bridge> [ddnet] other issues were issues in the code 13:32 <+bridge> [ddnet] why not open gl 3.3.0= 13:32 <+bridge> [ddnet] bcs intel opengl driver on windows suck 13:33 <+bridge> [ddnet] Vulkan is a good way to avoid these various driver issues since it's lower level 13:33 <+bridge> [ddnet] At least that was my understanding 13:33 <+bridge> [ddnet] most people i talked to disliked vulkan since it had multiple bugs 13:33 <+bridge> [ddnet] what bugs does it have? 13:33 <+bridge> [ddnet] and opengl support is kind of not ideal everywhere, since only few games use it 13:33 <+bridge> [ddnet] for example stuff like weirdness when two clients were opened or so 13:33 <+bridge> [ddnet] idk 13:33 <+bridge> [ddnet] They should report those bugs... 13:34 <+bridge> [ddnet] i never heard any complain from anyone tbh 13:34 <+bridge> [ddnet] actually it was the opposite 13:34 <+bridge> [ddnet] ppl with older AMD cards could finally run the game without laggs (rx 480) 13:34 <+bridge> [ddnet] i'll stick to 3.3.0 13:35 <+bridge> [ddnet] i mean do what u want 13:35 <+bridge> [ddnet] but if there is a problem for you pls tell 13:35 <+bridge> [ddnet] remember vulkan is just next gen opengl 13:47 <+bridge> [ddnet] maybe we can update PTS some day and check if lower end/older hardware profits from it or if it hurts or whatever 13:49 <+bridge> [ddnet] when i see that they name their benchmarks as "low end gpus" and then list rx vega 56 or rx 590 xDD 18:06 <+bridge> [ddnet] <ᶰ°Konͧsti> Works fine for me 18:07 <+bridge> [ddnet] <ᶰ°Konͧsti> Dont know if related but sometimes when i open the minimized client its bad resolution and i have to minimize again then reopen 18:25 <+bridge> [ddnet] You can check if it only happens with Vulkan 19:27 <+bridge> [ddnet] i bet its an sdl issue xdddd 19:27 <+bridge> [ddnet] 19:27 <+bridge> [ddnet] just tested the latest sdl2 code 19:27 <+bridge> [ddnet] everything broken xD 19:27 <+bridge> [ddnet] 2.0.22 gonna be fun 19:27 <+bridge> [ddnet] they want to release in 1 week Xd 19:27 <+bridge> [ddnet] https://github.com/libsdl-org/SDL/issues/5572 19:28 <+bridge> [ddnet] but i linked ddnet, so we get some views from linux enthusiasts xd 19:39 <+bridge> [ddnet] 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. 19:40 <+bridge> [ddnet] vulkan also supports vsync 19:41 <+bridge> [ddnet] never could play with vsync 19:41 <+bridge> [ddnet] gameplay becomes sooo smooth and soo unresponsive 19:42 <+bridge> [ddnet] its the other way around for me :D 19:42 <+bridge> [ddnet] what about your card? 19:42 <+bridge> [ddnet] graphic? 19:42 <+bridge> [ddnet] if u turn on vulkan and vsync is your FPS set to 60fps or unlimited? 19:42 <+bridge> [ddnet] graphic? 19:42 <+bridge> [ddnet] Radeon RX 570 Series 19:42 <+bridge> [ddnet] Its set to 60fps 19:43 <+bridge> [ddnet] then vsync is on 19:43 <+bridge> [ddnet] also with amd cards make sure to use drivers from march 2022 or newer 19:43 <+bridge> [ddnet] so newest drivers from amd directly 19:48 <+bridge> [ddnet] but anyway not like we drop opengl, if u need it for some weird reason to have more input delay xD 19:48 <+bridge> [ddnet] 19:48 <+bridge> [ddnet] i guess most ppl prefer lower input delay tho, so you are kinda an edge case 19:49 <+bridge> [ddnet] 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 😢 19:49 <+bridge> [ddnet] ^^ 21:26 <+bridge> [ddnet] u probs can adapt 21:27 <+bridge> [ddnet] u just dont give it enough time 21:27 <+bridge> [ddnet] usually 1 week is enough 21:27 <+bridge> [ddnet] human brain 21:52 <+bridge> [ddnet] yes i guess, havent tried longer than 30min 21:55 <+bridge> [ddnet] when yoc(a gores player) switched from vsync to non vsync he suddenly got insane player xD 21:55 <+bridge> [ddnet] true story 21:55 <+bridge> [ddnet] dont give me hope :monkaS: 23:53 <+bridge> [ddnet] still an issue? channel not receiving data, ChillerDragon?