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 2020-04-13 00:00:00Z and 2020-04-14 00:00:00Z
Avatar
@def- you'll need to build compiler-rt on your osxcross too, but as far as I could test it all works
Avatar
@Learath2 do you know what the m_aTexcoords[4] from the CQuad struct are for? struct CQuad { CPoint m_aPoints[5]; CColor m_aColors[4]; CPoint m_aTexcoords[4]; int m_PosEnv; int m_PosEnvOffset; int m_ColorEnv; int m_ColorEnvOffset; };
Avatar
I'd guess for UV mapping
Avatar
whats UV?
Avatar
[quakenet] Learath2 BOT 2020-04-13 10:39:21Z
U and V are the X and Y in the coordinate space of the texture
Avatar
The quads are rendered with wrapping, so whatever image you have is repeated infinitely in every direction, the first instance of which is at (u_0, v_0) = (0.0f, 0.0f)
10:41
by changing the texture coordinates you can render a smaller part of the image, or multiple instances of the image
10:42
first is usually what's done by mappers, second is what we do to render the checker pattern in the background of the editor
10:44
(x and y are in the quads coordinate space btw, not the maps)
10:51
all this network compatibility stuff is so ugly ๐Ÿ˜ฆ
Avatar
[quakenet] Learath2 BOT 2020-04-13 11:40:24Z
I'm seriously about to go mental, why won't cmake use SDL2.dylib even when I delete the damn bundled version
Avatar
@timakro can you give me a hand in getting 0.7 working when you are around?
Avatar
@Learath2 what do you need?
Avatar
I seem to have gotten something wrong with snapping the player, the camera isn't on the client
11:54
isn't locked on the tee*
11:54
I can control the tee just fine though ๐Ÿ˜›
Avatar
while paused or generally?
Avatar
generally
Avatar
you need to set the team correctly i guess
11:55
does the client know its NOT spectator?
11:55
well
11:56
now that i think about it
11:56
you probably forgot the m_Local = 1 for yourself
Avatar
the playerinfo no longer includes m_Local
Avatar
NewClientInfoMsg.m_Local = 1;
11:56
in gamecontext.cpp::OnClientEnter
11:58
@Learath2 while adding 0.7 support for ddnet, please return true for the Translate stuff, just like for DDNet clients, so that 0.7 gets correct client ids, not the faked ones. This would break 0.7 dummies
Avatar
m_Local does seem to be set just fine
Avatar
do you have your code available somewhere?
Avatar
I can push it
Avatar
okay
Avatar
@heinrich5991 is it possible for me to tempt you into doing the compatibility code?
Avatar
aah that makes sense with the texture coordinates, i think i did it once on accident in the editor
13:15
thats the stretching you can do by pressing shift and pulling on a quad
13:15
thanks :)
Avatar
@Learath2 in addition to all the usual crap about me not finishing projects (do you see the showall fix/http masters anywhere?), I'm also a bit ambivalent about the compatibility code
Avatar
DDraceNetwork, a mod of Teeworlds. Contribute to Learath2/ddnet development by creating an account on GitHub.
14:00
it works but it'll take a lot of further patching
14:01
however it's not pretty
14:01
this is what I'll pr and no I couldn't get it any prettier, I spent like 10 hours and did git reset --hard HEAD like 20 times
Avatar
How does one become a contributer to ddnet repo?
Avatar
1) Code something 2) Create a pull request 3) Profit?
Avatar
Thank you ๐Ÿ™‚
14:09
Anyone know how to list client versions in rcon cli?
Avatar
status I think
Avatar
@heinrich5991 do you happen to know how netobjtypes work?
Avatar
yes
14:10
what do you want to know?
Avatar
Are they translated somehow? they seem to have moved around a bit but things still seem to work
Avatar
translated where?
14:12
you need to translate them for compatibility
Avatar
Thank you @heinrich5991 I used it before but I was blind
Avatar
(unless nothing changed between 0.6/0.7, I don't know)
Avatar
I guess what I was wondering is whether the snaps carry some mapping inside them, like between the types in the snap and all the types
Avatar
not for non-extended snap objects
Avatar
I see
Avatar
bc19ce5 mmacosx-version-min=10.9 - def-
Avatar
Has anyone here built DDNet-Server on windows using CMake with MYSQL ON
Avatar
doubt it
14:20
I guess it doesn't work?
Avatar
There was one guy trying to get it working but I think he gave up
14:21
Thought it's just me
Avatar
hm. we do ship mysql libraries for windows though
Avatar
Weird thing is it finds the mysql livbraries but throws weird error, thanks will see if I can get it working
Avatar
we should add it to CI if we want to support it
Avatar
continuous integration, the tests we run on each pull request
14:25
we use github actions currently
Avatar
Oh nice !
Avatar
build currently failing on macOS due to broken toolchain
14:30
normallyโ„ข, we don't have that ๐Ÿ˜›
Avatar
the system headers should be passed with -isystem, I couldn't check that because I've been doing 3 other prs
Avatar
Are you all currently building and compiling on linux then cross compiling to windows?
Avatar
I think yes
14:48
but there are some developers that develop on Windows and compile on Windows as well
Avatar
@TwItCh i think the mysql lib we ship is broken
14:54
try downloading a new one
14:54
do you build with VS or mingw btw?
Avatar
Thank you, CMake says it's using a bundled version
14:55
VS, will try mingw
14:55
would try replacing the mysql libraries in ddnet-libs directory
14:55
maybe that fixes it already
Avatar
Is the bundled version the one you shipping?
Avatar
yes
Avatar
@heinrich5991 how should we handle teehistorian for 0.7 clients?
16:04
not all messages are compatible
Avatar
@Learath2 if you can, record the messages before translation
Avatar
So just record them as is? I guess the internal structure of the message doesn't really concern teehistorian
Avatar
yes
Avatar
I have a coding dilemma, I want to handle some sixup messages in CGameContext::OnMessage I don't want to limit myself to doing only simple translations but I don't want to duplicate the handling in OnMessage either
17:39
I even tried template specialization (doesnt look too good)
Avatar
no one?
18:26
okay, I'll just do it in a dirty way, but if one of you complains when I make a PR, they can fix it themselves
21:24
@Learath2 look, riot are using a kernel driver anticheat that runs on ring-0
21:24
and its a shitshow
21:25
poggers
Avatar
yeah, what an insane concept
21:25
I wonder why a majority CCP owned company would want a rootkit in millions of computers
21:26
lucky i dont play shit riot games
21:27
dota for life
Avatar
we should play a round some time
21:27
valve VAC is software
21:27
and its pretty famous
21:27
idk
21:28
"EAC pulls it off with a service, VAC pulls it off with software integration. PunkBuster relied on a service (in earlier versions*1) There is no need for a kernel driver. This makes me think of things like SafeDisc."
Avatar
I do kinda understand wanting a kernel driver, because the cheaters actually do put their cheats aaaalll the way up in ring 0
Avatar
found this
21:33
also when you uninstall the game, the anticheat is not uninstalled
Avatar
ofc not, why would you uninstall a rootkit willingly?
Exported 115 message(s)