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-12-13 00:00:00Z and 2020-12-14 00:00:00Z
Avatar

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undef...
Avatar
would you say this looks dangerous str_copy(m_aFilename, "", sizeof(m_aFilename));
Avatar
why not m_aFilename[0]=0
Avatar
well its already in the code 😄
00:13
just found it while looking through a pr
00:17
i wonder if its even doing smth
00:21
guess it does what it should 😄
00:21
just looks strange 😄
Avatar
@deen under debian openctm-tools also uses pnglite xD
Avatar
4e80eb1 Add libpng for Jupeyy (untested) - def-
00:36
[ddnet/ddnet-libs] New branch created: pr-libpng
00:53
@ChillerDragon
00:53
rlly
Avatar
Avatar
Deleted User
guess it does what it should 😄
waste of a call, tho I'd imagine the compiler inlines str_copy very aggressively
Avatar
Current issues are: libpng16.dll.lib is missing libpng16.dll should be without "-16" the .dll is depending on a shared zlib library (zlib1.so) so either static link it into the libpng or we remove zlib from external too in the includes "pnglibconf.h" is missing Haven't tested it heavily yet, only tested if dilate and DDNet-Client still work

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with poss...
Avatar
cdc2244 M Bomb Raid 2, A Pyramids, M entanglement - ddnet-maps
Avatar
Is there FNG2 mod for Windows?
Avatar
not precompiled if thats what u try to ask
07:44
FNG mod for teeworlds, that advances the original FNG idea by golden spikes and other features - Jupeyy/teeworlds-fng2-mod
07:44
also added cmake support lately, but never tried mingw
Avatar
Need developing?
Avatar
i can pm you with a build if you want
07:52
else you need to add the cmake modules from ddnet in order to work for mingw to compile
Avatar
is it team or solo?
Avatar
@ciger just read the fng.cfg
08:12
it explains almost everything
Avatar
[quakenet] ChillerDragon BOT 2020-12-13 10:11:29Z
wat is that my code @fokkonaut? _:D
10:14
Based on DDraceNetwork by deen & contributors (www.ddnet.tw) which is based on the great game teeworlds (www.teeworlds.com). - DDNetPP/DDNetPP
10:14
good stuff :D
10:19
bae42b9 Recreate kill messages if required - Jupeyy 79fb5dd Merge #3406 - bors[bot]
Avatar
cafd1a4 Allow windows resizing - Jupeyy 483e7b2 Merge #3403 - bors[bot]
Avatar
Have any of you ever read a wikipedia arbcom case? It's fascinating how organized wikipedia is. It's like a court case
Avatar
[quakenet] ChillerDragon BOT 2020-12-13 11:04:54Z
are you paid to collect donations for wikipedia? o.O
Avatar
@Learath2 wikipedia is rly well organized and a good effort to provide knowledge to ppl
11:09
yet ppl make fun of it all times
11:09
what a sad world
Avatar
the fourth byte in the CTile struct used to represent tiles in the tiles/game/front layers is called m_Reserved and isn't used anywhere in the ddnet code
11:11
though there are 5 ddnet maps where this byte is set at least once
11:12
does anyone here know if there ever was a tool/client/editor/whatever that used that byte?
Avatar
@Patiga heinrich is ur best bet
11:13
i doubt anyone else knows xd
Avatar
i use it in fng, but not from editor point 😄
11:13
at runtime only
11:14
@Patiga what are you planing todo with it? 😄
Avatar
"types/brutal/maps/Indicud.map": Tiles layer (at index 6 in group 6) has an invalid tile: Unused byte of tile at x=300, y=449 isn't zero "types/brutal/maps/Rogue World.map": Tiles layer (at index 7 in group 12) has an invalid tile: Unused byte of tile at x=112, y=396 isn't zero "types/brutal/maps/Tropical Island.map": Tiles layer (at index 0 in group 6) has an invalid tile: Unused byte of tile at x=360, y=356 isn't zero "types/dummy/maps/SpookyDrag.map": Game layer (at index 2 in group 6) has an invalid tile: Unused byte of tile at x=152, y=138 isn't zero "types/insane/maps/New Generation.map": Tiles layer (at index 12 in group 7) has an invalid tile: Unused byte of tile at x=133, y=31 isn't zero
11:14
oop sry irc
11:14
its just that my map parser now errors on ddnet maps
11:14
so i guess i repair the ddnet maps ^^
Avatar
can't u ignore that byte 😄
Avatar
why would it error on a reserved byte?
Avatar
since reserved means that it could be used in the future
11:15
so it should be 0 for now
Avatar
so thats why it shouldnt error
11:15
future proof
11:17
i dont go that far with forwards compatibility
11:17
i mean i might do that for this exact problem if it happens on too many maps
11:18
but if there are few enough maps i would rather fix the maps
Avatar
well maybe it was uninitialized for these maps in some editor version
Avatar
@Patiga I would check old ddrace client
11:21
It could be an artifact from the port to 0.6 which introduced a lot of changes
Avatar
the repository ddnet is based on?
Avatar
I think so ddrace/ddrace iirc
11:24
I think we didn't ship a separate map conversion tool back then, so it should be part of the client if it ever was used
Avatar
huh seems to be completely unused
11:36
TIL you can do git log -Sm_Reserved to get all commits that change a line with that string
Avatar
@Patiga not sure how the implementation was, but maybe we kept this byte uninitialized accidentally
Avatar
interesting, I'm currently figuring out how many maps in the archive have this problem, the number seems to be below 100 though
Avatar
~50 occurrences in the map archive
12:54
i think with such a low number i would rather keep it as an error, fix the ddnet maps if that is okay
13:02
@Patiga you can send me the fixed maps
Avatar
Robert just went god mode
13:54
Avatar
what is that?
Avatar
Text selection and input Implement keyboard-based text selection for console, chat and editboxes. Implement mouse-based selection for editboxes. Basically does everything that #2521 does (paste, ...
Avatar
oh, fancy
Avatar
u can learn go in 1 day
13:59
its rly ez
Avatar
Between two reality 2020-12-13 14:10:44Z
Hello everyone, where can I download the trainfng server. (fng server withh /spawn and /team commands).
14:11
can't find
Avatar
TrainFNG, a mod of Teeworlds. Contribute to 35niavlys/teeworlds-trainfng development by creating an account on GitHub.
heartw 1
Avatar
[quakenet] ChillerDragon BOT 2020-12-13 14:32:15Z
SpookyDrag seems to be a new map also the other map names sound new so i doubt it is a artifact fr from DDRace/teeworlds times
Avatar
You know what would make me extremely happy? If spotify would stop breaking google cast every other day
15:36
What level of incompetence is required to break something 5 times a week?
Avatar
spotify mobile is so broken too
15:37
i watch one of those dumb "watch this video and you won't have ads for 30 minutes" and it gives me ads 5 minutes later
Avatar
Atleast we don’t get ads with spotify premium anymore, that was one annoying bug
Avatar
@Learath2 I have a mac now
16:19
Apparently mac can render ime cocoaview just fine on top of fullscreen games? (edited)
Avatar
eeeeh sometimes, if it feels like it
16:20
That's worse than not being able to at all
16:20
realsmiley
16:21
Oh well I can't find anything about ime for mac
Avatar
There is no information for most anything about mac, your best bet is to form a company developing apps, become extremely popular so you can get enterprise support and ask apple
16:22
Or reverse engineer appkit like I did
16:22
I guess windows is at least somewhat ok in term of exposing data
Avatar
There definitely is a way to get the data out of the IME
Avatar
On mac?
16:24
16:25
I think you just need to figure out what obscure or hidden api they are using to get a handle to the IMKServer
16:26
Never done mac stuff before.
Avatar
After you have a handle it's not too hard to get the candidates out. I gave up after 4-5 hours digging around in AppKit, but radare2 is sooo slow with a 30MB binary
Avatar
@TsFreddie intel mac or arm mac?
Avatar
Intel mac
16:27
Is my 2017 macbook pro. My mom was using it before.
Avatar
I should get an arm mac sometime
16:28
They say the performance is quite great
16:28
Though I doubt I'll ever have the money for one, Apple is always out of their minds with their pricing
Avatar
Ye. Macbooks are pretty expensive tho. I don't think I'll get a new one any time soon.
Avatar
Maybe I can trade in a kidney for a Macbook
Avatar
realsmiley contactless trade in, mail your kidney (edited)
16:32
This is funnier
Avatar
Very useful command /swap [player] which allows you to swap characters of two players from the same team. Even in t0. Do not respawn tees, so there is no physics abuse. And it should go with some cooldown of course. A lot of cases to use. Swap parts in team when your teammate can't do it for long. Swap your dummy with real player if you're playing in t0 and there is impossible / hard dummy part Swap in teams already exists as /save, which is not comfortable to use. In t0 there is swap ...
Avatar
Between two reality 2020-12-13 17:26:52Z
I can't figure out how to start this server (need LAN sv_register 0) where is start file like a DDnet_server.exe https://github.com/Jupeyy/teeworlds-fng2-mod/tree/fng_06
FNG mod for teeworlds, that advances the original FNG idea by golden spikes and other features - Jupeyy/teeworlds-fng2-mod
Avatar
you need to compile it yourself (edited)
Avatar
Between two reality 2020-12-13 17:30:09Z
so good, but what is needed for this and what order of actions can there be a guide?
Avatar
Дядя Женя 2020-12-13 17:49:08Z
@deen pls I need some help
17:49
@Learath2 could also help
17:49
I finally want to PR color picker (cool feature ofc) but the thing I stuck at is editboxes. I don't undestand how to use them
17:50
I need an editboxes like in editor with all editor features supported. HEX editbox and Clamped Number editbox
Avatar
@Between two reality readme.md has full tutorial, hasn't it? (edited)
Avatar
Дядя Женя 2020-12-13 17:51:39Z
I thought you wanted to say that DDNet has a documentaion on their code and nearly died out of laugh
Avatar
Дядя Женя 2020-12-13 17:54:08Z
Editboxes explaination pleeeease 🙏
Avatar
what don't you understand about them?
Avatar
Дядя Женя 2020-12-13 17:59:28Z
@Learath2 how to make them actually... I made a HEX editbox and convert value from it, but I need a way to create only allowed characters and set max length
17:59
How can I do it?
Avatar
uf, idk did you check how cinaera did it for the original color thing in editor?
18:00
if not I would just check after every change and if the new character(s) aren't valid delete them
Avatar
yo everybody, someone is pro in PHP xD ?
Avatar
Дядя Женя 2020-12-13 18:07:55Z
18:08
Well, nice DrawCircle()
18:08
Who broke it?
18:08
Worked perfectly before I've updated to ddnet-master
18:12
ok, it somehow didn't clear the texture now, fixed
Avatar
Between two reality 2020-12-13 19:11:22Z
@gerdoe ohhh tnks
19:39
Avatar
@Nagi01 {LAN} what do you need
Avatar
Anyone have any experience working with massive datasets and visualising them?
20:35
I want to extract audit data from the entire teehistorian archive but it gets MASSIVE, a couple of months I can just put in json and use very naive O(n) algorithms on but even that makes my website sloow
Avatar
@Learath2 web?
20:38
i see the fancy people use R for statistics stuff
Avatar
Yep, I'm wondering how things like elasticsearch handle their massive datasets e.g.
20:39
I obv can't make the user download almost a gb of raw data to display, so I need to either paginate or precalculate at the server
Avatar
@Learath2 what exactly u want to visualize?
20:41
and what would be an example for a search query
20:41
u want to view X player run on x map?
20:42
maybe build some kind of index
20:42
idk tho im not an expert
Avatar
I have moderator actions
20:43
I want to visualize them over the "calendar" sort of like github does for your commit activity
Avatar
and ur current aproach is?
Avatar
I bundle the entire activity log and use js to filter/query it
Avatar
maybe u can extract data from AUTH_LOGIN to AUTH_LOGOUT
Avatar
O(n) filtering, O(n) lookup
Avatar
Actually I think I can make the dataset much much much smaller so I can visualize for now
Avatar
filter AUTH_LOGIN TO AUTH_LOGOUT and strip everything that isnt a CONSOLE_COMMAND(-10) ?
20:47
xd
20:47
idk
Avatar
Still want to know if anyone has any ideas working with these kinds of things though. Do you do processing on the server? How much do you send the client?
Avatar
i doubt anyone sends 1gb of data to a client
Avatar
Despite what you think I'm obviously not retarded 😄
Avatar
That is why I'm asking how people usually work with these datasets
Avatar
ddnet already works with a kinda big dataset doesnt it? ranks teamranks and the website
Avatar
that's true, we put it in a database where we can easily have indexes and we pre calculate wherever possible
20:53
We don't do much visualisation though
20:53
pepe_straight
20:54
lags a bit when u select 6 months or more tho
20:54
xd
Avatar
too much data i guess
Avatar
Is there anything I've promised to do but haven't yet? I've already wasted most of this day, might aswell waste the rest
Avatar
Дядя Женя 2020-12-13 22:07:53Z
@deen could you give me teehistorian archives?
22:11
Do you save inputs of player who did not finish map?
22:16
Probably not ...
Avatar
We save all inputs
Avatar
why do you want full access?
Avatar
Дядя Женя 2020-12-13 22:58:14Z
@deen wanna parse them and find cheaters
22:58
If you save all inouts, even when player did not finish it could show some interesting results
Avatar
I could send you some random files for starters?
23:00
or anything specific?
Avatar
Дядя Женя 2020-12-13 23:17:15Z
@deen Some files with same same exact starting input would be great
23:17
also files with and without finish
Avatar
How can I find exact starting input?
Avatar
Дядя Женя 2020-12-13 23:18:54Z
idk xD
23:19
could be on some maps maybe
23:19
but even maps when you need to hold keys will not let you have the same input as other
23:20
because it needs to be frame perfect. Cuz you're still sending inputs from freeze
Avatar
im curious how u will detect ppl who only do 1 run for their botted ranks
23:23
u could try getting known botted ranks tho
Avatar
Дядя Женя 2020-12-13 23:23:48Z
still have no idea, but we at least could easily catch stupid cheaters (edited)
23:23
and some other things
23:24
no idea for 1try speedruns for now. BUT
23:24
But if someone is doing 1try then its probably a cheater, must be checked. Especially when top5-10
23:25
@deen if you have known botted teehistorian - that's perfect
Avatar
@louis human inputs differ from machine inputs usually
23:53
in subtle ways
Avatar
replay bot is still human inputs
Exported 220 message(s)