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-06-06 00:00:00Z and 2022-06-07 00:00:00Z
Avatar
justatest so many reopen
Avatar
Bug reported on discord by Broso56 that dummy is wrongly predicted with deepfly (and when standing still). Looked at it and found that it was caused by GetInput not returning the dummy input as intended. (Before my last pr a different getter was used, which didn't have that problem)

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 if it w...
Avatar
b2bb0c1 M Barren, M Grandma, M Stronghold, M Black & Red, M Downhill Jam, M Just deep fly, M RON, M CYO, M Plan C, M luminati, M 4Beginners, M Basics, M Future_Race, M Just2Easy, M LearnToPlay, M Multeasymap, M Just Fly 1, M Just Hookfly 1, M Partenack - ddnet-maps
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 07:43:39Z
@Jupstar ✪ the gfx lord send brain on what are possible traps when rendering text? I got this boi here https://github.com/chillerbot/chillerbot-ux/blob/d2f9f6dc2350112cc712d484af60c9835aac833b/src/game/client/components/chillerbot/playerpics.cpp#L210 and seems like the text got really blurry after a while
chillerbot-ux UserExperience based on DDraceNetwork, a mod of Teeworlds - chillerbot-ux/playerpics.cpp at d2f9f6dc2350112cc712d484af60c9835aac833b · chillerbot/chillerbot-ux
07:45
on fresh client launch it looks crisp :)
Avatar
Thanks to heinrich5991 for noticing

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 if it works standalone, system.c especially
  • [ ] 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...
Avatar
Avatar
[quakenet] ChillerDragon
@Jupstar ✪ the gfx lord send brain on what are possible traps when rendering text? I got this boi here https://github.com/chillerbot/chillerbot-ux/blob/d2f9f6dc2350112cc712d484af60c9835aac833b/src/game/client/components/chillerbot/playerpics.cpp#L210 and seems like the text got really blurry after a while
rebuild it on rezoom i guess
07:50
i dunno but the normal nameplates are build on normal zoom, did you disable that?
Avatar
Avatar
[quakenet] ChillerDragon
@Jupstar ✪ the gfx lord send brain on what are possible traps when rendering text? I got this boi here https://github.com/chillerbot/chillerbot-ux/blob/d2f9f6dc2350112cc712d484af60c9835aac833b/src/game/client/components/chillerbot/playerpics.cpp#L210 and seems like the text got really blurry after a while
RenderTools()->MapScreenToWorld(CenterX, CenterY, pGroup->m_ParallaxX, pGroup->m_ParallaxY, pGroup->m_OffsetX, pGroup->m_OffsetY, Graphics()->ScreenAspect(), m_pClient->m_Camera.m_Zoom, Points); replace m_pClient->m_Camera.m_Zoom with an additional parameter and use 1.0f as zoom for the textcontainer creations (edited)
Avatar
2b48c37 Fix input getter for dummy - trml ae8e82e Merge #5359 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 08:31:02Z
yea that sounds smart
08:31
yet i can not reproduce the blue when generating the text container while being zoomed out
08:32
it should behave same to nameplates its like additional info
Avatar
8623381 Don't write null byte - def- 62c13f2 Merge #5360 - bors[bot]
Avatar
3dd2df2 Use MultiByteToWideChar instead of str_utf16le_encode - Robyt3 fca8677 Add error messages when log message encoding cannot be converted - Robyt3 d49b7b1 Merge #5351 - bors[bot]
Avatar
yeah apply the patch i told ya
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:03:09Z
reproducing is too random too debug this. I copied random refactors from ddnet and be done with it. Thanks anyways Jupjapjupsartr
Avatar
trollodragon
09:03
i tell u how to reproduce it
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:03:52Z
get the song choice?
Avatar
u make default zoom vvery far out restart client reset zoom manually
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:03:57Z
cuz lyrics is blurry
09:04
but i never touched default zoom how did i get it
Avatar
ok
09:04
zoom out resize window zoom in
09:05
also works now that u have resize listener
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:05:14Z
also is it even possible to set default zoom far out?
09:05
min 0
Avatar
that is far i guess
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:05:28Z
which is like normal zoom
Avatar
ok how about u just do what i said xd
09:05
zoom out resize window zoom in
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:05:50Z
never
09:06
how to even resize
Avatar
its good tutorial
09:06
change resolution
09:06
best is u work with a debug config while debugging
09:06
ah nvm
Avatar
u reset all configs everytime anyway
09:06
i remember
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:07:01Z
bitte helfen sie mir
09:07
09:07
resize is always bad idea
Avatar
is that the broken SDL2? or does ur WM just suck
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:07:47Z
gnome masterrace
09:07
btw the text is still not blurry
09:07
i think i patched it
Avatar
did u add another commit
09:08
than the one u tagged me in?
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:08:13Z
by using RenderTools()->MapScreenToWorld() insead of homebrew
09:08
no the 2nd after
09:08
the "trollordragon" one is prolly fix
Avatar
but yeah
09:08
the rendertools one takes zoom extra probs
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:09:11Z
lucky me i bound all my graphic configs to the key "7"
09:09
so i can unbreak all of this madness
09:09
most useful bind ngl
Avatar
but be careful u also use MapscreenToGroup for some flag rendering or smth like that
09:10
not sure what it actually does
09:10
but that might require the zoom parameter
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:10:45Z
watafak
09:10
flag?
09:11
ah you mean the countryflags :D
Avatar
const CPlayerPic *pFlag = GetByName(pName);
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:11:04Z
ye
09:11
i should test that ur right
09:11
aw fak that broke indeed
09:11
oamagwd
Avatar
just add m_pClient->m_Camera.m_Zoom
09:11
to the parameters there
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:11:59Z
what is a paramter?
Avatar
function call parameter
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:12:20Z
xd
Avatar
MapscreenToGroup
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:12:29Z
how can u stay so chill?
Avatar
i am chillerdragon
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:13:02Z
oof
09:13
then im japstur the juppinger
09:13
ou optional parameter
09:13
u know diff between arg and para?
09:14
no googling allowed!
Avatar
an argument is in a discussion a parameter is something psychic
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:14:41Z
WTF
09:14
stop trol
09:15
btw it worked
Avatar
nice
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:15:13Z
thanks babe <3
09:15
what would i do w out u
09:15
09:15
look at this perfectly zoozed dragon image
Avatar
reminds me of some rayman image
09:16
gonna search
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:16:10Z
ray wat
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:16:37Z
is this the nerdy superhero of u gfx guys? the raytracing man!
09:16
gstatic.com
Avatar
that's ubisofts super hero xd
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:16:51Z
._.
09:16
HOW
09:16
DA FAK DOES
09:17
THIS
09:17
LOOK
09:17
ANYTHING
09:17
LIKE
09:17
OMG
09:17
not even
09:17
like wat
Avatar
he also has one foot closer to you in a perspective
09:17
clearly the same
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:17:26Z
wow
09:17
jesus
Avatar
my brain works like that bro
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:18:02Z
i can see your more on the technical side of visuals...
Avatar
completly random connection to other dimensions
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:18:52Z
i break this thing so many times
09:19
maybe i should look into the gfx ci that deen mentioned
09:19
and do some tests with opencv :D
Avatar
mhh interesting thought, the problem is
09:20
i'd rather trust a linux software renderer than any windows driver xd
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:20:18Z
uhm
09:20
why u talkin windows now?
Avatar
i mean u want gfx correctness?
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:20:59Z
if windows ppl report bugs from my client i tell them to install linux
Avatar
or do u just want to have some renderings look the same for ever? xd
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:21:00Z
xd
09:21
i just want my client not to break on my system
09:21
and i use arch BTW
09:21
nobody else uses these player pics anyways xd
Avatar
nobody uses ur client in first place
09:21
😉
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:21:52Z
yea
Avatar
nice commit message tho
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:22:13Z
but there are actually some users nowerdays due to my heavy chat ads
09:24
ty
Avatar
i dunno how useful a graphical CI is, but maybe a nullbackend that acts like vulkan backend is 😄
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:25:21Z
well in my case it would be useful
Avatar
but your bugs werent inside the backend
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:25:48Z
because i can tell you it wont take a year until some random merge w upsream either removes the playerpics totally or breaks zooming
09:26
and i only figure out when i want to show off the feature to a hot one night stand
Avatar
ur chillerdragon puppy?
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:29:16Z
da
Avatar
ah right u dont even own it, u just have a pic of it
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:29:29Z
da
09:29
yo jupi do u even play tw?
Avatar
i invented tw
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:29:47Z
or wait ur the nameleess tee guy
09:29
disgusting
09:30
my client marks nameless tees names as enemys and filteres all chat messages from them
09:30
only toxic people hiding behind fake names or noobs use this name
Avatar
i currently dont even play as nameless tee 😄
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:30:31Z
nice
09:30
wats ur nick?
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:30:59Z
flex
09:31
u know flummi right?
Avatar
yes, u too xd
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:31:37Z
xd
Avatar
the muinch gang
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:31:50Z
leak
09:31
axaxax
Avatar
umm can you guys just tweak the mobile version a bit and then put it to play store
09:34
pretty sure the shit would go viral
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:34:49Z
doubt
09:35
tw is too hard as it is and not going viral
09:35
on mobile its even harder
Avatar
pretty sure it can be tweaked
09:35
y'all somehow got the crossplay working
Avatar
novice raid gang stares angry at u
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:35:48Z
but @Twig ur lucky our android dev is online right now @Jupstar ✪ is the one u want to ping all day
Avatar
i only made it build for android
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:36:10Z
official ddnet android developer
Avatar
i clearly said i have no interest in adding features for it
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:36:20Z
when new feature
Avatar
my mobile phone is some trash 32bit phone from 2015 xd
Avatar
Avatar
Jupstar ✪
i clearly said i have no interest in adding features for it
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:36:41Z
omg tenor
09:37
@Twig seems like its on u now
Avatar
but vulkan works great for android can default to that for the 64bit phones hehe
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:37:46Z
linux > android
09:37
change my mind
Avatar
android = linux + trash
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:38:09Z
i run arch on my phone btw
Avatar
but on a trash phone
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:38:21Z
well its manjaro but still close enough
09:38
its cheap tho
Avatar
what about controller support on pc?
Avatar
before ur phone starts. i can ride with my bicycle form anywhere in my town to my pc and still be faster xd
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:38:57Z
isnt there?
09:39
maybe only in vanilla
09:39
but iv seen plenty of issues and prs of joystick staff
09:39
@Jupstar ✪ lol
09:39
but playing flappy bird is actually fun
09:40
wait im sure i got footage somewher ei alr posted it here
Avatar
Avatar
Twig
what about controller support on pc?
ask @Robyt3 he did controller support for vanilla. And he might be more motivated for such quality of life stuff than me also android also relies on IME(even tho its just a virtual keyboard there). So can aswell cleanup that ^^
Avatar
Avatar
Jupstar ✪
ask @Robyt3 he did controller support for vanilla. And he might be more motivated for such quality of life stuff than me also android also relies on IME(even tho its just a virtual keyboard there). So can aswell cleanup that ^^
if your pc is faster why dont you get an emulator
09:42
idk if that would work
Avatar
i tested it on the google emulator indeed
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:43:34Z
google
Avatar
but i can only run x86 and x64 there
09:43
arm and arm64 are broken
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:44:07Z
besser arm dran als arm broken
Avatar
Avatar
[quakenet] ChillerDragon
google
guess what, google made android xd
09:44
xd
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:44:23Z
guess what, thats why android sucks
Avatar
it sucks bcs somebody felt clever putting java on top of everything
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:44:49Z
i prefer duckOS
09:45
i somewhere heard that sim cards run java
09:45
:D
Avatar
with every android release more and more stuff is backported to the ndk xD
Avatar
[quakenet] ChillerDragon BOT 2022-06-06 09:45:28Z
didnt make much sense to me
Avatar
bcs nobody likes this shitty java interface
Avatar
Avatar
Jupstar ✪
ask @Robyt3 he did controller support for vanilla. And he might be more motivated for such quality of life stuff than me also android also relies on IME(even tho its just a virtual keyboard there). So can aswell cleanup that ^^
I'm a bit hesitant to port Joystick and IME from upstream because there already exist some Joystick and IME implementation on ddnet that I'm not sure about how well they work and how much they are used. Especially joystick controls seems to be implemented much differently on ddnet than on upstream, so if anyone is currently using them as they are right now, they wouldn't be able to play like that anymore with the upstream joystick implementation.
Avatar
How to play demo recorded by server? I tried to play it from ddnet client but it doesn't work.
Avatar
I think you need to have the map file
10:04
@Robyt3 No joystick users, I think they use remapping tools atm
Avatar
Avatar
deen
@Robyt3 No joystick users, I think they use remapping tools atm
So basically nobody is using inp_joystick 1 right now?
Avatar
@Robyt3 IME is being widely used on DDNet, but it has doesn't work in fullscreen apparently. Maybe you can check with @TsFreddie @sirius1242 if the TW 0.7 would be fine as it is. We have an issue for that: https://github.com/ddnet/ddnet/issues/4397 (edited)
Reported by 冷落: Another problem is that when the game uses full screen typing, my input method candidate field is not displayed,It&#39;s been like this for a long time TsFreddie: we should just...
Avatar
Avatar
Robyt3
So basically nobody is using inp_joystick 1 right now?
Never heard of anyone, I even forgot we have this
Avatar
and likely nobody is using the OUYA console xD
Avatar
IME sucks hard in ddnet
Avatar
don't make me try to compile it for mine
Avatar
it opens the keyboard randomly when starting the client or when pressing ESC to open the menu, bcs that calls the SDL start input call
Avatar
Avatar
deen
I think you need to have the map file
But when I record demo from ddnet client it works (edited)
Avatar
client demo integrates map file. what error do you get?
Avatar
No error
10:08
Console log
Avatar
Avatar
Jupstar ✪
guess what, google made android xd
Guess what, that's wrong
10:09
Google bought android
Avatar
Avatar
CovER
Console log
That's weird, I think no one has tried server demos recently. Can you open a bug on github?
Avatar
Avatar
deen
That's weird, I think no one has tried server demos recently. Can you open a bug on github?
Yes, I will do this
Avatar
There is still more duplicate code but it's tricky to extract.

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 if it works standalone, system.c especially
  • [ ] 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 memch...
Avatar
Avatar
ReiTW
Guess what, that's wrong
whats so wrong about it? google works on it since the beginning. Just bcs they might not invented it themself
10:11
pretty much all tools sdks etc are by google
Avatar
DDNet version 16.1 Architecture win64 How I recorded this demo: 1. Set svplayer_demo_record 1 in data/autoexec_server.cfg 2. Start server 3. Joined the server and finished the map 4. Got file named "everything_too fat 0.68.demo" Download demo - https://drive.google.com/file/d/1jNx3TdkbsWOuCjU-BWOzfe8hML6U-vN5/view?usp=sharing Client log when I try to play this demo(nothing happens instead of little screen glitch): ![image](https://user-images.githubusercontent.com/43516399/...
Avatar
Use CCmdlineFix RAII wrapper to encapsulate cmdline_fix and cmdline_free handling. This fixes memory leaks when client/server/tools exit early, as cmdline_free was only called on the happy code path.

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers a...
Avatar
Avatar
Jupstar ✪
IME sucks hard in ddnet
Hm, it can't be too bad since if it were chinese people would be complaining :D
Avatar
This way, people don't accidentally implement them if we haven't even decided whether we want them. Example: #5091.
Avatar
we probably don't interact with the chinese community enough to notice
Avatar
Avatar
Learath2
Hm, it can't be too bad since if it were chinese people would be complaining :D
i also dont mean use wise, but program implementation wise
11:58
and as deen said it doesnt even work in fullscreen
11:58
so even use wise it sucks hard
Avatar
Avatar
heinrich5991
we probably don't interact with the chinese community enough to notice
Well I'd hope @TsFreddie would let us know if they were in an outrage
Avatar
omg, these windows dark patterns are soo bad
Avatar
Avatar
Jupstar ✪
and as deen said it doesnt even work in fullscreen
I doubt any game really has this, it works fullscreen but it obv can't render over our screen
Avatar
@Learath2 I think it works for blizzard games
Avatar
it works on vanilla
Avatar
I switched my windows to japanese so I can learn some, but it's really hard to figure out how not to install windows 11
Avatar
Avatar
Jupstar ✪
it works on vanilla
Vanilla somehow lets IMEs render on top of actual real fullscreen?
Avatar
it just renders it ingame
Avatar
e6bd84d Extract CCmdlineFix to call cmdline_fix and cmdline_free automatically - Robyt3 de199d0 Fix doxygen comments - Robyt3 171ac20 Merge #5363 - bors[bot]
Avatar
itself
Avatar
tsfreddie made that iirc
12:00
or robyte or both
Avatar
Ingame? As in getting candidates from the ime and rendering a box themselves?
Avatar
yes
Avatar
Or do you just mean the running input. We render the running input too though
Avatar
no with suggestions
12:01
or candidates
Avatar
Avatar
Jupstar ✪
yes
I'll have to check that out. I did dig quite a bit into IME documentations and there wasn't reallt any API for this except for a pretty limited one on windows
12:02
really*
Avatar
well 99% of our players are on windows
12:02
so i guess thats fine
12:02
on every other OS the IME candidates will work on fullscreen
12:02
bcs not every OS sucks like windows
Avatar
Ctrl+V clipboard history also doesn't show in ddnet in fullscreen but it works in upstream for some reason
Avatar
Avatar
Jupstar ✪
on every other OS the IME candidates will work on fullscreen
Mh, macOS can't render IME on top of fullscreen either. I haven't tried on linux since it's a PITA to get an IME working
Avatar
I did the selection support and TsFreddie did the IME implementation using windows API
Avatar
ah, nice, windows replaced my bootloader
12:09
I haven't had a dual boot machine in a longer time I guess
Avatar
Avatar
heinrich5991
I haven't had a dual boot machine in a longer time I guess
On a regular update?
Avatar
yes, I think so?
Avatar
Avatar
Learath2
Mh, macOS can't render IME on top of fullscreen either. I haven't tried on linux since it's a PITA to get an IME working
then macos sucks too
Avatar
Avatar
heinrich5991
I switched my windows to japanese so I can learn some, but it's really hard to figure out how not to install windows 11
not entirely sure due to this
Avatar
there is no excuse for this on kde it works
12:13
if KDE can do it, billion dollar companies can too
Avatar
I use refind and have my efi boot order set to it and windows never managed to replace it yet
Avatar
on android it works too btw
Avatar
I also used refind (for the first time, used efistub before)
Avatar
Avatar
Jupstar ✪
if KDE can do it, billion dollar companies can too
Is it really the DEs job to handle this? I'd think it'd be the job of the WM. I'm actually not even sure how they handle drawing over exclusive fullscreen
Avatar
ok then kwin
Avatar
Not WM, the display server I meant
12:15
So X/Wayland?
Avatar
mhh yeah possible
12:15
does windows even split that
12:16
i mean Windows is their DE, WM, whatever
12:16
but anyway, i dont really see why it should not work
12:20
19e9782 Extract CLayerTiles::ShiftImpl - Robyt3 e0e1f49 Extract BrushFlipXImpl and BrushFlipYImpl - Robyt3 3ddc4d5 Merge #5361 - bors[bot]
Avatar
mhh only thing i would criticise is, that he didnt mention the size of the element in the datastructure he seems to only use list<int>
12:28
this isnt really real world scenario
12:29
at least not always
12:31
"The remaining difference can be explained by the size of the list node (32 bytes), a cache line can only hold 2 nodes while it can hold 16 integers." ok he mentions it but could go into more detail, bcs thats the interesting part 😄
Avatar
I noticed sometimes cl_nameplates_ha is displayed for other players (I saw this on ddnet server on tutorial map), but most of the time only for the own player and that only if cl_nameplates_own is on. I think this is mainly used for non race mods. And there it is not even shown on other players. I see three options:
  • Show it on all players
  • Or removing the option complete
  • Or fix it so it is always only shown on the own player
I would suggest to remove the option completely. ...
Avatar
chillerdragon:
149.202.127.134:8303 has 6 bots registered as players
13:15
is that true? it seems to be your server. that would be against the rules
Avatar
@heinrich5991 what happened to #4691?
Avatar
This pull requests adds the tune-lock tile and a tune lock reset tile. Tune lock is index 69 and tune lock reset is index 70 from tune layer. Tune zones have a higher priority than locked tunings, ...
Avatar
Avatar
fokkonaut
@heinrich5991 what happened to #4691?
u deleted ur fork
Avatar
since when do they close prs then?!
Avatar
no fork no pr
Avatar
before it saved it and said fokkonaut:unknown as source
13:36
its new to me that they get closed lol
13:36
is it possible to reopen this?
Avatar
create a new pr
Avatar
button is greyed out
13:36
hovering shows the reason that Jupstar gave
Avatar
Avatar
fokkonaut
before it saved it and said fokkonaut:unknown as source
why do you even delete it so "often" XD
Avatar
idk i dont care about my fork and if things get messed up i just create a new one
Avatar
Avatar
The phone number in the txt file is mine
Avatar
and mine as well
Avatar
I feel like everyone always just wants me to fast forward to the part I tell them the commands :D
Avatar
forwarding to the part with the commands doesn't have to be a bad thing. but do still teach them to help themselves, preferably by understanding the problem
13:52
oh, I found a nice xkcd by clicking the random button once: https://xkcd.com/2224/
Avatar
Apparently we don't use position-independent executables on Windows? From Discord:
[5:19 PM] Jupstar: yes, tho currently we build without PIE
PIE should really be enabled so that ASLR works, which is a good first line of defense against remote code execution bugs in C/C++ code.
14:06
From https://github.com/ddnet/ddnet/pull/5363#issuecomment-1147355244
I think I missed the tw namespace being introduced. What was the reason?
What's the reason for putting stuff into namespaces? I can see the positive effect that we're less likely to clash with existing names. I can see the negative effect that it's extra typing. Absent of quantifications of these two, I'd think that the drawback outweighs the advantage.
Avatar
Avatar
heinrich5991
chillerdragon:
149.202.127.134:8303 has 6 bots registered as players
how to register bots as non players tho?
Avatar
don't show them in the server info
Avatar
also why don't dummies don't count as bots?
Avatar
is it your server? have you accidentally logged in with the wrong account?
15:17
or do you host some other server with the same problem? @sone
Avatar
no I am just wondering because I also host a server.
15:18
which allows many ips per player (thus dummies)
Avatar
that's fine
15:38
chillerdragon: I found a tw yt video without a comment from you: https://www.youtube.com/watch?v=WixRWjyqm1o
Avatar
at chillderdragon reinstalling arch with old setup troll
Avatar
what's the point of extern "C" in base/system.{h,cpp} ?
Avatar
extern "C" specifies how the functions get called
Avatar
yeah, but why is it needed?
16:12
it compiles fine without it
Avatar
currently, it's only needed to support the antibot library written by noby that we're using
Avatar
i was adding templated mem_zero according to my comment in github on POD struct issue, so i removed it 🙂
Avatar
"The secret to optimization is changing the problem to make it easier to optimize" – John Carmack
16:20
poggers
Avatar
@c0d3d3v template generate different binary function for each templated type
Avatar
Map Space & Time on Brutal server, go to tele 66 (above start). FPS drops on my potato machine with no GPU from 300 to 20. !Screenshot_2022-06-06_18-43-07
Avatar
@Jupstar ✪ not even an hello to nameless dev 😢
Avatar
what
16:49
ah
16:49
i have 1k fps xd
Avatar
does it render all of them?
Avatar
doubt since snapobject is limited
16:49
what renderer did u test on btw?
Avatar
at least the non rendered explosion still apply push
Avatar
only gl 3.3 & vulkan have particle batching
Avatar
[2022-06-06 18:49:55][sdl]: SDL version 2.0.8 (compiled = 2.0.8) [2022-06-06 18:49:55][gfx]: Created OpenGL 3.0 context. [2022-06-06 18:49:56][opengl]: Vendor string: Intel Open Source Technology Center [2022-06-06 18:49:56][opengl]: Version string: 3.0 Mesa 20.0.8 [2022-06-06 18:49:56][gfx]: GPU vendor: Intel Open Source Technology Center [2022-06-06 18:49:56][gfx]: GPU renderer: Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2) [2022-06-06 18:49:56][gfx]: GPU version: 3.0 Mesa 20.0.8
Avatar
try vk
Avatar
opengl 3 then
Avatar
yeah but 3.0
Avatar
cant on my laptop
Avatar
rip
16:50
not even 3.3?
Avatar
ill try on the windows machine later
Avatar
wait a linux machine without opengl 3.3?
16:51
does such thing exists?
Avatar
not my fault if default is opengl 3 😄
Avatar
yeah
16:51
but if u can still try it out
16:51
just for the sake of knowing
Avatar
i have better fps, but it still doesn't render all
Avatar
yeah
16:52
thats snap limit
17:03
PepeA
17:04
17:04
:o
17:04
looks like its real
Avatar
well python is one of the slowest languages xD
17:05
guess its less impressive than it sounds
Avatar
true xD
17:07
A post-modern modal text editor. Contribute to helix-editor/helix development by creating an account on GitHub.
17:07
i need to try this someday
17:07
its vim-like
17:07
and in rust
17:07
Avatar
epic color scheme
Avatar
If Neovim is the modern Vim, then Helix is post-modern.
17:08
xd
Avatar
@ jupstar since youre into render and vulkan. i was wondering is it possible to "port" to directx/windows
Avatar
yes is possible, but what would be the need?
17:26
vulkan is industry forged
Avatar
no need
17:26
just curious
Avatar
u can do anything with ddnet
17:26
its open source xd
Avatar
but is it easy?
Avatar
depends
17:27
porting it to dx12 is probs similary "hard" like vulkan
Avatar
why are those different anyway
Avatar
u need good understanding of the concepts of the graphical computation model
17:28
bcs windows wants a closed ecosystem
17:28
and opengl in the past sucked
Avatar
isnt there a "cross plattform" gl
Avatar
but since opengl 3.3(4.0) this changed quite a bit
17:28
OpenGL
17:28
works on any system
Avatar
no i mean
17:28
code once, choose any renderer
Avatar
u mean a higher abtraction level
17:29
yes there are plenty
Avatar
so ddnet/tw is lower level? it uses opengl directly, as opposed to using a lib, that is before it using opengl or vulkan or whatever? what is sdl2 doing then after all?
Avatar
yes ddnet uses vulkan and opengl directly
Avatar
i thought tw is an"sdl2" game
Avatar
SDL2 integrates DDNet into the window managers
17:31
so i dont have to care about window creation etc.
17:32
i'd say sdl2 is relativly easy to replace
Avatar
i thought i had read something about it also. .. do smthn with graphics (edited)
17:33
aha
Avatar
if u want to know the reason why vulkan/opengl directly
17:34
i dont want to learn any gfx lib, bcs: 1. if i would use higher abstraction anyway, i'd directly chooose some overpowered engine like godot 2. more dependencies for a "relativly" easy/small backend 3. slower probably
Avatar
Avatar
cauldron
i thought i had read something about it also. .. do smthn with graphics (edited)
i thought sdl is like a core, because i thought without sdl no tw, i kind of pit the game in this category. sdl, lwjgl... whatelse (edited)
Avatar
SDL2 has a very basic rendering engine, but its not enough for ddnet
17:35
it can draw quads and stuff, but with rather bad performance
Avatar
nice, i feel the same, but one triangle or something with opengl and i quit xd
17:36
too long way for a nice thing to play with like core opengl game
17:37
xd aha, on windows with thinkpadt420 i was on opengl2 (edited)
17:38
thats how i came up with the question
Avatar
rip
Avatar
i also found a guy who ported mesa to windows
17:39
but didnt make it run
Avatar
yes works quite ok actually
17:39
opengl 3.3 on dx12
17:39
OpenGL on DirectX 12 for DDNet. GitHub Gist: instantly share code, notes, and snippets.
Avatar
what?
Avatar
thats a mesa driver written by microsoft
Avatar
is like opengl on top of directx?
Avatar
opposite
17:39
or
17:39
well
17:39
yes
17:40
guess thats how u say it
Avatar
but not mesa
Avatar
opengl on dx12
17:40
yeah 😄
Avatar
and not opengl2 xd
17:40
well ok
Avatar
it can also do opengl 2 already i think
Avatar
im not on windows now anyway
17:40
yes
Avatar
i think only RADV is actually working on windows
17:40
as "native" driver
Avatar
ddnet worled
Avatar
but it doesnt actually work xd
Avatar
dont know it
Avatar
RADV does not work on Windows. This is not a bug or a missing feature, it just isn&#39;t going to work. Distributing it in this package implies that it will, and this wastes the time of anyone ...
17:41
ok nvm
17:41
it was removed
Avatar
i also dont know if vulkan is the solution
17:42
it was avaiöable on windows ddnet. but i couldnt render alacritty minecraft blenderbcause theybrequirebopengl 3.3
17:42
so...
17:42
vulkan support?
Avatar
i'd say dropping everything else except vulkan would drop a lot of bloat all over the industry they can focus on one product
17:42
instead of 10
Avatar
i mean i see so many driver bugs its insanly annoying
Avatar
competiton
Avatar
what is the competition to vulkan?
Avatar
directx 12 is basically the same, maybe bit higher level
17:43
metal is higher level and less powerful
Avatar
the other stuff and people not wanna "move on" idk
Avatar
its just apple's and microsoft try to create an ecosystem
Avatar
dont know metal
Avatar
remember vulkan = AMD + NVIDIA + Intel
Avatar
that sucks
Avatar
+ qualcomm
17:45
valve also relies heavily on it already
17:45
and valve is the biggest player in gaming industry
17:45
if u ignore mobile gaming xD
Avatar
adapting to ecosystemb/ filling ecosystem instad of. .. one emerges bybgood stuff thatbpeople wanna use anyway
17:46
i do
17:47
i still dont get it with vulkan. im not intobgaming andbhardware. but i would think like software that dont work with opengl work with vulkan
17:48
but what popular software is using vulkan mainly? (opensource)
Avatar
quake raytracing xd
Avatar
is for me same category as wayland. new but gay, cause new 😅 😅 troll
Avatar
i mean dxvk obviously uses vulkan
17:50
and that's used to run any game on linux(from windows)
Avatar
dont know it
Avatar
its the best
17:50
if u ever run an old dx9 game, use dxvk and have more FPS
Avatar
ok i only know wine
Avatar
yeah its usually used with wine
17:51
well...
17:52
since i am buying an nvidia laptop + using proproetary drivers and nvidia is vulkan, i might just go for all the newbstuff like wayland and whatelse
17:52
rust go
17:52
kotlin
Avatar
hi guys
Avatar
Avatar
cauldron
since i am buying an nvidia laptop + using proproetary drivers and nvidia is vulkan, i might just go for all the newbstuff like wayland and whatelse
wayland has forced vsync
Avatar
lol for some reason i tried out debian, wanted to install with net install image. didnt have iwlwifi with it, so no wifi, hdd wiped, only phone. and im not at home. oops
Avatar
also i already warned u but i am nice guy, i warn u again first thing to search. can i disable nvidia optimus
Avatar
i told you i make it work. i read most people use proprietarybdriver. few use nouveau
17:57
and disable... i dont really understand what should prevent it on linux?
17:57
maybe proprietarybdriver?
Avatar
its not linux related
17:58
its a hardware limitation
17:58
if ur nvidia card is not connected to the laptop monitor everything runs over the intel GPU
Avatar
well idk i dont care if it sucks ill sell itborbsuffer
Avatar
so nice delay and nice FPS cap
Avatar
but i dont want new thinkpad, no tower, no mac
Avatar
someppl send me things about my issues in GitHub, i want just say i don't remember anything about this issues, just do what ever you want guys, right now i super busy with final exams
17:58
bbye bye
Avatar
Avatar
Jupstar ✪
so nice delay and nice FPS cap
maybe use wayland inside x and gameboutside
Avatar
Avatar
hussainx3
someppl send me things about my issues in GitHub, i want just say i don't remember anything about this issues, just do what ever you want guys, right now i super busy with final exams
good luck, ez for u
💪 1
Avatar
Avatar
cauldron
maybe use wayland inside x and gameboutside
wayland is epic, gives good stable fps but forced vsync Ò.ó whats wrong with the maintainers
18:04
do they want windows ppl be able to say linux sucks xd
Avatar
some ideology they have thats not broken yet, idk
Avatar
i dream of being a wayland user, rust dev, gentoo, openrc, qwerty, but not :(
19:19
i just use what works for me and end up installing windows, 😅 so much about ideology
19:23
sussy tux
Avatar
_🏳 (edited)
19:46
more testing to do
19:46
monkalaugh
19:47
Much like the original M1 chip, the new M2 uses Apple’s custom Arm silicon, and it’s built on a 5nm process complete with 20 billion transistors — 25 percent more than the original M1. All of these transistors should boost performance, and Apple is promising a 18 percent faster CPU, and 35 percent faster GPU inside the M2 compared to the original M1.
19:47
Avatar
Cellegen | HU 2022-06-06 19:52:20Z
@deen Another bug report, cuz you love those! (don't bother asking for any github reports cuz you know I cannot xd) In map editor: Shift + holding left click causes a selection as you expect with normally holding left click, but as long as you release the left mouse button, it crashes. Possibility can be that it tries to do another method involving Shift which cannot be executed duo to left click dragging.
19:52
PepeLaugh
19:52
no need to say, latest version, nightly, bla bla bla
19:57
First launch: open up editor and only using Shift + left click to interact | Second launch: open up editor, but use normal left clicking first, then Shift + left click
Avatar
@Cellegen | HU why is it that you cannot create a github account? ^^
Avatar
Cellegen | HU 2022-06-06 20:22:00Z
i have a github account, just github won't let me log into it
Avatar
somebody knows, tool used here for convert map to png picture is private or public? I want to find some map in https://github.com/TeeworldsDB/maps and by picture it can be more easy
A mirror of heinrich5991's map collection . Contribute to TeeworldsDB/maps development by creating an account on GitHub.
Avatar
Almost done porting joystick support 🥁

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 if it works standalone, system.c especially
  • [ ] 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/...
Avatar
one less python2 file yay
Avatar
92503fc Add comments, order functions, fix parameter names in engine input - Robyt3 9a17617 Let IInput::MouseRelative return true if mouse was moved - Robyt3 ff43b32 Extract UpdateMouseState function - Robyt3 ec84e81 Replace Android-specific member variables with static variables - Robyt3 86e2d67 Fix memory leak of CInput clipboard text - Robyt3 f500ced Port scripts/gen_keys.py to Python 3, add missing NOLINT comment - Robyt3 b8d3dee Merge #5369 - bors[bot]
Avatar
Inspired by https://github.com/ddnet/ddnet/issues/5353 Combined with freeze in a different layer, this is in theory the same as adding doors to the bottom of feeze or draggers that get activated after all tees are fallen in freeze so that the timed off switches get no longer triggered. Since rescue should not be free in a race game, you could set the time to stay in the teleport high, so that you get penalty for not doing the part first try. Also timed teleport could be used for some co...
Avatar
@Jupstar ✪ found a way to update some of my tools without recompiling them
Exported 552 message(s)