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-08-24 00:00:00Z and 2022-08-25 00:00:00Z
Avatar
I found like three tutorials, but I thought you can add randomness into automappers and I didn't see that in those tutorials
Avatar
Avatar
Patiga
I found like three tutorials, but I thought you can add randomness into automappers and I didn't see that in those tutorials
maybe look into existing automapper rules for like generic tiles, there must be randomness involved somewhere
Avatar
true, but some sort of specification would be great
Avatar
[MAPPING] How to set up your own rules for automapper [OUTDATED] (Page 1) — Tutorials — Teeworlds Forum — Everything Teeworlds!
00:06
but i wouldnt say its explained well
Avatar
ah, it says 'outdated' just coz they went to the new format, not because things in the old format changed?
Avatar
as far as i know the random feature should work the same
00:08
or at least be written the same way
Avatar
thanks!
Avatar
Avatar
Chairn
a separate commit is enough imo
I'm thinking, how the editor uses Tool Tips is that it's embedded inside the button code. I don't know if I should do the same to the FontIcons section since there's also an instance of it in menus.cpp within a CONF_VIDEORECORDER section
Avatar
Avatar
Skystrife
@Erik van Velzen I have a couple years of experience with blockchain development and have played this game for many years and as I mentioned last time we talked about blockchain, while it would be possible to integrate blockchain aspects into this I don't think the game lends itself well to it and I especially don't think it would be good for the community, so if you do want to build a derivative of this game with blockchain, I don't think it would be well accepted anyways (edited)
Erik van Velzen 2022-08-24 06:04:35Z
We are not directly working on chain That's what the future if there will be security issues we're just going to use the payment structure at the moment only on bsv and later on on usdc when that is integrated into the system that will be using
Avatar
Avatar
Devinci
lmao, how greedy do you have to be to kinda "ruin" tw...
Erik van Velzen 2022-08-24 06:05:34Z
It's like having a pizzeria pizzeria is like open source right Anyone can jump in and do the same thing but slightly different
Avatar
Avatar
Learath2
There is always a possibility that he builds a completely new community around it though
Erik van Velzen 2022-08-24 06:09:37Z
Correct.it Is building completely New Community around it.
Avatar
Avatar
Voxel
nftCatch, capture as many players as you can but every time you get captured your stock goes down by 4%
Erik van Velzen 2022-08-24 06:11:24Z
As long as we play and wager money on usdc all should be good
Avatar
Avatar
Nagi01 {LAN}
@TsFreddie yo, who have made ur discord pp ?
I did
Avatar
New discord update on Android sux af
06:38
No native app anymore 😦
06:38
Electron
Avatar
they gave up
06:46
finally
06:46
uh
Avatar
Avatar
gerdoe
finally
"finally"
06:58
this is the worst shit ever
06:58
the native app worked perfectly
Avatar
Avatar
ReiTW
New discord update on Android sux af
yup
Avatar
It's so laggy
08:03
Omfg
Avatar
For me it works lol
Avatar
Avatar
Voxel
I'm thinking, how the editor uses Tool Tips is that it's embedded inside the button code. I don't know if I should do the same to the FontIcons section since there's also an instance of it in menus.cpp within a CONF_VIDEORECORDER section
I can't wait to have cfg files as customization for unique game entities
08:12
or for normal ones, so we can translate the tooltips
Avatar
Avatar
ReiTW
"finally"
i knew that they will kill their native
08:16
discord sucks
Avatar
Buy a better phone or something, idk
08:23
Just because in theory it's less optimised doesn't mean it's worse
08:24
It's good enough
Avatar
Avatar
pilonpl
Just because in theory it's less optimised doesn't mean it's worse
Electron is garbage, and everyone knows it
08:26
Just mention electron anywhere and people should vomit by default
08:26
Buy a better phone, have a Samsung Galaxy S21 FE 5G, it's way powerful enough, but discord still lag shit
Avatar
Avatar
ReiTW
Electron is garbage, and everyone knows it
Vscode is bad too? Lol
Avatar
Electron is the issue
Avatar
So what did the old app use?
Avatar
Native android
08:29
And it worked well
Avatar
For me it works just as good as the old one
08:33
Btw doesn't the new app use react native??
Avatar
The new UI with a compact design after the latest update to the Discord app version 126.21 on Android has left some disappointed.
Avatar
They probably didn't know about these issues lol
08:37
It seems like like they're only present on some devices
08:39
Also the new app probably only seems slower because of the new animations lol
08:39
I haven't noticed any change
08:42
Ok, vc buttons are laggy
08:43
And images are bugged a little
08:44
These are the only issues i noticed
08:46
So from my perspective it looks like people just dislike the new ui
Avatar
7cd775d Add anonymous 1 € donation - def-
Avatar
Avatar
pilonpl
Just because in theory it's less optimised doesn't mean it's worse
How on earth is this not an oxymoron? Less optimized = less performant = worse. It's like saying "Less good doesn't mean worse"
09:56
I installed the old native one to make sure I wasn't imagining things and even just changing between servers is slower. It's a lazy port made as a cost cutting measure to unify their ios and android codebase so they can pay less engineers and outsource more
Avatar
0f14d76 Added map_create_pixelart tool - “sctt” 9101a4f Merge branch 'ddnet:master' into master - sctt 4013c0f CICD fixes for map_create_pixelart - “sctt” cb9680e Merge branch 'master' of https://github.com/sctt/ddnet - “sctt” f066cca CICD fixes 2 for map_create_pixelart - “sctt” ff2c513 removed debug - “sctt” 7375f2c Merge #5766 - bors[bot]
Avatar
Avatar
Learath2
I installed the old native one to make sure I wasn't imagining things and even just changing between servers is slower. It's a lazy port made as a cost cutting measure to unify their ios and android codebase so they can pay less engineers and outsource more
Omg, you are right lol
10:00
It is slower
Avatar
But it's not unfixable thankfully. React-Native can compile most the js into bytecode through some project I don't remember the name of. If they spend some time properly optimizing this it can be salvageable
10:03
They also need to make some native components, my older phone is suffering with the member list
Avatar
Avatar
ReiTW
New discord update on Android sux af
“Android” 😂 Use iOS noobs
Avatar
I won't pay apple
Avatar
Then enjoy laggy android
10:06
brownbear
Avatar
Avatar
m!ki
“Android” 😂 Use iOS noobs
iOS sux
10:07
android doesn't lag
10:07
only Electron
Avatar
Avatar
ReiTW
iOS sux
For coding yes
Avatar
I won't buy thier 20$ polishing cloth
10:08
And i wont buy thier cloud storage
Avatar
Avatar
m!ki
Then enjoy laggy android
Android isn't laggy, it's just modern app developers
Avatar
And i want to be able to install any app i want on my device
Avatar
Avatar
pilonpl
I won't buy thier 20$ polishing cloth
Nobody said u should, but devices are worth of money. Anyone who says it’s not, just capping af.
Avatar
Hardware itself is mostly om
10:08
Ok
10:09
But you can't even repair it
Avatar
Avatar
pilonpl
And i want to be able to install any app i want on my device
Thankfully soon you will be able to. New EU antitrust law coming up
Avatar
Your device isn't even your
Avatar
Avatar
Learath2
Android isn't laggy, it's just modern app developers
I had few dumb lags on brand new flagship Samsung phone, it’s obviously android. Never had some issues on iPhone
10:09
🥸
Avatar
I mean obv when you have a constructor that has to manage only few devices while there's Google having to play with tons of different devices
Avatar
Apple also artificially kills alder phones
Avatar
Android is well optimized for all of that
Avatar
Avatar
ReiTW
Android is well optimized for all of that
Are u sure? XD
Avatar
yes it is
Avatar
Avatar
m!ki
I had few dumb lags on brand new flagship Samsung phone, it’s obviously android. Never had some issues on iPhone
Oh we are doing anectodal evidence day. I had a dumb issue with my ipad that bricked itself brand new when I turned it on, needed a PC to reset it
Avatar
Android isn't perfect but it's better than not owning your own phone
10:10
Wtf
Avatar
Avatar
Learath2
Oh we are doing anectodal evidence day. I had a dumb issue with my ipad that bricked itself brand new when I turned it on, needed a PC to reset it
Okay I give up
Avatar
+ apple giving new features
10:11
that android has since 10 years lmao
Avatar
Classic android arguments
10:11
🤷‍♂️
Avatar
Avatar
m!ki
Okay I give up
Not my fault your n=1 study of samsung phones (which is some of the worst bloated android experiences ever) didn't impress me
Avatar
welcome to PWA cancer
10:12
xd
Avatar
Also iphones are expensive
10:12
They don't sell cheaper phones
Avatar
Avatar
pilonpl
Also iphones are expensive
Only reason why people hate it. 😝
Avatar
Compare flagship iPhone from 2020 and Samsung flagship.
Avatar
Avatar
m!ki
Classic android arguments
Yeah generalize so you can discard everyones arguments at once. Thanks boss
Avatar
Samsung is dying
10:13
Doesn’t have a chance
Avatar
Avatar
m!ki
Only reason why people hate it. 😝
Some people just don't need such an expensive phone
Avatar
samsung is dying
Avatar
Avatar
Learath2
Yeah generalize so you can discard everyones arguments at once. Thanks boss
I can’t argue with u, ur high level iq, it’s better to give up
Avatar
who told you that lmao
10:14
samsung is top1 leader way in front of others
10:14
even apple is not the 1st company when it's about smartphones
Avatar
@Learath2 that wasn’t sarcasm
Avatar
Apple is for rich people who will pay apple for literally everything
Avatar
Avatar
ReiTW
who told you that lmao
Apple people have been saying android is dying for the last 15 years. It's just a common argument, never with a source
Avatar
I do agree that android has freedom for doing anything u want to ur phone. But my experience with it was bad
Avatar
Avatar
m!ki
I do agree that android has freedom for doing anything u want to ur phone. But my experience with it was bad
See this is a sane argument. Why not just say this instead of sarcasm and generalizations?
Avatar
+ on android & many constructors you're free to do whatever you want. If tomorrow u wanna flash a custom image, you can. if you want to root your phone, you can. etc... Only limitations of Android is when it comes about supporting different types of components. Like applications such as Snapchat that takes a screenshot of the preview of the camera.
Avatar
Avatar
Learath2
Apple people have been saying android is dying for the last 15 years. It's just a common argument, never with a source
apple always tell shit
10:16
the last chip, when they said they're far more powerful than the best graphics card in the market
10:17
they are like not even reaching 50-60% of it
10:17
Only good argument can be privacy, but you can't trust anybody. So you can't trust apple too
Avatar
Avatar
ReiTW
the last chip, when they said they're far more powerful than the best graphics card in the market
They do have a really cool chip though ngl. I wish Intel had just stuck with Arm instead of rolling the garbage that is Atom
Avatar
Apple literary kills older phones. That should be enough to completely cancel them.
Avatar
And I'd like to see how many people really takes care about their privacy without having instagram, facebook, tiktok etc..
Avatar
Ios maybe block 3rd party apps from spying on you
10:18
But apple still can spy on you
10:19
And they definitely do that
10:19
They use your phone for tracking thier air tags
Avatar
Avatar
pilonpl
Ios maybe block 3rd party apps from spying on you
This is the big idea. By preventing 3rd parties from tracking on their platform, they are effectively creating a monopoly on the metadata generated on their platform
10:20
Tiktok logs 🤣
Avatar
It's not like they care about your privacy at all
Avatar
Each 10 secs
10:21
Android is only good for finding exploits
Avatar
They just don't want others to have data from thier devices
Avatar
Avatar
m!ki
Android is only good for finding exploits
you can't do anything u want with ur phone
10:22
here I can
Avatar
Avatar
Learath2
This is the big idea. By preventing 3rd parties from tracking on their platform, they are effectively creating a monopoly on the metadata generated on their platform
However, google does a similar thing too with Android. In this aspect there is no solution. Under a capitalist structure of the economy profits are much more important to a company then your privacy
Avatar
Iphones are more secure but it's more because you literally can do only stuff apple wants you to do
Avatar
Avatar
ReiTW
you can't do anything u want with ur phone
Wdym
Avatar
You can't install all apps
10:23
Only the apps apple approved
Avatar
That won’t be case anymore
10:23
Cuz of EU
Avatar
And that's a good thing
Avatar
I'm so proud of EU. Taming the beast that is apple
Avatar
But they literally wouldn't do anything by themselves
Avatar
You still wont be able to tinker with the OS though. So that's the next step. Hopefully some EU politicians will get onboard with right to repair stuff which will help
Avatar
Ofc it's not like thier hardware is bad
10:26
I just want to own my devices
Avatar
Avatar
Learath2
I'm so proud of EU. Taming the beast that is apple
But why EU isn’t doing anything about TikTok logging data each 10 seconds for info about device location and other things?
Avatar
Avatar
m!ki
But why EU isn’t doing anything about TikTok logging data each 10 seconds for info about device location and other things?
Everyone does it. That's the business model of the interweb
Avatar
Apple does that too btw
Avatar
Avatar
pilonpl
Apple does that too btw
Apple does it way less than android, atleast 3 years ago that was the case
Avatar
Well, you can't really know
Avatar
Google really agressively polls your device for location and stuff
Avatar
Thier os is closed source
Avatar
Avatar
pilonpl
Well, you can't really know
They monitor the amount of data going to google and apple on idle devices
10:28
That's how they tested it atleast in that one paper I read
10:28
"Blackbox testing"
Avatar
Android is open source lol
10:29
Sure, google collects data
10:29
But it's not on the system level
10:30
I mean, I don know
Avatar
Avatar
pilonpl
Android is open source lol
The kernel and the core is. The tracking stuff are built into google services stuff all android phones come with, those are closed source sadly
Avatar
Yes, you don't have to use thier services
Avatar
Point is on Android. You can actually remove this stuff. Sure it'll be annoying, but you can, which is great
10:31
Having the possibility is important imo
10:31
And with apple you have no way of knowing what your phone is doing at all
Avatar
On iOS you can't downgrade at all. On Android when Samsung pushes a patch killing my phone, I can just roll it back
Avatar
OS is something you should trust
10:34
And you can't really trust anything that isn't open source
Avatar
Honestly, most people don't give a shit as evidenced by macOS + Windows market share
Avatar
I use windows too tbh
10:35
But i know that's not good
10:35
Windows collects data too
Avatar
I only boot to windows to play some games that refuse to port or allow VMs and Wine.
Avatar
I wanted to install linux
10:36
But i was scared i would delete something
10:36
And brick my pc
10:36
Lol
10:36
It wanted some boot partition or something???
10:37
Idk
Avatar
Bricking your pc is very very very unlikely, especially with a user friendly linux distro with an installer
Avatar
I know
Avatar
You could accidentally lose data though if you are not careful
10:38
Also i wasn't sure which partitions it was going to use
Avatar
If you have a windows and linux boot media on hand you can pretty much be certain that there will be a way to fix your pc even if you mess it up
Avatar
Maybe someday i will install linux
10:38
I don't have much space for it
Avatar
Avatar
pilonpl
Maybe someday i will install linux
It is much more userfriendly nowadays, so you could give it a try sometime
Avatar
And idk if it's possible to install programs on other drives
Avatar
problem with linux is when u have to mess with it after having corrupted files/data
10:40
eg when u have a kernel panic & have to diag why
Avatar
Avatar
pilonpl
Maybe someday i will install linux
I would need someone to help me lol
10:40
I don't want to delete something accidentally
Avatar
just install it in a VM & google
10:40
google you have absolutely everything u need
Avatar
Vm isn't the same
Avatar
it is , if yuo wanna learn it
Avatar
There isn't any data to loose
Avatar
yes then destroy it, see what happens
10:41
xD
Avatar
Honestly if you want to install it alongside windows, its not a bad idea to test in a VM
Avatar
Maybe if there was a way to simulate my real setup in a vm
Avatar
@pilonpl wait
10:41
try that, it's funny
10:42
ho wait
10:42
wrong websit
Avatar
I usually never use installers, I just dont trust that they wont nuke my other partitions on mistake 😄
10:42
Probably just paranoia on my part
Avatar
bruh they removed it 😦
10:43
it was the right link, not the same website anymore
Avatar
Avatar
Learath2
I usually never use installers, I just dont trust that they wont nuke my other partitions on mistake 😄
That's exactly what im afraid of
Avatar
Avatar
pilonpl
Maybe if there was a way to simulate my real setup in a vm
You can create disks and partitions and install windows before you try linux
Avatar
Ill try that
10:43
Virtual box is slow
Avatar
Avatar
pilonpl
That's exactly what im afraid of
Honestly my paranoia is based on installers of 10 years ago. I'm sure they are much better now
Avatar
Probably
10:44
I have backups
10:44
But restoring backups is annoying too lol
Avatar
@pilonpl u can try vmware workstation tho
Avatar
Is vmware better?
10:44
I think it's not open source
Avatar
both works fine for small testing
Avatar
Virtual box is
Avatar
yes it's not
Avatar
On consumer hardware they will perform about the same if I recall correctly
10:45
They both use hardware virtualization nowadays
Avatar
Qemu is the best
Avatar
who needs virtualbox when you have 2 SDDs which you have Windows on one, Linux on another installed
10:46
greenthing
Avatar
I have one ssd
10:46
Windows is so big lol
Avatar
Avatar
Cellegen
who needs virtualbox when you have 2 SDDs which you have Windows on one, Linux on another installed
This is my setup too
Avatar
greenthing pog
greenthing 2
Avatar
With that setup though the only hard part is getting the boot things right
Avatar
So ill try to simulate my setup lol
Avatar
@Cellegen who needs SSD & virtualization when u can load linux into ram & hf with it (edited)
Avatar
I think i still have windows image
Avatar
I needed a bios extention which made booting decent, not the typical F9 into choosing which ssd to run
Avatar
diskless instances gigachad
Avatar
Btw there is a very cool android app, termux
Avatar
Avatar
ReiTW
@Cellegen who needs SSD & virtualization when u can load linux into ram & hf with it (edited)
I actually bootstrapped a netbsd installation remotely this way. Couldn't mount isos and they didnt have a netbsd image, so I wrote the netbsd install media onto the start of the harddisk and booted that into ram 😄
POGGIES 1
Avatar
Avatar
pilonpl
Btw there is a very cool android app, termux
Its a terminal emulator
Avatar
Avatar
pilonpl
I think i still have windows image
I have my ssd be separated into two images, one of them have my windows installer kek (edited)
Avatar
Avatar
Learath2
I actually bootstrapped a netbsd installation remotely this way. Couldn't mount isos and they didnt have a netbsd image, so I wrote the netbsd install media onto the start of the harddisk and booted that into ram 😄
bsd for chads
Avatar
Avatar
Learath2
I actually bootstrapped a netbsd installation remotely this way. Couldn't mount isos and they didnt have a netbsd image, so I wrote the netbsd install media onto the start of the harddisk and booted that into ram 😄
uhoh bruh
Avatar
I actually really love FreeBSD
Avatar
My very first OS other than Windows was FreeBSD
Avatar
it's so powerful
Avatar
Sadly no gfx card support is a no go for me
10:50
I'm far too addicted to games
Avatar
I understand why it's so used when it comes to networking or nas etc..
10:50
well linux improves everytime, so ig it's better now
10:51
but still bsd was a good winner
Avatar
Avatar
Learath2
I'm far too addicted to games
I am addicted to ddnet lol
10:51
I only play addictive games
Avatar
Ddnet is like crack for some people. A subset of people just cant seem to ever quit
Avatar
Even tho it's not as exciting as the first hours
10:53
I still like it lol
Avatar
Im addicted to Godot gigachad
Avatar
Open source ✅
Avatar
+ super flexible
10:54
you can write your own setup, option, classes, anything with plugins for each project. Just nice
Avatar
Ddnet is my most played game on steam lol
10:55
And probably will become the most played game ever
10:55
Minecraft is probably first
10:55
Quite possible
Avatar
no minecraft on Steam cammo
Avatar
Idk why this game is so good
10:56
It's literally a bunch of random bugs and features meant to be used in a completely different gameplay
Avatar
they could implement a steam account merge and make their client more flexible towards accounts that way
Avatar
java sux
Avatar
Avatar
pilonpl
It's literally a bunch of random bugs and features meant to be used in a completely different gameplay
sort of, they change performance most of the time duo to java being java
10:57
edition
Avatar
Chat reporting
Avatar
well it's better, performance-wise
Avatar
Free capes
Avatar
no, that version don't exists anymore, since the merge happened
Avatar
@Cellegen wut
10:58
u mean bedrock edition?
Avatar
also bs cuy bedrock had their own mechanics
10:58
yeah they merged bedrock accounts
Avatar
yes but it's still 2 different versions
Avatar
sort of
Avatar
bedrock is written in C++ and works on many platforms
10:59
while you have the shitty java version in which you have to keep 15 different versions of jre (edited)
Avatar
Oh, also spigot is cpp aint it?
Avatar
spigot is a fork of java
Avatar
nvm then, looked much better, than the vanilla shit
Avatar
well all variants attempts to optimize it
11:00
paperspigot is better tho
11:00
also
11:00
you won't run a good minecraft server without tuning your jre (passing arguments)
Avatar
Avatar
Patiga
are there any automapper specifications out there? if I understand correctly, Teeworlds 0.7 has json file for automappers and DDNet has its own format?
made a formal grammar of the automap file format bcs I intend to have syntactic coloration and errors checking, I haven't tested it tough I just made it from the source code I can send it if ur interested
Avatar
that would be really helpful!
Avatar
there you go (may not be 100% perfect, as I said 🙂
Avatar
lets do a ieee standardization for it, when rfc? ^^
Avatar
aaah suuuuure 😅
12:15
comments are a bit useless lol bcs it ignores every unrecognized lines / end of lines anyway
Avatar
I'm fine with being stricter than the client
Avatar
nice to hear that yes
Avatar
that would be a great addition to libtw/docs :)
12:17
I don't think there is even a proper documentation for what the different thigns mena
12:18
for example, what is NoLayerCopy?
Avatar
not exactly sure yet, it makes a copy of the tiles layer but what does that imply concretely no idea
Avatar
hm I have never touched automappers before 😅
12:23
wait wth is the NOTINDEX -1 used in basic_freeze.rules
12:23
ah it is EMPTY || FULL basically, just always
12:23
I would guess
12:23
whack
12:25
also whatalso what is the NONE in the indexlist, I can't find in any automapper files
12:25
maybe I should start looking into the source ^^
Avatar
No flags, which is different than any flags
12:25
the code is not too complicated for the parsing at least
Avatar
so NONE and ε have the same effect there?
Avatar
no, ε is any, I think
Avatar
aah, right
Avatar
A thing that is a bit annoying I think (and confusion was discussed in #mapping ) is that XFLIP, YFLIP and ROTATE works like the map file format, but not like how the editor behave (e.g. ROTATE is clockwise, but rotating in editor is anticlockwise, and you can't use 2 ROTATE, there is no ROTATECCW etc.)
12:31
I think also it would maintain backwards compatibility with the current automap files if we added support for that
12:31
... and xflip / yflip / vflip / hflip is a bit ambiguous
Avatar
in the MapDir format I represented the orientation with mirror: boolean, rotate: u32 (angle)
Avatar
mirror then rotate ?
Avatar
yup I think
Avatar
that's great
12:33
but ur rotate is not enum?
Avatar
well it gets parsed and only allows 0, 90, 180 and 270
Avatar
hmm ok, I would still have parsed to an enum bcs only 4 acceptable values
Avatar
well it has the same effect, no?
12:34
its json there
12:34
"x": 0, "y": 0, "id": 1, "mirrored": false, "rotation": 128
12:35
thats a tile in the mapdir format
12:35
*the fields of a tile
Avatar
oop, I randomly wrote that number
12:35
not sure what my brain did there
Avatar
haha see
Avatar
Avatar
Patiga
well it has the same effect, no?
NO, cuz you can make brain farts lol
Avatar
heh in text format you can make errors with enums and number either way :p
12:36
only the conversion matters
12:36
(I'd say at least)
Avatar
yes actually I meant how you represent it in code, not json
12:37
you can have it represented as enum and parse from/to json as number
12:37
or whatever
Avatar
well its temporarely represented as DirTileFlags, but that struct isn't public. the MapDir format is just directly parsed into a TwMap
12:39
#[derive(Serialize, Deserialize)] pub(crate) struct DirTileFlags { mirrored: bool, rotation: i32, }
Avatar
ok then its fine
12:40
whatever criticism I do about twmap, you always have reasons behind it
Avatar
I hope the reason also satisfies the criticism ^^
Avatar
it does
heartw 1
Avatar
fucking facebook...
😁 1
Avatar
who cares about social features? I just wanna have fun with my VR headset
Avatar
being social is overrated, all you need is a dummy
f3 2
Avatar
Avatar
Patiga
wait wth is the NOTINDEX -1 used in basic_freeze.rules
-1 is outside the map
hey 1
13:34
used for example for placing stuff along the map's edge
Avatar
Avatar
Learath2
fucking facebook...
Btw, there was an interview with John Carmack recently: https://www.youtube.com/watch?v=I845O57ZSy4 Haven't watched all of it yet, but the beginning had some fun parts from Masters of Doom book
Avatar
Avatar
Ravie
-1 is outside the map
that makes little sense to me and should def be documented somewhere
Avatar
@k2d222 that's how it works
🤷‍♂️ 1
14:00
there are no tiles outside the map boundary but it's still useful to know if something is outside so they used -1 for it I guess
Avatar
but the number refers to a tile index not a position
14:01
it's sometimes useful to check if a coord lies outside the map
Avatar
could add a special keyword for that. I think I'll do a few backwards compatible PRs to enhance the syntax when I have time.
Avatar
it's fine tbh, but yeah automapper in general should be better documented
Avatar
I don't think FLIPX FLIPY ROTATE is a good way to rotate ccw from a user perspective (edited)
Avatar
maybe not but you can rotate a tile how you want in the editor and copy the flags into automapper so it's not that bad
14:09
and after a while you remember it
Avatar
Avatar
Ravie
and after a while you remember it
meh, not that bad doesn't mean it shouldn't be improved upon. I don't think that's a good way to reason. It's a strong barrier to entry when things don't work the way you expect them to, especially when there is no technical reason for them not to (edited)
14:14
The way (at least for me) I learn a new tool is by trying what is intuitive and how things work in similar tools. When I tried the ddnet editor I was very displeased and frustrated. Nothing there is intuitive, even though now that I now where things are it's easy to navigate.
Avatar
I mean, if the flags you write in the automapper don't match what you see in the editor it's still confusing
Avatar
You could have both the flags syntax (FLIPX, FLIPY, ROTATE) and additional keywords for convenience, like ROTATE_CW, ROTATE_CCW would also make sense to apply the flags in the order they are typed, e.g. if I write ROTATE FLIPX naturally I intend to rotate then flip
Avatar
a problem with ROTATE_CCW is when you wanna rotate multiple times
14:19
Pos 0 0 INDEX 69 ROTATE_CCW ROTATE_CCW ROTATE_CCW
Avatar
Avatar
Ravie
I mean, if the flags you write in the automapper don't match what you see in the editor it's still confusing
I don't think that stands. The editor mostly abstracts away how it is represented in the map files, e.g. you can rotate multiple times, which will change the flip flags accordingly. If you say that does not match the editor, that means the editor does not a good job of abstracting that concept.
14:21
people should not have to now how flags are internally used
Avatar
Avatar
Ravie
Pos 0 0 INDEX 69 ROTATE_CCW ROTATE_CCW ROTATE_CCW
how is that a problem?
14:21
besides being redundant with just ROTATE
Avatar
well one thing is it's ugly but also I guess you have to change how automappers are parsed
Avatar
not that much
Avatar
I think before extending the current format, we could think about switching to json like vanilla first
14:23
simply because costum file formats are usually not preferable
14:24
*custom
Avatar
if we change the format i.e. introduce breaking changes then PLEASE review the syntax
14:24
instead of just translating it
Avatar
yes, at least for the ddnet extensions
14:25
I think it would be a good choice to be compatible with the teeworlds format, which has a subset of features
14:25
and, like you say, think about the syntax before extending it
Avatar
hmm in fact I would not be in favor for json, at least not in the current state. Sure, json is a readable file format but not really writable. Non-programmers cant write json, it's too restrictive (even programmers in fact). Before json, we would need at least an in-game automapper editor. like did you know you can't have a comma after the last item in the list?
14:28
and it's very verbose
Avatar
it's not a good idea to change the format and make everyone's existing automappers obsolete
Avatar
agreed. It works well and it is far from a priority imo
Avatar
Avatar
Ravie
it's not a good idea to change the format and make everyone's existing automappers obsolete
correct, changing would usually include having backwards-compatibility however, because another format exists which could be more preferable, we should consider if switching would benefit us, before adding more features to the own format
Avatar
@Patiga btw do you remember the tool that Pulsar showed you? it already kind of accomplishes everything while keeping compatibility
Avatar
yes, but it is a different kind of tool
14:36
it introduces yet another format for the automapper, which can be translated to the ddnet automapper format
Avatar
wow this is over-engineering at its best 😮 (looks seriously cool though)
Avatar
yeah I agree that the current format is easier to write by hand
14:40
imo it should've used a proper format from the start
14:41
but its too late for that now I guess
Avatar
Never too late™
Avatar
maybe something writeable shouldve been used, not sure what formats are there for that kind of thing
14:43
maybe toml
Avatar
15 cent per respawn💩
15:30
gores speedrunners and unique server players gonna be insolvent in 2 hours
15:31
make the game profitable for me by... ...puting my money on the table? great idea
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addres...
Avatar
… is not inactive) @fokkonaut can u test this? also includes the fix as in #5770 however not really tested

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing map...
Avatar
two different prs that solve same exact problem huh
17:05
quite funny xd
Avatar
no
17:06
fokkonauts fixes generally the order of execution for non character entities
17:06
i fixed unfair ::Move calls additionally, as they also make trouble
17:07
but both fixes are needed
Avatar
If we will never have this for ddnet maps, I wonder if this whole change would be better in a branch instead of making the code harder to make sense of
Avatar
well gamecore will never be changed anyway
17:09
so why would it matter xd
Avatar
i say secretly apply weak hook fix to actual servers and see how many people complain
Avatar
anyone with any sense of the game at a high level would complain about a proper entity physics order fix
Avatar
yeah notice but more about how many complaints there are
Avatar
noticing and complaining go hand in hand for some
17:22
i honestly don't know why people are reluctant to fix it though
17:23
most annoying 'bug' out of all current ones
Avatar
because it would invalidate all ranks
Avatar
not true
Avatar
why not?
Avatar
it doesn't really give a speed boost in any techniques other than flies and some overhead drags
Avatar
so it doesn't give a speed boost except for the most used fly technique, and that would not invalidate ranks?
17:24
i have troubles following your logic
Avatar
Everyone knows that teeworlds is a HUGE international game where every rank is pixel perfect and whwre everyone competes for a top spot
17:26
troll
Avatar
Avatar
Chairn
so it doesn't give a speed boost except for the most used fly technique, and that would not invalidate ranks?
for most speedruns you don't need 2 speedflies in a row alternating tees
17:26
otherwise you can just plan beforehand to get the guy with strong on top
17:27
so weak doesnt have an effect in the fly
Avatar
Avatar
Cipy29
Everyone knows that teeworlds is a HUGE international game where every rank is pixel perfect and whwre everyone competes for a top spot
and yeah
Avatar
Avatar
louis
so weak doesnt have an effect in the fly
it does, you need a weak and a strong to fly correctly. Two strongs or two weaks won't work the same way
Avatar
Just this year every rank got ACTUALLY invalidated compared to ALL previous ranks thanks to the discovery of pseudofly
Avatar
speedfly worked the same for me with the fix
Avatar
Deleting weak has virtually 0 effect on ranks compared to that
Avatar
Avatar
gerdoe
two different prs that solve same exact problem huh
yea, as jupstar said, my fix is for the issue i made and also linked in that commit
17:30
physics change in combination with other entities
Avatar
Avatar
Chairn
it does, you need a weak and a strong to fly correctly. Two strongs or two weaks won't work the same way
exactly, thats what i was saying aswell in one issue
Avatar
Avatar
louis
speedfly worked the same for me with the fix
cuz the fix didnt involve two actual strongs
17:32
the tee bouncing is not fixed yet, only the hook strength
Avatar
i just don't understand why people want to get rid of a game mechanic instead of mastering it
Avatar
its definitely nice for other gametypes
17:34
such as block, gores..
Avatar
Avatar
Chairn
i just don't understand why people want to get rid of a game mechanic instead of mastering it
counter-intuitive, unsatisfying
Avatar
wym master weak
17:34
its just not fun
Avatar
it makes no difference imo, you just need to think about who's driving
Avatar
yeah so removing it shouldn't make a difference either
17:36
other than just making a lot of things easier
Avatar
well if both players hook each others at the same time the order also matters again
17:37
bcs both characters apply force to the other character
17:37
if u want to make it 100% fair u have to break physics for weak and strong
Avatar
Avatar
louis
yeah so removing it shouldn't make a difference either
why dont u listen to chairn or me
Avatar
Avatar
Chairn
it does, you need a weak and a strong to fly correctly. Two strongs or two weaks won't work the same way
.
17:38
This alone invalidates your argument of "just remove it it wont make a difference"
17:38
@louis
Avatar
there aren't that many maps that depend on it
Avatar
Avatar
fokkonaut
why dont u listen to chairn or me
xddddddddddd
Avatar
why not just fix weak properly for new maps going forward but enable it as a legacy feature in currently released maps
Avatar
Avatar
fokkonaut
xddddddddddd
i mean i see the first point
17:43
but can u be more specific by what u mean by that
Avatar
Avatar
Ravie
why not just fix weak properly for new maps going forward but enable it as a legacy feature in currently released maps
Thats. Not. Possible.
Avatar
i dont think there are many maps that will be broken with any fix (edited)
Avatar
Avatar
louis
i dont think there are many maps that will be broken with any fix (edited)
this is the least issue, it could always be enabled for new maps only
17:44
the issue is that its simply not possible to actually fix it
Avatar
Avatar
fokkonaut
Thats. Not. Possible.
why not lol
Avatar
Look
Avatar
nothing that a big ole if statement can't fix troll
Avatar
Ain't no bug yo can't squash
Avatar
its possible as long as its a 1 tee hooks another situation
17:45
but not if multiple hooks are in
17:45
so for gores the fix is good enough
17:46
for ddrace with many players maybe not already
Avatar
It's not possible because hammerfly also relies on the weak collision of the hammerer
17:46
so it would change the whole thing
17:46
if everyone collides strongly now
Avatar
yeah and for bounce its bit harder true
Avatar
the problem are the bounces @Ravie
17:46
not the hook strength
Avatar
fix them too 🤷
Avatar
thats not possible, as i said
17:47
just learn to read properly
Avatar
It's not impossible, we write the code. If you are willing to break old ranks or only fix it for new maps
Avatar
yes but its defs new physics then
Avatar
Yea, but still, it would be a different feeling if both tees collide strongly while hf
17:47
= physics change
17:47
= not wanted
Avatar
Avatar
Jupstar ✪
yes but its defs new physics then
Exactly, if we are willing to do that we can definitely do it
Avatar
yes
17:47
if we willing we can also drop macos and windows support xdddd
Avatar
people can get used to new physics as long as it's not radically different, a good example is new hammer
Avatar
If we only do it for new maps then we won't break ranks either, but I doubt many people will enjoy the new physics
Avatar
Avatar
Ravie
people can get used to new physics as long as it's not radically different, a good example is new hammer
But thats not a real physics change
17:48
Thats just a gameplay change
Avatar
It might feel way too different after we are done fixing all the physics asymmetries
Avatar
does kog use your fix @fokkonaut ?
17:48
or 0.7 style
Avatar
Avatar
Learath2
It might feel way too different after we are done fixing all the physics asymmetries
I use 0.7 style? :D
17:49
KoG uses some other fix
Avatar
Avatar
Learath2
It might feel way too different after we are done fixing all the physics asymmetries
I actually did a both strong collision fix locally, it wasnt working perfectly, but hammerfly was way different, every few hits you would get a higher hit cuz of the bouncing
17:50
I really wouldnt mess with that, I would rather go for "player who hooks first has strong"
Avatar
Avatar
fokkonaut
I actually did a both strong collision fix locally, it wasnt working perfectly, but hammerfly was way different, every few hits you would get a higher hit cuz of the bouncing
Yeah, I can see that happening
Avatar
Avatar
fokkonaut
I really wouldnt mess with that, I would rather go for "player who hooks first has strong"
strong bounce*
17:51
With the config being enabled I would make strong hook for everyone and strong bounce for the first hooking player of two each
17:51
That would do least trouble and fix 99%
17:51
& would change behaviour when it comes to flying
Avatar
Avatar
fokkonaut
& would change behaviour when it comes to flying
It would just need to be implemented properly, throughout the whole code that does colliding & hooking
Avatar
Either way. Eventhough I don't like the asymmetry, I wouldn't touch it with a 6 foot pole. It changes a lot of the feel of the game and the current physics just feels great
Avatar
except weak hook
17:53
and some occasional ID bugs
17:53
and probably a few other things
Avatar
Avatar
gokussj
Well asymmetries bug developers, it's a bug we want to get rid of bugs. However, as you can see people didn't want it so it wasn't touched
Avatar
Avatar
gokussj
that suggestion wasn't the same as removing weak
17:54
it was just a rly jank way of avoiding weak
Avatar
It's also extremely unintuitive to new players. E.g. when falling sometimes hooking the tee below you will stop you both, sometimes it won't. No explanation of it visually whatsoever
17:55
bounces and stuff are even more unintuitive than the hook, some hidden variable changes how high you bounce when you fall onto a tee 😄
Avatar
Avatar
gokussj
plus this discord is filled with oldies so obviously the vote will be biased quite a lot
Avatar
Again disappointed in the community, so doesn't care. But here is the working version. The way it works: -If you hook someone you gain strong -If you hook someone while he's already hooking...
17:56
This does the bouncing based on who hooks first
17:57
It's probably not implemented correctly throughout the whole code, but it's some sort of PoC
17:57
ofc should be implemented with config option
Avatar
does it atleast change the order permanetially once u hooked first?
17:58
else its even more mess xD
Avatar
i hope
17:58
but it looks like
Avatar
I want to do a poll about people using old versions and see why they are sticking to them
Avatar
ppl believe in ghosts
17:58
nothing more to say
Avatar
sp someone told me he sticks to ddnet 14 cuz he doesnt want all the bloat like steam video recorder and discord xsdxdd
Avatar
Avatar
Jupstar ✪
nothing more to say
I want to see if there are some blocking issues with our client that we can fix
Avatar
Avatar
Learath2
I want to do a poll about people using old versions and see why they are sticking to them
if u and me are 100% honest, if we just abandoned old verisions.. shutdown all services they might update
17:59
u either force it, or there will be ppl who dont care
18:00
a friend used an old version for 3 years bcs he was too lazy to press update
Avatar
Avatar
Jupstar ✪
u either force it, or there will be ppl who dont care
On my server I only allow version starting from... let me lie... i believe ddnet 14. And I dont do all of the backwards compatibility that ddnet does, I support latest release 100%, everything below I wont promise works without problems (there shouldnt be big issues, but smaller inconveniences might happen)
Avatar
it would also bloat our code less
18:02
we do so many branches for old versions only
Avatar
Avatar
Jupstar ✪
if u and me are 100% honest, if we just abandoned old verisions.. shutdown all services they might update
Eh, other admins believe in backwards compatibility for eternity. I wanted to do the poll to see if I could get them to accept a cut-off maybe
18:03
Like we only support the last 3-4 majors
Avatar
I do a little compatibility code, for example for the switchstate stuff
Avatar
i think deen is 50:50, heinrich is 100% backward
Avatar
Avatar
fokkonaut
I do a little compatibility code, for example for the switchstate stuff
cuz people with older clients would just dont see the doors otherwise xd
Avatar
i am for 1 major change every 2 years xd
18:03
thats more than enough support
Avatar
We really need a client capabilities message, so the client can tell the server which features it supports. Doing it based on clientversion is so bad
Avatar
Avatar
Chairn
it makes no difference imo, you just need to think about who's driving
uhm i think this will end up with new pseudofly
18:09
new physics can change flying part at all
18:09
also predictions
18:09
don't forget about them
Avatar
Aren't predictions based on physics ???
18:30
LOL
Avatar
Avatar
pilonpl
Aren't predictions based on physics ???
try to hammerfly on kog servers
18:33
u will see that tees are teleporting after every hammer
Avatar
Predictions have nothing to do with that
18:33
Probably
18:33
Why would they
Avatar
if there was no prediction at all they would teleport every n ms
18:34
after every packet reach
Avatar
predictions depends on game physics
Avatar
Yes, that's the point
Avatar
u cant predict falling from top without knowledge about vertical speed
Avatar
Server side physics should be the same as client side physics
Avatar
there is no physics in client
Avatar
the gamecore is shared, so there is physics in the client
Avatar
there has to be
Avatar
ah sure
Avatar
The game wouldn't work without a physics engine
Avatar
Avatar
gerdoe
if there was no prediction at all they would teleport every n ms
this
18:36
and u would have pure client
Avatar
if you do cl_predict 0 you can see what it'd look like if the client doesn't know anything about the physics
Avatar
localhost + cl_predict 0 <3
Avatar
Predictions only predict inputs, right?
18:37
they predict every entity in world
18:38
that u see of course
Avatar
Antiping predicts even more than vanilla
Avatar
Physic engine should always be active lol
18:39
Some sort of predictions always have to be active
18:40
i reread ur sarcastic question
18:40
and only now realized what did you mean
Avatar
The game always has to predict the physics
18:43
And you can't disable that
18:43
Right?
18:43
cl_predict 0
Avatar
You can only disable predicting inputs
18:43
its ALL entities predictions off
18:44
try it urself
Avatar
It's not possible to disable from the settings
Avatar
f1 -> cl_predict 0
18:44
But it's not in the settings
18:44
There is no point in disabling it
Avatar
u asked "can i" i said "yes u can"
18:45
whats the point of ur question then
Avatar
Physics are 100% deterministic
Avatar
quantize after and before every packet reach
Avatar
Ok, you can but that's not meant to be disabled
Avatar
its meant to
18:46
there is if branch with g_Congig.ClPredict or somewhat
Avatar
Isn't the game extremely laggy with that off?
Avatar
g_Config*
Avatar
Avatar
pilonpl
Isn't the game extremely laggy with that off?
yep
Avatar
Anyways, if you change the physics you aromatically updates the predictions too
Avatar
afair client does some extra calculations and prediction code needs to be touched after major physics change
18:48
but i don't know is it right
18:48
if Learath is still here he will answer xd
Avatar
Probably not, that doesn't make any sense
18:49
Why use extra stuff if you already have the thing?
18:50
I think we should delete weak hook
18:50
It's not fun at all
Avatar
lets delete wallhammer also
Avatar
And it doesn't change all that much
Avatar
and edge hooks
Avatar
Wallhammer is fun
Avatar
bunch of bugs
Avatar
Edge hooks are fun
Avatar
Avatar
pilonpl
Why use extra stuff if you already have the thing?
cuz client stuff and server stuff are not identical
Avatar
Physics have to be the same
Avatar
they're same
18:53
but client reacts this way
18:53
and server reacts either way
18:53
then i don't know why ddnet needs prediction folder in src/game/client
18:54
lightweight version of ph. engine
Avatar
Maybe for predicting inputs
Avatar
inputs are in gameclient.cpp
18:55
yay trml will tell us the truth <3
Avatar
Idk, source code is complicated
18:55
And i don't speak c++
Avatar
physics are not separated from the rest of the code, thats why there are currently two copies of much of same code
Avatar
Interesting
18:56
Isn't that a bad code design?
Avatar
but largest problem is perhaps not changing the code but backwards compatibility with older clients who run old physics (if you change anything)
Avatar
So physics should be as much isolated as possible
18:57
So it's easy to change it
Avatar
yes, but teeworlds was designed not to have prediction (for anything outside the gamecore)
Avatar
So we need a rewrite, nice
Avatar
ideally it would have been written with separate physics code originally, but perhaps it was not considered important then
Avatar
Avatar
pilonpl
So we need a rewrite, nice
only after abandoning old client support i think
Avatar
(also vanilla tw still doesn't predict most of what ddnet does)
Avatar
If we want to have multiple physics instances we probably need to isolate that
Avatar
Avatar
trml
(also vanilla tw still doesn't predict most of what ddnet does)
standard ddnet prediction is vanilla stuff + ddnet stuff (freeze draggers and so on) isnt it
18:59
or you mean antiping this way
Avatar
Antiping predicts inputs
Avatar
yes, movement/jump/collision/hook/etc = vanilla, grenades/pickups/other entities=ddnet
Avatar
Avatar
pilonpl
Antiping predicts inputs
And granade paths for some reason
19:00
Idk actually
19:00
It predictis something ok? Lol
Avatar
pilonpl try to surf code once
19:01
or try to make your own mod
19:01
Ill try
Avatar
u will understand every part of tw after that
Avatar
on the physics side, vanilla has everything ddnet does except grenade/laser/pickups/freeze and ddnet entities/tiles
Avatar
(beside render backends)
Avatar
Where should i start lol
Avatar
src/game/server/*
19:02
I want to contribute at some point i think
Avatar
try to remake /r
19:02
its still buggy
Avatar
Ok, so which file is the most important lol
Avatar
character.cpp afair
Avatar
Would be great if there were comments
19:04
Or something
Avatar
Avatar
pilonpl
Ok, so which file is the most important lol
Completely depends on what you're trying to do
19:05
Understand the code
19:05
I don't even know c++ but ill figure it out hopefully lol
Avatar
well
19:06
thats tough then xD
19:06
I know
Avatar
gamecontroller.h/cpp and gamecontext.h/cpp
Avatar
Do you code in general?
Avatar
So maybe ill find chat commands
Avatar
most important for server i think
Avatar
And find /r
Avatar
I dont think there is anyone who understands 100% of the code, so better to focus at one part at a time
Avatar
src/gae/server/ddracechat
19:06
Idk even
Avatar
Avatar
trml
I dont think there is anyone who understands 100% of the code, so better to focus at one part at a time
I'd say I understand and have worked with most parts of the code already, but antiping is definitely up to you my friend :)
Avatar
Avatar
pilonpl
\r ?
logic of /r should be inside character.cpp
19:07
Also why is the GitHub app so bad
19:07
They had only one job
Avatar
don't use mobile apps
Avatar
Avatar
pilonpl
They had only one job
Make it easy to browse the code
19:08
Ddnet code specifically
Avatar
firefox + github.com is nicer
Avatar
Also there is no search feature
19:08
Wtf
19:10
I found SetRescue
Avatar
Avatar
fokkonaut
I'd say I understand and have worked with most parts of the code already, but antiping is definitely up to you my friend :)
I sometimes think I understand most of the code until I look up the snapshot packing system, graphics pipelines, etc
Avatar
xDDDD
19:11
ok true
19:11
but those are more special parts haha
Avatar
of course^^
Avatar
snapshot packing was explained by heinrich in libtw2
19:12
or not
19:12
i remember libtw2 helped a lot in try of understanding snaphots
Avatar
Wtf does this code even mean, what are these variables and what is "this"
19:14
I found rescue
Avatar
what languages do you know? C++ is object oriented (CCharacter is a class, "this" is the object), it also has pointers like in C ("this" is a pointer here)
19:16
I know what oop is
19:16
I don't know how pointers work tho lOl
Avatar
Avatar
pilonpl
Wtf does this code even mean, what are these variables and what is "this"
"this" means the instance of the class
Avatar
pointers are sort of like references. like "do something with x" instead of "make a copy of x and then do something with that copy" (x could be a value, an object, etc)
Avatar
@pilonpl CCharacter is a class, imagine a Class being a factory, and it produces robots, "this" literally means the active robot
19:18
this is explained for dummies
Avatar
Avatar
Ryozuki
"this" means the instance of the class
Ok, i know now, i didn't know it was a class
19:20
There is also this -> notation
19:21
What the m_ means?
19:21
read a bit
19:21
Avatar
Oh nice
Avatar
its shorthand for "member", to indicate that its a (member) variable stored in an object. but it's just a convention to call the variables "m_"
19:22
oh, we have documentation
Avatar
kinda yeah
19:22
if you want to add feel free!
Avatar
nice, will take a look some time
Avatar
Smart naming
19:25
Ok, so CCharacter represents every tee
Avatar
the "->" (defererence operator) gets the value pointed to by that pointer (rather than the memory address the value is stored at). but the C/C++ pointer syntax was unintuitive for me for a quite a long time when learning C...
Avatar
This is so complicated lol
19:30
Would be easier if i knew more about c++
Avatar
yes, and most of the tee physics happens inside "CCharacter::Tick()", which is called by the server every time the physics is stepped forward one step
Avatar
same, but i decide to code here anyways
Avatar
And wtf is a friend class
19:31
I can use google ofc
Avatar
Avatar
pilonpl
Ok, so CCharacter represents every tee
it represents the body
19:33
aka it only exists when the tee is alive
19:33
Makes sense
Avatar
then there is CPlayer
19:33
it stores data that lives through the tee death
Avatar
Interesting
Avatar
Avatar
trml
yes, and most of the tee physics happens inside "CCharacter::Tick()", which is called by the server every time the physics is stepped forward one step
CCharacterCore*
Avatar
Avatar
gerdoe
CCharacterCore*
yes, but CCharacterCore::Tick() is technically called from inside CCharacter::Tick(), so I just skipped the details:P
19:42
im sorry then
Avatar
nono np^^, u are technically correct too
Avatar
also is it possible now (after adding weakhook patch) parallelize physics?
Avatar
is it possible to do something like this in vote-menu?
justatest 2
Avatar
and after some kind of experiment i can say that server can handle 256 players/characters but client not
Avatar
I think some steps like ::Move() cant be parallelized, but perhaps the rest can (havent looked at the patch yet)
Avatar
yeah im also
19:45
but if its "right" patch (making copy of current world state and move charavter in it, but maybe its not right at all xd) i think it can be parallelized
Avatar
Avatar
Deeper
is it possible to do something like this in vote-menu?
possibe: yes someone doing it: not high chance xd
19:47
development is rather slow currently ^^
Avatar
Avatar
Deeper
is it possible to do something like this in vote-menu?
i mean yea but that would involve downloading the map image
Avatar
you can make it optional if you will implement it
19:48
so no problems :p
19:49
the real thing is to do in game map filter
19:49
median time top time stars and so on
Avatar
we just need electron
Avatar
Avatar
Deeper
is it possible to do something like this in vote-menu?
I wanted to make something like this, but other people weren't into the idea I had
19:52
I wanted to fetch the listing and the images from an external api, other people wanted it to happen in the game protocl
19:52
protocol
Avatar
Api would be better
Avatar
I made this long ago
Avatar
That's very nice looking!
20:11
No one needs that
20:11
But would be cool
20:12
I am talking about kobra maps ofc, the new ui is totally useless
20:12
Lol
20:13
Btw i kinda understand how /r works
Avatar
tbh i really wanna help with UI overhaul. it feels like we're at a point where ppl want one
Avatar
I think we need accounts more
20:14
You don't use the ui all that often
what 3
20:15
There was a HUD update lately
Avatar
the map browser thing is aesthetically nice
Avatar
That's what you see all the time
Avatar
but yeah accounts + profile ui would be cool
20:15
i think demo ui could be improved
20:15
and editor ui
Avatar
Idk if corners should be rounded
20:16
Rounded corners look childish i guess
20:16
Idk
20:16
Lol
Avatar
if i had a paid figma account i would want to get a bunch of ppl together and actually start brainstorming UI ideas
Avatar
depends on the amount of roundings
Avatar
figma nuts
nouis 1
Avatar
Windows 11 broke everything
Avatar
btw anyone wanna make tee character mod in rivals of aether
Avatar
Before win 11 i would consider rounded corners bad
Avatar
Avatar
Jupstar ✪
depends on the amount of roundings
i agree. a little rounding isnt bad, but if it gets too rounded then it becomes problematic
Avatar
Discord does it well
Avatar
Avatar
Learath2
I wanted to fetch the listing and the images from an external api, other people wanted it to happen in the game protocl
api better
Avatar
We need windows
Avatar
I'm also not a fan of too much rounding but had to match tw style
Avatar
Like in openttd
Avatar
Also I think I'm done replacing all the demo_button type images with font icons. Chairn said for me to add in a tooltips bar at the bottom of demo player but that's irrelevant for the PR
Avatar
Avatar
Ravie
I made this long ago
It looks like a roblox game
Avatar
and ddnet roundings are the worst
Avatar
at least teeworlds/ddnet has its own ui style which makes the roundings tolerable, but all apps with rounded corners nowadays look like some electron trash
Avatar
i think it's because of the transparent backgrounds
Avatar
well css allows anything u want
20:23
i dont know how that is considered trash
20:23
electron is trash bcs its like 900mb and uses 2000 tb RAM
Avatar
I just noticed that visually many apps and websites nowadays overdo rounded corners to a disgusting degree, especially electron apps
Avatar
Give an example
20:25
circles everywhere, disgusting
Avatar
discord desktop is fine but mobile version is definitely a lot more rounded
Avatar
Circles are ok
Avatar
this looks clean IMO
Avatar
oh wow I jsut realised discord had circles
Avatar
Maybe something beside discord
Avatar
i've no idea what game that is xd
Avatar
overwatch
Avatar
Avatar
Jupstar ✪
this looks clean IMO
blur ugh so 2009
Avatar
Avatar
Jupstar ✪
this looks clean IMO
a little bland
Avatar
true
20:26
not useful for ddnet
Avatar
but that's mostly about colors, I would make it pop more
Avatar
I like the ui in openttd ngl
20:30
20:30
Gmod
Avatar
uff
Avatar
Too white
Avatar
bit more padding between the elements
20:30
also color choice is rather bad imo
Avatar
Avatar
pilonpl
I like the ui in openttd ngl
Fellow openttd enjoyer
Avatar
but yeah thats also an issue with ddnet, everything is too big
20:31
wastes too much space
Avatar
Too big?
20:32
Interesting
20:32
I always thought everything was too small
20:32
Especially text
Avatar
tw vs my ide
20:32
i can read both fine enough
Avatar
not an issue if more space isn't needed
Avatar
your ide is TINY imo
Avatar
u have to use full resolution ofc
20:34
i'd defs merge filter into server details, the user stuff is way too big
Avatar
Another game
Avatar
@Jupstar ✪ is your screen big? cause I guess desktop programs are dpi aware and tw isn't
Avatar
the search exclude etc wastes too much space too
Avatar
ide is way too small for me
Avatar
Avatar
Ravie
@Jupstar ✪ is your screen big? cause I guess desktop programs are dpi aware and tw isn't
yes thats true, and yes it is big, but tw is even big on my phone xD
20:35
its simply oversized
Avatar
for example on my laptop screen stuff isn't that big at all
Avatar
Another not very popular game
20:36
Wtf even is that lol
20:36
It looks like it was made for mobile
Avatar
I guess tw ui was developed for 800x600 displays so naturally it works better on smaller screens
Avatar
tw was developed when HD screen were not a thing yet
Avatar
it was developed on c64 with 120x60 pixels i cannot explain otherwise
20:39
it was indeed 2 years before the smart phone revolution came 😄
Avatar
Imo the ui is good enough
Avatar
it looks good, bcs of the background map xD
Avatar
But maybe i am too new to this game
Avatar
turn it off and it sucks xD
Avatar
I mean yeah, its not very good but you look at it only for a minute or something like that
Avatar
Avatar
Jupstar ✪
it looks good, bcs of the background map xD
Haha I actually did something at some point that made me not have the bg map on and i was like "wtf is this shit" kek
Avatar
Avatar
Jupstar ✪
tw vs my ide
nice idea
20:42
turn tw into visual studio
20:42
new tab
justatest 2
Avatar
Has anyone made black apple in tw?
Avatar
I made a concept UI a bit ago about a revamped demo player. I do agree, it looks better within the context of DDNet. On its own, it's way too.. rounded at the sides.
poggers 1
Avatar
Yesss, windows
20:43
Let's use imgui
Avatar
i'd already be happy if our ui components would have better logic, its always annoying to code with them also we have no real dropdown etc. that sucks xD and making one is actually hard bcs immediate mode sucks for stuff like that XD
20:43
we dont have what DOM has with bubbling mouse events etc
Avatar
if it wouldnt be so ugly xD
Avatar
Let's make teegui then
Avatar
ok nice
Avatar
Yeah keeping state is annoying in immediate mode
20:47
but presentation state never disagreeing with logic state is so pleasant
Avatar
well then use react ^^ thats the whole sense of that framework
20:48
but sadly javascript
20:48
so 900MB extra xddd
Avatar
I'd love to make some generic wrappers for some of the stuff one day
20:51
Every single thing on the UI has it's own way of doing state
Avatar
yeah i'm noticing how inconsistent the UI rendering process is
20:52
i don't think i'm helping with my newest PR xd
Avatar
Ill try to compile my own ddnet client
20:57
Or server
20:57
Whatever
20:58
Another ddnet client wouldn't hurt i guess
20:58
I will add a new command
20:58
That prints a message
20:58
:0
20:59
Why not
Avatar
rounding is fine to me ngl
21:17
too many squares is kinda sharp and boring
Avatar
why is this treated as an error in clang format
Avatar
Avatar
Voxel
why is this treated as an error in clang format
-warnings-as-errors
Avatar
yea but.. whats the issue? isnt this how that function supposed to work?
Avatar
looks like he wants u to write != 0
21:38
ah I see
21:38
you're doing a ternary operation when this is useless af
21:39
instead of doing the ternary operation, he asks you to put directly var != 0)
Avatar
ohhh okay. weird
21:40
well the 1st explains it well
21:40
why use ternary when != 0 returns a boolean
Avatar
i think i understand now
21:41
adding this to my list of c++ knowledge
21:42
before i submit this fix tho i want to find a way where i can change an icon depending on if it's a parent folder
21:44
this is what i have in mind. currently the symbols are determined by a ternary function. i just need to find a way to detect a parent folder (edited)
Avatar
Is that even necessary
21:45
Ah ingame
21:45
Thought the icon on the system xd
Avatar
at first when I saw this i thought this was another folder until i clicked it
21:46
so i want a way to indicate this is a previous folder
Avatar
../ indicates it
Avatar
i didnt know what ../ meant
Avatar
Only if ur a linux user
21:46
xD
21:47
unix based
21:47
most people who play this aren't linux devs
Avatar
Maybe check whenever that line is generated
Avatar
the only way that's detected is by literally reading the filename LOL (edited)
21:49
Avatar
Avatar
Ravie
I made this long ago
this, and adding picture support to it and you have a new moderm voting window (edited)
Exported 952 message(s)