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-07-21 00:00:00Z and 2020-07-22 00:00:00Z
Avatar
How does fast download work in ddnet server? is it only available for ddnet clients? how can i implement it for my 0.7 server? i have been trying a while now, but nothing really worked
Avatar
https based with fallback to the old ddrace fast dl
06:52
from maps.ddnet.tw
06:52
but we just inherited the ddrace fast dl, i never read the source code
Avatar
[quakenet] ChillerDragon BOT 2020-07-21 07:56:30Z
git gut at noscoping @pinkrat
07:57
@deen so maps have to be hosted at maps.ddnet.tw to support fast dl? And server could also be a vanilla server huh?
07:57
@fokkonaut rls BlmapChill on ddnet lmao
Avatar
ᶰ°Konͧsti 2020-07-21 08:10:45Z
They have to be hosted to heinrich5991
08:21
We just sent chunks before being asked
08:25
(you should probably implement it the new way, send a lot of chunks when requested, instead of this weird way of sending them in pumpnetwork)
08:27
Actually looks like ddnet broke fastdownload long ago
08:32
Doesn't this only send mapwindowmany chunks at the start then fall back to sending the chunks slowly?
08:35
Also looks like it wouldn't work well at all, when you send the chunks, the client will send requests for +1 of each, the old implementation dropped these requests
Avatar
ᶰ°Konͧsti 2020-07-21 08:45:19Z
Chunks :O gras gold emarald dia Holzaxt iron red
Avatar
uf, I see what you did, sort of tricking the client into asking for (mapwindow + 1) chunks at a time
08:49
Looks prettier but I think it's much more convoluted than what we had before
Avatar
hm? what is it you don't like about the new implementation?
09:25
we always send n chunks ahead
09:25
where n is the map window
Avatar
Used to be that we just sent the chunks, now we rely on the client asking for them
Avatar
I see, now we're relying on one specfic download implementation
09:34
that always sends requests for (n+1) when receiving n
Avatar
I guess it's a fair assumption, not as easy to read
Avatar
should we make ddnet minecraft server?
Avatar
Wait for Hytale poggers
Avatar
chillerdragon had one
11:41
dont know if its still running
Avatar
[quakenet] ChillerDragon BOT 2020-07-21 12:24:28Z
sure lgl.zillyhuhn.com is the official teeworlds minecraft server :D
12:24
latest vanilla version and ofc no rules or admins as any good game server
Avatar
what is griefing
Avatar
[quakenet] ChillerDragon BOT 2020-07-21 12:25:13Z
the cycle of life @heinrich5991
12:27
spawn also tends to get a bit destroyed but due to the low inactivity the server is still chill https://zillyhuhn.com/img/lgl.png
Avatar
what is this huge mountain?
12:31
manual work?
Avatar
[quakenet] ChillerDragon BOT 2020-07-21 12:32:37Z
lavacast
12:32
spill sume wadda and then some lava then start over
Avatar
ah, nice idea
Avatar
2b2t is the endgame of lawless wastelands
Avatar
[quakenet] heinrich5991 BOT 2020-07-21 12:59:39Z
2b2t?
Avatar
2builders2tools (2b2t) is a Minecraft multiplayer server founded in December 2010. 2b2t is the oldest anarchy server in Minecraft, as well as one of the oldest running servers of any variety. 2b2t's world is also one of the longest-running unaltered server maps in the game, wh...
Avatar
Shows you that anarchy, truly is the most idiotic way to govern anything
13:34
Can't even work in the smallest of scales, a minecraft server
Avatar
no 2b2t works
13:35
u dont have to worry about hackers getting an unfair advantage
Avatar
[quakenet] ChillerDragon BOT 2020-07-21 13:43:25Z
2b2t isnt too small its bigger than teeworlds @Learath2 and it works well
Avatar
Ah yes, that's how I'd define working well. The entire server is a desolate wasteland for tens of thousands of blocks, anything built that can survive past 3 days is considered a success
13:47
I long yearn for the day that we use anarchy in my country so that people can vandalise my house
justatest 1
Avatar
just walk out far enough
Avatar
@Learath2 well u dont have ur life at stake on a minecraft server "anarchy"
14:36
im sure real world anarchy would be pretty different
14:36
i imagine it like full of mafias
14:36
or maybe not
Avatar
[quakenet] Learath2 BOT 2020-07-21 14:37:09Z
it'd end up reinventing proper societal rules again
Avatar
btw did u know catalonia in its 30' is one of the closest examples of anarchy
14:37
Anarchism in Spain has historically gained much support and influence, especially before Francisco Franco's victory in the Spanish Civil War of 1936–1939, when it played an active political role and is considered the end of the golden age of classical anarchism. There were sev...
14:37
Revolutionary Catalonia (21 July 1936 – 1939) was the part of Catalonia (autonomous region in northeast Spain) controlled by various anarchist, communist, and socialist trade unions, parties, and militias of the Spanish Civil War period. Although the Generalitat of Catalonia w...
14:38
Homage to Catalonia written by George Orwell (the same as 1984) explains some of it iirc
14:38
cuz he went to catalonia to fight in the war
Avatar
[quakenet] Learath2 BOT 2020-07-21 14:38:41Z
As long as there are groups of people that have advantages over others, you end up creating something the sorts of modern government
14:39
Hm, don't know much about the 30s, should be interesting to read
Avatar
well its spain/catalonia history
14:40
so probs nobody knows it outside here
14:40
i always find it amazing that George Orwell came here
Avatar
[quakenet] Learath2 BOT 2020-07-21 14:41:07Z
it's interesting to read about others history
Avatar
@Learath2 I tried the way of heinrich, I found that commit too. But for me the errors error sending data or too weak connection happened
Avatar
The discord debugger is out of commission, please try again later
Avatar
[quakenet] ChillerDragon BOT 2020-07-21 15:02:50Z
irc debugger works 24/7
Avatar
Yeah already have it everywhere
Avatar
oh nice
15:20
any other nice stuff you have?
Avatar
pwntools is quite useful
Avatar
ah yea, I use that for exploit devel, too
15:22
it's quite annoying though, destroys your terminal, checks online for updates if not opted out of
Avatar
yeah, the downfall of overambitious projects
Avatar
[quakenet] ChillerDragon BOT 2020-07-21 15:35:08Z
@Learath2
15:35
"Yeah already hav it everywhere"
15:35
busted didnt u yell at me for having a gdb extension while not doing exploits? :D
Avatar
[quakenet] Learath2 BOT 2020-07-21 15:38:56Z
I disable it when I'm not doing debugging at the assembly level
Avatar
i was searching through the wikipedia and i found this https://en.wikipedia.org/wiki/Z-order_curve, i searched a bit and if i understand correctly this can be used for tilemaps to know the render order of tiles? i also found this one https://en.wikipedia.org/wiki/Hilbert_curve
A Hilbert curve (also known as a Hilbert space-filling curve) is a continuous fractal space-filling curve first described by the German mathematician David Hilbert in 1891, as a variant of the space-filling Peano curves discovered by Giuseppe Peano in 1890.Because it is space-...
15:41
justatest
Avatar
Why would you need a space filling curve?
15:44
It's good for cache performance
Avatar
that gdb extension looked fine for source based debugging as well
Avatar
@Learath2 i found it being used in a tilemap implementation of a game engine
Avatar
@heinrich5991 the disassembly and the register view take up a lot of space that's usually not very useful
Avatar
fair
15:44
have you seen the heap bins command?
15:45
looks very cool for developing heap exploits
Avatar
https://forums.tigsource.com/index.php?topic=40832.msg1173956#msg1173956 this is what I thought of when I first saw the hilbert curve
Return of the Obra Dinn [Releasing Oct 18]
15:51
btw this devlog is an absolute goldmine, the guy is seriously brilliant
15:52
@heinrich5991 heap bins does look useful, didn't get to use it yet though.
15:53
Oh another interesting gdb plugin is "exploitable"
15:53
I used it quite a bit when trying to fuzz squirrel
Avatar
link?
Avatar
The 'exploitable' GDB plugin. I don't work at CERT anymore, but here is the original homepage: http://www.cert.org/vuls/discovery/triage.html - jfoote/exploitable
Avatar
how does it do it though
15:55
couldn't find anything specific in the readme
Avatar
When you get dozens of crashes from afl, it's nice to get an initial filter
15:56
"exploitable iterates over a list of ordered "rules" (lib/rules.py) to generate a Classification (lib/classifier.py). If the state of the application running in GDB matches a rule, exploitable adds a corresponding "tag" to the Classification."
15:57
It obviously is as good as it's rules
Avatar
do you have an example of what it outputs?
Avatar
uuuh, if the vm still works I can get you an example
Avatar
'Science should not stand in the way' of [redacted], White House Press Secretary Kayleigh McEnany says
(edited)
16:01
nice quote…
16:01
[redacted] by me
Avatar
gef➤ exploitable Description: Access violation near NULL on destination operand Short description: DestAvNearNull (15/22) Hash: 2b14aaf0d3d1ceb3f10f835abd375541.9dd223ea44a31949257512f2e8893d35 Exploitability Classification: PROBABLY_EXPLOITABLE Explanation: The target crashed on an access violation at an address matching the destination operand of the instruction. This likely indicates a write access violation, which means the attacker may control write address and/or value. However, it there is a chance it could be a NULL dereference. Other tags: AccessViolation (21/22) Sorry irc cba to paste it in a site 😦
Avatar
ah nice
Avatar
4d496f6 Polish update by TortiLeq - def-
21:57
[ddnet/ddnet] New branch created: def--patch-1
Avatar
I have the feeling Sixup sounds are doubled for other players, just by looking at the code
23:14
0.7 handles sounds for Hook attaching to players/ground/nohook clientside, for all players
23:15
so this PR should work for yourself, but if you are a 0.7 client and someone else hooks you or anybody close to you, I think you should hear 2 sounds
23:15
check out vanilla/gameclient.cpp, ProcessTriggeredEvents and where its getting called (same file)
23:16
also, 0.7 vanilla doesnt send any hook sounds to the client, this is just a guess, I cant test it right now
23:17
So we would need a NonSixupTeamMask, excluding all Sixup players for these hook sounds
Exported 124 message(s)