Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-09-26 00:00 and 2024-09-27 00:00
Avatar
cooking
01:52
how do i make it not affect gameplay when going back to player
01:52
smooth only when in spectator and going into spectator? (edited)
01:55
i think so
Avatar
GitHub BOT 2024-09-26 01:57
2dcbd5e Don't reset zoom on team switch - furo321 525803a Merge pull request #9043 from furo321/dont-reset-zoom - def-
02:00
7de1d30 Show skin name as tooltip in friendlist and serverinfo - bencie 89474ae Merge pull request #9041 from bencie/tee-hover-tooltip - def-
Avatar
GitHub BOT 2024-09-26 02:08
Mainly for sv_auto_demo_record
  • Add an option to record demos only if there is people in the server
  • Add an option to record demos if the people on the server is not afk
  • Add a time limit for server side demo recording so when it is reached a new demo starts being recorded
Avatar
i hate photoshop
Avatar
@Jupstar ✪
Avatar
which ips i need verify or add to my firewall to host a server? master1.ddnet.org master2.ddnet.org master3.ddnet.org (down) master4.ddnet.org (same as 1) still get 2024-09-26 02:30:27 E register/6/ipv4: ERROR: the master server reports that clients can not connect to this server. (edited)
02:36
yea i know its proxied over cloudflare.. and i whitelisted all the cf ips too
Avatar
is your server intend to be able to connected by anyone?
02:37
normally you would open your servers port for every source ip
Avatar
Im just testing something... I block everything except of my ip and the masterservers firstly...
Avatar
ye, that won't work
02:39
the connection report is from another server which is not cloudflare related (edited)
Avatar
listen on 0.0.0.0 on ur server port
02:41
if ur port is bad then nothing u can do
02:42
ISP and NAT stuff
Avatar
sounds like he doesn't want to
Avatar
change port.
Avatar
mhh damn. I want to write you my idea per dm can you maybe accept my friends request (you can delete me after the messages if its okay)
Avatar
i didnt read
02:42
aulunarun
Avatar
justatest i don't think i care about it enough either, sorry. i'm still doing some other works.
Avatar
i would be surprised if cloudflare proxying works
02:43
i've only seen that work for http traffic
02:43
need to expose ur IP or use a vpn sadge
Avatar
Avatar
TsFreddie
justatest i don't think i care about it enough either, sorry. i'm still doing some other works.
I can understand that myself.
Avatar
he means well
02:43
i think i have a job now
Avatar
Avatar
Ewan
i think i have a job now
awesome
02:44
prepared to be rich in like 5 years
Avatar
i hope so..
02:45
$27-30 hourly
Avatar
This command was not found.
Avatar
part time work
02:45
LOL
02:45
no benefits but who cares
Avatar
HUH benefits are a myth anyway
Avatar
gmail test passed
👍 1
04:36
outlook
04:38
Roundcube
04:39
it's probably fine most places
04:39
poggers2
Avatar
i like it
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
damn that mail body is sick
Avatar
rly cool
Avatar
thanks. i spent six whole hours in it
Avatar
aw thats so cute
Avatar
ayooo thats ugly
Avatar
I want attention
Avatar
Avatar
Ewan
I want attention
given
05:18
here you go'
Avatar
papota needs it
Avatar
who's that
Avatar
right?
🤏 2
Avatar
lmfao
Avatar
Avatar
TsFreddie
Roundcube
the art could be way better guys
Avatar
i dont think its the final result
05:19
papota
05:19
Avatar
ah makes sense
05:19
mb
05:20
!
Avatar
why are there some cookies?
Avatar
ws-client BOT 2024-09-26 06:21
<ChillerDragon> i got one 500 on gmail one 500 on youtube one 500 on github and one 429 on github xd ez poweruser what a morning ..
Avatar
gm king
Avatar
Avatar
Ewan
gm king
u!
06:59
cuz I’m on my way to bed gigachad
Avatar
gm
Avatar
Avatar
Ewan
cuz I’m on my way to bed gigachad
say gn to your brother tater for me
Avatar
gn @ tater
Avatar
ws-client BOT 2024-09-26 07:27
<ChillerDragon> sos i need a datascientist!
07:27
<ChillerDragon> how does the SQL work
07:28
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
MilkeeyCat 2024-09-26 07:28
you put random stuff in a query before it starts working as you want it to
Avatar
ws-client BOT 2024-09-26 07:28
<ChillerDragon> i cant read this
07:28
<ChillerDragon> i see two time columns but 3 values for it
07:29
<ChillerDragon> "Map, Name, Timestamp, Time, Server, " here we say we want to set the colums Timestamp and Time
07:29
<ChillerDragon> then we provide two values pSqlServer->InsertTimestampAsUtc(), pData->m_Time,
07:29
<ChillerDragon> and we also bind this???? pSqlServer->BindString(3, pData->m_aTimestamp);
Avatar
Avatar
TsFreddie
gmail test passed
Jupstar ✪ 2024-09-26 07:31
wtf this is amazing 😄
07:31
epyc email template moment
Avatar
ChillerDragon BOT 2024-09-26 07:31
nice teeish email i love it
Avatar
MilkeeyCat 2024-09-26 07:34
chillerdragon: InsertTimestampAsUtc doesn't print timestamp, it returns "DATETIME(?, 'utc')" string and pSqlServer->BindString(3, pData->m_aTimestamp); code binds to the ? (edited)
Avatar
ws-client BOT 2024-09-26 07:34
<ChillerDragon> ah lol nice thanks catto
07:35
<ChillerDragon> trol code if you ask me
Avatar
A few months ago, I stumbled upon a 24 years old buffer overflow in the glibc, the base library for linux programs. Despite being reachable in multiple well-known libraries or executables, it proved rarely exploitable — while it didn't provide much leeway, it required hard-to-achieve preconditions. Looking for targets lead mainly to disappointme...
07:39
all hail c
07:40
@Teero just be good tm ^
Avatar
Avatar
Ryozuki
@Teero just be good tm ^
That buffer overflow is almost 10 years older than him xd
Avatar
Jupstar ✪ 2024-09-26 07:42
xD
07:43
my point stands
Avatar
such grammars
07:43
in this article
Avatar
wdym
07:43
is it too british or smth?
Avatar
A few months ago, I stumbled upon a 24 years old buffer overflow in the glibc, the base library for linux programs
07:44
24 year old a buffer overflow in glibc
Avatar
Jupstar ✪ 2024-09-26 07:44
Wouldn't have happened on Windows
Avatar
i dont understand
Avatar
it’s a bit broken xD
Avatar
Jupstar ✪ 2024-09-26 07:44
Windows^-1 > Linux
Avatar
year-old as adjective
Avatar
anyway glibc should be among the most audited libraries
07:45
if not idk what the world is doing
Avatar
and it has buffer overflows
07:45
that was my point
Avatar
it’s on a bounty basis prob
07:45
but all that research behind closed doors
07:45
cuz security
Avatar
Avatar
TsFreddie
gmail test passed
Jupstar ✪ 2024-09-26 08:01
seems like the new hex is few chars too long XDD
Avatar
lmao
Avatar
Jupstar ✪ 2024-09-26 08:01
can i just decrease the font size?
Avatar
i mean, ye, but it would probably be too small
08:02
even if you decrease the padding and shink the size
Avatar
use rem
Avatar
there are mail clients that displayes in 480px width
Avatar
Jupstar ✪ 2024-09-26 08:02
I can still decrease the token size
Avatar
which is still gonna be short
Avatar
Jupstar ✪ 2024-09-26 08:02
so no worries
08:03
the tokens are only valid for a few minutes anyway
Avatar
Avatar
TsFreddie
there are mail clients that displayes in 480px width
assume 16px = 1em and then translate and u have scalable css
08:03
for free
Avatar
the template adapts from 320px to 540px
08:05
amogus i mean mail html are built different. probably need to test everything again
08:06
Supported in Apple Mail, Gmail. Partially supported in Outlook. Not supported in Yahoo! Mail.
08:06
lmao windows mail
Avatar
Jupstar ✪ 2024-09-26 08:07
nah bro
08:07
i'll just decrease the token length
Avatar
probably a good idea
08:07
how many bits was that currently
Avatar
Jupstar ✪ 2024-09-26 08:07
32bytes
08:08
as secure as a private key xdd
Avatar
Jupstar ✪ 2024-09-26 08:08
8 bytes are probs more than enough already
08:08
or 16 bytes to be safe
Avatar
half of that is probably short enough to fit (edited)
Avatar
Jupstar ✪ 2024-09-26 08:08
I mean google etc. use like 5 digits or smth
Avatar
vibe 6 digits usually i think
Avatar
Jupstar ✪ 2024-09-26 08:32
@TsFreddie ok works now, thanks.
08:32
when dark design?
08:32
xd
Avatar
Avatar
Ewan
no benefits but who cares
Not even health insurance?
Avatar
Avatar
Jupstar ✪
@TsFreddie ok works now, thanks.
cyberfighter 2 2024-09-26 08:33
whats this for
Avatar
Avatar
cyberfighter 2
whats this for
Jupstar ✪ 2024-09-26 08:33
accounts if you use email as login
Avatar
cyberfighter 2 2024-09-26 08:33
accounts in ddnet real?
Avatar
Avatar
Learath2
Not even health insurance?
it’s a contractor position so they purely give me the money. whether it’s 1099 or W2 work we’re not sure yet but the only difference is W2 takes out taxes beforehand
08:33
no benefits for either
08:33
also part time
Avatar
Avatar
TsFreddie
Roundcube
1. How does it look in an email client that only accepts text? 2. Please --> please, the sentence begins with Hello. 3. Not sure about the term token, I feel like code would be easier to understand for the average user.
Avatar
u never ever get benefits with part time work in the USA
08:35
I need to sleep but I cannot get enough of this solo
Avatar
Jupstar ✪ 2024-09-26 08:35
how much time is part time for you?
Avatar
unsure atm
Avatar
Jupstar ✪ 2024-09-26 08:35
if it's a half time job thats hot
Avatar
basically yea
08:36
I’d be doing $21/hr at IT place w benefits full time, $27-30 w/o any extras part time works out to about the same pay I believe
Avatar
Avatar
Jupstar ✪
@TsFreddie ok works now, thanks.
I would experiment with slightly darker colors for the top section
08:36
It might be too close to white
Avatar
i don't have terminal email client
Avatar
Avatar
Ewan
I’d be doing $21/hr at IT place w benefits full time, $27-30 w/o any extras part time works out to about the same pay I believe
depends on hrs obviously
Avatar
Avatar
TsFreddie
i don't have terminal email client
what if u made the rectangles some subtle mapres xd
Avatar
Avatar
TsFreddie
i don't have terminal email client
Jupstar ✪ 2024-09-26 08:37
that also isn't your job to find out. the ppl that use terminal clients can report back if it works or not
Avatar
Avatar
TsFreddie
i don't have terminal email client
Can you send the email to my gmail (see github)? I'll try with my Thunderbird
Avatar
Avatar
Ewan
what if u made the rectangles some subtle mapres xd
gmail blocks so many css properties i doubt we could make mapres
08:38
thunderbird blocks images too
08:38
but nowadays I use simple html view
Avatar
Avatar
Robyt3
Can you send the email to my gmail (see github)? I'll try with my Thunderbird
@Jupstar ✪
Avatar
Avatar
Ewan
no benefits for either
So out of pocket you need to pay for your own insurance?
Avatar
unless I end up below the household limit for government insurance, yes
08:38
which is unlikely
Avatar
k-9 does not support css backgroundimage even if i allowed images
Avatar
Avatar
Robyt3
Can you send the email to my gmail (see github)? I'll try with my Thunderbird
Jupstar ✪ 2024-09-26 08:39
Just create an account 😏
Avatar
ya but he needs the email contents xd
Avatar
Jupstar ✪ 2024-09-26 08:40
how can i forward a email without leaking the source?
xDe 1
08:40
u mean the original sender
08:40
not sure actually
Avatar
Jupstar ✪ 2024-09-26 08:40
@Robyt3 give me ur email
Avatar
github
Avatar
Jupstar ✪ 2024-09-26 08:41
i am too lazy
Avatar
Robyt3 has 21 repositories available. Follow their code on GitHub.
Avatar
cyberfighter 2 2024-09-26 08:41
is an auto updater possible on android
Avatar
Avatar
cyberfighter 2
is an auto updater possible on android
When we publish on F-Droid, I guess
08:42
Not within the client
Avatar
cyberfighter 2 2024-09-26 08:42
what is f droid
Avatar
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.
Avatar
cyberfighter 2 2024-09-26 08:42
oh
Avatar
Jupstar ✪ 2024-09-26 08:43
@Robyt3 did u get the mail
Avatar
cyberfighter 2 2024-09-26 08:43
is it gonna be on google playstore tho? xd
Avatar
Avatar
Jupstar ✪
@Robyt3 did u get the mail
yeah, thanks
Avatar
Avatar
cyberfighter 2
is it gonna be on google playstore tho? xd
cyberfighter 2 2024-09-26 08:44
ik it costs like money or smth to upload it but maybe donations for it
Avatar
maintaining relationship with google play is actually pretty tedious
Avatar
there are more requirements
08:47
ye
Avatar
biggernouis got taken down cuz they keep changing stuff
Avatar
cyberfighter 2 2024-09-26 08:48
oh
Avatar
The issue with Google Play is that it costs more nerves, yeah
Avatar
cyberfighter 2 2024-09-26 08:48
that sucks
Avatar
they intentionally make most online marketplaces uninhabitable for smaller projects
Avatar
cyberfighter 2 2024-09-26 08:49
i feel like it would get a bit more players, considering all the tiktoks going on
Avatar
app stores
Avatar
steam also cost money but valve's developer experience is like so good
Avatar
Avatar
Jupstar ✪
@Robyt3 did u get the mail
Images don't show in Thunderbird either
Avatar
it's expected really
Avatar
Avatar
Daniel
mhh damn. I want to write you my idea per dm can you maybe accept my friends request (you can delete me after the messages if its okay)
heinrich5991 2024-09-26 08:50
you can DM me
Avatar
i allowed it on my thunderbird tho
Avatar
Avatar
Robyt3
Images don't show in Thunderbird either
Jupstar ✪ 2024-09-26 08:51
yeah sounds fine to me
Avatar
also i thought you meant clients that doesn't take html
Avatar
Jupstar ✪ 2024-09-26 08:51
it's only cosmetic
Avatar
Avatar
Robyt3
Images don't show in Thunderbird either
this is more coherent than the majority of automated emails I get without their embedded media
Avatar
that's why there is also an ugly title
Avatar
this is a win
Avatar
Jupstar ✪ 2024-09-26 08:51
as long as the important msg gets to the user
Avatar
i originally didn't add it but i can't really tell what it was for in thunderbird
Avatar
cyberfighter 2 2024-09-26 08:52
lol
Avatar
Avatar
TsFreddie
also i thought you meant clients that doesn't take html
ah, yeah, I only use text only when sending (extra empty lines omitted): DDNet Hello jupjopjap, *Please use the following token to verify your action:* |0fa35e5d43c009d173f6c6d7a58591e0 | /This token is valid for ~15 minutes./ Some footer infomation blah blah something something DDNet <https://ddnet.org/> And some other cautionary information maybe
Avatar
Avatar
TsFreddie
steam also cost money but valve's developer experience is like so good
heinrich5991 2024-09-26 08:54
did not cost money for ddnet
Avatar
The token having pipes around is should probably be avoided in the plain text version (edited)
Avatar
heinrich5991 2024-09-26 08:55
just make sure to strip the pipes in the input field
08:55
or rather, after the input field is submitted
Avatar
Jupstar ✪ 2024-09-26 08:55
This is the final version, if you disagree with it, you can wait until i make the account code public and change it yourself 😛
poggers 1
heartw 1
brownbear 1
feelsamazingman 1
poggers2 1
owo 1
😱 1
08:55
oh it says "lose"
08:55
forgot to f5
Avatar
email (in English), lose
08:56
Maybe the DDNet title could be on the left side aligned with the other text? Then it would also look better if images cannot be loaded
Avatar
Avatar
Robyt3
Maybe the DDNet title could be on the left side aligned with the other text? Then it would also look better if images cannot be loaded
Jupstar ✪ 2024-09-26 08:56
Save that on your todo 😉
Avatar
i remeber some email says "you can safely ignore this email"
Avatar
some margin below the token box would be in accordance
Avatar
Avatar
Jupstar ✪
Save that on your todo 😉
ok, it's 458 lines long now justatest
08:58
God I can’t believe I still xd in 2024
08:58
What has this game done to me
Avatar
xd
Avatar
Avatar
Ewan
God I can’t believe I still xd in 2024
Jupstar ✪ 2024-09-26 08:59
09:00
D:
09:01
🛌🛏
09:01
I love the terse emoji names
09:01
💠
Avatar
Is the maximum skin name length exactly 23 characters? Does anyone know?
Avatar
heinrich5991 2024-09-26 09:17
yes
👍 1
Avatar
What about the minimum character length?
Avatar
heinrich5991 2024-09-26 09:18
subtract one for null termination
09:19
(it's 23 UTF-8 bytes, not 23 "characters" btw)
09:19
either 1 or 0, let's check
Avatar
Jupstar ✪ 2024-09-26 09:19
should be 0
Avatar
Just need to know the range, so I can restrict the name field in #📬submit-skins
Avatar
Jupstar ✪ 2024-09-26 09:20
which doesn't mean you should support 0 if u do it for some discord bot
09:20
i guess you should use 2 or 3 as minimum then
Avatar
heinrich5991 2024-09-26 09:20
what jupstar says
Avatar
Oh, I already have a check for this... oops. len(re_match["skin_name"]) < 24
Avatar
heinrich5991 2024-09-26 09:26
that's an incorrect check
Avatar
Avatar
heinrich5991
(it's 23 UTF-8 bytes, not 23 "characters" btw)
heinrich5991 2024-09-26 09:26
due to this
09:27
you need len(re_match["skin_name"].encode("utf8")) < 24
Avatar
chillerdragon BOT 2024-09-26 09:47
2024 the year of the ddnet accounts?
09:48
That email better look good in mutt email client :p
Avatar
Jupstar ✪ 2024-09-26 09:48
Yeah i added ascii art support now
Avatar
chillerdragon BOT 2024-09-26 09:48
No you didn’t
Avatar
Avatar
chillerdragon
2024 the year of the ddnet accounts?
Jupstar ✪ 2024-09-26 09:49
Well i dunno if the cpp will get it this year
09:49
just thinking about the ffi already demotivates me xdd
09:50
but good thing for you, dd-pg will release this year and it has account support
Avatar
heinrich5991 2024-09-26 09:50
ah, you wrote the client support in rust? nice!
Avatar
Jupstar ✪ 2024-09-26 09:51
what client support xd
Avatar
heinrich5991 2024-09-26 09:53
does the client not need a way to log in?
Avatar
Avatar
heinrich5991
does the client not need a way to log in?
Jupstar ✪ 2024-09-26 09:54
you mean dd-pg or what client?
Avatar
heinrich5991 2024-09-26 09:54
yes
Avatar
Jupstar ✪ 2024-09-26 09:54
yeah dd-pg is 100% rust
09:54
(except for some external libs)
Avatar
heinrich5991 2024-09-26 09:54
true. I guess it was obvious that the client impl of accounts is in rust
09:55
it was still nice to hear ^^
Avatar
Jupstar ✪ 2024-09-26 09:55
I guess I'll soon release the account impl on github and crates.io then i can remove it from my monorepo
09:56
and ddnet maintainers can start to check the code/idea etc.
Avatar
Avatar
Jupstar ✪
I guess I'll soon release the account impl on github and crates.io then i can remove it from my monorepo
Accounts happening soon?
Avatar
finally BEGONE BLOCKERS
Avatar
Avatar
Dreamless
Accounts happening soon?
Jupstar ✪ 2024-09-26 10:00
Hello toast. the account impl is idependent of ddnet getting accounts. So when accounts come is a different question and I cannot answer it
10:01
But this is the implementation for the account server
Avatar
It's good to hear that we have a starting point regardless
Avatar
yeah an account system would be a MASSIVE step imo
10:02
gonna be sick to see whats gonna be made of it
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
xD
Avatar
when accounts come, what happens to records that are just attached to names?
Avatar
Avatar
LuKron
when accounts come, what happens to records that are just attached to names?
Jupstar ✪ 2024-09-26 11:04
This probably has been discussed many times already here: https://discord.com/channels/252358080522747904/1263223077077254165
Avatar
awesome thanks
Avatar
djo_biden_ 2024-09-26 11:26
Where is the latest version of phone ddnet?
Avatar
Avatar
djo_biden_
Where is the latest version of phone ddnet?
Jupstar ✪ 2024-09-26 11:28
Avatar
Hello guys, I've been trying to make a button via CMenu. But when I press it nothing happends. I've been testing a bit and think my button is not considered active. Does anyone have any idea, even is vague, if I need to do something specific for my button to be active?
Avatar
Can you show a snippet of your code?
Avatar
A snippet might not be enough.. but here you go: vec2 leaderboardSize = pRect->Size(); static CButtonContainer DemoButtons[AMOUNT_DISPLAYED]; static CButtonContainer GhostButtons[AMOUNT_DISPLAYED]; for (int i = 0; i < AMOUNT_DISPLAYED; i++) { CUIRect Row, Demo, Ghost; pRect->HSplitTop(20.0f, &Row, pRect); Row.VSplitRight(leaderboardSize.x / 8.0f, &Row, &Demo); Row.VSplitRight(leaderboardSize.x / 8.0f, &Row, &Ghost); Row.VSplitRight(leaderboardSize.x / 20.0f, &Row, nullptr); Demo.Margin(1.0f, &Demo); Ghost.Margin(1.0f, &Ghost); char aBuf[256]; str_format(aBuf, sizeof(aBuf), "%d. Player %d", i+1, i); Ui()->DoLabel(&Row, aBuf, 10.0f, TEXTALIGN_ML); str_format(aBuf, sizeof(aBuf), "%d.76", i); Ui()->DoLabel(&Row, aBuf, 10.0f, TEXTALIGN_MR); if(m_pClient->m_Menus.DoButton_Menu(&DemoButtons[i], Localize("D"), 0, &Demo)) printf("%s", "DEMO!"); if(m_pClient->m_Menus.DoButton_Menu(&GhostButtons[i], Localize("G"), 0, &Ghost)) printf("%s", "GHOST!"); } If I'm not mistaken my buttons get hot, like when hovering/clicking them they do change color.
Avatar
Вильдан лох 2024-09-26 13:19
Give cool texture packs
Avatar
Jupstar ✪ 2024-09-26 13:19
default is a banger
Avatar
@Jupstar ✪ i accepted the invite to ddnet-accounts
13:20
poggers2
Avatar
Jupstar ✪ 2024-09-26 13:20
nice xd
Avatar
it will be for the account server?
Avatar
Jupstar ✪ 2024-09-26 13:20
yeah
Avatar
Avatar
Devinci
A snippet might not be enough.. but here you go: vec2 leaderboardSize = pRect->Size(); static CButtonContainer DemoButtons[AMOUNT_DISPLAYED]; static CButtonContainer GhostButtons[AMOUNT_DISPLAYED]; for (int i = 0; i < AMOUNT_DISPLAYED; i++) { CUIRect Row, Demo, Ghost; pRect->HSplitTop(20.0f, &Row, pRect); Row.VSplitRight(leaderboardSize.x / 8.0f, &Row, &Demo); Row.VSplitRight(leaderboardSize.x / 8.0f, &Row, &Ghost); Row.VSplitRight(leaderboardSize.x / 20.0f, &Row, nullptr); Demo.Margin(1.0f, &Demo); Ghost.Margin(1.0f, &Ghost); char aBuf[256]; str_format(aBuf, sizeof(aBuf), "%d. Player %d", i+1, i); Ui()->DoLabel(&Row, aBuf, 10.0f, TEXTALIGN_ML); str_format(aBuf, sizeof(aBuf), "%d.76", i); Ui()->DoLabel(&Row, aBuf, 10.0f, TEXTALIGN_MR); if(m_pClient->m_Menus.DoButton_Menu(&DemoButtons[i], Localize("D"), 0, &Demo)) printf("%s", "DEMO!"); if(m_pClient->m_Menus.DoButton_Menu(&GhostButtons[i], Localize("G"), 0, &Ghost)) printf("%s", "GHOST!"); } If I'm not mistaken my buttons get hot, like when hovering/clicking them they do change color.
Use dbg_msg instead of printf if you want the messages to appear in the local console. Is this code in CMenus? If not the UI functions might not work correctly/fully
Avatar
Avatar
Robyt3
Use dbg_msg instead of printf if you want the messages to appear in the local console. Is this code in CMenus? If not the UI functions might not work correctly/fully
Yeah I know about dbg, was just lazy when I wrote that and for now I like using my terminal ^^'. Thanks But no it's not. That's why I use m_pClient and wondered if there was a way to set my buttons as active :/
Avatar
heinrich5991 2024-09-26 13:40
dbg_msg ends up in the terminal and in the local console
Avatar
Yy i know. This is code I will end up removing. But I'll try to use it more from now on
Avatar
Avatar
Devinci
Yeah I know about dbg, was just lazy when I wrote that and for now I like using my terminal ^^'. Thanks But no it's not. That's why I use m_pClient and wondered if there was a way to set my buttons as active :/
I mean how did you confirm that the buttons are not getting activated? If you expect the output in the local console then not using dbg_msg is the issue
13:45
Otherwise, if the button becomes the hot item it should also activate when you click it
13:45
But is this code in CMenus? If so, you don't need m_pClient->m_Menus. If not, this will probably not work because the UI mouse is not being updated outside of the menus and editor
Avatar
No, I looked at my terminal output where my local server is running. I also just put a || true so my print could always get printed. And even pribted the value returned by buttonLogic or somethinf (it was 0). And I used Ui()->Update()... wouldn't that work.. ^^'
13:47
But you are right. Talking to you I've realised that maybe I should just put everything on CMenu (or somewhere with ui) thanks (edited)
Avatar
Avatar
Jupstar ✪
This is the final version, if you disagree with it, you can wait until i make the account code public and change it yourself 😛
Avolicious 2024-09-26 13:47
I really like the HTML e-mail template. Are you going with alt plain-text as well?
Avatar
Avatar
Avolicious
I really like the HTML e-mail template. Are you going with alt plain-text as well?
Jupstar ✪ 2024-09-26 13:48
i think robyte tested it with some terminal client and it worked ok enough 😄
Avatar
Avolicious 2024-09-26 13:49
Ah okay, because my Thunderbird doesnt use the html version
Avatar
Jupstar ✪ 2024-09-26 13:49
rip
Avatar
Avolicious 2024-09-26 13:49
I like my e-mails in text, like letters. If I want html I use browsers 😄
Avatar
chillerdragon BOT 2024-09-26 13:49
Where can I sign up?
Replying to @Jupstar ✪ but good thing for you, dd-pg will release this year and it has account …
Avatar
@Devinci have you checked what the active item is?
Avatar
Avatar
Devinci
No, I looked at my terminal output where my local server is running. I also just put a || true so my print could always get printed. And even pribted the value returned by buttonLogic or somethinf (it was 0). And I used Ui()->Update()... wouldn't that work.. ^^'
You need to delegate inputs to the UI with OnInput and OnCursorMove while the UI is activate in your component. The UI isn't designed to work outside of menus and editor, so I don't know if that's the only issue
Avatar
Avatar
chillerdragon
Where can I sign up?
Jupstar ✪ 2024-09-26 13:50
sign up for what?
Avatar
chillerdragon BOT 2024-09-26 13:50
dd-pg account
Avatar
Avatar
Learath2
@Devinci have you checked what the active item is?
ª, I have indeed not.
Avatar
Avatar
chillerdragon
dd-pg account
Jupstar ✪ 2024-09-26 13:50
u need the latest client and i need to start the acc server and whitelist you xd
Avatar
chillerdragon BOT 2024-09-26 13:51
Will the account stay then?
Avatar
Jupstar ✪ 2024-09-26 13:51
on my vps database? maybe
Avatar
chillerdragon BOT 2024-09-26 13:51
Also woah register in the client? Not web?
Avatar
Jupstar ✪ 2024-09-26 13:51
xd
Avatar
Avatar
chillerdragon
Also woah register in the client? Not web?
Jupstar ✪ 2024-09-26 13:52
yeah
Avatar
chillerdragon BOT 2024-09-26 13:52
pog
13:52
Go whitelist zillyhuhn.com I register with vpn tomorrow
Avatar
Jupstar ✪ 2024-09-26 13:53
currently the client only builds with steam support bcs i tested that yesterday, so i guess it's not chiller friendly rn
13:53
maybe in a week
Avatar
Avatar
Devinci
ª, I have indeed not.
Ah, you are not in the menu component, you are probably failing the Inside check because OnCursorMove isn't routed there
Avatar
I am inside
Avatar
chillerdragon BOT 2024-09-26 13:53
.-.
13:54
Spyware keks
Avatar
Jupstar ✪ 2024-09-26 13:54
ok ok
13:54
i make steam as feature today
13:54
i need to do it anyway
Avatar
Avatar
chillerdragon
Go whitelist zillyhuhn.com I register with vpn tomorrow
Jupstar ✪ 2024-09-26 13:54
i can only whitelist ips, i assume u mean the ip that the domain relates to?
Avatar
chillerdragon BOT 2024-09-26 13:54
Yes
Avatar
But honestly, with only that snippet might be too hard to pin point the issue. I wil ltry to give more details after looking ibto it a bit more. Thx anyways
Avatar
chillerdragon BOT 2024-09-26 13:55
I fakin lost my og ip so I don’t know my new one
Avatar
Avatar
Robyt3
You need to delegate inputs to the UI with OnInput and OnCursorMove while the UI is activate in your component. The UI isn't designed to work outside of menus and editor, so I don't know if that's the only issue
I wanted to get inspiration from emoticon. Which afaik is Ui outside of menus and editor
Avatar
Avatar
Devinci
No, I looked at my terminal output where my local server is running. I also just put a || true so my print could always get printed. And even pribted the value returned by buttonLogic or somethinf (it was 0). And I used Ui()->Update()... wouldn't that work.. ^^'
heinrich5991 2024-09-26 13:55
can you print anything in the server console? that sounds like a different program entirely
Avatar
chillerdragon BOT 2024-09-26 13:55
I depend on dns now like a idiot
Avatar
heinrich5991 2024-09-26 13:56
an* idiot
Avatar
hm, but you did say colors change, on hover/click. So the Inside check isn't it
Avatar
Avatar
Devinci
I wanted to get inspiration from emoticon. Which afaik is Ui outside of menus and editor
Emoticon is not really using CUi for most things though
Avatar
Avatar
chillerdragon
I depend on dns now like a idiot
Avolicious 2024-09-26 13:56
But whats wrong with DNS?
Avatar
Avatar
Devinci
No, I looked at my terminal output where my local server is running. I also just put a || true so my print could always get printed. And even pribted the value returned by buttonLogic or somethinf (it was 0). And I used Ui()->Update()... wouldn't that work.. ^^'
heinrich5991 2024-09-26 13:56
this sounds highly suspect
Avatar
Avatar
heinrich5991
can you print anything in the server console? that sounds like a different program entirely
I haven't checked but I'm fairly sure I can.
Avatar
chillerdragon BOT 2024-09-26 13:56
I prefer ips
Avatar
Emoticon and spectator menus use different, simpler UI implementations (edited)
Avatar
Avatar
Devinci
I haven't checked but I'm fairly sure I can.
heinrich5991 2024-09-26 13:57
check your assumptions. something isn't working like you expect, to something you assume must be wrong
Avatar
chillerdragon BOT 2024-09-26 13:57
Imagine having to say your domain because you can’t remember your ip. It’s pathetic.
Avatar
Avatar
chillerdragon
I prefer ips
Avolicious 2024-09-26 13:57
But you cant sign IPs, in DNS you can sign your DNS entries 😄
Avatar
chillerdragon BOT 2024-09-26 13:57
Also DNS breaks all the time.
Avatar
Avatar
chillerdragon
Imagine having to say your domain because you can’t remember your ip. It’s pathetic.
find the new owner of your old ip, blackmail them (edited)
Avatar
Avatar
chillerdragon
Also DNS breaks all the time.
Avolicious 2024-09-26 13:57
Huh? I never experience that
13:57
Where did DNS break?
Avatar
Avatar
Avolicious
Huh? I never experience that
ditto, never seen dns randomly break
13:58
Probably one of the highest uptime things on planet earth
Avatar
chillerdragon BOT 2024-09-26 13:58
@Learath2: my provider moved provider nothing I can do. It would cause lags to keep the old ip.
Avatar
Avatar
heinrich5991
check your assumptions. something isn't working like you expect, to something you assume must be wrong
Feels unrelated though... i just prefer looking at server output via terminal... but I will try whenever I get the chance to.
Avatar
Avolicious 2024-09-26 13:58
IMHO DNS is pretty stable
Avatar
chillerdragon BOT 2024-09-26 13:58
In Indonesia on a daily basis. But in general once a month xd
Replying to @Avolicious Where did DNS break?
Avatar
heinrich5991 2024-09-26 13:58
wait, are you on linux or windows?
Avatar
Avatar
chillerdragon
@Learath2: my provider moved provider nothing I can do. It would cause lags to keep the old ip.
Avolicious 2024-09-26 13:58
But thats a provider issue then 😄
Avatar
heinrich5991 2024-09-26 13:58
@Devinci
Avatar
Linux
Avatar
heinrich5991 2024-09-26 13:58
ah, then I agree that the output should probably work to the terminal
Avatar
Avatar
chillerdragon
In Indonesia on a daily basis. But in general once a month xd
Avolicious 2024-09-26 13:58
Use 1.1.1.1 or alt dns servers. But in general they dont break
Avatar
heinrich5991 2024-09-26 13:59
but if you only see the server output there, then it's suspect again
Avatar
chillerdragon BOT 2024-09-26 13:59
The amount of times I had to use my hosts file or switch dns server is insane
Avatar
Avatar
heinrich5991
check your assumptions. something isn't working like you expect, to something you assume must be wrong
Well it might not be one of your assumptions. This probably breaks on one of the assumptions the code he calls makes that is not explicit or obvious
13:59
By all means DoButton_Menu sounds like it should work in any render context 😄
Avatar
Avatar
chillerdragon
The amount of times I had to use my hosts file or switch dns server is insane
Avolicious 2024-09-26 14:00
I mean, that sounds like an chiller arch linux problem. But if the finance sector is using DNS even internally, then I would assume that its safe to use 😄
Avatar
heinrich5991 2024-09-26 14:00
if you want to do something, and do everything you think is needed and it doesn't work — then I guess your assumptions are wrong. e.g. some random function might be buggy where you assumed it'd work
Avatar
Perhaps these things should be private/protected or perhaps CUi should have some statefullness to it to immediately assert out of this case
Avatar
chillerdragon BOT 2024-09-26 14:01
No I mean sure dns is stable. And the average normie depends on it for all its internet usage. But I think you know exactly what I mean by dns can have issue s @Avolicious you do devops stuff …
14:01
Things break
Avatar
Avatar
heinrich5991
if you want to do something, and do everything you think is needed and it doesn't work — then I guess your assumptions are wrong. e.g. some random function might be buggy where you assumed it'd work
I guess that's fair. You still made the assumption that the function would work in any context
Avatar
chillerdragon BOT 2024-09-26 14:01
Ip never broke on me
Avatar
Avatar
chillerdragon
No I mean sure dns is stable. And the average normie depends on it for all its internet usage. But I think you know exactly what I mean by dns can have issue s @Avolicious you do devops stuff …
Avolicious 2024-09-26 14:01
I never managed to break my dns
Avatar
heinrich5991 2024-09-26 14:01
it sounds like you optimize for the wrong thing, chillerdragon
Avatar
chillerdragon BOT 2024-09-26 14:02
I don’t believe you
Avatar
heinrich5991 2024-09-26 14:02
X broke once for me, get rid of X entirely
Avatar
Avolicious 2024-09-26 14:02
I was the problem, not dns 😄
Avatar
chillerdragon BOT 2024-09-26 14:02
Yes I was the problem too
14:02
Mostly
14:02
Drill
Avatar
Honestly I just asked hoping someone could have an idea. Maybe the error is unrelated and ends up being the dumbest thing ever. Thanks for everyone's input.
Avatar
Avolicious 2024-09-26 14:02
But then dont blame dns, blame yourself
Avatar
chillerdragon BOT 2024-09-26 14:02
Still
Avatar
Avolicious 2024-09-26 14:02
dns did a good job, you failed 😄
Avatar
Avatar
chillerdragon
The amount of times I had to use my hosts file or switch dns server is insane
idk what you are doing with your dns but I don't even remember where to set dns
Avatar
chillerdragon BOT 2024-09-26 14:02
I never managed to break ip so I blame dns
Avatar
I literally set it to 1.1.1.1 many months ago and never really had to touch it ever again
Avatar
Avatar
Learath2
I literally set it to 1.1.1.1 many months ago and never really had to touch it ever again
Avolicious 2024-09-26 14:03
Same here
14:03
Sometimes I switch to 8.8.4.4
Avatar
heinrich5991 2024-09-26 14:03
1.1 is also a DNS server :p
Avatar
I also host my own nameservers, didn't manage to break those either in a loong looong time
Avatar
chillerdragon BOT 2024-09-26 14:03
Wtf
Avatar
Avatar
heinrich5991
1.1 is also a DNS server :p
Avolicious 2024-09-26 14:04
😮 is it the same as 1.1.1.1?
Avatar
chillerdragon BOT 2024-09-26 14:04
That’s not even an ip
Avatar
Avatar
Avolicious
😮 is it the same as 1.1.1.1?
heinrich5991 2024-09-26 14:04
yes
Avatar
Avatar
chillerdragon
That’s not even an ip
Avolicious 2024-09-26 14:04
depends on the netmask 😆
Avatar
heinrich5991 2024-09-26 14:05
1.1 is a weird way to write 1.0.0.1 that most systems accept
14:05
try ping 1.1
Avatar
chillerdragon BOT 2024-09-26 14:05
What’s 2.2 then?
Avatar
heinrich5991 2024-09-26 14:05
2.0.0.2
Avatar
2.0.0.2
Avatar
chillerdragon BOT 2024-09-26 14:05
Neat
Avatar
What's 1.1.1 then?
Avatar
heinrich5991 2024-09-26 14:06
1.1.0.1
Avatar
chillerdragon BOT 2024-09-26 14:06
Reminds me of ninjaturtle html
14:06
Just fill it up with zeros xd
Avatar
Avatar
Learath2
What's 1.1.1 then?
Avolicious 2024-09-26 14:06
And if you use 1.1.1.1.1 then you're next gen 😏
Avatar
heinrich5991 2024-09-26 14:06
and 1.65793 is 1.1.1.1
Avatar
chillerdragon BOT 2024-09-26 14:06
Now you are making stuff up
Avatar
heinrich5991 2024-09-26 14:06
(65793 = 256² + 256 + 1)
Avatar
heinrich5991 2024-09-26 14:07
try ping 16843009 😉
Avatar
chillerdragon BOT 2024-09-26 14:07
Phone
Avatar
Avatar
chillerdragon
Phone
Avolicious 2024-09-26 14:07
No ICMP on phone? sadge
Avatar
chillerdragon BOT 2024-09-26 14:07
Ok good night was fun trash talking with yall as always
14:08
No I do nothing on my phone
Avatar
What brand?
Avatar
Avolicious 2024-09-26 14:08
fairphone I guess
14:08
Something were you can install arch linux on
14:09
In my head I cant think about chiller without thinking about arch linux... thats manifested
Avatar
I can imagine chiller having the newest iPhone ngl.
Avatar
Avolicious 2024-09-26 14:10
No, he is not even using discord
14:11
He doesnt like vendor lock in, only teeworlds accounts
Avatar
Sometimes people do contradicting things
Avatar
Avolicious 2024-09-26 14:13
Not chiller, if the thing cant run arch, he doesnt want it
Avatar
chillerdragon BOT 2024-09-26 14:14
I do own an iPhone. I dont like it. And I only use it for matrix. I don’t feel vendor locked in. But I could not switch to the pinephone because it felt so sluggish.
14:14
Ok now I leave Fr xd
Avatar
Is fairphone x86?
14:14
Arch doesn't run on arm
Avatar
Avolicious 2024-09-26 14:14
Maybe he switched to NixOS (edited)
14:15
but I don't see an entry for the pinephone
14:16
seems like you want to use postmarketos on the pinephone
Avatar
Avolicious 2024-09-26 14:18
PINE64 PinePhone pine64-pinephone aarch64 2020 Allwinner A64 4x 1152 MHz Cortex-A53 Mali-400 MP2 Y P Y Y Y Y Y -
Avatar
Avatar
heinrich5991
Hmm last time I checked Arch arm support was discontinued. weird
Avatar
Avolicious 2024-09-26 14:19
I never heard about pinephone tho
14:19
Is it something like fairphone? (edited)
Avatar
Avatar
Teero
Hmm last time I checked Arch arm support was discontinued. weird
heinrich5991 2024-09-26 14:19
it's not an official arch linux project. but it also never was, I think
Avatar
Avolicious 2024-09-26 14:19
I guess the main problem is that most Apps dont run on there
Avatar
heinrich5991 2024-09-26 14:19
x86 (32 bit intel was discontinued)
Avatar
Avolicious 2024-09-26 14:21
One problem I had with my OnePlus in the past was that I cant run https://www.oesterreich.gv.at/ueber-oesterreichgvat/faq/app_digitales_amt.html "Digitales Amt", which is the digital entrance to manage your official stuff besides of going to magistrate. I asked why I cant run it & they said that they need devices that are signed by official vendors like Samsung or Apple 😄
Avatar
heinrich5991 2024-09-26 14:21
but why
14:21
that sounds easily discriminatory
Avatar
Avolicious 2024-09-26 14:22
They only support a few devices, where they can guarantee that your ID cant be tampered
14:22
"Digitales Amt" and "eAusweise" can be used to sign digitally
Avatar
Idk how you can ever guarantee that
Avatar
heinrich5991 2024-09-26 14:22
they can't
14:23
they just want to tick some consultant's boxes
Avatar
Avatar
Avolicious
"Digitales Amt" and "eAusweise" can be used to sign digitally
heinrich5991 2024-09-26 14:23
there's the AusweisApp in germany which can be used to sign in to services. it uses your ID card as a signer AFAIK
14:23
no stupid exclusion of devices there
Avatar
Avatar
heinrich5991
there's the AusweisApp in germany which can be used to sign in to services. it uses your ID card as a signer AFAIK
Avolicious 2024-09-26 14:25
Only sign in or can you sign official documents with it too?
Avatar
heinrich5991 2024-09-26 14:25
well, I can hand in my tax declaration with it
14:25
is that "signing of official documents"?
Avatar
Avolicious 2024-09-26 14:25
I can sign my working contracts digitally
14:26
I can literally sign anything with it
14:26
and its legally correct
Avatar
heinrich5991 2024-09-26 14:26
anything that supports it?
Avatar
Avolicious 2024-09-26 14:26
No, I can sign a PDF and there is a visual on it to verify it
14:27
You can scan in the signature & verify it 😄
14:27
Its eIDAS compliant
Avatar
heinrich5991 2024-09-26 14:27
I'm interested in the technical workings of that
14:27
what binds the signature to the document you signed?
Avatar
Avolicious 2024-09-26 14:28
Elaborate "bind"
Avatar
heinrich5991 2024-09-26 14:29
what prevents me from screenshotting the signature, putting it on a different PDF where it still verifies? (edited)
Avatar
Avatar
heinrich5991
what prevents me from screenshotting the signature, putting it on a different PDF where it still verifies? (edited)
Avolicious 2024-09-26 14:30
What prevents you to fake a handwritten signature?
🤯 1
Avatar
Nothing but we expect a higher degree of confidence for digital signatures. I wouldn't really doubt a GPG signed document e.g.
Avatar
heinrich5991 2024-09-26 14:30
why do you do the dance of a non-rooted smartphone if I can break it with a screenshot?
14:31
that would sound super silly
14:31
so I guess it's more elaborate than that and that there is something that binds the signature to the document
Avatar
Literally this, handwritten signature literally is just a symbol. In Norway I signed my housing agreement just by clicking a tickbox, thats it
Avatar
Avatar
heinrich5991
so I guess it's more elaborate than that and that there is something that binds the signature to the document
Avolicious 2024-09-26 14:32
Well, I would assume that the verification is done via hash or something, so you need to upload your PDF & then you can check if he signed your PDF
Avatar
Avatar
Gumba
Literally this, handwritten signature literally is just a symbol. In Norway I signed my housing agreement just by clicking a tickbox, thats it
Did you know that legally any scribble YOU make is a valid signature for you. Doesn't have to match your old scribbles e.g.
Avatar
heinrich5991 2024-09-26 14:32
that sounds country-dependent
Avatar
Avatar
Learath2
Did you know that legally any scribble YOU make is a valid signature for you. Doesn't have to match your old scribbles e.g.
nop
Avatar
At the very least in Turkey as long as you can prove that I made the scribble, it's a legal signature
Avatar
Avatar
heinrich5991
that sounds country-dependent
In Norway everyone who is staying longer has to get a norwegian bank account/id, verified with ur passport and then gets an n pronciple a governmental provided e-mail box, everything else is then done digitally
Avatar
Avatar
Avolicious
Well, I would assume that the verification is done via hash or something, so you need to upload your PDF & then you can check if he signed your PDF
Does it actually add a visual into the pdf when you sign it? Because that would change the pdf too, hm, quite an interesting issue, I wonder how they solved it
Avatar
Avatar
Learath2
Does it actually add a visual into the pdf when you sign it? Because that would change the pdf too, hm, quite an interesting issue, I wonder how they solved it
Avolicious 2024-09-26 14:34
Yes, it adds a visual to the PDF
Avatar
heinrich5991 2024-09-26 14:35
that sounds completely worthless ^^
14:35
without the PDF
Avatar
Can you sign documents offline?
Avatar
Avolicious 2024-09-26 14:35
Yes, I can sign them offline
14:35
Well
14:35
Its a bit complicated
14:35
It doesnt work 100% offline
14:35
You need atleast your phone to "allow" the signature
14:36
But after I logged into my account with my phone, I can sign documents offline
Avatar
Hm, then idk how one would actually verify it. If it was online it can be recovered. Upload the original pdf to a trusted "notary", they issue the visual to attach onto the pdf. Now you can scan the visual to check on the notaries site the original pdf and visually match it
Avatar
Avatar
heinrich5991
that sounds completely worthless ^^
Perhaps there is a way to strip the visual back out when recalculating the hash?
Avatar
heinrich5991 2024-09-26 14:37
it's probably appended to the PDF in a reversible way or so
Avatar
(idk the pdf format, so idk if that's possible)
Avatar
heinrich5991 2024-09-26 14:37
but without the original PDF, you can't verify that the signature has anything to do with the contents of the document
Avatar
Avatar
heinrich5991
but without the original PDF, you can't verify that the signature has anything to do with the contents of the document
Avolicious 2024-09-26 14:38
Avatar
Avatar
heinrich5991
but without the original PDF, you can't verify that the signature has anything to do with the contents of the document
but you @heinrich5991 can't generate a signature for any pdf and make it appear to be signed by @Avolicious
Avatar
heinrich5991 2024-09-26 14:38
I can take one actual signature of @Avolicious and put it into my PDF (edited)
Avatar
Avatar
heinrich5991
I can take one actual signature of @Avolicious and put it into my PDF (edited)
but that signature won't validate, because it's a different PDF
Avatar
heinrich5991 2024-09-26 14:39
then print it and anyone can verify that @Avolicious signed my contract
Avatar
Ah, but if you print it that information is lost
Avatar
heinrich5991 2024-09-26 14:39
yes
Avatar
Avolicious 2024-09-26 14:39
But thats illegal 😄
Avatar
heinrich5991 2024-09-26 14:39
why would you do a visual otherwise?
Avatar
Avolicious 2024-09-26 14:39
You can also get my handsignature
14:39
and do the same
Avatar
heinrich5991 2024-09-26 14:39
yes
Avatar
I wonder if a printed e-signature is even legal
Avatar
Avolicious 2024-09-26 14:40
But its still illegal
Avatar
heinrich5991 2024-09-26 14:40
but what does your process add?
Avatar
Avatar
Learath2
I wonder if a printed e-signature is even legal
Avolicious 2024-09-26 14:40
In austria it is
Avatar
Avatar
heinrich5991
but what does your process add?
Avolicious 2024-09-26 14:40
Its mostly used for digital signings
Avatar
Avatar
heinrich5991
why would you do a visual otherwise?
Ease of use for underpaid overworked government employees?
Avatar
Avolicious 2024-09-26 14:40
but its also accepted if you print it
Avatar
Avatar
Learath2
Ease of use for underpaid overworked government employees?
Avolicious 2024-09-26 14:40
Underpaid?????
14:40
Nonono
14:40
This is not how the government works
14:40
They are overpaid for their work
Avatar
s/underpaid/underqualified/ there you go
Avatar
Avolicious 2024-09-26 14:41
You dont need any qualification for this type of job 😄
14:42
The only one you need is to be as slow as possible
Avatar
Avatar
Learath2
Ease of use for underpaid overworked government employees?
heinrich5991 2024-09-26 14:42
ease of use for… verifying signatures in a flawed way?
Avatar
Avatar
heinrich5991
ease of use for… verifying signatures in a flawed way?
Avolicious 2024-09-26 14:42
I guess the original pdf hash is in the signature
14:42
So they can proof it
Avatar
heinrich5991 2024-09-26 14:42
only if they have the original PDF
Avatar
Avatar
heinrich5991
ease of use for… verifying signatures in a flawed way?
I'm like 70% sure it's us that is missing something and not the people that were probably paid millions to figure it out and more millions to audit it 😛
Avatar
heinrich5991 2024-09-26 14:43
yes
Avatar
Avatar
Learath2
I'm like 70% sure it's us that is missing something and not the people that were probably paid millions to figure it out and more millions to audit it 😛
Avolicious 2024-09-26 14:43
I dont know in detail how it works
Avatar
heinrich5991 2024-09-26 14:43
but then again, these people also try to exclude people from running signatures on devices they control
14:43
sooo. maybe there's also stupidity
Avatar
urn:pdfsigfilter:bka.gv.at:binaer this looked interesting to me, so maybe there is some filter applied before the hash, which means maybe there is a way to calculate it by hand arduously?
Avatar
heinrich5991 2024-09-26 14:44
(ausweisapp in germany is open-source btw: https://f-droid.org/en/packages/com.governikus.ausweisapp2/)
Avatar
https://joinup.ec.europa.eu/sites/default/files/document/2012-05/PDF-AS-Spezifikation-2.2.pdf this looks promising but idk german/austrian idk which one this is even
Avatar
heinrich5991 2024-09-26 14:46
the official language in austria is german
Avatar
Avatar
heinrich5991
(ausweisapp in germany is open-source btw: https://f-droid.org/en/packages/com.governikus.ausweisapp2/)
Avolicious 2024-09-26 14:46
Oh, nice
14:47
I really enjoy if things like public/official stuff is open source
14:47
Our swiss friends are also going for open source now
Avatar
i enjoy if all is open free software
Avatar
Avatar
Learath2
https://joinup.ec.europa.eu/sites/default/files/document/2012-05/PDF-AS-Spezifikation-2.2.pdf this looks promising but idk german/austrian idk which one this is even
heinrich5991 2024-09-26 14:47
yea, looks like the signature is appended to the PDF in a reversible way
Avatar
Yeah it does strip out a lot it seems, which seems concerning, you can probably create pdfs with advanced features that have invisible text
Avatar
public schools should use linux
14:47
and non propietary software
Avatar
heinrich5991 2024-09-26 14:47
ouch
14:48
they use sha1
Avatar
Avatar
heinrich5991
they use sha1
Avolicious 2024-09-26 14:48
AFAIK its SHA256
14:48
This document is nearly a decade old
Avatar
heinrich5991 2024-09-26 14:48
ah
Avatar
Avatar
heinrich5991
yea, looks like the signature is appended to the PDF in a reversible way
But I guess it's safe. A clerk can top left to bottom right write down all the text into a prompt and generate the hash
Avatar
i remember dealing with the pdf format
14:49
and signatures
14:49
the bytes used in the signature are like all but the signature itself or smth
14:49
i forgot and dont want to return there
Avatar
If it doesn't match because weird pdf stuff it fails safely
Avatar
Avatar
Learath2
But I guess it's safe. A clerk can top left to bottom right write down all the text into a prompt and generate the hash
heinrich5991 2024-09-26 14:49
where did you see that it gets all the text?
Avatar
A PDF parser written in Rust using nom. Contribute to edg-l/nompdf development by creating an account on GitHub.
Avatar
Avatar
heinrich5991
where did you see that it gets all the text?
4.2.2 seems to describe it
Avatar
Jupstar ✪ 2024-09-26 14:51
are pdfs still a thing
14:51
sry i live under a stone
Avatar
Since you do know german maybe you can also take a look into the document and see if they have advice about verifying these when printed
Avatar
Avatar
Jupstar ✪
are pdfs still a thing
Well yes, do you not do anything official? 😄
Avatar
Avatar
Jupstar ✪
are pdfs still a thing
thanks to adobe lobby probs
Avatar
Avatar
Learath2
4.2.2 seems to describe it
heinrich5991 2024-09-26 14:51
interesting. without looking at it a lot, it's probably vulnerable to confusing PDF readers about text direction or including images instead of texts
Avatar
Avatar
Ryozuki
thanks to adobe lobby probs
heinrich5991 2024-09-26 14:52
pdf/a is theoretically a standard IIRC
Avatar
Avatar
Learath2
Well yes, do you not do anything official? 😄
Jupstar ✪ 2024-09-26 14:52
I dunno most things i use have their own fancy android app nowadays
14:52
that doesnt allow rooted phones
14:52
and so i fallback to sending per post
14:52
xd
Avatar
heinrich5991 2024-09-26 14:52
actually — you can probably simply send a PDF which says something but signs something different
Avatar
Avatar
heinrich5991
interesting. without looking at it a lot, it's probably vulnerable to confusing PDF readers about text direction or including images instead of texts
It's definitely a huge hassle and vulnerable, but it seems to fail in a safe manner. As in if there is weird hidden stuff in the pdf it won't verify
Avatar
Avatar
heinrich5991
actually — you can probably simply send a PDF which says something but signs something different
Yeah probably, pdf has lots of very advanced features
14:53
I'm sure there are readers out there that mis-render some of them
Avatar
heinrich5991 2024-09-26 14:53
is the text extraction done using OCR or using the text embedded into the PDF. lemme check
Avatar
Looks kinda like text embedded into the PDF
14:54
I guess the verification could be done using OCR though, much cheaper than clerks
Avatar
heinrich5991 2024-09-26 14:55
then you can have a pdf which looks like one contract, but the embedded text says something different
14:55
is the signed text shown to the signer?
14:55
then you have a signature that verifies on a document that the signer didn't see
Avatar
Ah there is a verification process suggested in the document here btw, 4.2.5
Avatar
Avatar
heinrich5991
is the signed text shown to the signer?
Probably a question for @Avolicious, idk
Avatar
Avatar
heinrich5991
actually — you can probably simply send a PDF which says something but signs something different
but for a legal matter, if a judge sees the paper, he will see the visible text signed and not the invisible? is it binding or smth?
Avatar
Avatar
Ryozuki
but for a legal matter, if a judge sees the paper, he will see the visible text signed and not the invisible? is it binding or smth?
heinrich5991 2024-09-26 14:57
I send you a document which you sign. you sign something invisible. I make the invisible text visible and print it, the judge can verify that you signed my contract
Avatar
i.e, if it decieves humans, and a human reviews it, does it matter?
Avatar
Avatar
Learath2
Ah there is a verification process suggested in the document here btw, 4.2.5
Seems this one is for digitally verifying it. Idk weird that these digital signatures are even legal when printed out
Avatar
u can make the invisible text visible and the sign doesnt break?
14:58
iirc u should verify documents digitally signed, in a digital manner
14:58
not by view
Avatar
In Italy we do have digital signing available but you have to send it digitally always, and usually the mail has to be signed too
Avatar
Avatar
Ryozuki
not by view
heinrich5991 2024-09-26 14:58
it was said above that the signature is also valid when printed
14:58
and the signed thing is the embedded text in the PDF
14:58
so I can make you sign stuff you can't see
14:58
and then have a valid signature for stuff you didn't see
Avatar
Avatar
heinrich5991
so I can make you sign stuff you can't see
Actually, you can only make me sign both the stuff I see and I don't see. It might appear as if I signed either by using different renderers, but neither will verify if you type in just one of the texts
Avatar
heinrich5991 2024-09-26 15:00
why not? if the text you see isn't embedded into the PDF (edited)
15:00
but just as an image or so
Avatar
Like an image?
15:01
Hm, yeah that does sound unsalvageable unless there is an OCR procedure in place when verifying
15:02
If I were the one implementing this I definitely would have used a digital notary structure, just upload your document and get your signature qr code
Avatar
imho the problem comes from embeddimg the sig with the pdf
15:09
signature should be external
Avatar
Avatar
Ryozuki
imho the problem comes from embeddimg the sig with the pdf
It's no issue but it's also no use. An e-signature can only reliably be verified by a computer, with access to the original document
15:11
So I'm guessing the printed acceptance of these in Austria, really does rely on the fact that it's just illegal to forge one like a handwritten signature
Avatar
GitHub BOT 2024-09-26 15:59
Closes #2513 Closes #8928 (Spectating flags is not possible due to how spectating is tied to the server and player limit) The camera is only smooth in spectator mode. It snaps back to the player when exiting spectator mode to avoid affecting gameplay. https://github.com/user-attachments/assets/feb1e45c-5e0e-4af4-a4ad-f7cf113e0fee

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly relat...
Avatar
why did build action fail? /home/runner/work/ddnet/ddnet/src/engine/external/glew/GL/glew.h:1205:14: fatal error: GL/glu.h: No such file or directory 1205 | # include <GL/glu.h>
Avatar
Avatar
kebs
why did build action fail? /home/runner/work/ddnet/ddnet/src/engine/external/glew/GL/glew.h:1205:14: fatal error: GL/glu.h: No such file or directory 1205 | # include <GL/glu.h>
Try retrying the CI runs, this looks unrelated to your change
Avatar
how do i retry it when its not my repo
Avatar
Maybe you have to wait until all runs have finished
Avatar
heinrich5991 2024-09-26 16:07
that doesn't look like an intermittent failure though
Avatar
Is it everything that builds on ubuntu-latest?
Avatar
ill just update the commit
Avatar
GitHub BOT 2024-09-26 16:09

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
yours failed too
16:14
some repo problem, works fine on my fork
16:14
at least it did 5min ago it failed on fork aswell now (edited)
Avatar
GitHub changes the runners to newer versions over slowly, so not all repos are affected at once
16:15
Seems like something changed and glew is not installed by default anymore
16:16
I don't see us installing glew explicity in build.yml so I guess we only got it implicitly from another dependency
Avatar
GitHub BOT 2024-09-26 17:13
This PR adds invincible mode as an alternative to super that is safe for /practice mode. Specifically, it does not allow the player to interact with members of other teams. Please read the individual commit messages for details.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [x] Tested in combination with super and unsuper rcon commands
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a u...
Avatar
omg chiller why i can't use 06 skins on 07 server?
19:39
troll
Avatar
Chiller please force 0.7 to support the skins from the major fork of this wonderful game
Avatar
What is the new spec feature with left click alternating between free view and spec'ing the person closest to the center of the screen?
Avatar
Avatar
Learath2
What is the new spec feature with left click alternating between free view and spec'ing the person closest to the center of the screen?
Closes #8590 Left-click to spectate the closest player, right-click for free-view. When spectating a player, left-clicking again will switch to the closest player who is not currently being spectat...
Avatar
Avatar
Skeith
https://github.com/ddnet/ddnet/pull/8947 cl_spectator_mouseclicks
@Aoe
Avatar
good afternoon 😃
20:40
I believe I am now with job
20:41
You are finally useful to society. Now work until you are 70
Avatar
Jupstar ✪ 2024-09-26 20:41
good job
Avatar
Avatar
Learath2
You are finally useful to society. Now work until you are 70
Jupstar ✪ 2024-09-26 20:41
The porsche doesn't pay itself
Avatar
No porsche, only work
Avatar
Jupstar ✪ 2024-09-26 20:42
I mean mine
20:42
as his boss
Avatar
Yes, that is allowed
Avatar
@furo how to see diff ddnet bombtag to ddnet repo
20:45
or commits since forked
Avatar
Avatar
Learath2
You are finally useful to society. Now work until you are 70
so true
20:46
having something to do will be monumental tho
20:46
ewan winning arc
Avatar
You can add a git upstream to the official DDNet repo and then do git diff upstream/master
Replying to @kebs @furo how to see diff ddnet bombtag to ddnet repo
Avatar
congrats @Ewan
Avatar
cant wait to see u complain about coworkers code in 3 months
Avatar
now be my rust tutor justatest
Avatar
or smth like that
20:48
XD
20:48
is it rust related?
20:48
pog
20:48
junior rust dev
20:49
im in a little over my head
Avatar
i can teach u, it will be 30€/hour
20:49
kekw
Avatar
but i learn fast
20:49
XD
20:49
i think under contract i can't contribute to OSS tho
Avatar
lol sucks
20:49
just use diferent name
Avatar
but i wouldnt sign that
20:49
but well im in better position
Avatar
my friend has a github org
20:49
it's not his name
20:49
for the same thing
Avatar
usually maybe u cant if its a conflict of interest like doing projects related to work that could hinder ur company revenue but idk why general ban
Avatar
Avatar
Ryozuki
but well im in better position
ye i mean i've been applying to grocery stores and restaurants and shit so IDGAF
Avatar
Avatar
Ryozuki
usually maybe u cant if its a conflict of interest like doing projects related to work that could hinder ur company revenue but idk why general ban
schizo contractors
Avatar
Avatar
furo
You can add a git upstream to the official DDNet repo and then do git diff upstream/master
ty
Avatar
my company doesnt let me go work for a competitor within 2 years but the law in spain says they must pay u extra for that
20:50
but i dont see the extra
20:51
so if i ever do it i will claim its not legal anyway
Avatar
awesome
Avatar
Avatar
Ryozuki
my company doesnt let me go work for a competitor within 2 years but the law in spain says they must pay u extra for that
Avolicious 2024-09-26 20:51
In Austria thats illegal
Avatar
in spain its capped at 2 years AND they must pay u a bonus for it
Avatar
Avolicious 2024-09-26 20:51
Oh, lol 😄
Avatar
its called non compete
Avatar
Кибер капибара 2024-09-26 20:52
hi guys, I have a problem, when I used to play I had 1000 fps and now 100-150 fps, what should I do please tell me
Avatar
Firstly, we will take a look at the Non-Compete Agreement during employment in Spain, which is used to protect business activity when there is a possibility of an employee engaging in unfair competition during the term of the employment. It is not heavily regulated and must be set by mutual agreement between the parties in accordance with the minimum criteria provided for in article 21.3 of the Workers’ Statute. This type of agreement is incorporated into the employment contract and in exchange, the employee must receive appropriate financial compensation for such commitment. This compensation must be clearly established and remunerated. If there is no compensation for the non-compete agreement, relevant case law has established that the agreement will be deemed null and void. The employee may terminate the agreement whenever he or she wishes, on condition that written notice is provided to the company at least 30 days in advance. Upon termination of the agreement, the employee ceases to receive financial compensation and forfeits the rights associated with absolute commitment.
20:53
if ur terminated u can go work to a competitor tho
Avatar
Avatar
Learath2
@Aoe
Thank you so much! Worked
Avatar
Avatar
Ewan
ewan winning arc
ewan
20:56
can i ask u something
20:56
justatest
Avatar
Кибер капибара 2024-09-26 20:59
Тут есть русские?
Avatar
Avatar
zhn
can i ask u something
yea
Avatar
Avatar
Ewan
yea
can you host one another project on your servers justatest
Avatar
Avatar
Кибер капибара
Тут есть русские?
ye, but #off-topic
21:00
what is it
Avatar
Avatar
furo
You can add a git upstream to the official DDNet repo and then do git diff upstream/master
also what was the first commit after switching to fork, so i dont get new ddnet changes
Avatar
i would host teeworlds servers
21:05
if they didnt leak the ip to ddosers
21:05
my other services would suffer
Avatar
xd yea
21:06
my host already was like "be careful with this IP" and then those unique reflection attacks got it flagged for a whole bunch of shit
21:06
gotta be cautious
Avatar
f9df4a85be4ca94ca91057cd447707bcce16fd94
Replying to @kebs also what was the first commit after switching to fork, so i dont get ne…
Avatar
A bombtag mod for Teeworlds based on DDNet. Contribute to furo321/ddnet-bombtag development by creating an account on GitHub.
21:12
ok works
Avatar
does anyone know where the check is that sees if the tee is on the screen? They disappear when they go off screen
Avatar
Avatar
Ewan
my host already was like "be careful with this IP" and then those unique reflection attacks got it flagged for a whole bunch of shit
Avolicious 2024-09-26 21:56
You just need to send a good written text to them 😄
21:56
Or they just shut you down
Avatar
Avatar
kebs
does anyone know where the check is that sees if the tee is on the screen? They disappear when they go off screen
nvm i think its sent by server based on distance from CNetMsg_Cl_ShowDistance
Avatar
Avatar
Avolicious
Or they just shut you down
yea
22:19
we got it figured out
23:06
5 pm approximately
23:06
gonna eat dinner soon
Avatar
GitHub BOT 2024-09-26 23:30
Fixed a bug where, if player info wasn't present (far away off-screen), the function would spectate a random player. This caused the new cl_spectator_mouseclicks feature to sometimes switch to players on the opposite side of the map

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 (especially base/) or added coverage to integration test
-...
Avatar
most likely a 4 year old bug 👍 (edited)
Avatar
Yo wassup @Ewan
Exported 744 message(s)
Timezone: UTC+0