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 2019-10-09 00:00:00Z and 2019-10-10 00:00:00Z
Avatar
[quakenet] day BOT 2019-10-09 08:50:58Z
Dune: 'ello dünê
Avatar
[quakenet] Dune BOT 2019-10-09 09:17:24Z
hello däëy
Avatar
[quakenet] Jay BOT 2019-10-09 13:00:54Z
Hello guys. I have a little problem. I cannot compile the newest (released) source of Teeworlds 0.7.3.1. My compiler gives me following error:
13:01
[109/127] [4] c src/engine/external/wavpack/wputils.c src/engine/client/backend_sdl.cpp:18:21: error: function 'void glTexImage3D(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)' definition is marked dllimport GLAPI void APIENTRY glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei heigh
13:01
t, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
Avatar
[quakenet] Dune BOT 2019-10-09 13:26:59Z
Hey Jay
13:27
That is odd
13:27
What is your system?
13:27
What version of SDL do you have o n it?
Avatar
[quakenet] Jay BOT 2019-10-09 13:32:27Z
win 10, newest update
13:32
SDL 2 (i guess)
13:32
64 bit
13:34
I use the official sources and compile with bam5. No changes at all
Avatar
[quakenet] Dune BOT 2019-10-09 13:34:53Z
Did you install yourself or did bam do that for you?
13:35
SDL2 I mean
Avatar
[quakenet] Jay BOT 2019-10-09 13:35:23Z
bam downloaded it
13:35
(it said that)
Avatar
[quakenet] Dune BOT 2019-10-09 13:35:48Z
It says that when it attempts to iirc
13:35
Can you run bam config
13:35
And see what it says on the sdl line
Avatar
[quakenet] Jay BOT 2019-10-09 13:36:08Z
AUTO sdl using supplied win32 libraries
Avatar
Hmm hold on
Avatar
[quakenet] Dune BOT 2019-10-09 13:39:42Z
Jay: can you check other/sdl/? Is there something there?
Avatar
[quakenet] Jay BOT 2019-10-09 13:40:09Z
ye
13:40
bunch of *.txt files, and 2 directories (include and windows)
13:40
and 1 sdl.lua
Avatar
[quakenet] Dune BOT 2019-10-09 13:41:06Z
Hmmm
Avatar
[quakenet] Jay BOT 2019-10-09 13:41:40Z
but thos files get created after launching bam5 client once
13:41
before that they are not in there
13:42
(relaunching bam5 client does not change the error)
13:43
i do can use my VisualStudio 2017 project generated by CMake but its full of potential errors ( because every single code base is splitted in different projects ....)
13:44
so this is not really comfortable to code with :/
Avatar
[quakenet] Dune BOT 2019-10-09 13:46:04Z
yes that is normal, it is the files that are downloaded by bam from https://github.com/teeworlds/teeworlds-libs
dependencies used by teeworlds. Contribute to teeworlds/teeworlds-libs development by creating an account on GitHub.
13:46
you mean compiling with VS17 works?
Avatar
[quakenet] Jay BOT 2019-10-09 13:46:54Z
ye this works
13:47
but VS17 still outputs 271 error and this count increases with more files opened
13:47
its annoying :C
Avatar
[quakenet] Dune BOT 2019-10-09 13:47:34Z
yeah I bet
13:47
I'm scratching my head
Avatar
[quakenet] Jay BOT 2019-10-09 13:49:41Z
hmm. I do can compile the game when i remove that GLAPI from GLAPI void APIENTRY glTexImage3D(...)
13:49
but every graphic is actually an error graphic then
Avatar
[quakenet] Dune BOT 2019-10-09 13:50:12Z
you mean by editing backend_sdl.cpp:18?
Avatar
[quakenet] Jay BOT 2019-10-09 13:50:19Z
yes
Avatar
[quakenet] Dune BOT 2019-10-09 13:51:38Z
dependencies used by teeworlds. Contribute to teeworlds/teeworlds-libs development by creating an account on GitHub.
13:51
should be in other/sdl/include
13:51
especially line 62, #define SDL_PATCHLEVEL 8
Avatar
[quakenet] Jay BOT 2019-10-09 13:53:10Z
its 8 on my side
13:53
this is the full output of the bam5 error
13:53
dunno if it helps a bit more
Avatar
[quakenet] Dune BOT 2019-10-09 13:55:00Z
so you have the right SDL2 version. looks like a bug somehow, but I'm not knowledgeable enough
13:55
you might want to open an issue there: https://github.com/teeworlds/teeworlds/issues
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
13:55
it is strange that it is bam specific though, and not a problem with cmake
Avatar
[quakenet] Jay BOT 2019-10-09 13:56:55Z
i got that problem somewhere too in 0.6.4. DDNet never had this issue at all
13:57
iirc
Avatar
[quakenet] Dune BOT 2019-10-09 13:58:06Z
really? never heard of this issue
Avatar
[quakenet] Jay BOT 2019-10-09 13:58:31Z
yea a programme named Henningstone helped me out pretty fast
13:58
but i lost contact to him and seems like he is not developing anymore
13:58
programmer*
Avatar
[quakenet] Dune BOT 2019-10-09 14:02:39Z
huh, he is usually in this channel, seems not anymore
Avatar
[quakenet] rand BOT 2019-10-09 14:03:57Z
isn't it related to Assa message ?
Avatar
[quakenet] Dune BOT 2019-10-09 14:04:51Z
what message?
Avatar
[quakenet] rand BOT 2019-10-09 14:05:03Z
bridge | [teeworlds] <Assa> Teeworlds uses legacy OpenGL
14:05
bridge | [teeworlds] <Assa> I will do a pull request, because a cmake flag is missing
14:05
bridge | [teeworlds] <Assa> you can't compile with a newer opengl
Avatar
[quakenet] Dune BOT 2019-10-09 14:06:43Z
huh, downside of the double build system, requires double the fixes :/
14:08
glTexImage2D is deprecated
Avatar
[quakenet] Jay BOT 2019-10-09 14:11:52Z
uhm? my error is happening with glTexImage3D
14:11
not 2D
Avatar
[quakenet] Dune BOT 2019-10-09 14:12:00Z
ph
Avatar
ChillerDragon 2019-10-09 14:12:29Z
What do you guys think about not counting a wrong rcon password twice? Imagine some has a rcon_auth bind and unluckily presses it multiple times he gets a ban. But if we ignore duplicated wrong passwords that could be saver 😄
Avatar
[quakenet] Dune BOT 2019-10-09 14:12:54Z
my bad Jay
14:13
@ChillerDragon: rcon auth was used as a way to crash-flood servers in the past iirc, sounds like you might open an attack vector?
Avatar
ChillerDragon 2019-10-09 14:18:03Z
yes for sure sounds like an attack vector
14:18
but maybe it can be implemented save idk just an idea probably not worth the effort
Avatar
[quakenet] day BOT 2019-10-09 14:42:12Z
These flood detection bans are so annoying. some servers ban you for a minute just for trying to connect twice in quick succession~
Avatar
[quakenet] Dune BOT 2019-10-09 14:43:42Z
yes, that is the default
14:44
I experience getting banned regularly when restarting the client for a setting to take effect. Would it be possible to make this condition more gentle?
Avatar
[quakenet] day BOT 2019-10-09 14:50:35Z
the thing is you can prime it by hitting enter just two times
14:50
the next connection attempt will then end you
Avatar
ChillerDragon 2019-10-09 14:55:59Z
imo the server can stay as trigger happy but the vanilla client should simply sanitize user input and even if the user spamms enter/esc or what ever limiting the connection attempts
Avatar
[quakenet] day BOT 2019-10-09 14:58:06Z
problematic is the "joining a full server" scenario.
14:58
i usually deploy the "keep enter pressed" ddos approach :P
Avatar
[quakenet] Jay BOT 2019-10-09 14:59:16Z
xD
Avatar
[freenode] ChillerDragon BOT 2019-10-09 16:22:07Z
hello world
Avatar
[quakenet] Jay BOT 2019-10-09 16:24:22Z
@Dune i got it to work now
16:25
I just deleted the GLAPI from GLAPI void APIENTRY glTexImage3D and renamed the datasrc folder to data now its working
Avatar
for the cmake deprication: just set the CXXFLAG -DOpenGL_GL_PREFERENCE=LEGACY
Avatar
[quakenet] Dune BOT 2019-10-09 16:53:35Z
Glad to hear! Not sure why you would rename the datasrc folder though, it is copied to data as part of the build process
16:54
@Assa if this cxx flag is added to cmake it should be added to bam too
Avatar
in my buildfiles i just added it to the environment, I may need some help to modifiy the cmake/bam files
17:00
settings.cc.flags_cxx:Add("-DOpenGL_GL_PREFERECE=LEGACY")
17:00
for bam, but for cmake no idea
17:03
cmake_policy(SET CMP0072 OLD)
17:08
@Dune this is a cmake flag, you don't need to set it in bam - bam has no problem when old and new OpenGL stuff is installed
Avatar
@Assa yet #2263 is a bam issue
Avatar
[quakenet] Jay BOT 2019-10-09 17:52:03Z
@Dune no Data folder is outputted after the build process
17:52
only the exe and an objs folder
Avatar
[quakenet] rand BOT 2019-10-09 18:00:52Z
cmake ?
Avatar
i am talking about another issue
Avatar
[quakenet] Jay BOT 2019-10-09 18:02:21Z
bam
Avatar
[quakenet] rand BOT 2019-10-09 18:02:39Z
try : bam conf=release content
18:03
Assa: isn't it weird that the issue occurs with cmake but not with bam ?
18:04
we might need some guru :3
Avatar
guide to break cmake:
18:06
$ sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
18:06
done
Avatar
[quakenet] Dune BOT 2019-10-09 18:32:54Z
seeing what happened to Jay, I'd wager it occurs to bam too...
Avatar
[quakenet] Jay BOT 2019-10-09 18:33:15Z
well rand answer helped me
Avatar
[quakenet] Dune BOT 2019-10-09 18:33:19Z
Jay, no data folder in build/[arch/arch] ?
18:33
even though build completes?
Avatar
[quakenet] Jay BOT 2019-10-09 18:33:28Z
it putted the dll's and data in the release folder
18:33
well in the debug folder there is no data and dll's at all (after a successful build)
Avatar
[quakenet] Dune BOT 2019-10-09 18:34:02Z
that's strange, it should be
Avatar
[quakenet] Jay BOT 2019-10-09 18:34:16Z
just the exe itself and an folder called "objs"
Avatar
[quakenet] Dune BOT 2019-10-09 18:34:18Z
unless you compile for server or client only
Avatar
[quakenet] Jay BOT 2019-10-09 18:34:28Z
i do bam5 client
18:34
is that wrong?
Avatar
[quakenet] Dune BOT 2019-10-09 18:34:41Z
ah, so you compile for client only, maybe that doesn't do the contents
18:34
lemme check
Avatar
[quakenet] Jay BOT 2019-10-09 18:35:09Z
i used to build teeworlds like bam5 client_debug and it worked back in the 0.6.4 days
Avatar
[quakenet] rand BOT 2019-10-09 18:35:09Z
it doesn't
Avatar
bam5 content should
Avatar
[quakenet] Dune BOT 2019-10-09 18:36:19Z
I never specify targets so I don't know :|
18:36
great I broke my build then :D
Avatar
bam conf=debug <target>
Avatar
[quakenet] Dune BOT 2019-10-09 18:40:36Z
how do I keep breaking my builds
18:40
windows is a mystery
Avatar
windows doesn't even have a command line tool to zip stuff
18:41
i used the "jar" command from java to do it
Avatar
[quakenet] Dune BOT 2019-10-09 18:41:39Z
can't link to SDL2 anymore :|
18:41
and the CI stuff uses cmake only
Avatar
did you do my "guide to break cmake"?
Avatar
[quakenet] Dune BOT 2019-10-09 18:42:31Z
no, I just tried building teeworlds after two weeks of not doing so
18:42
(on windows)
18:42
seems my build configs naturally deteriorate over time
Avatar
maybe the new windows update broke it?
Avatar
[quakenet] Dune BOT 2019-10-09 18:43:26Z
I don't have internet, so it can't be an update
Avatar
the only thing harder to compile is mac
Avatar
[quakenet] Dune BOT 2019-10-09 18:45:17Z
ah, bam auto setup back to mingw, explains
Avatar
should mingw be added to the CI, too?
Avatar
[quakenet] Dune BOT 2019-10-09 18:47:01Z
Put away sharp objects in the room if you attempt that
Avatar
puts away huge knife
Avatar
Add bam first, there were problems that went undetected for a long time on windows
Avatar
can teeworlds register for github actions so we can get rid of appveyor, travis, and circleci? I promise I will setup a workflow for each OS you want
Avatar
Added deployment to appveyor, circleci and travicci to enable automatic trunk builds. os: win64 win32 unix osx (mac) It adds 4 releases (for each os), which are automatically updated and overwrit...
Avatar
why do you sent my my own PR? That has nothing to do with what i said
Avatar
Hmm, doesn't it make the PR obsolete then?
Avatar
yes ... and no
18:56
it outdates it: Github actions is (as the name suggests) A github CI/CD service and provides a way easier deployment
18:56
I tested it in my catch64 repo
Avatar
it's great :0
Avatar
it really is
Avatar
but it doesn't fix my windows build :'(
Avatar
[quakenet] rand BOT 2019-10-09 19:33:48Z
and suddenly, crash
Avatar
[quakenet] Dune BOT 2019-10-09 19:34:30Z
what crashed, rand ?
Avatar
[quakenet] rand BOT 2019-10-09 19:42:55Z
a zcatch server
19:43
guess
19:45
other guess, leave&kill
Avatar
which one?
Avatar
ah, same as the issue
20:46
jsxsl you pulled the latest master recently, didn't you?
Avatar
[quakenet] rand BOT 2019-10-09 21:22:35Z
I guessed wrong apparently, server still only
21:22
online
21:22
but, it did hang at some point
21:23
and disappear from server list
Avatar
merged master
Exported 168 message(s)