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 2022-11-15 00:00:00Z and 2022-11-16 00:00:00Z
Avatar
Avatar
Ryozuki
@Jupstar ✪ gg
if you need a starting point. i can upload my progress. DDNet already provides some useful JSONs. if deen makes all data fetchable as JSON, we can use anything https://ddnet.aliveclan.de/releases
Avatar
will something new about kick function? ihave been much situlation much tee are afk or just didnt vote the troller
Avatar
2f4a110 A Koule 6, A Koule 8 - ddnet-maps
Avatar
Avatar
Heeyu
will something new about kick function? ihave been much situlation much tee are afk or just didnt vote the troller
if players are afk they dont count into the needed f3s
Avatar
Avatar
Heeyu
will something new about kick function? ihave been much situlation much tee are afk or just didnt vote the troller
English do even you?
Avatar
chillerdragon BOT 2022-11-15 07:45:58Z
Petition to rename the term f3 into vote yes. That’s bind shaming!
08:02
08:04
@sampullara Part of today will be turning off the “microservices” bloatware. Less than 20% are actually needed for Twitter to work!
Likes
7478
Retweets
592
08:04
The replies
08:04
Too much
Avatar
i love spotting elon bootlickers
08:14
so funny
Avatar
Also the amateur investers in the replies talking about tesla stock.
08:46
And the people that advocate for testing on production 😄
08:46
This isn't ddnet, it's one of the biggest sites on the web
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 08:57:24Z
lul elon trol
08:59
Avatar
So my initial question in the discord was: how can I output a message in the game chat that will be visible only to me and will be visible in demos? echo command is visible in the chat, but not in demos https://discord.com/channels/252358080522747904/745926398140612678/1041994877237469246 Learath2 says that it should be doable, so I figured I'd post it in here. Lumpy ◐ω◑
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 09:27:26Z
sos i need help naming stuff. In case someone missed it i build a network lib. I currently plan to create a class for every chunk that is being sent. Now I struggle to pick a name for that thing because it is lib user facing.
09:28
I mean stuff like ClSay. Imo the nicest term would be "packet" but that seems wrong since a packet can contain multiple chunks like ClSay and SvMotd etc. but calling it "chunk" would be weird in user facing code imo.
09:28
any ideas on how to name that thing? message?
09:29
@Jupstar ✪ life advisor im counting on you
Avatar
Name it bloat
09:39
Fragment
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 09:39:54Z
bloat xd
09:39
hm fragment
09:40
if as a user of a twlib you get a thing called fragment do you expect the content to be a full ClSay chunk?
09:41
lmao BLOAT was close! lets go with BOAT xxxxxxxxxxxxD https://zillyhuhn.com/cs/.1668505287.png
09:42
i think tw code basically calls those messages due to method names like OnMessage()
09:43
@heinrich5991 the lyrical genius any input?
Avatar
I'd it's a msg
09:53
It event
09:53
Or*
09:54
But packet would be fine too imo
09:55
Multiple packets live in one packet container or packet chain
Avatar

Leveling system

ddnet has no way of quickly assessing someones skill level and has no infinite progression. A leveling system could allow for players to be motivated to improve at the game and make replaying maps more meaningful rather then just for fun. Here are a few examples of situations that would give XP, these are the main 3 categories that fit pretty much everything in ddnet Grand achievements _- Example1: first finish of a map 20000XP * 1 (novice difficulty modifier) ...
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 10:04:34Z
@Jupstar ✪ if you name the chunks in the packet also packet. Stuff like packet header becomes confusing. Since every chunk also has a header.
Avatar
Avatar
louis
@AssassinTee are you still working on the material layer
currently it's stalling, i have way too much to do IRL rn
Avatar
U mean the packet data or what
10:07
Packet content
10:07
Payload xd
Avatar
[quakenet] Ryozuki BOT 2022-11-15 10:22:54Z
xd
Avatar
I'm happy to announce that my teehistorian replayer is now public. I finally found the motivation to publish it with the DDNet season 2 announcement :D. https://gitlab.com/zwelf/twgame
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 10:59:37Z
pog
11:03
yea basically the packet content jopstar but the content is multiple seperate chunks so imo packet.payload is all chunks but how do i call the individual chunks? also they have a payload as well so it would be payload.payload then
Avatar
Avatar
Zwelf
I'm happy to announce that my teehistorian replayer is now public. I finally found the motivation to publish it with the DDNet season 2 announcement :D. https://gitlab.com/zwelf/twgame
Wow 😄
Avatar
[quakenet] Ryozuki BOT 2022-11-15 11:20:00Z
i want a zip of all the map preview images
11:20
i dont wanna rely on ddnet hosting them
11:20
zzz
11:20
and they are not public rn
Avatar
AGPL :/ so not usuable for ddnet client
11:27
Isnt agpl kinda anti rust too xd
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 11:44:04Z
Ryozuki: go scrape them hehe
Avatar
Avatar
[quakenet] Ryozuki
and they are not public rn
Huh, aren't they on the site?
12:15
I think even the tool that generates them is public
Avatar
Has anyone seen this before? If not, here's a little info: a few dudes wanted to make a game based on Teeworlds in 2013, with accounts, skinning system, etc., just like ddnet season 2
12:18
Salut à tous ! Je viens vous présenter un petit projet très prometteur que je suis en train de concocter avec mon équipe depuis plusieurs mois maintenant. Histoire de vous mettre dans le bain sans - Topic [Jeu vidéo - 2D Run and Gun] Runeshoot du 26-03-2013 18:15:05 sur les forums de jeuxvideo.com
Avatar
oh wow, I haven't seen that before
Avatar
Of course, it didn't get any further than sketches...
Avatar
they seem to have posted the same text on a couple of sites
12:26
but everything seems wiped, their website and youtube videos too
12:27
+ twitter account
Avatar
I love how deens idea of accounts + achievements got turned into so many demands
Avatar
yes, I also fear that this might hinder the development of the actual accounts, that would be sad
12:31
but it also feels like deen gave some people motivation to start on some stuff themselves
Avatar
@Learath2 what do u think about jwt
Avatar
jwt + access token + refresh token
12:48
Avatar
I think in this case it fits really well
12:53
I usually find it overkill, but it fits the central auth scheme we have here
Avatar
Ye jwt rly fits
Avatar
My idea it's add for every map tags. for example add for stronghold-like maps tag HH(hammer hit), for barren like maps add tag linear (or drag). Also add tags for indicating how many ppl needs for map - 2players, 3playrs ets. because right now if u need map for 3ppl u need to scroll to this category in ddnet(or if you in browser need pass some pages). Also for example in oldschool no have any categories and some time you play map and only then understand that they require unusual amount of te...
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 13:02:01Z
@Matodor those sketches look so cool!
Avatar
Avatar
[quakenet] ChillerDragon
@Matodor those sketches look so cool!
by mipEr
Avatar
[quakenet] Ryozuki BOT 2022-11-15 13:27:08Z
Learath2: no deen told me they not public
Avatar
Avatar
Zwelf
I'm happy to announce that my teehistorian replayer is now public. I finally found the motivation to publish it with the DDNet season 2 announcement :D. https://gitlab.com/zwelf/twgame
cool!
Avatar
Im making my own ddnet web, which if is not used by ddnet itself ill just run it side by side
13:33
I dint rly wanna scrape map previews
13:33
They should be available
Avatar
Avatar
Ryozuki
They should be available
Hm, in what format? Like just in a repo or sth?
13:45
Like maps
13:47
are they in predictable locations? you could download them from there
Avatar
[quakenet] Ryozuki BOT 2022-11-15 13:51:14Z
thats what i dont want to do
13:51
i do that now
13:51
there is little reason to not put the images on a repo
13:52
when everythign else is already in a repo
13:52
maps, ranks, etc
Avatar
Avatar
Ryozuki
Im making my own ddnet web, which if is not used by ddnet itself ill just run it side by side
Just convince deen with good quality
Avatar
[quakenet] Ryozuki BOT 2022-11-15 13:52:30Z
wdym
13:52
im making this web cuz i know unless u show smth good no progress will be made
Avatar
Convince him that your solution is better
Avatar
[quakenet] Ryozuki BOT 2022-11-15 13:52:57Z
and even if its not accepted ill just run it on my server with another domain
13:53
the data will just be daily cuz thats what i can get from the sql download
13:53
but better than the current web
13:53
also idc and the backend is in rust
Avatar
I dunno why u so mad xd. If it's clearly better deen can't resist xd
13:56
Im not mad
13:56
On the irc side i couldnt see ur msg was replying to my previous msg
13:56
So it was a bit confusing
13:57
I guess ill just scrape and put it in a repo
13:57
As they say, do it urself, cuz others will never do it for u
13:57
Well i just invented this say
Avatar
I'm totally fine if someone wants to remake website and manages to do so. I don't want people to waste time doing 20% of what website currently has and calling it quits then
Avatar
[quakenet] Ryozuki BOT 2022-11-15 14:55:56Z
ok
14:56
just noticed the sqlite db doesnt have indexes
14:56
my query went from 2s to 4ms after adding indexes :O
Avatar
Avatar
deen
I'm totally fine if someone wants to remake website and manages to do so. I don't want people to waste time doing 20% of what website currently has and calling it quits then
I'd do it if I didn't already have a lot of ongoing projects
15:31
Maybe if I get some time and inspiration I can start trying something for the website
Avatar
I think ryozuki means the backend while you mean the frontend?
Avatar
[quakenet] Ryozuki BOT 2022-11-15 15:32:54Z
no im doing everything
Avatar
ah nice!
Avatar
[quakenet] Ryozuki BOT 2022-11-15 15:33:50Z
as soon as i have something sizeable ill put it on github, ill try to not abandon this xd
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:46:57Z
did someone ever came up with names for all the emotes?
15:47
because the code only uses the number
Avatar
There is an enum
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:47:39Z
ah nice
Avatar
Or should be
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:47:49Z
got it thanks
15:48
ah wait no thats eyes
15:48
i think there is only eye enum
Avatar
Ah
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:48:39Z
EMOTE_PAIN etc
15:48
ye it scam
Avatar
Rest in peace
15:48
Just create one
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:48:58Z
i rly do not wanna make up names
15:48
oof
Avatar
And pr
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:49:10Z
tw code does not need it
15:49
it uses the index in the texture so duh
Avatar
Mad. Mad af. So mad he explodes
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:49:26Z
xd
15:49
how to name the "!" ????
Avatar
Thats mad
15:50
ANGRY SCREAMING
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:50:39Z
wtf
15:50
isnt it more chill?
15:50
like alert or alarm
Avatar
ANGRY EVIL
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:50:53Z
or exclamation mark
Avatar
ANGRY AGGRESSIVE
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:51:00Z
i mean the emote 1
15:51
omg
Avatar
Ah
15:51
Well shout
15:51
Or smth
15:51
Or exclamation mark
15:51
Xd
15:51
Creative af
Avatar
Surprise
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:52:42Z
! is surprise?
15:52
hm yea
15:52
can be used like that but also as a warning
15:52
hmmm
Avatar
warning_suprise_exclamationmark
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 15:56:06Z
so which?
15:58
zzz or sleepy?
Avatar
Zzz
16:02
And oooooop
Avatar
maybe this would make sense (json cause why not) { "0": "ooop", "1": "exclamation", "2": "hearts", "3": "tear", "4": "speechless", "5": "music", "6": "sorry", "7": "ghost", "8": "annoyed", "9": "angry", "10": "devil", "11": "swearing", "12": "sleepy", "13": "wtf", "14": "happy", "15": "questioning" } (edited)
16:15
its weird cause I'd call the 5th one (id: 4) speechless but its also used as a speech bubble when chatting
Avatar
Tear
Avatar
edited
16:17
but its also used when you are in water so thats probably why i called it waterdrop
Avatar
Pissed is weird in code maybe angry is enough xd
16:17
But rest sounds fine xd
16:18
its my goto emoji when im pissed
16:18
yeah ill edit it to be angry
16:18
also speech to speechless
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:29:02Z
thanks alex
16:29
oh is it heart not hearth= xd
16:29
english 101
16:30
oh also my oop id is wrong xd
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:30:43Z
its only one heart tho
Avatar
i'd rather use descriptive names rather than just putting in zzz or ???
Avatar
Avatar
[quakenet] ChillerDragon
Oop! = 0 ?
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:31:06Z
yes it is 0
16:31
i was wrong
16:31
on sleepy yea
Avatar
Avatar
Alexander
i'd rather use descriptive names rather than just putting in zzz or ???
but you know ooop and wtf are descriptive enough
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:31:41Z
but ??? > questioning for sure xd
16:32
i love how you also said devil and swearing like i thought
16:32
oh the burst bubble is annoyed
16:32
never seen it like that xd
16:32
does any annoyed person use emote 8? xd
Avatar
the devil?
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:33:19Z
oof and "..." is the typing emote so speechless is a bit oppsite huh?
16:33
u said devil i said evil
16:33
but devil is better!
Avatar
well i mean
16:34
how would you use the ... emote in game
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:34:18Z
or i use ascii emotes? xd
16:34
>:|
16:34
:)
16:34
:(
16:34
xd
16:34
^^
16:34
!
16:34
???
Avatar
Avatar
[quakenet] ChillerDragon
but ??? > questioning for sure xd
Ping me when you've made the whole list with new names?)
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:35:02Z
#!!:!
16:35
<3
16:35
omg this sucks idk mman
16:37
i think ill use "..." lierally
16:37
what a mess
Avatar
i just thought that its better to name them how you'd use them while communicating with other tees rather than how its used in the game
Avatar
💢 btw ^^
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:42:28Z
oof thats descriptive
16:42
until the unicode breaks the font xd
16:43
its called anger symbol -.-
16:43
so the emote should be called anger?!
16:43
VEINS POPPING xd
16:43
BAM
16:43
POW
16:44
then i could also use the ghost emoji
Avatar
I guess 'anger' could be used, since it is officially anger in unicode
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:44:32Z
hmm
16:44
but the other angry emote is more obvious anger imo
Avatar
ddnet/tw has too many cursing emojis :d
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:44:50Z
how to call that one then
16:44
haha ikr
Avatar
Avatar
Patiga
ddnet/tw has too many cursing emojis :d
well
16:45
expressing your emotions
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:45:25Z
there is only anger
16:45
i did not use the happy years in my first 8 years playing the game basically
16:45
xd
16:45
happy emote*
16:45
jesus brainfart
Avatar
I use it a lot
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:46:12Z
i started using it
16:46
but late
16:46
yo teehistorians
16:46
statistics on emotes when?
16:46
i need graphs
16:47
which country uses the happy emote the most? xd
Avatar
i need to know which are the least used
16:47
i'd say ghost or devil maybe
boo 1
16:51
now im thinking like why didn't I make the list an array instead of json object
16:55
i like how the discord emojis of teeworlds emotes have names
16:55
... is mmm
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:55:59Z
wtf why mmm xd
Avatar
probably because you can't name it ...
Avatar
[quakenet] ChillerDragon BOT 2022-11-15 16:56:16Z
xd
16:56
dotdotdot
Avatar
Avatar
Alexander
... is mmm
it's called DOTDOT in the code
Avatar
i'd say chat or speech would be a better description of it
17:19
But I'm not the one who is to decide about that, I just gave a suggestion =]
Avatar
i mean an isolated chat bubble would also be nice
17:21
something like >..
Avatar
animated chat bobble
Avatar
Happened on GER2, it looks to me like the pBuffer contains two separate strings, name and time. This might indicate some cut off name not being properly handled as utf8. But since we are just calling mysql_stmt_fetch_column this sounds like a mysql issue: `` Core was generated by ./DDRace64-Server_sql -f servers/8324.cfg'. Program terminated with signal SIGILL, Illegal instruction. #0 dbg_break () at /home/teeworlds/src/master/src/base/system.cpp:190 190 __builtin_trap(); [Current t...
17:32
Found in #6050 that a 16 byte long name would be written, filling up the string entirely, no terminating '\0'

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
...
Avatar
Hey, the ninja is implemented way differently than the other weapons, right?
Avatar
Avatar
deen
help, people misunderstood "season 2" and ask for new features now...
you opened Pandora's Box 😄
Avatar
update: my github account got suspended (no reason given, they still didnt answer my tickets after a week yet), so i decided to use gitlab instead (at least as long as my github is suspended): https://gitlab.com/swarfey/teeworlds-client/
20:22
I also added ddnet snapshot support and some documentation for (hopefully) everything, if anybody is interested: https://gitlab.com/swarfey/teeworlds-client/-/blob/main/docs/documentation.md happy
Avatar
@Swarfey stand up for ur own
20:25
self host git
troll 1
20:25
if you dont care much about other contributions
20:25
cgit is lightweight and perfect
20:25
otherwise gitea
20:26
or https://sourcehut.org/ but its hard to self host
sourcehut is a network of useful open source tools for software project maintainers and collaborators, including git repos, bug tracking, continuous integration, and mailing lists.
20:26
i rly dont like gitlab
20:26
so bloated
Avatar
well i think gitlab is the best known alternative to github
Avatar
this is my cgit instance
20:26
need to make it mirror more packages tho xd
Avatar
i might switch back to github once my account is unsuspended, but im pretty sure i wont self host anything xd
Avatar
weird that they suspended your account
Avatar
ah yea that's cool
Avatar
do you think it's for no reason?
Avatar
well i had some project named "kahoot-botter" on my github page for some years
20:27
very simple, no proxies or anything, only a for loop and some random kahoot package
Avatar
what's kahoot?
Avatar
i guess its for that, but they seem to have really long respond times
Avatar
I don't think they ban for cheat software
Avatar
Avatar
heinrich5991
what's kahoot?
its some quiz page, used sometimes in schools
Avatar
Avatar
heinrich5991
what's kahoot?
Some kind of quizz app
Avatar
maybe the the kahoot package had kahoot code which is prolly proprietary
Avatar
@Alexander u're everywhere
Avatar
Avatar
Alexander
maybe the the kahoot package had kahoot code which is prolly proprietary
well it only imported it, i dont think i also uploaded the node-modules folder
20:29
actually i dont know, its really long ago
Avatar
Avatar
nouaa
@Alexander u're everywhere
¯\_(ツ)_/¯
Avatar
git clone git://edgarluque.com/teemasterparser.git
20:29
badass
20:30
imagine using github smh
Avatar
imagine coding
Avatar
you have banned for 10 minutes (VPN Detected, try connecting without. Contanct admin if mistaken
20:37
When my ban ends and I want to re-enter, the ban is renewed again
20:37
pls help mee
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 (especially base/) or added coverage to integration test
  • [ ] 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-addres...
21:43
why the game are banning me in loop for vpn?
21:43
i never used vpn
Avatar
Avatar
kio
i never used vpn
dm me your public ipv4 address
Avatar
91ba786 Only disable clipping if it was previously enabled - Robyt3 26c95de Remove dead code that compares pointers of different types - Robyt3 04be9d6 Add IInput::ShiftIsPressed and IInput::AltIsPressed - Robyt3 ab9b6c2 Allow both shift keys to be used for all hotkeys - Robyt3 268d250 Merge #6052 - bors[bot]
Avatar
Avatar
kio
why the game are banning me in loop for vpn?
i took same problem how can i fix
✅ 1
Avatar
Avatar
murpi
dm me your public ipv4 address
pls i have a this problemtoo
✅ 1
22:48
i add u
Avatar
What a heeeeell (edited)
Avatar
thats pog
23:07
good usage of http master sv
Avatar
@Ryozuki how packages for NixOs work, are they from apt repos?
Exported 322 message(s)