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 2019-01-21 00:00:00Z and 2019-01-22 00:00:00Z
Avatar
after windows update old mouse mode starting lagging asf
10:49
how 2 fix it?
Avatar
Use linux
Avatar
@Ryozuki not helpful
Avatar
oh, helloy mr no jokes
Avatar
ᶰ°Konͧsti 2019-01-21 14:13:48Z
Why
14:13
using Linux is a good tip lol (edited)
cooldoge 2
🇾 1
🇦 1
🇮 1
🇷 1
😂 1
Avatar
stop trolling people with actual questions
🇺 1
🤓 1
🇾 1
🇦 1
🇮 1
🇷 1
😂 1
Avatar
ChillerDragon 2019-01-21 14:46:16Z
linux is actually nice
14:46
but is has different ms than windows -.-
Avatar
i have the same on both windows and linux ^^ @Skyrx what exactly does lagging mean? maybe your mouse refresh rate(the send rate, hertz) got different, does non old mouse mode not lag? also check if you disabled mouse acceleration in windows
Avatar
Who can help me? My tele dont work 😭
Avatar
do you have an in and an out teleport?
Avatar
52e7254 Happy new year 2k19 - ChillerDragon be8907a Merge #1437 - bors[bot]
Avatar
more like from/to
Avatar
28ba295 Don't use compression for text rendering - Jupeyy d3323cf Merge #1436 - bors[bot]
Avatar
Who can send me new tele file?
☎ 1
Avatar
[quakenet] <Ryozuki> what was the proper way to pass (multiple) configuration parameters when executing ./DDNet or ./DDNet-Server
18:59
[quakenet] <Ryozuki> ?
18:59
[quakenet] <heinrich5991> either in a config file with -f config_file.cfg
19:00
[quakenet] <heinrich5991> or pass them as parameters, like "sv_register 0" "sv_tournament_mode 1"
Avatar
[quakenet] <Ryozuki> heinrich5991: if i had a param like sv_name it would be "sv_name \"some name\"" "sv_register 1"
19:08
[quakenet] <Ryozuki> right?
19:09
[quakenet] <heinrich5991> yes. you can use the other quotes to reduce the amount of escaping necessary
19:09
[quakenet] <heinrich5991> 'sv_name "some name"'
19:09
[quakenet] <Ryozuki> i see thanks
Avatar
[quakenet] <Ryozuki> heinrich5991: u can only use either -f or "..." right?
19:22
[quakenet] <Ryozuki> not both at same time
19:22
[quakenet] <heinrich5991> you can use both
19:24
[quakenet] <Ryozuki> https://i.imgur.com/UWwd4CD.png so this should be correct
19:25
[quakenet] <heinrich5991> yes. you can also give multiple files via -f:
19:25
[quakenet] <heinrich5991> ./DDNet-Server -f server.cfg -f server2.cfg
19:26
[quakenet] <Ryozuki> hmm
19:26
[quakenet] <Ryozuki> [,-f AUTOEXEC_FILE] is this the way to specify u can use it multiple times?
19:29
[quakenet] <Ryozuki> well i can just put an example
19:29
[quakenet] <heinrich5991> SYNOPSIS
19:29
[quakenet] <heinrich5991> cat [OPTION]... [FILE]...
19:29
[quakenet] <Ryozuki> i see
19:29
[quakenet] <heinrich5991> maybe DDNet-Server [OPTION]... [-f CONFIG_FILE]...?
19:29
[quakenet] <Ryozuki> ye
Avatar
I added a simple script to generate the man pages. To edit the man pages in the future, you must edit the .adoc files and then run generate.sh You need asciidoc package to generate the manpages. sudo apt install asciidoc http://asciidoc.org/ Writing plain troff is a pain in the ass.
Avatar
why isn't this working?
Avatar
you need to use str_comp
20:43
if(str_comp(pMsg->m_pMessage, ":hi") == 0) { // do stuff }
Avatar
why can't? 😦
Avatar
what's the error?
21:22
I think this should work
Avatar
there is no " + " operator matching these operands: string + string
Avatar
do you have a #include <string> at the top of your file?
Avatar
ofcourse
21:27
i try use std::string
21:27
but error str_comp
Avatar
isn't there a function str_cat? (edited)
Avatar
wait, this isn't std::string?
Avatar
sec
21:28
std cant -> char
Avatar
fname.c_str()
Avatar
oh ty
21:31
it's work
Avatar
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?
Avatar
$ git log --oneline 11.4.4..HEAD | grep -i sound 5ad48da41 Merge pull request #1372 from Ryozuki/pr_fix_windows_sound d9d3ed783 fix windows sound 657e86990 Handle Tile and Sound layers
Avatar
[quakenet] <Ryozuki> there was a change, it now uses directsound, idk if it did before
21:43
[quakenet] <Ryozuki> i didnt notice any change in quality of sound or anything
Avatar
@Meldon so yes, there was something changed here
Avatar
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? void gen_random(char *s, const int len) { static const char alphanum[] = "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz"; for (int i = 0; i < len; ++i) { s[i] = alphanum[rand() % (sizeof(alphanum) - 1)]; } s[len] = 0; for example
Avatar
you probably want to do s[len-1] = 0. otherwise, the function looks good 🙂
21:50
@σℓí♡ the code looks good — what is your question? does it not work?
Avatar
I'm already confused about my own questions, ahah
21:53
I want this
Avatar
[quakenet] <Ryozuki> test
Avatar
@σℓí♡ wait. do you want to generate a new random text on every chat message and compare to that?
22:03
or do you want to generate it once and then use it for all chat messages?
Avatar
for example: name1: name2: hello...g rg.. (any text, no difference) name2: afk
22:07
if the message applies to me, I will reply "afk"
Avatar
ohh
22:08
do you modify ddnet/teeworlds source code?
22:08
if so, there's this handy function called str_startswith
22:09
if(str_startswith(fname.c_str(), pMsg->m_pMessage))
Avatar
works only when pressed on button "kill" xd
Avatar
eh, should be the other way around
22:14
if(str_startswith(pMsg->m_pMessage, fname.c_str()))
Avatar
it's work ty and i need add too if(str_endswith(pMsg->m_pMessage, fname.c_str()))
22:18
mirror
Avatar
why?
Avatar
it's working! thank you!
Exported 90 message(s)