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 2021-09-17 00:00:00Z and 2021-09-18 00:00:00Z
Avatar
chillerdragon BOT 2021-09-17 10:24:06Z
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/datatypes.py at 13a8dfa3079f52888984480eff99fdfcf4844e89 · ddnet/ddnet
kek 1
10:24
is "bah" some technical term?
Avatar
chillerdragon BOT 2021-09-17 10:26:58Z
good meme then
Avatar
is IME a mode that has a unique distinctable from normal input start event and end event? Like do you always know exactly when you start and stop typing IME stuff?
12:06
@TsFreddie in your vanilla IME, do you block any kind of other input while in IME? E.g. changing the cursor by clicking the mouse somewhere and stuff like that
Avatar
chillerdragon BOT 2021-09-17 12:08:52Z
Can someone give me a hint on how to debug fps drops?
Avatar
Avatar
Deleted User
@TsFreddie in your vanilla IME, do you block any kind of other input while in IME? E.g. changing the cursor by clicking the mouse somewhere and stuff like that
i don't think mouse events are blocked
Avatar
would that not break anything?
Avatar
chillerdragon BOT 2021-09-17 12:09:38Z
I played multieasymap for 20 minutes with lastest master ddnet client. Started with 400 fps now my main tee dropped down to 70 and my dummy still has 400
Avatar
moving the cursor while in imE?
Avatar
ime will just follow
Avatar
complicated af we really need more robyt3 and tsfreddie xd
12:10
that port all these crazy stuff to ddnet
Avatar
or close itself due to a SDLStopTextEdit or something like that
12:10
at least on windows
Avatar
ok, yeah i thought about just disablling all events while in IME, since that makes it most ez, but i cant even test it xd
12:11
so rip
Avatar
just learn chinese or japanese
12:11
ez
Avatar
lol so ez
12:12
chillerdragon: search the internet if any profiler supports signaling doing a new frame so you have like a graph per frame or smth
Avatar
chillerdragon BOT 2021-09-17 12:12:57Z
there are other profilers than gprof? :D
Avatar
maybe callgrind supports smth like this, i really dunno xd or can you maybe trigger the profiler only after a certain event?
12:13
so you can only enable it after 20minutes and see what causes most CPU time
12:14
or look if its a memory leak, e.g. looking if you RAM increases
Avatar
chillerdragon BOT 2021-09-17 12:14:36Z
can you reproduce?
12:14
or is it just me?
Avatar
i dunno, havent really tested, is it real ddnet, or your own client?
Avatar
chillerdragon BOT 2021-09-17 12:15:07Z
latest ddnet master
12:15
i used to think its my client or fokkonauts server
12:15
thats why i switched to pure ddnet and official ddnet servers for testing
Avatar
yeah, i bet fokkonaut tests the client to the limit xd
Avatar
chillerdragon BOT 2021-09-17 12:15:57Z
not rly
12:16
on fokkonauts server it takes a few hours to drop my fps from 400 to 200 on ddnet server i get 70 fps after 20 mins
12:16
thats highscore
12:16
lowscore* _D
Avatar
ah you already tested both
Avatar
chillerdragon BOT 2021-09-17 12:17:19Z
yas
12:17
i try not to report custom client and custom server issues here
Avatar
fps drop after a while always sounds like memory leak
Avatar
chillerdragon BOT 2021-09-17 12:17:45Z
yas
12:17
but only on dummy? :D
12:17
when i switch tee i get 400 fps again
Avatar
ah that problem again? XD
Avatar
chillerdragon BOT 2021-09-17 12:17:59Z
yas
12:18
its so old :D
12:18
but i feel like it got a lot worse
Avatar
it must be your router spamming your pc wiht packets or smth xD
12:18
cant imagine anything else
Avatar
chillerdragon BOT 2021-09-17 12:18:33Z
so i should check traffic
12:18
thats an idea
Avatar
i dunno, but sounds really like a network problem
12:18
or some really hidden bug
Avatar
chillerdragon BOT 2021-09-17 12:18:56Z
ok lemme launch client again
Avatar
bcs i never seen someone having this exact issue 😄
Avatar
chillerdragon BOT 2021-09-17 12:19:05Z
maybe with valgrind?
12:19
or how do you suggest running the client?
Avatar
honestly dunno what the best is to test this
Avatar
chillerdragon BOT 2021-09-17 12:19:29Z
htop :D
Avatar
valgrind is slow, but thats also an advantage
Avatar
chillerdragon BOT 2021-09-17 12:19:36Z
watch memory used
Avatar
bcs then the bottleneck gets an even bigger bottleneck xD
Avatar
chillerdragon BOT 2021-09-17 12:19:53Z
ah wait nice i still have client open i forgot
12:20
lemme see if i can debug network
12:21
how do i know which ports my dummys use?
12:21
image.png
12:23
oh @Deleted User on fokkonauts server restarting client and using timeout protection restored the bad fps too. That does not sound like a memory leak right?
12:23
lemme try timeout on ddnet
12:28
indeed on ddnet server with ddnet client too
12:28
using timeout code restored me with 50 fps
Avatar
timeout code for your dummy?
12:30
i mean the bad fps
12:30
are with your dummy?
Avatar
chillerdragon BOT 2021-09-17 12:30:15Z
main tee
12:30
dummy is not yet in (full serv)
12:30
ok dummy in two
12:30
too*
Avatar
so the bad fps arent related to the dummy?
12:30
then the problem sounds ez dont use /showall
Avatar
chillerdragon BOT 2021-09-17 12:31:00Z
so restored timeout code dummy is still 400 fps and the main tee loaded the 50 fps with the timeout code
12:31
i did restart my client
12:31
i need showall
12:31
how would i see other tees then
Avatar
showothers 2
12:31
in ddnet when you zoom you automatically see all tees in range
12:31
so you dont need showall at all
Avatar
chillerdragon BOT 2021-09-17 12:31:52Z
i use show all on both tees tho
12:32
but yea ur right turning off showall restored my fps
12:32
interesting
Avatar
maybe it wasnt activated yet on your dummy xd
Avatar
chillerdragon BOT 2021-09-17 12:33:15Z
but still odd tho dont u think so?
12:34
i can join and zoom out the full map
12:35
my zoom bind activates show all
12:35
and still stay at 400
12:35
[2021-09-17 14:34:41][client]: delta unpack failed! [2021-09-17 14:34:41][client]: delta unpack failed!=-1 [2021-09-17 14:34:43][client]: delta unpack failed!
12:35
yikes
Avatar
doesnt sound good
12:35
is that on ddnet?
Avatar
chillerdragon BOT 2021-09-17 12:35:44Z
yes
12:35
what do you know about showall?
12:35
how did you know its the issue?
Avatar
i'd create an issue for that i guess
Avatar
chillerdragon BOT 2021-09-17 12:36:05Z
for showall or deleta unpack?
Avatar
i mean showall on full server
12:36
isnt that self explaining?`
Avatar
chillerdragon BOT 2021-09-17 12:36:27Z
so its a known issue?
Avatar
floating point math is expensive
Avatar
chillerdragon BOT 2021-09-17 12:37:11Z
yea but why not always?
Avatar
well zoom feature was added so you dont need to use showall anymore, so yes
12:37
bcs only on full server
Avatar
chillerdragon BOT 2021-09-17 12:37:32Z
i am on a full server
Avatar
maybe additionally /showothers
12:37
e.g. if alot of ppl are in a solo part
Avatar
chillerdragon BOT 2021-09-17 12:38:00Z
nope
12:38
thats so weird
12:38
ok nice so it seems to be a issue with my config then
12:40
meh but kog does not support it without showall yet :(
12:41
@qshar
12:42
but yea thanks a lot @Deleted User u so smart so nice to not have to restart client all day and lose progress on poggonaut server
Avatar
Avatar
chillerdragon
is "bah" some technical term?
thats a word to describe the sound a sheep makes
Avatar
I have released a new version of my python module twmap. Its now at version 0.2.0. you can now modify every part of the map and create new maps from within python with the new constructors Its once again available on pypi, so you can install it with pip install twmap and upgrade it with pip install twmap --upgrade, also on windows now! To figure out how to use the module, import it and use help(twmap) and then help on the structs you retrieve. Note that on windows help(twmap) won't show you the documentation of the main struct, Map. so on windows you might have to start with help(twmap.Map). load your first map by doing map = twmap.Map("path/to/map") If you find any bugs or things the module should have, you can write me or better yet: create an issue here https://gitlab.com/Patiga/twmap-py/-/issues If you want to contribute to it, be warned: the code is mostly undocumented and a bit complicated, but I will happily help you understand the code if you have questions
👍 1
13:33
chillerdragon, @gerdoe
Avatar
chillerdragon BOT 2021-09-17 13:34:02Z
pig
Avatar
Avatar
Patiga
I have released a new version of my python module twmap. Its now at version 0.2.0. you can now modify every part of the map and create new maps from within python with the new constructors Its once again available on pypi, so you can install it with pip install twmap and upgrade it with pip install twmap --upgrade, also on windows now! To figure out how to use the module, import it and use help(twmap) and then help on the structs you retrieve. Note that on windows help(twmap) won't show you the documentation of the main struct, Map. so on windows you might have to start with help(twmap.Map). load your first map by doing map = twmap.Map("path/to/map") If you find any bugs or things the module should have, you can write me or better yet: create an issue here https://gitlab.com/Patiga/twmap-py/-/issues If you want to contribute to it, be warned: the code is mostly undocumented and a bit complicated, but I will happily help you understand the code if you have questions
nice^ will try to do some map render with pyqt5
13:35
if its even possible tho xd
Avatar
heh fancy :)
Avatar
chillerdragon BOT 2021-09-17 13:38:05Z
i meant pog omg
13:39
i have so many things on my todo and so little time cuz im addicted blmapchill player but soon(tm) ill have a look at twmap
Avatar
addicted blmapchill player
13:42
that means ur 24/7 afk
Avatar
chillerdragon BOT 2021-09-17 13:43:52Z
yas!
Avatar
yikes
Avatar
Would be nice to see the different camera positions in the editor when making a theme
Avatar
chillerdragon: what exactly do you mean by your issue?
13:55
do you want to know where the camera will be?
Avatar
chillerdragon BOT 2021-09-17 13:56:16Z
ye
Avatar
ddnet already supports setting the camera where you want
Avatar
chillerdragon BOT 2021-09-17 13:56:44Z
what do you mean?
13:56
i can set the camera in editor?
Avatar
yes, where it is in the ui later
Avatar
chillerdragon BOT 2021-09-17 13:57:10Z
thats not too convinient
13:57
having to look into the code
13:57
and setting camera pos
Avatar
i mean you can map them
13:57
in the editor
Avatar
chillerdragon BOT 2021-09-17 13:57:31Z
a visual representation would be really cool
Avatar
good first issue
Avatar
does anybody make themes? justatest
Avatar
we really need new ones xD
Avatar
chillerdragon BOT 2021-09-17 14:00:15Z
i do
14:00
screenshot_2021-09-17_15-59-22.png
Avatar
default checkerboard forever
14:02
I guess it's not actually random?
Avatar
yeah 😄
Avatar
chillerdragon BOT 2021-09-17 14:02:59Z
lmao :D
14:03
i can imageine making that dvd thing without the borders must be pain
Avatar
is proof not correct?
14:04
i guess he just used that
Avatar
chillerdragon BOT 2021-09-17 14:04:33Z
oh right
14:04
might work actually
Avatar
Avatar
chillerdragon
screenshot_2021-09-17_15-59-22.png
sus
Avatar
chillerdragon BOT 2021-09-17 14:04:44Z
for the initial pos
Avatar
virgin steam ddnet vs chad self compiled ddnet
Avatar
chillerdragon BOT 2021-09-17 14:41:00Z
steam big virgin
Avatar
someone make halloween theme
14:43
would be cool
Avatar
make plants vs zombies theme
14:43
or anime theme
14:43
or noby theme
Avatar
@Deleted User it would be cool to show tees moving randomly in the bg
14:43
lot of games do it
14:44
its always cool
14:44
time to code an ai into ddnet just for bgs
Avatar
Avatar
Ryozuki
time to code an ai into ddnet just for bgs
bots
14:44
monkalaugh
Avatar
actually
14:44
just showing a demo
Avatar
lots of games xD like amongus
Avatar
would be fine
14:44
right?
14:44
xd
14:44
show a demo in bg
Avatar
Avatar
Ryozuki
right?
no
14:44
left
Avatar
chillerdragon BOT 2021-09-17 14:44:57Z
just do a map
Avatar
put a super pro player team 2 demo in the bg
Avatar
chillerdragon BOT 2021-09-17 14:45:01Z
with envelopes
Avatar
Avatar
Ryozuki
put a super pro player team 2 demo in the bg
looped
Avatar
it would motivate anyoen
14:45
anyone
Avatar
me and my dummy
Avatar
krappa
Avatar
crappa
14:45
monkalaugh
Avatar
man discord sometimes doesnt load my favourites gifs
14:45
saved
14:45
trash
Avatar
chillerdragon BOT 2021-09-17 14:45:45Z
i usually put some hetai image as menu theme
Avatar
same
14:45
sux
Avatar
Avatar
chillerdragon
i usually put some hetai image as menu theme
u usually afk on chilblock (edited)
Avatar
chillerdragon BOT 2021-09-17 14:46:11Z
u guys should try matrix then all other messangers seem smooth
Avatar
Avatar
chillerdragon
u guys should try matrix then all other messangers seem smooth
no
Avatar
when im bored i run this command always
14:46
even if its updated
14:46
my life is a lie
14:46
feelsbadman
Avatar
i liked that i can record voice messages in matrix
14:46
but noone uses it so its bad
Avatar
chillerdragon: comes discord and ban me here, then i dont have a choice 😉
Avatar
Avatar
Deleted User
chillerdragon: comes discord and ban me here, then i dont have a choice 😉
monkalaugh
Avatar
chillerdragon BOT 2021-09-17 14:47:15Z
discord is more ban trigger happy than onbgy
14:47
ull get banned eventually
Avatar
Avatar
chillerdragon
discord is more ban trigger happy than onbgy
onbgy justatest
Avatar
chillerdragon: ok the tag is nice, with that small profile pic, and you even see discord emojis, even tho their alignment is a bit strange xdActually this element web client feels pretty much like a mix of discord and any chat client out there, ok rq again xd
discord is more ban trigger happy than onbgy
Avatar
chillerdragon BOT 2021-09-17 15:39:16Z
axaxax rq
Avatar
ахахаха
Avatar
@deen would it increase the size a lot if instead of top 20 maps showed top 100 in the website?
19:50
whats the current limitation to not showing all the ranks paged?
19:50
xd
19:50
i just noticed, most games time focused show every rank on their website
Avatar
no real reason, just thought it's not so interesting
Avatar
which one is the file with ingame commands?
23:20
such as /rank /teamrank /top5 /teamtop5
23:20
and so on
Avatar
Avatar
- Bonobobo
which one is the file with ingame commands?
Avatar
The chat commands
23:28
But in the source files
23:28
Of GitHub
Avatar
oh ok, that has more sense in this channel xD
23:31
idk then :/
Exported 240 message(s)