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 2022-05-09 00:00:00Z and 2022-05-10 00:00:00Z
Avatar
oh then its nice
02:17
thanks patiga happy made this impossible map now
Avatar
who knows
03:28
send .map kekw
03:29
actually u should release it as nouispossible
Avatar
hfy did it in #showroom it took a long time
Avatar
Avatar
deen
I think someone had some maze examples, would be nice if they could share them, probably easiest to start from a working generator
i have a simple generator but its in rust not python https://github.com/edg-l/ddnet-map-gen
A ddnet map generator. Contribute to edg-l/ddnet-map-gen development by creating an account on GitHub.
06:08
it can generate a maze and a simple hammerfly map
06:36
cross compiled for windows
06:36
i wonder if it works xd
06:36
well its a cli app
Avatar
With the new masterserver using HTTP, thus increasing our HTTP usage I think we could take advantage of this library (and i think @Learath2 mentioned it) https://libevent.org/
The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals or regular timeouts.
libevent is meant to replace the event loop found in event driven netw...
Avatar
Avatar
louis
Click to see attachment 🖼️
awesome! if you have any questions regarding the module, I'll happily answer everything :)
Avatar
Avatar
louis
Click to see attachment 🖼️
looks ez
Avatar
im learning some rust egui so i decided to make a ddnet related program (nothing is done yet)
10:18
PepeA
Avatar
@Ryozuki im very close to download https://surf.suckless.org/
10:18
pepega
Avatar
it sucks
10:18
imagine having to recompile to config it
10:18
also alacritty exists
10:18
and is made in rust
10:18
A cross-platform, OpenGL terminal emulator. Contribute to alacritty/alacritty development by creating an account on GitHub.
Avatar
its not even a web browser my brother
10:19
default
Avatar
Avatar
Nagi01 {LAN}
@Ryozuki im very close to download https://surf.suckless.org/
surf is a browser
10:20
alicritty cant browse the web no ?
Avatar
oh true
10:30
i thought it was the terminal
10:30
xd
10:30
my bad
10:30
justatest
Avatar
⭐♥ST-Chara♥⭐ 2022-05-09 11:28:29Z
How can I disable dummy on my server?(not sv_max_clients_per_ip 0)
Avatar
Avatar
baby frog
@c0d3d3v i downloaded 12.5 and went to a server and the issue still perists. does it not work on servers? howd you test it
yes just like you did, its client side code so it should work. For me it did not do the double hammer
12:12
would be nice if someone could test/review this https://github.com/ddnet/ddnet/pull/5063 Maybe I missed some other physics.... The videos are not valid anymore, need to do a new comparison
Fixes #3622, #4723 #4798 and #5054 This now also includes the changes from #4980 So please also see my monologue here: #4980 Physic that got changed by this PR: Solo players are not included in th...
Avatar
Avatar
⭐♥ST-Chara♥⭐
How can I disable dummy on my server?(not sv_max_clients_per_ip 0)
DDNet servers can't distinguish whether a tee is a dummy or not, so only way to prevent people from using dummies is to set sv_max_clients_per_ip 1
Avatar
damnit cargo fmt screws up my twmap-py :c
Avatar
Avatar
Patiga
damnit cargo fmt screws up my twmap-py :c
u can put flags to ignore it i think
14:49
well idk what twmap-py is exactly
14:49
#[rustfmt::skip] mod dont_format_this_file;
14:50
or #![rustfmt::skip]
14:50
on top
Avatar
In ddnet we have IEngine::Add and IEngine::RunBlocking, I want to make some jobs that should never be ran non-blocking. Can you think of a way to enforce that?
Avatar
replace it all with libevent
Avatar
Perfect idea, except that doesn't handle any part of the issue 😄
14:52
a true c dev never enforces stuff on others
14:53
BASED
Avatar
Or alternatively an IJob that couldn't accidentally be used with IEngine directly
14:53
I want to keep the IJob interface, but these tasks really shouldn't be ran on the engines pool but another pool
14:54
IEngineJob and IGameJob?
14:54
xd
14:54
and they extend IJob
14:54
idk
Avatar
Mh, I guess that'll be my backup idea if I don't come up with something else
Avatar
just add a comment
14:55
// dont run this blocking
14:55
xd
Avatar
Feels like awful design 😄
Avatar
the c way
Avatar
The term "pool tag" keeps coming to my mind, some sort of marker on the jobs that indicate to which pool they should go
14:56
But not quite sure what form that tag should be in, it probably shouldn't incur a run-time cost since we know at compile time what pools will exist
Avatar
are there jobs right now t hat run both blocking and non blocking?
14:57
just add a virtual method that returns whether it should be ran blocking
14:57
and remove runblocking
Avatar
Currently there is IJob you can run anything that implements that interface blocking or on one of the worker threads that belong to the engine
Avatar
why would a ijob be blocking
14:57
isnt that the point of ijob
14:58
to not block
14:58
well idk what exactly is used for this
14:58
i should look into the code xd
Avatar
Jobs that are ran within other jobs are ran blocking iirc
Avatar
@louis updated twmap in pip, there are many bug fixes in there as well as better documentation :)
Avatar
cool thanks
15:45
im working on trying to autogenerate gores maps with actual pathing
15:46
15:46
i have that but theres no consistent path ofc
Avatar
cool project!
Avatar
Avatar
louis
Click to see attachment 🖼️
this is rly cool
16:07
i dont know shit about it, but ive readed about another world generator, that wave functions are helpful (edited)
Avatar
I have created an absolute monstrosity
16:34
I'll throw it away but I'd like to show it first
16:35
https://paste.pr0.tips/5g?c Look at this insanity
Avatar
enable_if_t
16:44
use concepts
16:44
embrace c++20
Avatar
can't it was supposed to be for ddnet
Avatar
mold requires c++20 btw
Avatar
Avatar
louis
im working on trying to autogenerate gores maps with actual pathing
well cool but afaik KoG has refused that, someone already did a project like this & generated maps were not accepted
Avatar
I have this disease of overly general code, it's unlikely we'll ever want to create another pool... brain damage
Avatar
Avatar
ReiTW
well cool but afaik KoG has refused that, someone already did a project like this & generated maps were not accepted
ye, im doing it mainly for fun
Avatar
mold is written in C++20, so if you build mold yourself, you need a recent version of a C++ compiler and a C++ standard library. GCC 10.2 or Clang 12.0.0 (or later) as well as libstdc++ 10 or libc++ 7 (or later) are recommended.
16:46
gigachad mold developer
Avatar
where is ping tf, is discord buggy
Avatar
maybe if its convincing ill upload it under a fake name
Avatar
Avatar
ReiTW
where is ping tf, is discord buggy
u can choose to ping or not
Avatar
Avatar
Learath2
I have this disease of overly general code, it's unlikely we'll ever want to create another pool... brain damage
ye happens
16:47
as one says "dont make stuff you wont use"
Avatar
Avatar
louis
u can choose to ping or not
hoo didn't know that lol
Avatar
[cmake] CMake Warning (dev) at CMakeLists.txt:294 (message): [cmake] BASE does not contain every file from directory src/base [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:325 (set_glob) [cmake] CMakeLists.txt:1587 (set_src) [cmake] This warning is for project developers. Use -Wno-dev to suppress it. [cmake] [cmake] CMake Warning (dev) at CMakeLists.txt:304 (message): [cmake] Entries only present in BASE: [cmake] /home/jupeyy/Schreibtisch/Teeworlds/DDNet/ddnet_jupeyy/src/base/system.hpp [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:325 (set_glob) [cmake] CMakeLists.txt:1587 (set_src) [cmake] This warning is for project developers. Use -Wno-dev to suppress it. this warning is really useless it tells me that BASE does not contain every file and then it tells me that the entry is only in BASE also i dont see where the problem is broken af
Avatar
u are missing it for sure
16:47
i remember the same
16:48
its just the error msg is bad
16:48
system.h is only once in cmakelists
Avatar
how dare you argue with the cmake?
16:48
cmake knows it all
Avatar
u probs
16:48
dont allow hpp
16:48
thats it
Avatar
oh file extensiosn
16:49
probs
16:49
another thing c++ sucks at
16:49
lack of consistency
Avatar
hehe i knew it
Avatar
hpp hxx h
Avatar
its not c++
16:49
even cpp
16:49
ppl use cxx
16:49
damned be the world
Avatar
well i am creating a typesafe wrapper for system.h for what i use
16:50
so we can silently move away from c
16:50
xd
Avatar
Possible Duplicates: *.h or *.hpp for your class definitions Correct C++ code file extension? .cc vs .cpp I used to think that it used to be that: .h files are header files for C and C++, and usu...
Avatar
dont forget modules
16:56
cppm
16:56
.cppm
16:56
xd
Avatar
Avatar
ReiTW
well cool but afaik KoG has refused that, someone already did a project like this & generated maps were not accepted
KoG already had that feature in the past
Avatar
Avatar
Avolicious
KoG already had that feature in the past
probably but one guy got his map refused after he claimed having it generated
17:23
forgot his name
Avatar
I dont know, but we do have a map generator for gores maps 🙂 We also do have auto-generated maps compiled in our servers, but not used, because it could be abused to farm points
Avatar
I have made another comparison video for my PR if someone notices in the left window that I have forgotten some physic please report ^^ https://youtu.be/bYwLB1cEMI8
Avatar
... come back in 20min xD pls -.- youtube is so slow... I will write it again as soon it is finished processing (edited)
Avatar
Avatar
Voxel
xd
now it is online lel
Avatar
OOH i like how the accountability for long range is active!
Avatar
Avatar
Avolicious
I dont know, but we do have a map generator for gores maps 🙂 We also do have auto-generated maps compiled in our servers, but not used, because it could be abused to farm points
are samples of this generator public, maybe even the source code?
Avatar
I've always admired the write performance of the /dev/null schema-less database, the read performance however is a little lacking, but this is offset by /dev/null's data compression
21:16
21:16
xdd
Avatar
ahah
22:44
so dumb 😂
23:53
funny too
Avatar
does anyone know the behaviour of being stuck in a corner?
23:59
whenever i'm stuck in a corner while hooking and i press f1
23:59
i stay stuck
23:59
but if i press the chat button, i get unstuck
23:59
doesn't the chat button instantly hold?
Exported 156 message(s)