Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-01-06 00:00:00Z and 2020-01-07 00:00:00Z
Avatar
ChillerDragon 2020-01-06 13:35:03Z
encrypted tw chat when?
13:35
13:36
yikes did i just leaked my macaddr xd
Avatar
I wanted to write p2p encryption :p
13:36
but I don't think many people care
13:36
it's only nice for whispers
Avatar
ChillerDragon 2020-01-06 13:36:44Z
and for account systems
13:36
im afraight to login into my level 31 account in hotel wifi
13:37
😄
Avatar
use a 5$ wrench protection to spot for teeworlds sniffers
Avatar
ChillerDragon 2020-01-06 13:37:30Z
whats this
Avatar
Avatar
ChillerDragon 2020-01-06 13:38:42Z
ah that thing
13:38
but how is that going to help me detect the sniffer
13:39
that only works after i know who is attacking me
Avatar
can't be hard to spot someone who follows you in hotels and looks like a ddnet player :p
Avatar
ChillerDragon 2020-01-06 13:40:11Z
"looks like a ddnet player" lol
Avatar
[quakenet] Oy BOT 2020-01-06 13:46:41Z
lol, how do u recognize them?
Avatar
[quakenet] Oy BOT 2020-01-06 14:00:01Z
ah :D
Avatar
holy xD that's dedication
15:11
@ChillerDragon you could implement an encryption into your custom client
Avatar
ChillerDragon 2020-01-06 15:12:38Z
yea :/
15:14
Avatar
just use public/private key on server side
Avatar
ChillerDragon 2020-01-06 15:14:43Z
always hanging out in pub places xd
Avatar
client encrypts password with public key, server decrypts and then encrypts again with salt and pepper to check (encrypted) database
Avatar
ChillerDragon 2020-01-06 15:15:34Z
i sock @Assa pls do an pr
Avatar
@ChillerDragon i tend to use external libs to not reinvent the wheel
15:17
free C++ library for cryptography: includes ciphers, message authentication codes, one-way hash functions, public-key cryptosystems, key agreement schemes, and deflate compression
Avatar
ChillerDragon 2020-01-06 15:18:43Z
i tend to stay away from libs cuz they confuse me
15:19
i rather paste stuff from stackoverflow xd
Avatar
you don't want to write your own asymetric encryption/decryption
15:19
believe me
Avatar
ChillerDragon 2020-01-06 15:19:57Z
system("openssl ..") xd
Avatar
this actually could work xD
15:24
you could add a password storage to you client, too x)
Avatar
[quakenet] Oy BOT 2020-01-06 15:57:13Z
Dune: what do u think about a dev blog post that you can get the latest dev version now?
Avatar
One important rule for cryptography: don't do it yourself 😀
Avatar
[quakenet] Dune_ BOT 2020-01-06 16:39:32Z
yea, should do that Oy
Avatar
@Dune @redix good job with the github actions workflow, i like how you managed to use the os-matrix
Avatar
Did I do anything? :D
Avatar
oh i mean @heinrich5991 who discussed this stuff yesterday?
16:55
the CI workflow is now much cleaner and new mods that pop up can use it easily, too (without subscribing to 3 other services)
Avatar
yeah, that's neat, might fix my windows shit, or maybe not
Avatar
Got a support request for a user that gets "System Error-----...VCRUNTIME140.dll was not found" when running Teeworlds. Windows 10 first-time install, so I assume no settings.cfg....
Avatar
@redix i have some problems with your github actions pr in my repo
Avatar
I'm pretty sure this is caused by the freetype dll
17:04
I built freetype dlls with mingw which should work without any msvc runtime
17:05
What about using these instead?
Avatar
well, it treats warnings as errors, how can i disable a warning for fall through in switch case? i made the fall through on purpose
Avatar
some flag
17:05
-wno-error
17:05
or so
Avatar
can i change it in cmakelist.txt somewhere?
Avatar
in the github actions
Avatar
btw, doesnt teeworlds itself uses fall throughs?
Avatar
is it on windows?
Avatar
they treat warnings as errors in their build stuff, usually
Avatar
he is just missing the 2015 redistributable package
17:06
Die Visual C++ Redistributable Packages installieren Laufzeitkomponenten, die zur Ausführung von C++-Anwendungen erforderlich sind, die mit Visual Studio 2015 entwickelt wurden.
Avatar
its GitHub actions, the pr by redix
Avatar
The freetype stuff is in the artifacts in case someone wants to test: https://github.com/axblk/freetype2/runs/371681149
Contribute to axblk/freetype2 development by creating an account on GitHub.
17:08
@fokkonaut the cflags and cxxflags in the build matrix... Remove -Werror
17:09
And for windows /WX
Avatar
uhm wat? never done this before
Avatar
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
Avatar
just wanna turn off fallthrough warning for github actions
17:10
what does that line do?
Avatar
Warnings ad errors
17:10
But compiler errors... Didn't read all your messages. Sorry 😅
Avatar
yea well thats a good one, but wanna disable fall through warning^^
Avatar
I'm doing the full course of irresponsibility cmake -Wno-error=dev -DDEV=ON
17:11
._.
Avatar
When you remove -Werror=dev from the workflow the warning will not be treated as an error anymore
17:18
Okay ignore this...
Avatar
-Wimplicit-fallthrough=0
17:21
or use -w to disable all warning messages
Avatar
added fall through comments, but thatks :)
Avatar
[quakenet] Oy BOT 2020-01-06 17:25:32Z
redix that sounds good :)
Avatar
@oy, any plans for a next release already?
Avatar
[quakenet] Oy BOT 2020-01-06 17:31:18Z
no
17:31
just had a release :P
Avatar
speed conserving stairs when? 😛
Avatar
I just wish i wasn't sick and have time and motivation for teeworlds development ._.
Avatar
ChillerDragon 2020-01-06 17:49:32Z
drugs usually help in this situation @Assa
Avatar
which one does help you?
Avatar
uff, assa and drugs
17:50
milk with honey
Avatar
did 0.7.4 delete lts?
17:51
nevermind I did
Avatar
ChillerDragon 2020-01-06 18:14:11Z
Depends on your body and the type of sickness I guess
Avatar
windows sucks
Avatar
git didn't do a merge conflict in my bam.lua
18:23
it just overwrote it <.<
Avatar
wtf, i just pulled and merged from the master
18:38
i got a note that chillerdragon referenced one of my issues
18:39
did you know that references could break like this?
Avatar
ChillerDragon 2020-01-06 18:40:58Z
Yes @Assa
18:41
Multiple forks is known GitHub Limitation
Avatar
@redix do you have a working solutions to pack and upload with gh-actions?
Avatar
ChillerDragon 2020-01-06 18:41:50Z
They share issues and prs and that’s why you can only fork one version
Avatar
The workflow in the repo should do that @Assa
18:44
It calls the package_default target from cmake
18:44
And then uploads the file as artifact
18:45
btw... Anyone knows why the packages are created manually instead of really using cpack? 😅
Avatar
[quakenet] rand BOT 2020-01-06 18:46:24Z
what is cpack ?
Avatar
how does it work? every time i push to the master?
Avatar
Everytime you push to any branch. You can however limit it to the master branch
Avatar
maybe i missunderstand it, it doesn't create releases for me automatically, does it?
18:47
catch64, its like catch16 (colorcatch), but with colors AND skins - AssassinTee/catch64
Avatar
[freenode] JewZeus BOT 2020-01-06 18:47:56Z
I need to start grokking this code :(
Avatar
It's not doing a release. It's just uploading them as artifacts for the build
Avatar
thank you, this helps ❤️
Avatar
[freenode] JewZeus BOT 2020-01-06 18:48:16Z
I has ideas for fun stuff, just played a zombie map or two, want to try making it a dark map so you have lights on the guns
18:48
basically just mask everything out and show what's in the beam
Avatar
You could also use it for a release
Avatar
i see i can download it from the download button on the workflow
18:50
thank you redix ❤️
18:50
now i have trunk builds of default teeworlds, too <333
Avatar
[quakenet] redix_ BOT 2020-01-06 18:51:13Z
rand: cpack is a program that comes with cmake. You can use it for automatically packaging your software
18:52
Actually tw uses the corresponding variables in cmake but the packages are created by custom commands and python scripts instead of really using the cpack generator
Avatar
JewZeus: you cant really do that atm
Avatar
[quakenet] redix_ BOT 2020-01-06 18:55:04Z
It's not really a problem, I was just curious if there is a reason for this. Maybe cpack is missing some functionality
Avatar
[freenode] JewZeus BOT 2020-01-06 18:58:01Z
dune, the idea is to figure out how to add that functionality
Avatar
@redix my github actions fails on "Prepare Linux". I guess its because I use ddnet-libs and not the normal teeworlds libs
20:15
any idea how to fix it?
Avatar
look at the error logs?
Avatar
prepare linux just installs packets with apt... no clue what could go wrong there
Avatar
guess i have it
20:20
nah
20:22
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ##[error]Process completed with exit code 100.
Avatar
apt-get update then
Avatar
how? this is inside of github actions
20:23
im new to this
20:23
ah
20:23
i write in in front of the rest
20:23
no wait its in therer already
20:24
well, redix has it in there but with sudo
20:24
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake-data_3.5.1-1ubuntu3_all.deb 503 Service Unavailable
Avatar
sudo apt install sudo
20:24
xD
20:25
what c++ version do you use?
Avatar
its just a mod of tw, latest
20:25
latest tw
Avatar
I got cmake directly from kitware
Avatar
and i just wanna run this github actions test xd
20:26
i am using redix pr
Avatar
but my windows build says no, so no tw github actions for me
20:27
it will be automatically enabled once you habe that .github/workflow folder. might be overwhelmed by the activity right now, so tue azure service has died
Avatar
but teeworlds master builds too
Avatar
A retro multiplayer shooter. Contribute to jxsl13/zcatch development by creating an account on GitHub.
20:29
tw master has finished building yesterday
20:29
well, 10 hours ago
20:35
might as well wait a while and somehow trigger a rebuild
Avatar
Tests seem to work now :)
21:31
Btw, one question. I have made a function that goes through an array of chars and searches for some special symbols and based on that it puts a colorcode at the correct place. This function is called every second once per player (only if the player is on a moneytile)
21:32
is that a problem for the performance?
Avatar
ok cool
21:32
I finally fixed all issues for the GitHub Actions, working now and built :)
Avatar
you could have less iterations by putting the call in some other for loop that's already iterating over the players.
Avatar
its not handled the way you think, its inside of a function that handles all the tiles
21:34
so it checks whether i am on tile x and does stuff then
21:34
the DDNet HandleTiles() function, from character.cpp if you know it
21:35
And there i am sending a broadcast every second with the current player stats when player x sits on the moneytile.
Avatar
is there an example for the chat command feature?
Avatar
yes, thanks to @fokkonaut
22:39
already found out i need to take a look to the gamecontroller
Avatar
use the teeworlds repo, i force pushed xd
22:40
oh i just need to comment out the last lines
22:41
now that's fancy
22:41
thats am example
22:41
xd
22:41
well, if you rename it and stuff yes
Avatar
*to get a working example
Avatar
yea xD
22:41
but it wont do anything
22:42
Btw, @Ryozuki for me it is very handy that the pArgs is the whole message string
22:43
works nice
Avatar
but a thing that is not useful is the formatting
22:44
with p, s, i, c
22:44
or whatever
Avatar
its meant for autocompletion in the future
22:45
but idk
22:45
the client could send a packet with current args which requets autocompletion values but im 2 lazy
Avatar
uff... well, now right now i dont send any format and manually write <username> or <password> in the description
Avatar
well you can use it however u want :)
Avatar
Requesting auto completion would be cool tho
Avatar
you can do both
22:51
send format and write the description
Avatar
i know
22:52
but custom format can not be done otherwise
22:52
well i do both, but sending both as descriptiom
Avatar
what's the easiest way to send the client a load of strings (that are known in compile time)
22:53
i tend to fill an array and just spam SendMessage over and over
Avatar
why would you want that
Avatar
for example /info command
Avatar
? xd
22:54
what do you want to do
Avatar
@fokkonaut this is the time where you go on zcatch or catch64 and type /info in the chat
Avatar
no idea
Avatar
just SendMessages probably
22:56
you can add a delay if you feel like it
23:01
is it bad to increase the server buffer?
23:01
i want to send more msgs at the same time
23:03
and what is NET_CONN_BUFFERSIZE? is it in MB?
23:03
1024*32
Avatar
@fokkonaut it's in bytes
Avatar
know you can program for teeworlds without ever kompiling it, because the pipeline does it for you xD
Avatar
ChillerDragon 2020-01-06 23:36:11Z
lol true
Avatar
that's actually nice 🙂
Avatar
I would have loved it back in high school writing .txt files on the library's computer and compiling home :)
Avatar
if i want an empty command i just send an empty string, right?
23:44
i mean empty by arguments
23:46
empty commands do get added too, but that doesnt help xd
Avatar
well it literally does help
23:49
AddCommand("help", "", "show help", ComHelp);
23:49
second argument is empty (what i wanted)
Exported 231 message(s)