Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-10-23 00:00:00Z and 2021-10-24 00:00:00Z
Avatar
ChillerDragon: emote wheel takes UI mousesense
07:09
so now probs dekstop, yes
07:09
Is there a modifier for the sense tho?
Avatar
chillerdragon BOT 2021-10-23 08:23:44Z
no way my desktop or my ui sense is sooo low
08:23
this is unusable :C
08:25
ah right there is no ui sense anymore is there ? :D so it has to be desktop
08:25
but i swear my desktop sense is faster than what i have in the emote wheel
Avatar
inp_oldmouse
08:28
Or smth like that
Avatar
The emote wheel probably shouldn't even be using ui mouse imo. It'd work much better with relative input
Avatar
chillerdragon BOT 2021-10-23 08:30:31Z
ah inp_mouseold helps
08:30
still a bit slower or am i trippin here?
08:31
being fast in emotes is gameplay cruicial :D
08:31
but i dont wanna mess with my aim by changing to inp_oldmouse 1
08:32
@Learath2: relative input being the input that is used to aim in game?
Avatar
chillerdragon: Yep
Avatar
chillerdragon BOT 2021-10-23 08:37:10Z
that sounds nice
08:37
omg this is unplayable for now i go play minecraft :D
Avatar
I love how every change is unplayable for you
Avatar
chillerdragon BOT 2021-10-23 08:39:53Z
My enemys kill me while i am stuck picking the right emote to communicate
Avatar
"This recent change in the editor killed my mother"
Avatar
chillerdragon BOT 2021-10-23 08:40:03Z
ayyy
08:40
i said editor is fine to me!
08:40
i also give neutral feedback!
I could not aim in old editor i can not aim in new editor so a big neutral from my side for the new desktop mouse :D
Avatar
chillerdragon BOT 2021-10-23 08:59:31Z
Can we move GAME_NAME back to a merge safer place? https://github.com/ddnet/ddnet/blob/c9d5122a3c30e4f5b5ba10f05da29a5ea557d2ba/src/game/version.h#L10 it used to be in gamemodes.h and forks could edit it without having a merge conflict on every new ddnet release
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/version.h at c9d5122a3c30e4f5b5ba10f05da29a5ea557d2ba · ddnet/ddnet
Avatar
just move it 3 lines lower or something, then it's probably ok too
09:01
or higher
Avatar
chillerdragon BOT 2021-10-23 09:01:46Z
hmm but then when the version line is changed git missed the game_name line doesnt it?
09:01
oh or wait you mean in ddnet?
09:01
yea that could work
Avatar
chillerdragon BOT 2021-10-23 09:05:50Z
i expect GAME_VERSION to change very soon when we upgrade to 0.7 :p
09:06
and drop 0.6 axaxax
09:11
i wonder if one can write a git merge driver for that
09:11
image.png
09:11
that .gitattributes magic saved me a lot of conflicts
Avatar
Jupstar ✪ BOT 2021-10-23 10:20:30Z
it uses relative mouse, since emote wheel is a circle^^ But i'm for a revert anyway, not for this reason, I still think random settings like ui_mousesens suck(it defaulted to 200, so it just doubled the mouse speed) But bcs it doesn't just work on all OS/WM, and that's insanly annoying. I really dont understand whats so hard implemented a clipping rect for the mouse.. Especially since all OS we support, support to teleport the mouse
Avatar
chillerdragon BOT 2021-10-23 10:21:02Z
ok nice
10:21
mc sucks
Avatar
Avatar
Jupstar ✪
it uses relative mouse, since emote wheel is a circle^^ But i'm for a revert anyway, not for this reason, I still think random settings like ui_mousesens suck(it defaulted to 200, so it just doubled the mouse speed) But bcs it doesn't just work on all OS/WM, and that's insanly annoying. I really dont understand whats so hard implemented a clipping rect for the mouse.. Especially since all OS we support, support to teleport the mouse
What os/wm doesnt it work on? I only noticed mac being a little weird
Avatar
Jupstar ✪ BOT 2021-10-23 11:06:00Z
i3, xmonad
Avatar
Jupstar ✪ BOT 2021-10-23 11:13:13Z
also on macos it just plainly doesnt work.
Avatar
On macos it works, its just bad
Avatar
Jupstar ✪ BOT 2021-10-23 11:13:43Z
yeah it works bcs some SDL dev implemented it using mouse teleport
11:13
not bcs the OS is designed for it
Avatar
I dont think there is another way to do it on macos actually
Avatar
Jupstar ✪ BOT 2021-10-23 11:14:11Z
yeah really sad
11:16
desktop os will slowly loose against the mobile shit in macos a simple example is: safari groups tabs in win11: taskbar groups apps, doesnt allow rightclick menu like win10 in taskbar anymore in vlc master branch: i have to make an extra step to get to the context menu(instead of having a menu bar)
Avatar
You can maybe use a core tap and steal all mouse input
11:16
But you need to request permissions for that, rather annoying
Avatar
Jupstar ✪ BOT 2021-10-23 11:18:26Z
yeah, thats why just revert. Luckely i am in the comfortable position to compile myself For the rest its just the status quoe, so they are ok with it
Avatar
chillerdragon BOT 2021-10-23 11:21:05Z
sucks to not be a dev
Avatar
chillerdragon BOT 2021-10-23 11:44:16Z
any plans when to revert?
Avatar
Jupstar ✪ BOT 2021-10-23 11:45:51Z
lmao, mad af
11:46
let me look what commits i have to revert
Avatar
chillerdragon BOT 2021-10-23 11:46:22Z
im not mad
11:46
just too lazy too downgrade ;D
11:47
i really think using desktop ms was a cool idea
11:47
could potentially have solved bugs instead of introducing em
11:47
for example this boi would be fixed i assume https://github.com/teeworlds/teeworlds/issues/2962
First I followed the instruction on https://github.com/microsoft/wslg to install WSLg. Then I installed teeworlds. "sudo apt install teeworlds". So there is an icon like this. Ope...
11:48
not while playing but at least in editor
Avatar
Jupstar ✪ BOT 2021-10-23 11:48:39Z
bro
11:48
if it aint work on WSL, its WSL fault
Avatar
chillerdragon BOT 2021-10-23 11:49:05Z
i think so too :D
Avatar
Jupstar ✪ BOT 2021-10-23 11:49:07Z
if it wouldnt work on linux i wouldnt use that
Avatar
chillerdragon BOT 2021-10-23 11:49:38Z
i hope WSLg will not cause linux users switching back to windows :c
Avatar
Jupstar ✪ BOT 2021-10-23 11:50:10Z
does it work as good under win10?
11:50
i mean there is a simple reason ms wants dx12
Avatar
chillerdragon BOT 2021-10-23 11:50:21Z
i think WSLg is win11 only
Avatar
Jupstar ✪ BOT 2021-10-23 11:50:27Z
and that is opengl on dreictx12
11:50
lets wait and see how many ppl actually like win11
11:51
beside it looks good, it also removes alot of useful functionality
11:51
and most ppl hate it, its like the win8 changes
11:51
more tablet, less desktop
Avatar
chillerdragon BOT 2021-10-23 11:51:25Z
sounds like macOS :D
beside it looks good, it also removes alot of useful functionality
Avatar
Jupstar ✪ BOT 2021-10-23 11:51:34Z
yeah xD
11:51
but i actually also dont like macos compared to KDE, which allows me to use basically any theme i want
Avatar
chillerdragon BOT 2021-10-23 11:52:14Z
use KDE on macOS then 🧠
Avatar
Jupstar ✪ BOT 2021-10-23 11:52:46Z
does it work? :D
Avatar
chillerdragon BOT 2021-10-23 11:53:07Z
if u try really hard
11:53
:D
11:53
maybe nobody ever tried because it sounds so wrong
Avatar
Jupstar ✪ BOT 2021-10-23 11:54:19Z
i dont even blame macos, the majority of apple users just accept everything apple does without critism
Avatar
chillerdragon BOT 2021-10-23 11:54:27Z
true fans
11:54
tbh i do the same for linux stuff
Avatar
Jupstar ✪ BOT 2021-10-23 11:55:18Z
in linux the main problem is that some mantainers live in weird paralell universes
11:55
i also wouldn't say KDE's default settings are sane, but since you can change basically everything i am fine
Avatar
chillerdragon BOT 2021-10-23 11:56:10Z
Since i felt in love with kdenlive i felt the urge to try KDE
11:56
but im such a gnomie i just cant
Avatar
Jupstar ✪ BOT 2021-10-23 11:57:10Z
gnom is too much mobile for me already
11:57
everything feels like i have to touch it with my fingers
Avatar
chillerdragon BOT 2021-10-23 11:57:35Z
haha
11:57
wtf
11:57
mobian
11:57
pog
Avatar
fixes #4221

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/ddnet/ddnet/#using-addresss...
Avatar
chillerdragon BOT 2021-10-23 12:29:22Z
pog
12:29
so fast
12:29
:sonic:
Avatar
Jupstar ✪ BOT 2021-10-23 12:30:21Z
fast i litterally struggled 20minutes to think of what was still important
Avatar
chillerdragon BOT 2021-10-23 12:31:29Z
thanks :)
Avatar
Jupstar ✪ BOT 2021-10-23 12:33:04Z
mousewheel still sucks, it litterally takes relative input converts it to ui mouse but doesnt scale against the window width
12:33
completly random xD
12:33
the editor does the same for the value draggers and quad rotation etc.
12:35
(so it fells different to ui mouse anyway)
Avatar
chillerdragon BOT 2021-10-23 13:02:25Z
was there ever a force push on ddnet master?
13:02
image.png
13:02
or am i beeing stupid here?
13:03
going from 15.1.3 to 15.2
Avatar
5dbc641 Revert "Still clear pending mouse motion" - Jupeyy a1ef18e Revert "Remove the mouse mode changes that aren't needed" - Jupeyy 0d17665 Revert "Add new mouse state" - Jupeyy c7ae79a Minimal changes from mouse state change: fix editor & input - Jupeyy 6767278 Merge #4239 - bors[bot]
Avatar
chillerdragon: yes, sometimes I did one, not sure if that's the fault here though
Avatar
chillerdragon BOT 2021-10-23 13:05:27Z
yikes
13:05
how to merge that
Avatar
are you sure that's the cause?
Avatar
chillerdragon BOT 2021-10-23 13:06:11Z
i am recloning
Avatar
I don't remember force-pushing recently, so it shouldn't cause problems now
Avatar
chillerdragon BOT 2021-10-23 13:06:23Z
do u recall ever force pushing across release tags?
Avatar
not sure what you mean
Avatar
chillerdragon BOT 2021-10-23 13:06:49Z
depends on if u call 15.1.3 recent
13:07
did you force push changes that far in back in history that they span multiple releases
13:07
i merge from tag to tag
Avatar
chillerdragon BOT 2021-10-23 13:09:27Z
image.png
13:09
im a bit confused now on how to proceed cleanly
Avatar
git pull?
Avatar
chillerdragon BOT 2021-10-23 13:10:53Z
?xd
Avatar
or just merge
Avatar
chillerdragon BOT 2021-10-23 13:11:05Z
merg eunrelated histories i guess
13:11
but i am not sure what happens to the changes i merged in and u force pushed away
13:11
if u run git reset --hard 15.2 in ddnet u get diverged
13:12
what a pain
13:12
could you please not force push anymore :c or at least only between tags
Avatar
I don't think I did that recently
Avatar
chillerdragon BOT 2021-10-23 13:13:30Z
15.2 is nov 17 2020
13:14
i assume its related to clang format maybe
13:14
anyways it happend and now i gotta figure out how to not break things
13:15
ok merge works without complaint hmm
13:15
i still feel like what ever u force changed is now unchanged in my branch
Avatar
Jupstar ✪ BOT 2021-10-23 13:35:31Z
why didnt u just take your changes and put them into ddnet master, instead of the opposite
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:38:13Z
That was my plan at some point then i was too lazy
13:39
The mod is like 5 years old and has changes all over the place idk where and what features it had and so on a rewrite just seemed like too much effort so i never really got the motivation to do it
13:39
So i took my crap of a repo and yoinked ddnets git history in and started to merge up from tag to tag since days
13:39
i cam a far way from 9.0.2 to 15.2
13:39
cmae*
13:39
omg tyoe
Avatar
Jupstar ✪ BOT 2021-10-23 13:41:33Z
very simple Take the ddnet version of your last commit, then copy paste your repo into that ddnet version and you have your diff (<@749222324980416602_=5bquakenet=5d=20=43hiller=44ragon>)
The mod is like 5 years old and has changes all over the place idk where and what features it had and so on a rewrite just seemed like too much effort so i never really got the motivation to do it
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:41:52Z
yes but the diff is uslessly big
13:42
there is clang format
Avatar
Jupstar ✪ BOT 2021-10-23 13:42:18Z
now you waste 2 months of your life porting your few thousand code lines
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:42:20Z
and also plenty of usless changes in the mod
Avatar
Jupstar ✪ BOT 2021-10-23 13:42:24Z
other way around its one evening
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:42:39Z
im really happy so far
Avatar
Jupstar ✪ BOT 2021-10-23 13:43:14Z
i cant judge on how big the changes actually are, but sometimes rewritting stuff also makes the quality better
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:43:43Z
yes ofc the quality code be improved but as i said that pile of work seemed to big to ever start
Avatar
Jupstar ✪ BOT 2021-10-23 13:43:56Z
ok^
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:44:13Z
also i do not like having two versions an old feature complete and a new work in progress
13:45
how?
Avatar
Jupstar ✪ BOT 2021-10-23 13:45:36Z
i can also say thats exactly how i ported fng to 0.7
13:45
just see the diff and ez pz copy paste and clean up minor stuff
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:45:44Z
hm
Avatar
Jupstar ✪ BOT 2021-10-23 13:45:48Z
instead of rebasing everything
Avatar
[quakenet] ChillerDragon BOT 2021-10-23 13:45:54Z
merging*
13:45
no rebase
13:46
Also gave me an opportunity to instead work on code quality work on merable code
13:46
mergable*
13:47
I learned a few things about ddnets git history too :D
13:49
I know I already shamlessly selfplug promo this tool here but it helped me soo much during the merges https://github.com/lib-crash/lib-teeworlds/blob/master/bin/tw_cmake
Some helpers for the game teeworlds written in bash - lib-teeworlds/tw_cmake at master · lib-crash/lib-teeworlds
13:49
If you have a terminal open to run or build tw_cmake is such a time safer it will automatically generate a CMakeLists.txt for you
13:49
so delete, rename or add files run tw_cmake . and all works
Avatar
Jupstar ✪ BOT 2021-10-23 15:00:33Z
I'll also leave a commit for ppl that want proper mouse handling and dont use any hipster wm or os https://github.com/Jupeyy/ddnet/commit/aa79096a1c45122f0d12276870ee3be28801cef6
15:03
@deen: already started with the change log? it must be insanly long, i'm really cursios xD
Avatar
I have a question, is a vserver enough to run some teeworlds (ddrace) server? or do i need a dedicated server? (edited)
Avatar
Jupstar ✪ BOT 2021-10-23 15:09:06Z
a toaster should be enough xd
Avatar
xd
Avatar
Jupstar: Some how I can't find time
Avatar
Jupstar ✪ BOT 2021-10-23 15:10:39Z
yeah understandable :D
Avatar
chillerdragon BOT 2021-10-23 18:44:45Z
image.png
18:44
should that be "without" or am i reading it wrong?
18:45
ah no
18:45
there is still history but not full
18:45
these instructions are so overkill :D
Avatar
Cellegen | HU 2021-10-23 19:49:21Z
Yo, may I have a question about sound effects inside the client? Can we have options on using Clicking sounds? Like whenever you click on a window / panel, etc.
19:49
I want to create a pack, which would include those sounds (and music) inside the Main Menu.
Avatar
I have question, i had some help from @HappyFray on hosting my own ddrace server on a vserver so basically i open the DDnet-Server over my vserver everything worked perfectly i even hosted 2 servers and tried the chillerbot-ng with flooding my sever with bots and everythink worked like it should now im also hosting my own discord music bot over the vserver and now when i start a server after some time i get this Floating point exception (core dumped) (edited)
21:59
is there a easy fix or do i need to work on it with Happy?
22:06
Doesnt Floating point exception (core dumped) only happen on divisions by zero?
Avatar
The error comes from DDNet server or from your discord music bot?
Avatar
from ddnet server
Avatar
I'm not aware of us having this failure on official server, what version are you running?
22:08
Any way to reproduce the error?
Avatar
`` Core was generated by ./DDRace64-Server_sql -f servers/8304.cfg'. Program terminated with signal SIGSEGV, Segmentation fault. warning: Section `.reg-xstate/1115820' in core file too small. #0 CGameContext::Collision (this=) at /home/teeworlds/src/master/src/game/server/gamecontext.h:137 137 /home/teeworlds/src/master/src/game/server/gamecontext.h: No such file or directory. [Current thread is 1 (Thread 0x7f2ebefa6b80 (LWP 1115820))] (gdb) bt #0 CGameContext::Collision (th...
22:09
On Linux (X11), I have remapped by Caps Lock to ESC with setxkbmap us -option caps:escape -variant de_se_fi. In the original Teeworlds and in pretty much every game I now, they respect this setting and pressing Caps Lock activates ESC. However, ddnet somehow does not detect the ESC when I press Caps Lock. Since I don't have a real ESC key on my keyboard, I am unable to enter the Pause menu. Probably ddnet is checking the keyboard a layer below than what most other applications do and ch...
Avatar
yep when my musicbot is online and i start my ddnet server and join on it i will come after some time
22:10
the thing is that my musicbot right now still gives me some errors i need to fix and i dont know if that errors by anyway influence the ddnet servers?
22:13
22:13
Sorry i dont know how to take a screenshot in my vserver and send it over my discord on my pc xd (edited)
22:14
but here is the terminal of the ddnet server
Avatar
run it with gdb to show the stack trace
Avatar
I don't understand what the musicbot has to do with it
22:17
they shouldn't affect each other
Avatar
Avatar
Chairn
run it with gdb to show the stack trace
how do i run it with gdb? xd i installed gdb but now hot so start it trough it
Avatar
gdb --args executablename arg1 arg2 arg3
22:21
then type run
22:22
and when it crashes, type backtrace
Avatar
Avatar
deen
I don't understand what the musicbot has to do with it
i dont know, the thing is everything worked and after we got it i setup my bot on the vserver and with that i maybe change something
Avatar
Did you build the ddnet server yourself or take the version from ddnet.tw?
22:34
and is it the latest version?
Avatar
he showed me a gdb log, but there are no debugging symbols
22:34
are they included in the release version?
22:36
maybe it would be nice to compile it with -g1 to be able to recover a call stack (edited)
Avatar
Avatar
deen
Did you build the ddnet server yourself or take the version from ddnet.tw?
yep i did use the latest version
22:38
over ddnet.tw
Avatar
You could check if it's something that's already been fixed by chance by taking https://ddnet.tw/downloads/DDNet-15.6-rc2-linux_x86_64.tar.xz
Avatar
must say tho that i am a complete noob with linux and vservers nearly everything did @HappyFray thats why i asked should i wait for him till tommorow to fix it or is it something im capable of fixing myself? c:
Avatar
Looks a bit difficult
Avatar
well i can try the other version u send me
22:44
but if its still gets the same problem i just wait for him
Avatar
so the new server works
Avatar
ok, good. maybe we just fixed it and I forgot
Avatar
but i use the default autoexec_server.cfg
23:04
let me try the old on if it still works
Avatar
oh yeah, it could also be caused by your config
Avatar
ah ok cool so the old config works right now without crashing as for now
23:11
ah needed to hide ip xd
23:11
23:11
there are blanks in the terminal now, if compared to the logs
Avatar
Some problem with the colored output I guess
23:11
We print colors on terminal now
23:12
How do you run the terminal? Is it inside of screen?
Avatar
yup
Avatar
Can you mark the text on the empty lines?
Avatar
oh no my bad
23:14
i was running it outside of screen
23:14
with screen its showing fine but witout it i still got blanks
Avatar
ok, can you echo $TERM?
Avatar
when running without screen?
Avatar
Jupstar ✪ BOT 2021-10-23 23:35:03Z
you can just change the terminal background color
Avatar
yup now i worked
23:39
23:40
still running without screen but with the white background as default i just didnt saw anything xd
Avatar
Jupstar ✪ BOT 2021-10-23 23:40:47Z
is white default on ubuntu?
Avatar
well i played with the text color and found this out
23:45
23:46
the default text is marked yellow (like u can see on the left in my discord bot) and the other text is just white (edited)
23:47
im only able to see the other text with a black background bc the text is white
Avatar
Avatar
Jupstar ✪
is white default on ubuntu?
default is black normally
Avatar
fixes #4242

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/ddnet/ddnet/#using-addresss...
Avatar
as i see it there is just 2 forms of text, default being default black and "other" i would call it
23:51
23:52
"other" text is just always white no matter the background (edited)
23:52
default text is color in the screenshots to visualize
Avatar
Jupstar ✪ BOT 2021-10-23 23:54:46Z
i'd say aslong as you stay greyscale it should work
23:54
that's fair enough then
Exported 262 message(s)