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-05-11 00:00:00Z and 2019-05-12 00:00:00Z
Avatar
Just makes sense to me. Here's how my original entities look like: Scale 100 !Original entities scale 100 Scale 60 !Original entities scale 60 'FROM' is covered anyways.. Ideally it would be best to remake original entities but that's a whole other topic.. ![NotCentered](https:/...
Avatar
@fokkonaut it doesn't happen with ddnet server, but it doesnt seem related to the client (still happens with an older client). I also managed to get the same problem on your server by just placing lots of weapon pickups in a map
01:25
but ddnet-server also gets problems when you create enough entites, so I think the map is reaching some kind of limit. but I dont know how snapshots/snap-id's work, so I dont know where to look. if you want to debug you could perhaps look at SnapNewItem in projectile.cpp
Avatar
Wow, thats good to know. Can anyone help at this point?
04:45
@Learath2 ok ^^ :c
Avatar
@Learath2 why would freetype crash for not being able to load a glyph
07:53
@jao rip no dark theme for git just this shit https://github.com/features/package-registry
With GitHub Package Registry you can safely publish and consume packages within your organization or with the entire world.
07:55
do u actually load text glyphs everytime instead of loading all them once on startup?
08:13
51ba68e Don't show id for echo messages - 12pm eb0eba1 Merge #1715 - bors[bot]
Avatar
b059ac2 Show Alpha only if it's relevant - Learath2 82e6d18 Use % and ° - Learath2 0dd67c9 Abbreviate alpha - Learath2 e608e2f Add Hex display - Learath2 b2f92b0 Show the correct button when paused - Learath2 b03dad7 Merge #1714 #1719 - bors[bot]
Avatar
hmmm
09:07
09:07
xd
Avatar
ChillerDragon 2019-05-11 09:07:47Z
xd
Avatar
how can I read a demo file?
Avatar
@archimede67 wdym by read
09:29
fopen("x.demo", "r")
09:29
parsing is another story
Avatar
yea parsing
09:29
reading ik how
Avatar
good luck
Avatar
ChillerDragon 2019-05-11 09:29:38Z
uff
Avatar
but how dies it works?
09:29
does*
Avatar
ChillerDragon 2019-05-11 09:29:47Z
ya and if u figured that out pls fix my broken demos 😃
Avatar
u have to look at source code
09:29
map format is a bit mehh
09:30
i never looked into demo format
Avatar
i looked
09:30
but i could not understand anything xd
Avatar
ChillerDragon 2019-05-11 09:30:25Z
same xd
Avatar
then give up xd
Avatar
no 😦
Avatar
ChillerDragon 2019-05-11 09:30:31Z
dont
Avatar
if i know how the data is stored
Avatar
what do you needs this for
Avatar
making a tool
Avatar
ChillerDragon 2019-05-11 09:32:17Z
@jao if u cut demos and have the map in folder already the files get currpted so if someone could build a tool that updates the demos to use the correct map agian this would save me 4years of demo collecting 😃
Avatar
a demo montage tool
Avatar
ChillerDragon 2019-05-11 09:32:35Z
pls fix jao
Avatar
and it would allow you to export a demo to another video format
Avatar
not that easy
Avatar
but i need to know how you play the actual demo
Avatar
ChillerDragon 2019-05-11 09:33:21Z
how can i combine optional arguments with infinte arguments? -.-
Avatar
playing involves rendering
Avatar
yea
09:33
but rendering involves data
Avatar
ChillerDragon 2019-05-11 09:33:38Z
09:33
send brain xd
Avatar
ChillerDragon 2019-05-11 09:34:15Z
i want optional clientid followed by ...
09:34
does that even work?
Avatar
demos don’t look for sha256 downloaded maps
09:34
that’s so annoying
Avatar
i think to get demo first u need to parse map
Avatar
@archimede67 start by looking at hmhs pr
Avatar
i once started smth i should finish it but im to lazy https://github.com/Ryozuki/teelib/blob/master/teelib/map/loader.py
A teeworlds library for python. Contribute to Ryozuki/teelib development by creating an account on GitHub.
Avatar
does it work already?
Avatar
oh
09:38
@jao he used the demo player which is already in ddnet no?
09:39
you could make it in the client too
09:39
less work for you
Avatar
yea
09:41
but
09:41
its pretty old
09:43
Avatar
demo stuff hasn’t changed much
Avatar
ChillerDragon 2019-05-11 09:43:50Z
it only got worse since then :p
Avatar
chiller got worse
09:44
ww
Avatar
ChillerDragon 2019-05-11 09:44:11Z
its a fact that ddnet demos became pretty buggy
Avatar
chiller you broke mute
09:44
so fokko up
Avatar
fix it
Avatar
ChillerDragon 2019-05-11 09:44:24Z
doent mean i can rant other bugs
Avatar
everybody rants bout bugs
Avatar
ChillerDragon 2019-05-11 09:46:49Z
09:46
MACRO POLO
09:46
xd
Avatar
lul
09:53
this https://ddnet.tw/maps/?map=Skyventure is somehow parsing maps right?
Avatar
y but its not perfect and it doesnt have animations
Avatar
hmm
Avatar
OpenGL_GL_PREFERENCE must be LEGACY instead of GLVND otherwise i get a error complaining that glEnable is undefined
Avatar
I have headaches working with GUIs
Avatar
hooow does HSplitBottom and HSplitTop works xd
Avatar
219d6dc Explicitly filter finished maps - 12pm a84649c Merge #1723 - bors[bot]
Avatar
entities size 1 crashed my client
Avatar
already reported i think
Avatar
Omg i finally understood how the Split things works xd
14:36
@Im 'corneum can you maybe provide any information where crash happened to you in code ?
Avatar
@BannZay you need to clamp FontSize to 1
14:42
in AdjustFontSize
Avatar
@jao did you tried out this? I cant check it 😦
Avatar
yes I tested it
Avatar
@jao okay, thank you
Avatar
and while you're at it you can rename WidthOfText to TextWidth
Avatar
makes sense
Avatar
the thing has more issues btw
Avatar
tw needs monospace font (option)
Avatar
or at least monospace font for that 😮
Avatar
@jao I would gladly like to know about those issues
Avatar
numbers aren't fit to the tile
14:55
aren't positioned well
14:55
and anything below 40-50% is unusable
Avatar
numbers aren`t fit to the tile since DDNet exist I believe
14:56
positions needs to be discussed, If you know better way we can discuss it
Avatar
@jao In fact my project was to have a demo tool as a webapp as teeweb is a thing, but the only problem is that demo file format
Avatar
I believe before your change they were fitting
Avatar
resolution below 800x600 also unusable but it doesnt mean we should disallow it (edited)
Avatar
and even if they weren't, they should
14:57
we can tho
14:58
what's the point in allowing it
Avatar
@jao can i report a mod?
Avatar
@jao because it might be usable for some reason that you dont know. Anyway, I dont see it as a problem
Avatar
for what reason would a non readable number be useable
14:59
it's contradicting
Avatar
@jao you changed the concepts
Avatar
@archimede67 why as web tool?
15:00
@BannZay concept of what?
Avatar
it depends on what teewolrds run. If you have plasma on whole wall will you be able to read that text?
15:01
anyway lets not discuss it there
Avatar
if you are playing on such a resolution you will be zoomed out far and then the numbers become unreadable as well
Avatar
@jao can you provide your solution of this "problem" maybe ?
Avatar
remap the percentage scale to something more reasonable
15:02
like 40-100
Avatar
@jao and how it is better ?
Avatar
@jao because i know much more web languages such as Javascript than C++ xd
Avatar
@BannZay you prevent unusable settings
Avatar
and also because i you just jump into ddnet's code, you take a very long time to understand what is what and what is doing what etc
15:04
and i dont even know how to add a lib such as ffmpeg and how to use it to record the demo with c++ xd
15:04
or at least with all the ddnet's code
Avatar
monospaced fonts > any other fonts
Avatar
this is 50% size and for me that's the smallest acceptable size
Avatar
yde
15:05
ye*
Avatar
this is 10%
Avatar
what is accepatable?
Avatar
30% for me is very acceptable
15:05
Im gonna use it
Avatar
show screen pls
Avatar
dont use your own vision as a truth please
15:06
screen?
15:06
you want me to take a photo?
Avatar
@jao number is wrongly positioned right
Avatar
of how 30% looks for you
15:06
@Ryozuki that too
Avatar
"a photo" just take a screenshot lol
15:07
you will se it on your own monitor
15:07
whats the point of it?
Avatar
30% is so small in relation to the tile
15:07
I can't believe anyone would use that
Avatar
I will
Avatar
@jao omg jao dont tell ur opinion or i get angry, if i say 30% it will be 30%
Avatar
it's even smaller than the tile label
Avatar
who said it should not be ?
Avatar
is it adjustable?
Avatar
good luck reading this lol
Avatar
are u taking into account ppl with some eyesigh dificulties
Avatar
this is zoomed in
Avatar
eyesight
Avatar
does it helped?
Avatar
that shit is too small
Avatar
it doesnt look zoozed in and he might also have gfx_high_dpi 1 (?)
Avatar
that settings doesn't exist
15:10
**
Avatar
doesn't exist either
Avatar
gfx_highdpi does (edited)
Avatar
xd
Avatar
what client are you on
Avatar
ddnet 10.6.2
Avatar
doesn't exist in latest
Avatar
you don't want to be up to date or is the latest versions buggy for you?
Avatar
mostly buggy/lower fps
15:12
i havent tried every single version since then but ive tried several
Avatar
@BannZay look at speeder text with 30% size, you can't tell me that's readable for you
15:13
at default zoom
Avatar
why we even changing it
15:13
it was all fine
Avatar
oh ok ^^
Avatar
@jao allright you win, I changed it to 40%
Avatar
@archimede67 they complain they get worse perfomance or shit so they dont update, b ut they dont report what is the problem
Avatar
but I see no reaseon to disallow it
Avatar
@archimede67 it can also be a senseless hate like konsti saying he dislikes sdl2
15:14
and that sdl1 is better
Avatar
@archimede67 the version after 10.6.2 introduced some weird settings bug on osx where resolution doubled every time u restart, and by the time they had fixed this bug there seems to be a new thing that causes unstable fps for me lol
Avatar
who plays on osx
Avatar
@archimede67 r u on linux
Avatar
rn no but mostly of the time yes
Avatar
and u
Avatar
im on my debian master race distro
Avatar
master race
Avatar
xd
15:22
How to make the button "Ok" actually exports the demo as mp4 file?
Avatar
lol u cant
15:23
it exports another demo
Avatar
no becoz i did this
15:23
but the only thing missing
15:24
is the code here
15:24
Avatar
put your code in there
15:24
if you press ok or enter it will execute
Avatar
i know that 😂
15:25
what i don't know is what code to put in
Avatar
what u trying to ask then
Avatar
demo to mp4 is not done
15:25
u have to do it urself
😂 1
15:25
use ffmpg library
Avatar
ik 😦
15:25
ye but
Avatar
u want us to do it for u?
Avatar
yes
Avatar
font be fokko 2.0
15:25
dont*
Avatar
fokko the shit up
Avatar
no actually, i don't have any idea how i should do that
Avatar
why is my ghost just a gun
lol 1
Avatar
maybe game guess you are nothing
Avatar
it requires work, and u must use https://ffmpeg.org/
Avatar
I looked at H-Client
15:27
They didn't add that much to make a demo to mp4
Avatar
does it add sound and fps option
15:28
and quaility and shit
Avatar
demo to mp4 sounds like a great thing
Avatar
i think there's an FPS option
15:29
There's the size of the video
15:30
The speed
15:50
what's ur value?
Avatar
ty fixed
Avatar
np
Avatar
Guys i was wondering if it is possible go teleport people by name instead of id. My name is always the same so i can bind tele n000b n000b. But i cant do i with id because i can't choose which one i get.
Avatar
we should add a $0 and $1 fomr binds
15:57
for binds
15:57
$0 is main id $1 dummy id
15:57
@jao do it
Avatar
just open other client better xD then (edited)
Avatar
you can do tele without any arguments @n000b, it will do exactly that
Avatar
just shut up
Avatar
tele you to yourself
15:58
bind x rcon tele
Avatar
my suggestion is still gud
15:59
$0:name $0:id $0:flag $:clan
Avatar
$ is already used for hex values
Avatar
any other token is ok
Avatar
@jao only works if you got id 0
Avatar
@n000b works for any id
Avatar
@jao well not on the trashmap servers
Avatar
on ddnet it does
Avatar
But ddnet is trashmap or?
Avatar
Hmm lwt me try on ddnet servers then
Avatar
I just tryed on the test servers and i couldn't do it there
Avatar
I do this every day
Avatar
You always id 0
16:06
it works for my dummy as well
Avatar
Bind 1 rcon tele only works for me if i am id 0
Avatar
are you on an up-to-date ddnet server?
Avatar
ChillerDragon 2019-05-11 16:07:52Z
bois send help
16:07
i might be a lill drunk
16:08
but how does vim work? xd
Avatar
12.4.1 is latest
Avatar
ChillerDragon 2019-05-11 16:08:25Z
Avatar
Hmm cant be the problem
Avatar
ChillerDragon 2019-05-11 16:08:36Z
shouldnt it open an editor?
Avatar
maybe your bind has a typo
16:08
bind x rcon tele
Avatar
ChillerDragon 2019-05-11 16:10:49Z
dfq @Ryozuki is this some debian10 magic is ur vim still working=
Avatar
Well seems like it is no typo
Avatar
y my vim works it is ur problem
Avatar
But i dont have a clue
Avatar
@n000b f1 -> dump_binds x
16:11
what does it say
Avatar
ChillerDragon 2019-05-11 16:12:08Z
if i type vim i return to shell
16:12
16:12
i didnt do :q or aynthing
16:12
Avatar
Binds 1 (30) = rcon tele
Avatar
ChillerDragon 2019-05-11 16:13:01Z
dont get a error code either
Avatar
@n000b do you have access to the tele command
Avatar
ChillerDragon 2019-05-11 16:13:32Z
nvm
16:13
i had crap in my vimrc sorri xxxxxxxxD
16:14
doesnt it throw an error msg if vimrc is meesed up
16:14
i even restarted my laptop xxxxxxD
Avatar
@jao it works if i am id 0 so yes
Avatar
works perfectly fine for me on whatever id I am so this is you doing something wrong
Avatar
Lol, i gonna investigate this lol. I am definitely not doing something wrong here.
Avatar
it's serverside, it wouldn't work for me either if it was a bug with the command
Avatar
Hmm i dont understand it anymore. Now i can't teleport on trashmap with that bind, but i can on ddnet test servers
16:27
My settings are buggy i guess
Avatar
ChillerDragon 2019-05-11 16:28:43Z
I have no idea how to create settings that work on trashmap but not on ddnet test
Avatar
trashmap doesn‘t have the patch that accepts tele without arguments
Avatar
ChillerDragon 2019-05-11 16:30:14Z
ahk so trashmap is not latest
Avatar
a6a33bf Restore old team colors - 12pm 1c99b7e Merge #1725 - bors[bot]
Avatar
Do you think it actually worked?
16:43
Avatar
@Ryozuki fokko 2.0?
Avatar
0353eb9 fix zero fonsize - Andrii Vynychenko 3f41eab Merge #1724 - bors[bot]
Avatar
:S
Avatar
how
17:16
can i run a system command without having the cmd opening?
Avatar
@fokkonaut
Avatar
Avatar
@jao u
Avatar
[quakenet] Ryozuki BOT 2019-05-11 18:55:35Z
\
18:55
@Ryozuki test
18:56
ez ping from irc
Avatar
[quakenet] Ryozuki BOT 2019-05-11 18:56:38Z
@Unknown
Avatar
[quakenet] Ryozuki BOT 2019-05-11 18:56:52Z
being smart
18:56
like me
18:56
thats how
18:56
joke just do
Avatar
<@userid> ?
Avatar
[quakenet] Ryozuki BOT 2019-05-11 18:57:04Z
<@977394377729024 00> test
Avatar
i forgot channel formatting
Avatar
<#channelid>
Avatar
[quakenet] Ryozuki BOT 2019-05-11 18:58:49Z
#developer
18:58
#developer
18:59
good
19:18
Anything else that needs fixing? I have 2 hours before I pass out
Avatar
accout system GWqlabsFeelsLULMan
Avatar
ah yes, the perfect two hour project
19:21
u may do it in one hour so u can fix the ddos then (edited)
Avatar
@jao where can i find all the libraries that hmh used for his work?
Avatar
i'm using his video_rebased2 branch (edited)
19:33
he didn't add the libs on that branch or?
Avatar
why am I not able to update to 12.4.1? It says 'update failed! check log...' First time this problem occured to me
Avatar
@archimede67 dont do it based off hmh work
19:48
its ancient it uses bam
19:48
u need to add a cmake module to find ffmpeg
19:48
then add it to cmakelists.txt
Avatar
he did that
Avatar
if ur on windows rip
19:49
its so muhc hassle to setup libs there
Avatar
ye
19:49
windows is shit
19:49
idk
19:50
its too much pain
Avatar
i'm doing dis
20:03
20:06
but the problem is that it creates a cmd that pops on top of the game 😦
Avatar
dont post code as screen mate
Avatar
whats better?
20:11
ik screen are shit but idk what u prefer
Avatar
idk hastebin or smth
Avatar
hm k
20:36
what u doing
20:36
use the ffmpeg lib
20:36
not the cli
Avatar
i'm trying
20:37
things
Avatar
Does someone know what the command inp_grab does? For me it does not change anything mouserelated. Im on ddnet 10.6.1
Avatar
wtf is this doc
21:37
Avatar
u r looking at the wrong place
21:37
look at ffmpeg doxygen
Avatar
oohh thanks xd
Avatar
@Shyzo I don't think it does anything? We removed it some time ago
21:50
i believe that this is either a bug or a glitch
21:51
idk why did it ping me
Avatar
@deen okay. Yea i dont think either. But what was it supposed to be for?
Avatar
@Alexander hi absoliwt
Avatar
@jao its not absoliwt
Avatar
I'm joking 🙄 (edited)
Avatar
no im rayten
22:20
jk
Avatar
@archimede67 the idea is to feed the frames to ffmpeg
22:32
instead of rendering them to the screen
Avatar
Why doey CCharacter has its own NetworkClipped() function, if CEntity has the same?
Avatar
maybe we clip characters differently?
Avatar
Oh really
Avatar
i don't know it's a guess
Avatar
there is one line different (for showall)
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
probably, but utf-8 is "compatible"
22:41
it should work like this aswell
Avatar
getting hightlighted for the wrong name?
Avatar
several people on my server reported this same bug yesterday btw
22:42
that or maybe jao is absoliwt
Avatar
I have 2 ideas
Avatar
yes wrong highlight
Avatar
1 is it is the utf8 comparison
22:43
2 is if it happens for every message it could be the color :/
22:44
but I'm currently overly paranoid about the color stuff
Avatar
no it doesn't happen consistently (edited)
Avatar
[chat]: Skeith: noby: It was highlighting me as one person and then that person left and then another person joined [chat]: Skeith: and then it was highlighting me as that person
22:48
it could also be a messed up client id
Avatar
that's what I thought
22:50
ill go see if i can find the demo
22:54
The demo says it was ID 3, it didn't show I was being highlighted in the demos though.
22:55
Dunno if that's useful information or not, gl
22:58
Both people I was being highlighted for both had client ID 3, the first person left and the other person took his place
Avatar
and your id
Avatar
gimme a sec
22:59
2
Avatar
then it's probably that
Avatar
m_pClient->m_LocalIDs[0] seems to end up wrong i guess
Avatar
wouldn't that break more stuff
Avatar
no idea, i feel it should but apparently it doesn
23:02
t
23:02
as that's the only thing I see that could go wrong
Avatar
fwiw ive had the same bug happen on my old version of ddnet too but its extremely rare and mostly seems to happen when i play without a name and i figured that was the cause
23:04
ive never seen it happen more than once in a game tho
Avatar
how does the id end up wrong anyways
Avatar
idk, i reached that conclusion from the fact that LineShouldHighlight is a small function that is called only a couple times
Avatar
I was playing with dummy
23:44
So idk if it highlighted it for my dummy or me
23:45
I copied absoliwt's name, went to another server, connected dummy and tried to paste absoliwt's name and it did nothing
Exported 458 message(s)