Guild icon
Teeworlds
discord.gg/teeworlds / general
Teeworlds Discord Server.
Between 2020-05-11 00:00:00Z and 2020-05-12 00:00:00Z
Avatar
can anyone, like, check if its related to countries? maybe its because we are from south america and masters dont like our IPs or something?
00:04
i dont even know where to ask for help and most people i ask to have no idea what happens
Avatar
have you tried connecting to the server? @Skayland
00:15
via IP address
Avatar
hello everyone
02:23
as i said i tried (with both friends/both servers) to connect with different IPs, even restarting the router and it still doesnt work
Avatar
too bad
03:48
master3.teeworlds.com is down, right?
03:52
so
03:52
i thinking there are other masters' naming
03:52
like
03:53
twmaster3.teecloud.eu instead master3.teeworlds.com
Avatar
@gerdoe master 3 (for 0.6.x / 0.7.x) is up and available (edited)
05:45
you can also check the current status at https://status.tw/status/
A service for displaying and analyzing the status and statistics of Teeworlds servers and players.
Avatar
so i had checked it already
Avatar
@Mr_Anderson can servers redirect from 'master3.teeworlds.com' to 'twmaster3.teecloud.eu'?
09:07
sorry im stupid a lot
Avatar
sure, its just a dns thing
Avatar
you could add master3.teeworlds.gerdoe.com if you care enough
GWgoaShuu 1
Avatar
teeworlds is for linux ubuntu ? (deb)
10:35
@Dune
Avatar
teeworlds runs on macOS, Linux and Windows
Avatar
you didn't answer
Avatar
Why would Linux not include ubuntu?
Avatar
it just not work when i click to download
Avatar
Where are you downloading it from?
Avatar
from the official site
Avatar
Are you downloading the correct architecture? x86_64 for 64bit, x86 for 32bit
Avatar
i taked the x86 and when i launch it, it says what app should start for teeworlds (sry for bad english)
Avatar
Is your computer 32bit?
Avatar
yes
Avatar
you double click teeworlds and it asks you what to open teeworlds with? I don't get it then and I don't have an ubuntu machine to check it on
Avatar
so you can't be able to help... ok
10:56
thanks
Avatar
a .deb package is an installer, nit the game.
11:07
not
Avatar
Teeworlds easily runs on Ubuntu. Try 64 bit
Avatar
Hey im trying to setup a local teeworlds server with rand()'s mod (nheir on github), i try to do it with visual studio but i got this error while compiling : Error C7555 use of designated initializers requires at least '/std:c++latest' C:\Users\iman\Source\Repos\teeworlds2\out\build\x64-Debug\teeworlds2 C:\Users\iman\Source\Repos\teeworlds2\src\game\server\botengine.cpp 70` i don't usually use visual studio and cmake so i cant fix it and i googled it but i still cant fix it myself :x
13:19
if some1 have any idea on how to fix it
13:22
i'm trying to use rand's training bots mod
Avatar
looks like @rand() used more recent C++ versions than Teeworlds generally uses and did not update the cmake files
13:29
bam is probably configured properly on his repo then
13:29
otherwise, find a way to add C++11 options to cmake files
Avatar
i'll try, thx for help
Avatar
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++latest") (edited)
13:31
into CMakeLists.txt
13:31
anywhere in the file ?
Avatar
put it to the top of the file
Avatar
oke thanks
Avatar
@Dune we should get rid of bam 😉
Avatar
@heinrich5991 we should get rid of cmake 😉
Avatar
no, because cmake is ubiquitous and it's kidna ridiculous that we ship our own build system
13:33
anything is better than bam in that regard
Avatar
seriously, that was aggressive though
13:33
at least we try to work around things, and bam requires near-zero maintenance
13:34
the rhetoric when introducing cmake to Teeworlds was very different (edited)
Avatar
I mean it's obviously better to have cmake and bam than just bam, I agreee
Avatar
I'm very grateful for your work on CMake, it helped repo managers a bunch and people who are already familiar with CMake
13:35
I don't really appreciate the aggressive campaigning though
Avatar
the problem I have is that we currently have two build systems and that apparently leads to advice such as
[3:29 PM] Dune: bam is probably configured properly on his repo then
13:36
if we only had one build system, we'd be better off in that regard
Avatar
yes, and try to do a grep on git log "fix cmake"
13:37
cmake lists all files and requires a fuckton of maintenance, compared to bam
Avatar
the only reason you feel that way is because we have two build systems
Avatar
I use cmake at work, the build time is horrendeous, and the custom language is a pain to learn
Avatar
people using cmake think that bam requires a fuckton of work
Avatar
when do they need to edit bam?
Avatar
when I change the libraries teeworlds links to
13:38
I have to replicate the library detection logic across two build systems
13:39
it's annoying, especially since bam doesn't provide good primitives to search for libraries
Avatar
what frustrates me the most is that the whole thing feels very hypocritical
Avatar
why's that?
Avatar
when cmake was PR'd it was absolutely claimed that it would be side-by-side
13:40
then all of a second people that dislike bam remove it from their repositories and ask those that use bam to update their cmake files
13:40
the readme was not updated with bam etc.
13:40
it's like bam people make efforts and cmake people do the opposite
Avatar
"cmake people" vs "bam people" is probably a good way to start a bad discussion
13:41
and re:
[3:37 PM] Dune: I use cmake at work, the build time is horrendeous, and the custom language is a pain to learn
Avatar
that's true
Avatar
does teeworlds take long to compile using cmake&ninja?
Avatar
I re-did the experiments recently
13:42
make takes 3x longer and ninja 2xlonger iirc
13:45
redid it, with DDEBUG ON, ninja takes the same time
Avatar
yes, same as my experiment
Avatar
hmm, okay
Avatar
(that I just did a second ago)
Avatar
both build systems suck in different ways.
Avatar
that's also not a good way to summarize a discussion, just putting "everything has its disadvantages" out there
Avatar
oke i have an other problem while compiling rand's mod
13:51
looks like its way more specific than the other one
Avatar
both suck because c++'s build model sucks.
13:52
hehe
Avatar
for some reason, build systems are something people care strongly about
Avatar
advantages: bam + used it before + lua > cmake script cmake + is not homebrewed, outside people have used it before + supports msvs properly
Avatar
people wanna code, not fiddle around with build systems.
Avatar
I would add + cmake is well maintained in package managers + bam does not require listing files
Avatar
I think the listing files is only something you notice when you don't compile with cmake by default, i.e. I think it's a downside of having two build systems
Avatar
pendawan, cooy your problem t pastebin and send a link in here.
13:55
to
13:55
copy
Avatar
The following line Msg.AddString(pCommandInfo->m_pName, IConsole::TEMPCMD_NAME_LENGTH); triggers the following exception Unhandled exception thrown: read access violation. pCommandInfo was 0xFFFFFFFFFFFFFFEF. i don't rlly know what does it means
13:56
idk if its an usual issue so i send it here
Avatar
that means that there is a programming mistake somewhere
Avatar
commandinfo pointer not initialized?
13:57
looks like a weird pointer value
Avatar
it's -17
Avatar
underflow?
Avatar
unusual for pointers
Avatar
probably an offset from a nullptr?
Avatar
well im already trying to contact rand on discord, im gonna wait
Avatar
@Dune I think you need to copy bam into the parent folder so you can access it as bam conf=release on windows
Avatar
I'm confused, you need bam in the path anyway, right?
Avatar
that's also not said in the readme changes but I don't think you need it in path
14:06
it suffices if you specify the path, and on windows, if you don't specify the path, it also searches in your current directory
Avatar
ah, you mean it should be bam\bam
Avatar
yes
Avatar
I think I took that from the teeworlds.com doc, should fix
Avatar
or do copy bam .. before
14:09
not sure I agree that it is beneficial to put into the readme though
14:09
for newcomers, the "+ used it before" goes away
Avatar
Honestly, I wrote those changes long ago, and ended up not PR-ing because I thought that would recreate unnecessary friction and that the initial readme was written without intents of pushing bam away
14:11
Newcomers will probably try the first sections anyway
Avatar
probably. a little complexity is added to the readme due to that, though
Avatar
Yeah, another reason not to do it
Avatar
Bam>cmake
Avatar
@Dune could you replace "fast build times" with maybe "our own build system"?
Avatar
bam > cmake
Avatar
True that the assertion doesn't hold with the last attempt
Avatar
@gerdoe @Skayland we're open to new arguments
Avatar
(just bam easier than cmake imo)
Avatar
Yea bam is way easier
Avatar
for compiling? for writing the build script?
Avatar
Actually, its so easy to use i dont even know why CMake is an option now
14:40
Bam is like
14:40
3 words cmd command
Avatar
cmake good in really big projects
Avatar
how do you come to that conclusion?
14:41
what project in particular benefits from cmake due to its size?
Avatar
Projects with too many files to make a build script like the bam one maybe?
Avatar
that sounds like we're drifting into the realm of speculation
Avatar
An other thing When i first tried to compile 0.7 with cmake i had to watch a houndred tutorials until it worked, but i still have no idea what made it work With bam instead it was intuitive, the first time i compilled tw years ago i didnt even see the forums or anything, its so easy to use Bam, i think its, at least for tw, the best compiller
Avatar
@Learath2 right
Avatar
Maybe im just a cmake noob but thats my opinion
14:46
Anyways is good to have more options
Avatar
I would guess some of that is affected by what you started with
14:46
I found it hard to explain to people trying to compile teeworlds that they need to open the dev console of msvs and navigate somewhere and execute a batch file to get bam
14:47
it was easier to tell them to download msvs and clone the repository directly there
Avatar
just forking master and checking actions xdd
Avatar
Oh well, on linux i can just second click in folder -> open console. never had that problem
Avatar
on windows too
Avatar
no, I don't have that in my context menu on windows
14:48
just checked
Avatar
Yea thought so
Avatar
shift + right mouse click
14:49
and open in console
Avatar
I still like bam more One click download 1 second of download time Double-click, its installed now bam/bam/ release Done, so easy, i love it
Avatar
or cd allpath
Avatar
yes, but that is already harder: "just cd into that directory using the vs console" vs "click on clone this repository"
14:51
but I like the shift-click, gotta remember that
Avatar
Well if windows has the second click console thing too then its even easier than i thought
Avatar
that console probably won't work though
14:52
you need the vs development console
Avatar
Why you need vs to compile btw?
14:52
Libraries?
Avatar
it's a compiler
14:52
windows doesn't ship with a compiler
Avatar
But if just install mingw on win then i dont need vs, right?
Avatar
yes
Avatar
Then why is vs even needed?
14:54
Is not vs like 1 or 2gb?
14:54
Just download mingw and you re done
Avatar
how much is msys2?
Avatar
msys2 is similar in size by the time you are done installing all required packages
14:54
maybe a tad smaller
Avatar
Around 100mb
14:54
Msys/mingw wiki says 110 (edited)
Avatar
That's the base of msys2, you'll need mingw, cmake, make
14:55
Anyway, I'd suggest everyone use mingw, MSVC is just a struggle
👀 1
Avatar
VS libs + clang is also an option
Avatar
please no
14:57
mixing compilers and libs is all fun and games until you break something, then it's like a dozen hours of debugging
Avatar
As clang requires the VS libs on windows it's pretty stable
Avatar
Can we make a cbx file for tw? (edited)
Avatar
Even Google uses this setup for Chrome
Avatar
@Skayland cbx?
Avatar
Codeblocks project file
Avatar
yes, with cmake 😉
Avatar
cmake can generate all kinds of IDE projects
Avatar
More an more IDEs even have cmake support without generating a project
Avatar
at least msvs and clion have it
Avatar
Generating an xcode project from cmake is actually quite useful if you want to profile on macOS, the only shortcoming is that the project structure is absolute shit so it's no good for any development
Avatar
Spam again in the forums 😭
Avatar
spam >> site down >> spam again
Avatar
cleaned
Exported 202 message(s)