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-03-11 00:00:00Z and 2020-03-12 00:00:00Z
Avatar
Support for this feature is turned off by default. This feature allows to integrate with noby's anticheat feature.
Avatar
@Learath2 ^ what do you think?
01:23
the other side of the module, for integration with @noby's code, is also ready
Avatar
@heinrich5991 nice, why did you decide to go with a C interface btw?
Avatar
@noby is your anti cheat open src now or how does it work
07:07
@heinrich5991 which other side?
07:12
ah
Avatar
@Learath2 i would assume because a C interface is the most universally available one, nearly every language can bind to C
Avatar
I guess we might aswell keep it universal. I was just thinking that this will only hook to one thing
Avatar
@fokkonaut his anticheat is not opensource (edited)
Avatar
@Deleted User how can it be put in an open source project then? Or will the rest of it be kept closed source?
08:57
Would that mean only official ddnet servers can use it?
Avatar
@fokkonaut u can load the bot dynamically, its like a plugin
09:10
antibot*
Avatar
How does it work?
Avatar
on linux probably with this
09:12
dlopen() The function dlopen() loads the dynamic library file named by the null-terminated string filename and returns an opaque "handle" for the dynamic library.
Avatar
@fokkonaut you cannot see his anticheat code
Avatar
yea ik, thats why i wondered how to use it without code, i dont know whats loading dynamically
Avatar
this part of code is not the same as his ac
09:20
I would assume they use something different from ddnet fng & ddnet ddrace
09:20
(maybe ?)
Avatar
This part sends all the needed things
09:43
Noby's part gets the needed things and does the anticheatstuff
09:53
4258b94 SDL 2.0.8 -> 2.0.12 - Dennis Felsing
Avatar
(thus noby's part doesn't have to be opensource)
Avatar
Support for this feature is turned off by default. This feature allows to integrate with noby's anticheat feature.
13:08
@fokkonaut there's a dummy anticheat in the source code. you can replace that shared library with noby's anticheat and then the server will use that
Avatar
@heinrich5991 I see, it should be fine like this, dynamically loading it is indeed a little more painful, you'd need a struct full of function pointers to be populated by the "plugin"
Avatar
@heinrich5991 here?
Avatar
a moment
14:11
be quick 😉
14:11
@Learath2
Avatar
What would you return from a get function for a hash table if the entry isn't found?\
14:12
I'm thinking maybe I should be returning pointers so I could return null
Avatar
hm
Avatar
or maybe a reference to a new element?
Avatar
c++ without good optional types, yay
14:13
I guess the reference to the new element is the best(?)
14:13
no idea
14:13
don't take my word
14:13
check what the stl does
14:14
I'm off, will check later
Avatar
it returns a reference to a new entry, but idk how i'd remove that entry if the user doesn't end up putting something in there
Avatar
In DDNet how many NetMessage able to create and how many NetBool we can add for each NetMessage ?
Avatar
We can create as many net messages as we want through the extended protocol, You can have a lot of bools, I'm not sure of the limit
Avatar
[quakenet] Learath2 BOT 2020-03-11 15:32:42Z
deen: here by any chance?
Avatar
[quakenet] deen BOT 2020-03-11 16:35:45Z
Learath2: sometimes, why?
Avatar
I load a saved run and it looks like that: https://i.imgur.com/R44nRdz.png No time, I can't even press anymore tab :D
Avatar
ChillerDragon 2020-03-11 18:10:01Z
@noby is your compiled anti bot library public?
Avatar
@deen I'm looking for a trick to emulate deleting the default unspecialized version of a template in c++03
Avatar
@Learath2 make it private
Avatar
[quakenet] deen BOT 2020-03-11 21:18:19Z
or static_assure(false) inside the default version?
Avatar
ah, I misunderstood
Avatar
[quakenet] Learath2 BOT 2020-03-11 21:35:15Z
deen: you mean static_assert(false)? Problem is static_assert is c++11
Avatar
I have tried to use this suggestion to do a static assert, but I do not get a compilation error if I use it within a method of a template. The example follows : #include <iostream> #define
Avatar
@Learath2 are the changes in console.cpp from Add command usage required for ddnet7 servers?
22:22
oh, is in already
Exported 61 message(s)