11:49 <+bridge> [ddnet] after windows update old mouse mode starting lagging asf 11:49 <+bridge> [ddnet] how 2 fix it? 13:48 <+bridge> [ddnet] Use linux 15:12 <+bridge> [ddnet] @Ryozuki not helpful 15:13 <+bridge> [ddnet] oh, helloy mr no jokes 15:13 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> xd 15:13 <+bridge> [ddnet] <ᶰ°Konͧsti> Why 15:13 <+bridge> [ddnet] <ᶰ°Konͧsti> using Linux is a good tip lok 15:14 <+bridge> [ddnet] <ᶰ°Konͧsti> using Linux is a good tip lol 15:15 <+bridge> [ddnet] stop trolling people with actual questions 15:46 <+bridge> [ddnet] linux is actually nice 15:46 <+bridge> [ddnet] but is has different ms than windows -.- 16:00 <+bridge> [ddnet] i have the same on both windows and linux ^^ 16:00 <+bridge> [ddnet] 16:00 <+bridge> [ddnet] @Skyrx what exactly does lagging mean? 16:00 <+bridge> [ddnet] maybe your mouse refresh rate(the send rate, hertz) got different, does non old mouse mode not lag? 16:00 <+bridge> [ddnet] also check if you disabled mouse acceleration in windows 16:58 <+bridge> [ddnet] Who can help me? My tele dont work 😭 17:02 <+bridge> [ddnet] do you have an in and an out teleport? 17:19 <+bridge> [ddnet] more like from/to 18:10 <+bridge> [ddnet] Who can send me new tele file? 19:59 <+Ryozuki> what was the proper way to pass (multiple) configuration parameters when executing ./DDNet or ./DDNet-Server 19:59 <+Ryozuki> ? 19:59 <@heinrich5991> either in a config file with `-f config_file.cfg` 20:00 <@heinrich5991> or pass them as parameters, like `"sv_register 0" "sv_tournament_mode 1"` 20:08 <+Ryozuki> heinrich5991: if i had a param like sv_name it would be `"sv_name \"some name\"" "sv_register 1"` 20:08 <+Ryozuki> right? 20:09 <@heinrich5991> yes. you can use the other quotes to reduce the amount of escaping necessary 20:09 <@heinrich5991> `'sv_name "some name"'` 20:09 <+Ryozuki> i see thanks 20:22 <+Ryozuki> heinrich5991: u can only use either -f or "..." right? 20:22 <+Ryozuki> not both at same time 20:22 <@heinrich5991> you can use both 20:24 <+Ryozuki> https://i.imgur.com/UWwd4CD.png so this should be correct 20:25 <@heinrich5991> yes. you can also give multiple files via -f: 20:25 <@heinrich5991> ./DDNet-Server -f server.cfg -f server2.cfg 20:26 <+Ryozuki> hmm 20:26 <+Ryozuki> [,-f AUTOEXEC_FILE] is this the way to specify u can use it multiple times? 20:29 <+Ryozuki> well i can just put an example 20:29 <@heinrich5991> SYNOPSIS 20:29 <@heinrich5991> cat [OPTION]... [FILE]... 20:29 <+Ryozuki> i see 20:29 <@heinrich5991> maybe `DDNet-Server [OPTION]... [-f CONFIG_FILE]...`? 20:29 <+Ryozuki> ye 21:42 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> why isn't this working? 21:42 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> https://cdn.discordapp.com/attachments/293493549758939136/537009156121559070/unknown.png 21:43 <+bridge> [ddnet] you need to use `str_comp` 21:43 <+bridge> [ddnet] ``` 21:43 <+bridge> [ddnet] if(str_comp(pMsg->m_pMessage, ":hi") == 0) 21:43 <+bridge> [ddnet] { 21:43 <+bridge> [ddnet] // do stuff 21:43 <+bridge> [ddnet] } 21:43 <+bridge> [ddnet] ``` 21:43 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> :heartw: 22:19 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> why can't? 😦 22:19 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> https://cdn.discordapp.com/attachments/293493549758939136/537018510103019539/unknown.png 22:21 <+bridge> [ddnet] what's the error? 22:22 <+bridge> [ddnet] I think this should work 22:23 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> there is no " + " operator matching these operands: string + string 22:23 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> https://cdn.discordapp.com/attachments/293493549758939136/537019488290471936/unknown.png 22:26 <+bridge> [ddnet] do you have a `#include ` at the top of your file? 22:27 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> ofcourse 22:27 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> i try use std::string 22:27 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> but error str_comp 22:28 <+bridge> [ddnet] isn't there a function str_cat. 22:28 <+bridge> [ddnet] isn't there a function str_cat? 22:28 <+bridge> [ddnet] wait, this isn't `std::string`? 22:28 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> sec 22:28 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> std cant -> char 22:29 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> https://cdn.discordapp.com/attachments/293493549758939136/537020814436990986/unknown.png 22:29 <+bridge> [ddnet] `fname.c_str()` 22:30 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> oh ty 22:31 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> it's work 22:39 <+bridge> [ddnet] im using version 11044 and wanted to upgrade to the recent version, but the sound is way different than before. no bass at all, sounds like played through a phone speaker. was anything changed there? 22:42 <+bridge> [ddnet] ``` 22:42 <+bridge> [ddnet] $ git log --oneline 11.4.4..HEAD | grep -i sound 22:42 <+bridge> [ddnet] 5ad48da41 Merge pull request #1372 from Ryozuki/pr_fix_windows_sound 22:42 <+Ryozuki> there was a change, it now uses directsound, idk if it did before 22:42 <+bridge> [ddnet] d9d3ed783 fix windows sound 22:42 <+bridge> [ddnet] 657e86990 Handle Tile and Sound layers 22:43 <+bridge> [ddnet] ``` 22:43 <+Ryozuki> i didnt notice any change in quality of sound or anything 22:45 <+bridge> [ddnet] @Meldon so yes, there was something changed here 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> is it possible to make a random set of characters, no matter what, the main thing after the name? do I need to create an object? ``` 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> void gen_random(char *s, const int len) { 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> static const char alphanum[] = 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> "0123456789" 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> "abcdefghijklmnopqrstuvwxyz"; 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> 22:45 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> for (int i = 0; i < len; ++i) { 22:46 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> s[i] = alphanum[rand() % (sizeof(alphanum) - 1)]; 22:46 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> } 22:46 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> 22:46 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> s[len] = 0; 22:46 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> ``` for example 22:46 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> https://cdn.discordapp.com/attachments/293493549758939136/537025049195184198/unknown.png 22:46 <+bridge> [ddnet] you probably want to do `s[len-1] = 0`. otherwise, the function looks good 🙂 22:50 <+bridge> [ddnet] @( ͡° ͜ʖ ͡°) the code looks good — what is your question? does it not work? 22:51 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> I'm already confused about my own questions, ahah 22:53 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> I want this 22:53 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> https://cdn.discordapp.com/attachments/293493549758939136/537026975316049921/unknown.png 22:58 <+Ryozuki> test 23:02 <+bridge> [ddnet] @( ͡° ͜ʖ ͡°) wait. do you want to generate a new random text on every chat message and compare to that? 23:03 <+bridge> [ddnet] or do you want to generate it once and then use it for all chat messages? 23:06 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> for example: ``` 23:06 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> name1: name2: hello...g rg.. (any text, no difference) 23:06 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> name2: afk 23:06 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> ``` 23:07 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> if the message applies to me, I will reply "afk" 23:08 <+bridge> [ddnet] ohh 23:08 <+bridge> [ddnet] do you modify ddnet/teeworlds source code? 23:08 <+bridge> [ddnet] if so, there's this handy function called `str_startswith` 23:09 <+bridge> [ddnet] `if(str_startswith(fname.c_str(), pMsg->m_pMessage))` 23:14 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> works only when pressed on button "kill" xd 23:14 <+bridge> [ddnet] eh, should be the other way around 23:14 <+bridge> [ddnet] `if(str_startswith(pMsg->m_pMessage, fname.c_str()))` 23:17 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> it's work ty and i need add too ``` 23:17 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> if(str_endswith(pMsg->m_pMessage, fname.c_str())) 23:17 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> ``` 23:18 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> mirror 23:19 <+bridge> [ddnet] why? 23:21 <+bridge> [ddnet] <( ͡° ͜ʖ ͡°)> it's working! thank you!