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-09-26 00:00:00Z and 2020-09-27 00:00:00Z
Avatar
@deen is the code/client release already ready for mod-specific skins in DB?
02:29
also what in case of the skin being updated in DB? will it replace once-downloaded one in the client?
02:29
or there's no any kind of hash checking
Avatar
I don't know how in C++, but in ruby world we have rubocop. It works like that: first time it should be run with a special key. Then it creates rubocop.todo file with all style offences. Next time it run it will only report on those which are not in rubocop.todo file. This way there are no chain-reactions appears when you change something in a file and then have to fix more and more affected lines. Also it has a caching mechanism, so second time it run on the same machine it checks only files which hash sums have been changed after the last ran. This makes it possible to run it on all files regardless the size of project.
05:56
@deen
Avatar
[quakenet] deen BOT 2020-09-26 07:10:48Z
simpler to just keep the style clean I think
Avatar
d08eca9 Remove non-free skins by Moby Dog (fixes #2547) - yangfl fd610e5 Merge #2903 - bors[bot]
Avatar
@Soreu yes
07:25
The downloadedskins directory is actually not used at all for reading skins. Skin is always redownloaded on each client restart
Avatar
Not really tested, but long requested feature. Allow to change entities, game, emoticons and particles on fly Whats missing: 1. Reload button 2. Testing 3. does file:// work on windows (alternatives) would really like to get this feature in before next version, if thats ok
Avatar
^ sounds very interesting
08:14
So a client will change preinstalled tileset based on the game type?
08:14
Or is this affects editor only?
Avatar
We can start caching if it is an issue
Avatar
@Deleted User if u mean my pr: it already changes preinstalled tilesets based on game type you can now select entities, etc. without overwriting the data stuff and you can do it on fly, so no client restart (edited)
08:22
its only a client side feature
08:26
Every client side feature is huge for me 😃
Avatar
b1ff241 Add skin db team in staff list - def-
👍 3
heartw 2
Avatar
And that's nice. One more step towards downloadable tilesets for pickups and projectiles.
08:28
And maybe to custom additional ones.
Avatar
@Deleted User you're still on fire
Avatar
Is there such a thing as client recognition in scoreboard? F-client has this feature but I never seen it working.
08:52
Would like to implement it on my server to distinguish 0.6 and 0.7 clients at least without changing anything in player's name and clan name or skin or score.
08:53
Originally I've thought it is a ddnet server feature. But now I have ddnet codebase in my mod and it's not there. Not very important just curious.
08:54
Maybe officual ddnet client has this too.
08:56
F-client probably detects some clients that set some player flags (like chatting, showhookcoll)
Avatar
I've thought initially that snapshot of a player info contains version. Then my guess was that some client uses whitespace combinations in name to encode version for clients supporting it.
Avatar
F-Client detects skin parts
08:59
F-Client sends skin parts that are default as !f-client, which can be detected by another f-client
Avatar
Hmm... so I can send 0.7 client's character's body name as 'f-client' from a server and it will be defaulted to default skin when drawing it and still f-client will mark it in scoretable?
09:01
Nice, I'd wanted to see who actually uses 0.6 or 0.7 at a glance on my server while testing. It would help me a lot.
09:02
Rcon status is a bit harder as I have to switch from a game to rcon first
09:02
I will experiment with that, thanks!
Avatar
F-Client is a client mod for Teeworlds 0.7 developed by fokkonaut. - fokkonaut/F-Client
09:08
this is the string thats sent
👍 1
Avatar
@Clefairy' You also have access to the skinDB, right?
Avatar
Mokuz & Skyrel seem to not even be in this discord
09:23
@deen add also @Clefairy' to this list (and thanks for listing us heartw )
Avatar
d53407d Add clefairy' to skin db team - def-
Avatar
[quakenet] ChillerDragon BOT 2020-09-26 09:37:11Z
playerflags are way more restrictive in 0.7 @notdeen sadly
09:37
@Deleted User there is also !gamer and !zilly
Avatar
suggestionmusic maybe making update like thiswhat for see how many time win for playersninja justatest
f4 1
f3 1
Avatar
Interesting
Avatar
How many times they have finished the map?
Avatar
no how many times they won XD
Avatar
ww yes
Avatar
+1 from me, but that should be rather shown in scoreboard
Avatar
What this -9999 even means?
12:12
exactly -9999 of something or at least -9999 of that? and is this much worse than -999 or -99 so anyone should care about it?
12:13
and why people care about negative score anyway?
Avatar
nothing this just screenshot for you know what i mean
Avatar
I just thing this -9999 occupies 60% of the screen and means nothing
12:15
but this tiny "5" proposed uses 5% of space and more important
Avatar
@Soreu yeah everywhere , /rank-/top5 / ......
Avatar
(60% of score baloon)
Avatar
of you know what my suggestion this ok don't focus about screenshot
Avatar
can I suggest skins to the db by pr?
Avatar
-9999 = unfinished map
Avatar
choose f3 or f4⬆️ 👆
Avatar
@Deleted User -9999 only shows up in non-ddnet clients I think
Avatar
yep @Soreu, but as I remember Mokuz was on this discord server
Avatar
I still want a little padlock icon to show whether the team is locked or not but oyu didn't want to add it! :C
13:05
and winking tee when taking a screenshot xd (edited)
Avatar
It would be nice to have an indication for whether you have jetpack (etc) instead of chat messages.
13:06
that could include your idea
Avatar
me too?brownbear
Avatar
dcfa752 After initialization: Agressively try to grab window again - def- 87e8683 Merge #2914 - bors[bot]
Avatar
@Lady Saavik if you find where to put the padlock, you can have it right now 😄
Avatar
OMG YES NEXT TO TEAM NUMBER
13:17
ah now ait
13:17
wait
13:18
wasn't it like a small "Team 60" before?
Avatar
@Lady Saavik for me wanna two things --1know how many won 2-entities with background original (edited)
13:20
i raelly need entities with background originalddnet developer please ddnet (edited)
ddnet 3
ddnet 3
13:24
like this
13:24
13:25
sure (deep) too
Avatar
@hussainx3 download ddnet client
Avatar
Question regarding automapper: Can you do anything fancy with NoLayerCopy that you can't do with NewRun?
Avatar
@jao this ddnet
Avatar
@Ama don't make logo HD on your #deleted-channel map (edited)
Avatar
@hussainx3 cl_ddrace_scoreboard 1
Avatar
what this?
Avatar
@deen @notdeen regarding PR: can we have a key combination to release mouse grab? Like alt-shift or shift-shift in VMWare?
Avatar
f1 works for that
Avatar
hm... it works for moving windows. But not for taking screenshots with a selector
13:41
*partial ones
13:41
or... maybe teeworlds have a hotkey for screenshot already?
13:41
F10
13:41
sorry, wasn't aware of it. Ok at least I can screenshot a window contents
13:42
though I cannot make a screenshot of 2 ddnet windows side by side with rectangular selector as ddnet doesn't release the mouse
13:43
ok, it seems that this case is rare and nobody else will need it
13:45
would be also nice if there would be Alt+Enter hotkey that will change windowed window of for example 1024x768 to full native resolution and make it fullscreen and remember windowed resolution
13:45
*windowed mode game window to fullscreen
13:46
but it seems that more likely I will implement it myself in some distant future 😅
Avatar
@Lady Saavik I guess it'd be useful in the scoreboard
Avatar
yes
Avatar
@hussainx3 Settings > map background > %current%
Avatar
%current% <what mean?
14:06
Setting > ddnet (backgroud) this for change color entities (edited)
14:07
I wanna entities with original background for map (edited)
Avatar
@deen did you re-enable that you are moving when pressing ctrl shift d ?
Avatar
@Brokecdx- do you?
Avatar
i do
Avatar
damn, that's what the 2 modifier binds broke then
Avatar
much better if i dont move because i spam this bind literally always when playing
Avatar
I knew there was an edge case we were breaking by adding them, just couldn't figure out what
14:22
@Brokecdx- can you create an issue for it on github so I don't forget to look into this?
Avatar
sure
Avatar
same broke
Avatar
hah, not going insane
14:24
I thought the tee wouldn't move on ctrl-shift-d, but it did
14:24
but then I thought we never had that after all
Avatar
Hm, maybe as a work around you can bind ctrl + shift + d to something
14:24
Try bind ctrl+shift+d ";" maybe
14:25
bind debug
Avatar
if you bind debug it will toggle twice I think
14:25
which means you get no debug
Avatar
i did it with bind lol
Avatar
Maybe we can remove the hardcoded bind and replace it with a normal bind?
Avatar
bind 7 debug
Avatar
does debug toggle?
Avatar
bind x toggle debug 1 0
Avatar
ye
Avatar
does debug alone even toggle anything? 😄
14:26
Anyway, the issue at hand is that ctrl+shift+d now moves you, which is a regression
Avatar
thats pretty weird cuz it always moved me (edited)
14:27
murpi
Avatar
xkcd workflow
Avatar
you had to press strg+shift and then d
Avatar
I usually press f1 before opening the debug
Avatar
Nah, it's completely broken 😄
14:28
it triggers both binds, not the most specific bind
14:28
How should the binds work anyway?
14:29
Do we want binds to repeat if you hold them?
14:30
why would you want that
Avatar
Ah, I bet that's macOS messing with it actually 😄
14:31
Can one of you check if that happens on windows or linux?
Avatar
sheep confused
Avatar
@murpi bind something to a key, hold down said key, does the bind trigger multiple times?
14:33
Anyway, we should be checking Event.key.repeat when we get a KEYDOWN
Avatar
@Learath2 yes it does
Avatar
It probably shouldn't 😄
Avatar
@fokkonaut thanks, reused client recognition to distinct 0.6 vs 0.7 players in scoretable. Nice feature!
14:39
Will help me to debug issues as I will know at a glance who uses which protocol on my server.
Avatar
it will only recognize zillywoods, gamer and fclient
14:40
not Vanilla 0.7
14:40
many people use vanilla 0.7
14:40
just use f2: status
Avatar
I don't use it as you have intended it.
14:40
I just set it to f-client body part for SixUp clients
Avatar
I would kill to have SnapReplaceItem so we can finally extend the ddnet player object
Avatar
I don't care if comeone uses f-client, zilly or gamer
Avatar
@hussainx3 Go to settings, custom map background, write here %current% - then you have entities with current map's background
Avatar
By the way, does 0.6 or 0.7 or ddnet extensions support some sort of player flags which tells client predictor that this character is hookable or not?
14:42
I have a global tune, but in my mod hook protection can be turned on and off for each player.
14:43
in original infClass they just set player_hookable global tune to 1 for every client and then server will tell with the next snapshot was it hookable back then
14:44
it works ok, but if someone tries to hook me while I am hook protected the prediction race starts
14:44
as my client thinks that every client can be hooked, but server knows that I am protected
14:45
oh... it seems that I should set flags NO_COLLISION and NO_HOOK for protected characters...
14:45
but what clients respect that?
14:46
is that ddnet feature or 0.6 and/or 0.7 vanilla supports it too?
Avatar
DDNet is the only 0.6 client to support the extended player flags I think
14:49
0.7 clients by fokkonaut and chiller probably also support it given they support the protocol extensions
Avatar
character flags?
14:50
I mean this
14:50
Avatar
Ah. Yep they are character flags
Avatar
@Soreu where write?
Avatar
They are a part of the ddnetcharacter though, so it's definitely of no use to vanilla
Avatar
@fokkonaut I don't think your or chiller's client support those?
Avatar
We tried our very best to keep these extensions generic enough but seems not many people even make clients, let alone implement our extensions :D
Avatar
@Learath2 what will happen if only one of character seets NO_HOOK and other is not? which can hook other?
Avatar
You'll have to take a look at the code. It's been a long time
Avatar
My bet would be that neither one could.
14:54
Ok, I will check next time. Just too bad 0.7 doesn't support it
Avatar
I want to get the protocol extensions into 0.8
14:55
Maybe even 0.7 since it's not a breaking change
Avatar
I could send faketunes to 0.7 knowing which clients are in range and direction ofc.
14:55
but that's just too much hassle
14:55
I think 0.7 clients should just cope that their predictor will fight with a server
Avatar
Faketunes are how we handle it for vanilla 0.6 I think
Avatar
@Learath2 my protocol extensions? 😊
Avatar
Yep, I'll also try to make them a little more flexible
Avatar
nice 🙂
Avatar
Are you checking a potentially hookable character every tick for each player and update faketune PLAYER_HOOKABLE?
14:56
it's so much work
14:56
I mean for 0.6
14:56
how it works there?
Avatar
we don't update faketunes very often
14:57
0.6 just gets a worse experience
Avatar
For netobjects I want snapreplaceitem to be there before anything
Avatar
ah nice, yea
14:57
we kinda lack that in ddnet
Avatar
Yeah ddnet is getting it first
14:58
I was wondering if I should build a hashtable tbh, but not sure if I want to bother benching it
Avatar
@Learath2 nice
15:13
@Animefan did u cry enough to admins?
Avatar
what?
Avatar
ah its heinrich
Avatar
what do you mean
Avatar
@Animefan Just don't mind him. It's pointless due to hate rampage
Avatar
alright
Avatar
especially when the best argent is "nobody asked you to be here, just leave" because we could say that about nearly every single player out there
Avatar
well i wanted to understand what he was talking about, so i asked here ^^
Avatar
why not dm
15:31
I don't understand when to use it
Avatar
#off-topic
Avatar
fine, I better shut up and leave
Avatar
@Soreu can u add my skin to db
Avatar
Send it, I will forward it to rest of the crew and then we will see
Avatar
[quakenet] ChillerDragon BOT 2020-09-26 16:19:09Z
[2020-09-26 16:18:29][client]: offline error='You have been banned for 10 minutes (VPN detected, try connecting without. Contact admin if mistaken)'
16:19
meh
16:19
139.59.215.82
Avatar
stop using vpn
Avatar
how is that mistaken
16:21
looks like a proxy ip to me
Avatar
try connecting without it
Avatar
[quakenet] ChillerDragon BOT 2020-09-26 16:24:46Z
also 149.202.127.134 and 51.210.171.47 pls
16:24
its not a vpn
Avatar
looks like a proxy ip to me
how do you check it?
Avatar
e.g. 149.202.127.134 is registered to AS16276 which is OVH Hosting
16:53
RIPE record says OVH further allocated this block to servercompass.com
Avatar
yes, but that doesn't mean it has open proxy or a public VPN service isn't it?
Avatar
[quakenet] ChillerDragon BOT 2020-09-26 17:00:04Z
yes two are OVH(servercompass) and one is digitalocean they currently run no proxies and are owned by me
Avatar
if they run no proxies then how are u trying to connect to tw thru them
Avatar
[quakenet] ChillerDragon BOT 2020-09-26 17:00:33Z
just on the vps directly
Avatar
ctrl + shift + d always made me move
Avatar
if they run no proxies then how are u trying to connect to tw thru them
why not?
17:45
Living in some countries enforces you to use VPN for your daily internet life to be secure or it to work at all.
17:46
Censorship in Russia for example is so huge that some RANGES are banned by goverment.
17:46
So to use linkedit, telegram, github one have to use a VPN of some kind.
17:47
You cannot expect one to turn it off just to play a tw. There could be background network processes that require a VPN.
17:47
Also ok, I can understand why you guys are banning open proxies and open VPNs/
17:47
More or less I can understand why you ban cheap paid proxies.
17:47
But please, let people use their own VPNs that nobody else use.
17:48
It's not to cloak their IP. It's to make internet work in some countries.
17:48
Those IP's are static. People paid with their credit cards to rent a VPN. It's not for illegal actions.
Avatar
@Deleted User you can contact an admin to get them unbanned AFAIK
Avatar
@judas
18:08
u fucking nigger
banhammer 3
18:08
ban for hammer
wtf 3
18:09
@judashelper
Avatar
thefuck u doin
Avatar
lmao he got banned?
18:09
or did he leave
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
18:23
i think thats why you move even when pressing ctrl and shift
Avatar
you can contact an admin to get them unbanned AFAIK
I play on my server only last 3 months so it's not my problem anymore.
19:22
But to hear all those "just don't use VPN" triggers me. And I'd wanted to tell me that it isn't that simple
19:22
there is no actual reasons to ban VPS providers IP ranges
Avatar
there's one, people use it for ban evasion
Avatar
VPS/VDS != VPN
Avatar
ah
19:23
I guess we'd need a provider that can tell us VPN ranges from VPS ranges
Avatar
do you have a provider which just tells you that IP is suspicious?
19:24
that was my original question about
Avatar
we have a provider that tells us whether they think an IP address is a residential one or not
19:36
f74cc43 Remove pure server filters, add space for Countries/Types - def- f8fc11b clang-format - def- a5cf310 Merge pull request #2929 from def-/pr-pure - def-
Avatar
c69c765 Only auto dilate for transparent images - Jupeyy 50b8771 Merge #2931 - bors[bot]
Avatar
This prevents a confusing situation where /pause and /spec lead to spectating yourself: https://youtu.be/9MzvDoXtMLc. This could've happened when you pressed spectate_next button while playing and SpectatorID got changed to yourself. I think it doesn't make sense to allow changing SpectatorID when playing. Things tested with this change: 1. Cycling through players when spectating (works) 2. Changing SpectatorID when not spectating (no longer possible) 3. Spectating yourself (still pos...
Avatar
0bac9f0 Manual preparation for cleaner clang-format - def- 2d8a1ee Make fix_style.py look at files, not lines - def- 678b2b1 Change fix_style.py script to unconditionally format everything - heinrich5991 2e8e192 fix_style.py: Ignore generated key headers - def- 3be8a59 Run clang-format - def- ee8872f Add formatting-revs.txt - def- b178c7c Make sure headers compile standalone - def- 6bb8cda Merge #2926 - bors[bot]
Avatar
@deen GJ
Avatar
Largest change ever merged I guess 😄
Avatar
@Learath2 do you still have the script to check the variable name style?
Avatar
link?
Avatar
I'm looking for it
22:23
22:24
I think there was something missing in it, though I don't quite remember
22:24
and it required a small change in your extract identifiers script iitc
22:24
iirc*
Avatar
oh uh?
Avatar
Only active player received them, reconnecting dummy a few times lead to duplicate entries in tab completion. Now only main player is considered for the completion. as reported by Betz@lel-$h@l0m on Discord
Avatar
Mistake was introduced in 7c31a15c93b34bd0557039ded65ea9456a72e33b We didn't notice since official servers are SQL, except Block servers, and we just started moderating them a bit.
Exported 295 message(s)