Guild icon
DDraceNetwork
DDraceNetwork / questions
For newcomers to ask questions and get help. Also check https://wiki.ddnet.org/wiki/FAQ
Between 2021-04-12 00:00:00Z and 2021-04-13 00:00:00Z
Avatar
Avatar
Deleted User
if someone is interested, setup takes around 2 minutes(does not work on Intel GPUs): https://gist.github.com/Jupeyy/ca2ac80fb9765a9c4370bb9a6b88fb32
What exactly are the advantages to doing that and are there any disadvantages?
08:32
like in general
Avatar
@Romeo Yes, advantages are, much better integration into windows bcs dx12 is from Microsoft. And they don't care about opengl. That's why the print key on your keyboard will work or the alt tab thing. Disadvantage is, since this is relatively new it still doesn't perform as good as the native drivers from amd and nvidia. But it's already very good and maybe worth a try. I could also imagine the dx12 drivers to work better in general, so no fps drops or stuff (but no garantuee)
Avatar
i use 2 monitors now and switch between them a lot using alt+tab, any way to bind al+tab to demote zzz without losing the power of being able to swap between apps?
Avatar
i assume that work work with bind alt+tab, or is teeworlds "slower" than the window manager πŸ˜„
11:52
on linux it works πŸ˜„
11:52
bind alt+tab say test
11:52
says test before swapping the app πŸ˜„
Avatar
@Deleted User i didnt really understood what u meant but what im saying is on windows alt+tab is used to switch between apps especially if in full screen. now id like to bind in ddnet so that every time i press alt+tab the zzz emote pops up and i switch the apps, but i know from the other windows bind, if u bind them to somethign in game they wont work. is there any way i can do it?
Avatar
Avatar
ab.com
@Deleted User i didnt really understood what u meant but what im saying is on windows alt+tab is used to switch between apps especially if in full screen. now id like to bind in ddnet so that every time i press alt+tab the zzz emote pops up and i switch the apps, but i know from the other windows bind, if u bind them to somethign in game they wont work. is there any way i can do it?
i can only repeat what i say, you can bind on alt+tab as i said
12:31
if the window manager of windows unfocuses the window before the bind goes through it wont work
Avatar
i tested it locally on linux and there it works, bcs alt tab is integrated better
12:31
so just do bind alt+tab say test in f1
12:31
if it says "test" in chat
12:31
you can also bind emote
12:32
else not
Avatar
oof, it dont wokr as i guessed, it works with alt+o but not wiht alt+tab, understandibly
12:36
@Deleted User ddent wont let tab to be bound πŸ˜„ nothing with tab in it or tab alone works
Avatar
but thats a windows thing really
12:38
the sorry is the bind
12:39
maybe it works with directx xDDDD
12:40
normally alt tab is just some overlay, so theoretically it could be implemented without unfocusing the window
12:40
which would allow the bind to work e.g. i can also move the mouse
Avatar
alt tab shows which windows u have open and its super fast, ddnet cant play the bind before the tab works
Avatar
it also fast for me
12:41
it just is "only" a overlay in linux
12:41
it doesnt minimize nor unfocus the window
12:41
so i can move the mouse while also alt+tab between the apps, just like in the screenshot
Avatar
well this is windows the best cough cough "shitest"
Avatar
it might just be the opengl integration
Avatar
i can move the mouse too but it wont work
Avatar
ah ok
12:42
then rip xD
Avatar
but now im curious, i'll test the directx out, maybe it does things different xd
Avatar
Let’s code a new vulkan and directx backend
12:44
Maintaining gl1 gl2 gl3 dx and vk πŸ˜„
Avatar
for me it minimizes the whole app in windows
12:44
so its not really an overlay, more like a context switch
12:45
also cant move the mouse ingame while i do alt+tab
12:45
so its implemented completly different πŸ˜„
Avatar
Avatar
Learath2
Let’s code a new vulkan and directx backend
yeah directx xD they use left hand coordinate system
12:46
i am always confused af, bcs i learned right hand in school xD
12:46
but actually u just need to swap a achsis πŸ˜„
Avatar
Really? What were they even smoking??
Avatar
i mean in us they also use other metrics
12:47
so assuming it was made in us
12:47
xDD
Avatar
Actually wait, isn’t gl also left handed in the screen space?
Avatar
you mean NDC?
Avatar
Wait isn’t gl left handed everywhere actually? Positive z is towards the screen, no?
Avatar
i mean in the end, if u control the shader u can do anything
12:49
well use ur hand to see
12:49
my middle finger goes towards me xd
12:49
and that is the z achsis
Avatar
You sure?? z would be towards you in right handed coords not left handed
Avatar
yes
Avatar
Your thumb is the result of the cross product, not your middle finger
Avatar
no
12:52
i learned it with middlefinger
Avatar
Huh, I guess they teach it differently, at the very least wikipedia agrees with me
Avatar
ur first sentence is correct
12:53
z is towards u
12:53
just as my middlefinger xd
12:53
in right hand
12:53
u hold ur hand as u look at the inside of ur hand
12:54
12:54
thats how i learned it
Avatar
Okay, but z would be towards you in right handed coords, I think gl uses z towards the screen
12:54
Isn’t higher z deeper in the screen?
Avatar
legacy opengl uses z like in the image
12:55
with shaders u can ofc do anything u want
12:55
u are right about NDC tho
12:55
normalized device coordinates
12:55
they are left handed
12:55
thats why u flip z coordinate there
Avatar
Okay, and in dx they do the opposite?
Avatar
yes
12:55
but ofc DX has math tools
12:56
i mean direct 3d is the renderer directx is actually just a helper thing for the math
12:56
but u just say dx nowadays
Avatar
You know what’s even more annoying? Some people prefer to have z as height, especially math people
12:57
I usually think in terms of depth because I’m more used to it. So whenever I sketch something in calculus people immediately tell me it’s wrong
Avatar
yeah, i think blender does it xd
12:58
i wrote a python script, but luckily blender also offers easy math to swap all the coordinates as u want them xd
Avatar
And most math ppl also seem to prefer to work with left handed coords
Avatar
not impossible that it is like that in other countries
12:59
but i rarely used left hand
Avatar
In turkey we used left handed coords with z pointing up. Same in class material from my multivar class here in italy
Avatar
yeah insane xd
13:01
opengl also uses column major, so you have to transpose all your row major stuff xd
Avatar
Okay wtf? Who decided that was a good idea?
Avatar
newcomers Kappa
Avatar
I don't know a single language implementation that would store their multi dimensional arrays column major
Avatar
doesnt python do it too xd
13:04
i dunno
13:04
its all very confusing anyway
Avatar
I think cpython uses row major aswell
Avatar
oh ok
Avatar
Though I guess you can have a conforming implementation either way
Avatar
I learned this hand thing in highschool when we lernt electronagnetic fields iirc
13:23
In mathematics and physics, the right-hand rule is a common mnemonic for understanding orientation of axes in three-dimensional space. Most of the various left-hand and right-hand rules arise from the fact that the three axes of three-dimensional space have two possible orientations. One can see this by holding one's hands outward and together, ...
13:23
PES_ElonMusk
Avatar
Why are teeworlds and ddrace network are different titles? I'm guessing the parkour stuff was added with ddrace but it has the content from teeworlds too?
Avatar
do you really need tricks to remember 3 axis?
Avatar
@AKayra Yes, we added more functionality for DDNet, but kept compatibility with Teeworlds 0.6
Avatar
Avatar
Ravie
do you really need tricks to remember 3 axis?
You can get confused which is force magnetic field and current for example in physics
Avatar
Avatar
deen
@AKayra Yes, we added more functionality for DDNet, but kept compatibility with Teeworlds 0.6
Nostalgic reasons?
Avatar
Traditionally our community came 100% from Teeworlds, so it was nice to keep everything working in 1 client
Avatar
Avatar
Ravie
do you really need tricks to remember 3 axis?
It's a trick to remember the direction of the cross product, it's always perpendicular but it's sign depends on convention
Avatar
Now after the Steam release this is no longer so true, and Teeworlds has also moved on to version 0.7, which we are not compatible with
Avatar
Okay thanks
Avatar
we have shotgun and ninja, how do we get through?
16:10
btw the more speed u have before u dash with ninja, the more you'll go
16:10
so maybe swing into ninja and you'll make it
Avatar
Avatar
louis
btw the more speed u have before u dash with ninja, the more you'll go
oh thats a new fact
Avatar
well it's not technically correct but basically you'll have the speed you had before at the end of the dash
16:12
idk how it works actually but that's the basic gist
Avatar
Hey, im currently working on a map and wanted to ask if someone is up for testing some parts? (edited)
Avatar
Hey i have a question how can i submit a skin ?
Avatar
Avatar
Skurt NapeZ
Hey i have a question how can i submit a skin ?
message @louis or @Ravie
Avatar
i can send them in private ?
Avatar
is there any way when i do /showothers to just see my team not everyone
18:26
not spec
Avatar
For what are the black variants in a skin?
Avatar
outline behind the tee
Avatar
hi, i have a little issue, i got a timeout from other player (he had to leave) and heis back now, how i give him back his timeout code (on my dummy) without give him my main tee, my tee and my dummy has different timeout codes?
Avatar
Also, can you replace the existing sound files? If yes, are there any specifications to it?
Avatar
yes
19:33
"Where is the ddnet config, config directory or save directory? On Windows you can simply press the windows key + R and type %appdata%/Teeworlds On Linux it is in ~/.teeworlds On macOS it is in ~/Library/Application Support/Teeworlds Inside the settings_ddnet.cfg file will be your configurations/settings. The config directory can also be used as data directory to replace skins or other files, without modifying the client's data directory (note: it has the same directory structure as the data directory)" source (https://wiki.ddnet.tw/wiki/FAQ)
19:34
so basically, add an "audio" directory inside the config directory and there go the audio files
19:35
these are the original ones https://github.com/ddnet/ddnet/tree/master/data/audio you also need wavepack files and i think they need to be 16bit per sample
Avatar
Thanks πŸ™‚
20:07
can you look here for a second please?
Avatar
i am in general chat
20:09
i mean voice chat
20:09
i will ask somethings about application
Avatar
just dm me privately if you have questions
Avatar
1. What is the dummy server type? 2. What happened to teeworlds?
Avatar
hi @Fracix
20:42
1. If you're refering to ddrace, it's a cooperative gamemode in which players have to finish a custom map by racing all the way to the finish line
20:43
2. teeworlds can still be found on steam: https://store.steampowered.com/app/380840/Teeworlds/
Avatar
I know teeworlds is on steam, this is where i found the game but why the teeworlds servers are so dead?
Avatar
are they? I haven't played on 0.7 in quite some time
Avatar
When i open teeworlds there are like 2 capture the flag servers and 2 deathmatches, that's all
Avatar
Ah, you probably have to adjust the server filter then
20:47
or you could stick with us, ddnet is way cooler anyway πŸ™‚
Avatar
I wonder why the whole ddnet thing happened and how it was created. Is teeworlds some public source i dont know? (edited)
Avatar
both ddnet and teeworlds are open source
Avatar
Oh makes sense
Avatar
ddnet is really teeworlds with more features for ddrace, and at some point wasnt really up to date to teeworlds anymore
Avatar
Exactly
Avatar
so if you just play vanilla or mods based on vanilla you'll have a nice client with teeworlds, but if you prefer to play ddrace you probably prefer ddnet
Avatar
What is the ddnet's release date?
Avatar
2013
20:50
2013, but ddrace was there before
20:50
teeworlds is really very old πŸ˜„
20:50
2007
Avatar
Oh really
20:51
I was playinf teeworlds back in 2017 when i found it on steam and liked it, then i found it in maybe 2019 or 2020 and i thought its new (edited)
20:52
I hate phone typing
Avatar
yeah ddnet was just relased on steam last year, but most of the teeworlds community knew it πŸ˜„
Avatar
but since the steam release there are really alot of new players
Avatar
Like me
Avatar
ddrace started as just a mod that worked in the teeworlds client but now ddnet has its own client iirc
Avatar
you can still play with 0.7 on ddnet servers
20:53
you can play vanilla 0.6 on ddnet too
Avatar
but not 0.7 :(
Avatar
yea
Avatar
My friend kajxqeirscl was asking for game to play and i said ddnet, he got really really addicted to it lol
Avatar
try other modes too
20:54
there is a lot to love about the game for anyone really
Avatar
thats true, there are really alot mods
20:54
and most are even open source πŸ˜„
Avatar
i generally tell people "i play teeworlds" because i do a lot more than just ddrace
Avatar
so they never really die out, bcs everyone can host them πŸ˜„
20:55
i think most ppl say they play teeworlds instead of ddnet
Avatar
i plan on making a video for youtube called "teeworlds: the best game you've never played" and try to introduce the community and why the game is great, hopefully then more people will join usa
Avatar
sounds nice ^^
Avatar
I wonder how rankinf system works
Avatar
i want a lot of people to talk in the video so it seems more lively
Avatar
https://ddnet.tw/ranks/ should explain most
20:56
the points calculation
Avatar
are you confused about rank/teamrank? there is a set of rules for which ranks score points
Avatar
I beated a novice map once in this month and it was my first time even tho i had the game for 1 year already and had 224k points with 3 points?
Avatar
@Deleted User how many of the devs are usa?
Avatar
And my friend had like 80k points with 25 points
Avatar
or even NA
Avatar
Avatar
lynn
@Deleted User how many of the devs are usa?
i've no idea if there are any tbh. there are gdin and louis that help alot tho
Avatar
i figured that, thanks
Avatar
or helped(for gdin)
Avatar
im not dev justatest
Avatar
you're savvy
20:58
have a savvy role
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
well i make stuff for ddnet but i dont code lol
Avatar
if you know any name of a USA player, he'll be one noby maybe did something for ddnet
20:59
atleast anti bot system probably
Avatar
@louis is comfort still by-nc-sa 3?
20:59
i want to make a modification of it
Avatar
how did someone whos not a mod managed to find peoples ip?
Avatar
ya basically anything of mine for teeworlds is whatever license is the most free to use
Avatar
Avatar
ab.com
how did someone whos not a mod managed to find peoples ip?
if u run a server, you can get ips of people who refresh the internet tab
Avatar
is client traffic even encrypted at all?? i wouldnt think it is
Avatar
and what if ur just a normal player? is that some sort of "cheat" then?
21:01
oh no you shouldn't (?) be able to find the ips of specific players
21:01
although i know you can grab the ips of general players who refresh the tab, but you can't line them up to who they are unless they join the server
21:01
idk much abt it
Avatar
i think they're asking if the capability is there (ie. custom client that uses all the info from packets)
Avatar
so is it legal or not to somehow find out peoples ip? or their specific"code"
21:02
im asking cause i met someone who knew exactly evyerones "ip" and left after i asked, u tracking ip?
Avatar
when you play teeworlds, you agree to the conditions of the game, which includes someone potentially knowing your ip
Avatar
Avatar
ab.com
im asking cause i met someone who knew exactly evyerones "ip" and left after i asked, u tracking ip?
did he provide proof or was he just bsing
Avatar
u really shouldnt ask for "legal" in the niternet.. there are always ppl that do stuff but its nothing special that a server knows ur IP
Avatar
it's not illegal for people to know your ip
Avatar
the ip is like the your name in the internet, so the server can contact you back
Avatar
but is it legal for non admins of server to just know ur ip, as in ddos, boting is nt "legal" in ddnet so is it the same for that
Avatar
they cant
21:03
they got it somewhere else
Avatar
oof, that fucker seemed like it did, thats why i was so shocked
21:04
never seen him again πŸ˜„
Avatar
i dont think there's anything like AGPL that protects against this?
ww 1
21:05
either way i doubt it's a question of if it's legal
Avatar
as in so would he be kickked....
Avatar
u can be banned for ddos threats but if it's someone just saying "i have your ip" when they don't, then just ignore them
Avatar
in theory every website you visit could ddos you, so this isnt really teeworlds specific ^^
Avatar
i get that louise my question is , if someone was cought beign able to see everyoens ip, what would happen? ban/
Avatar
idk a security patch xd but thats not possible if they dont own the server (edited)
Avatar
@ab.com careful with the word legal, im now assuming you mean "legal in ddnet" and not legal in law
21:07
since you said that above
Avatar
lynn yeah...
Avatar
they are two very different things xD
Avatar
Avatar
ab.com
i get that louise my question is , if someone was cought beign able to see everyoens ip, what would happen? ban/
well he got it, bcs you contacted his server, so there is nothing ddnet can do πŸ˜„
Avatar
i mean random player joins server, not server admin, knows everyones ip, is it legal in game to not irl for him to do that, would he get banned?
Avatar
that's kinda a specific question
21:09
it's not happened so who knows, but if they have malicious intent then most likely yes
Avatar
i mean, imo if they KNEW the ip they would be using a custom client, which breaks a different rule, so yes??
Avatar
Avatar
Cactus
is there any way when i do /showothers to just see my team not everyone
Yes, /showothers 2
Avatar
a custom client doesn't help you know IP addresses
Avatar
They could also just start their own server and know ur ip
Avatar
he either has some kind of man in the middle access or you connected to his server πŸ˜„
Avatar
and btw the first is very unlikely, especially for alot of connections
Avatar
i really dont know how the netcode worked, i just assumed a different client could act as a server somehow and send a request that normally returns an ip address, but maybe my idea of the code is too simple xD
Avatar
imagine it like a website, do you know who else is connected to it? πŸ˜„
21:28
the server ofc knows
Avatar
i should really learn more about the netcode and not just game state
21:30
is there a way to show favorites first but still use the internet tab? i want to see my friends no matter what tab im looking at, so that would just be the internet tab, but then it isnt sorted favorites first
Avatar
there is a friend list
21:31
you can double click the name if he's online
Avatar
that's what i meant though, if im looking at my favorites i will only see players that are connected to those servers right? not from servers not in my favorites
Avatar
yeah that would only work in the internet tab, if you need all servers
Avatar
yeah, just wondering if it would be possible to add a favorite sort
21:33
or just option "Sort favorites first"
Avatar
but arent ur favorites in the internet tab?
21:33
i mean switching between both isnt too hard is it? πŸ˜„
21:34
best layout for me would be favorites by players + ping sort, then non-favorites by players + ping sort (or by name)
21:35
1 list
Avatar
i guess if somebody would implement it well, it might gets accepted xd
Avatar
im so picky that i think eventually i would just want manual sort xD
21:37
so not worth worrying about
21:37
i would love to be able to position my servers first, then ddnet usa (and kog usa), then friends servers, then ddnet can, jp, kor, etc (edited)
21:38
heh, i can get my friends to agree to name their servers so the sort works
Avatar
i mean suggestions are always good, its really a matter of defining what is considered useful, else software gets bloated at some point and then nobody knows why something doesnt work, bcs its alot of work to debug/read the code paths etc.
Avatar
ofc yes... being a dev myself i know that all too well
21:49
but not system/game dev, just web 😭
Avatar
Avatar
lynn
i mean, imo if they KNEW the ip they would be using a custom client, which breaks a different rule, so yes??
If you dont feel confident about your real IP being shown, just pay for a VPN service I guess and use 24/7 (but again ddnet I think blocked VPNs). But every where you go, even your own ISP, you form part of the data gathering monopoly.
Avatar
oh im not worried about my IP :P idc
Avatar
yes, we ban vpn usage to prevent people to circumvent ip bans
22:24
only reasonable way since we have no accounts
Avatar
does anyone have a .demo of flux 2?
Avatar
how do I take the command to switch colors?
Avatar
it's in settings_ddnet.cfg in your config directory
Exported 287 message(s)