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 2019-12-23 00:00:00Z and 2019-12-24 00:00:00Z
Avatar
Yes, but the old replays that are broken still won't play on this version, I know how to fix it, but idk a good way to put it in code
Avatar
Maybe not the right place, but timkaro trashmap is down.
09:18
@heinrich5991 ^^
09:24
@heinrich5991 hmm the slicing bug is not about time
09:26
It's about the demo recorder using it's own logic to open maps instead of the loadmapsearch logic
09:27
If you have a couple minutes it'd be nice if you could fix that one aswell, need to abstract away the search part of loadmapsearch
09:27
if not I can take a look tomorrow morning, or maybe later today
Avatar
okay, tool works now
09:30
gonna eat breakfast now
Avatar
@heinrich5991 a more correct way to fix the demos would be to actually sha the map and put that there btw, these zeroed out sha demos work but in a roundabout way 😛
09:34
but thanks for fixing them
Avatar
ChillerDragon 2019-12-23 10:40:41Z
okay, tool works now
what tool?
Avatar
ChillerDragon 2019-12-23 11:19:07Z
0.0 is it what I hope it is?
Avatar
it fixes cut demos
Avatar
ChillerDragon 2019-12-23 11:19:20Z
No way
Avatar
I don't know if we're talking about the same thing
Avatar
ChillerDragon 2019-12-23 11:19:39Z
Like if there is a wrong map in it
Avatar
ah. no
Avatar
ChillerDragon 2019-12-23 11:20:06Z
:/
Avatar
it's only about the recent bug
Avatar
ChillerDragon 2019-12-23 11:20:11Z
I really need that
11:20
The old bug
Avatar
what's the problem again?
11:20
it has the wrong map embedded?
Avatar
ChillerDragon 2019-12-23 11:20:27Z
Think so
Avatar
but the right crc?
Avatar
ChillerDragon 2019-12-23 11:20:58Z
Or the other one way around but hexedeting the crc didn’t help
11:21
It loaded a map from maps/ folder I think and not from downloaded when slicing
11:22
Block demos. Contribute to TwDemosMain/block development by creating an account on GitHub.
Avatar
ChillerDragon 2019-12-23 11:42:36Z
sick
11:42
lemme try
11:48
how long should it take? is processing since 20 secs already
Avatar
no time at all
11:48
check the developer console
11:50
@ChillerDragon do you see something there?
Avatar
ChillerDragon 2019-12-23 11:51:05Z
11:51
is is javascript?
11:51
or running on ur srv
Avatar
yes
11:51
js
Avatar
ChillerDragon 2019-12-23 11:51:23Z
lol
Avatar
do you use chrome/chromium?
11:52
(if so, maybe try firefox while I research where this error comes from)
Avatar
ChillerDragon 2019-12-23 11:52:41Z
i use firefox from debian10
11:52
i can try chromium tho
Avatar
firefox >= 69?
Avatar
ChillerDragon 2019-12-23 11:53:21Z
ah chromium worked
11:53
Mozilla Firefox 68.3.0esr
Avatar
eh
11:54
The arrayBuffer() method in the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
Avatar
ChillerDragon 2019-12-23 11:55:06Z
error message is unchanged
Avatar
now try hexediting the crc 🙂
Avatar
ChillerDragon 2019-12-23 11:55:21Z
892.79 KB
Avatar
to some known good value
Avatar
ChillerDragon 2019-12-23 11:55:27Z
ah ok
11:55
wait i need my hacker hoodie
Avatar
@ChillerDragon if it doesn't work, tell me. there's likely a bug in my tool then
Avatar
ChillerDragon 2019-12-23 12:06:50Z
im still didnt start hexediting xxd
12:06
im fighting with vim right now
12:07
any idea why my autocmds do not work with demo files :/
Avatar
autocmds?
Avatar
ChillerDragon 2019-12-23 12:08:08Z
12:08
does nothing
Avatar
I don't know about vim modding
12:08
sorry
Avatar
ChillerDragon 2019-12-23 12:08:45Z
its a simple config no modding
12:08
vanilla vim
Avatar
yes
12:08
I don't know about vim config files
Avatar
ChillerDragon 2019-12-23 12:08:59Z
rnt u vim guru?
Avatar
I use vim
12:09
I prefer to leave configs as their default
12:09
you can do it manually though:
Avatar
ChillerDragon 2019-12-23 12:09:36Z
yea i struggle to remember stuff tho
12:09
so much typing
Avatar
:%!xxd
Avatar
ChillerDragon 2019-12-23 12:09:49Z
ikr
12:10
12:10
i dont get why all these files work
12:10
and even !touch foo has no effect on .demo files
Avatar
file type is probably not decided by filename extension
Avatar
ChillerDragon 2019-12-23 12:11:29Z
yes ofc
12:11
thats why my bash scripts get detected withoiut extension
12:11
by shebang
12:11
so i have to parse the demo magic from tw xxD
Avatar
idk
Avatar
ChillerDragon 2019-12-23 12:12:06Z
i think ur right
12:12
why is twdemo not a offical vim filetype yet? troll
Avatar
Is there a neat way I can view binary files as hex in Vim, and save it back to binary from the hex?
Avatar
ChillerDragon 2019-12-23 12:14:15Z
ah cool
12:14
thats neat and way more elegant as i had my setup planned xd
12:16
12:17
sexy with syntax highlight
12:25
no gui error
12:25
nothing happens
Avatar
but it loaded 🙂
Avatar
ChillerDragon 2019-12-23 12:26:22Z
it loaded some map
12:26
from my maps folder
Avatar
yep
Avatar
ChillerDragon 2019-12-23 12:26:31Z
but i could not watch the demo :/
Avatar
that's a good sign.
12:26
yes, I'll look into it
Avatar
ChillerDragon 2019-12-23 12:26:38Z
ok cool
12:26
love u
Avatar
@ChillerDragon try again pls
Avatar
ChillerDragon 2019-12-23 12:57:52Z
[2019-12-23 13:57:43][demo_player]: 'demos/TwDemosMain/block/BlampChill/broken_map/hexedit.demo' is not a demo file
12:57
did i mess up the hexedit? xd
12:59
yes i did!
12:59
@heinrich5991 omg ur tool worked
12:59
ur a hero ❤️
Avatar
nice to hear that it works 🙂
13:00
no problem
Avatar
ChillerDragon 2019-12-23 13:08:01Z
would it be hard to turn that into a cli tool=
13:08
it takes ages to upload them all
13:11
oh and @heinrich5991 how does it work? I did not know that it is possible to remove the map from a demo o.O And why do i have to fix the crc? And if i update my maps folder do the demos break again?
Avatar
0ed9767 Dont send test rcon commands to the client when testing is off - fokkonaut
Avatar
^ with this commit testing commands wont get sent to the client when sv_test_cmds is 0. Also, when writing a test cmd manually it will say No such command. And the commands dont show up in the access_status command
Avatar
if you place speedups at the world border they arent visible beyond that point but they still work
Avatar
@ChillerDragon no, it wouldn't be too hard
14:05
still need it?
Avatar
ChillerDragon 2019-12-23 14:25:40Z
yes 🙂 @heinrich5991
Avatar
how many maps is it?
Avatar
ChillerDragon 2019-12-23 14:25:49Z
i just wrote a tool that updates the crc so i could fully automate
Avatar
*demos
Avatar
ChillerDragon 2019-12-23 14:26:04Z
the folder i sent
14:26
its like 15 i think
14:26
but probably more somewhere
Avatar
so 20ish? ^^
Avatar
ChillerDragon 2019-12-23 14:26:15Z
yea
Avatar
I think it's faster to do it by hand than by rewriting the code 😛
14:26
what I do isn't magic, you can do that too, if you want to extend your python script
Avatar
ChillerDragon 2019-12-23 14:26:53Z
but its so annoying i always forget which i had alrady
14:27
wat python script?
Avatar
3:25 PM] ChillerDragon: i just wrote a tool that updates the crc so i could fully automate
Avatar
ChillerDragon 2019-12-23 14:27:15Z
ah
14:27
ye i am bash main
Avatar
can you show me the script?
Avatar
ChillerDragon 2019-12-23 14:55:16Z
Some helpers for the game teeworlds written in bash - lib-crash/lib-teeworlds
14:55
Some helpers for the game teeworlds written in bash - lib-crash/lib-teeworlds
14:55
its basically one line xd
14:56
well it was 32 demos/ but i finished it manually now so all fine. I do not know how many demos are affected but i hope those were the majority (edited)
14:57
yikes i wanted to do @Learath2 style and then discord edited the message^ rip irc
GWpingSock 1
Avatar
I think writing this stuff in python would be easier tbh
Avatar
ChillerDragon 2019-12-23 15:03:03Z
maybe but i like bash
Avatar
justabutterflier 2019-12-23 19:14:12Z
here is 2 ways 1) i'm blind and can't see the general channel 2) general channel was deleted does someone know discord or something of Jupeyy? (edited)
Avatar
@justabutterflier #general
Avatar
justabutterflier 2019-12-23 19:19:13Z
@Soreu thats this was muted 0.0
Avatar
I want to know how to properly fix the libcurl-debian disaster
21:05
I'm out of persons to ask for help, does someone know a good place where to start asking/reading/etc.?
21:07
(situation is: although libcurl is generally backwards-compatible, debian decided to tag its symbols with a version which makes it incompatible with all other distros because they don't tag libcurl symbols with versions. I'd like to know whether one could drop that version info somehow, make the linker ignore the version info or some other way to resolve the situation)
Exported 154 message(s)