#πΎ-core-development
1 messages Β· Page 114 of 1

reminds me of my unity builds
13 minutes in and it hasnt even begun compiling yet
it's still activating the licence key
lmao
unity sucks
This for arm?
yep which is why it sucks
yes
yea i was gonna say i wonder how much that'd help
yeah I discussed that with v
i already did but my os is too old
@austere talon has an arm server :P
i know! i'm one of the sysadmins on it xd

maybe we can upgrade to latest CentOS or smth
tbh I've put in too much work into the github action already
that shit is now gonna build on github lmao
idk how hard it is to change os while keeping data
mm, i'd switch to rocky/alma at that point since centos is bonked
is that something oracle supports
no clue
yeah that's what I meant
Hopefully with them starting to offer arm64 mac runners we'll see linux arm64 runners eventually
never windows tho
fuck windows on arm
Looks good to me
when I made it they only had oracle os
hence why I chose it
now they also have alma and shit
I think we can live with the oocasional 30min build for publishing
if we keep in mind that it's free xd
have you already used your second instance?
if not then we could spin up another one and run actions on it
uh
oh right we have to apply memory pressure so oracle doesnt murder it
no i haven't
i forgot about that
what?
Reclamation of Idle Compute Instances
Idle Always Free compute instances may be reclaimed by Oracle. Oracle will deem virtual machine and bare metal compute instances as idle if, during a 7-day period, the following are true:
CPU utilization for the 95th percentile is less than 20%
Network utilization is less than 20%
Memory utilization is less than 20% (applies to A1 shapes only)
oh
applies to A1
whoops
speedreading
i'll run a cpu benchmark every 3 days :P
Yeah
we arent going to be publishing this that often
but it would be fun to have an arm action
Exactly
well we have kinda lmao
true....
c++ role should be gh linguist pink
@turbid hatch that should work right
yip
fox
I am now pink
Epic
:O
What's wrong
ah
found out what was wrong
Lol
How are the packages private
Can we make them public?
I mean we don't need to I'll just login
But we could make them public for anyone wanting a sane arm building experience

leave them priv, they're for our usage anyway
We could also use ccache or similar for the arm build
May even speed it up further
https://github.com/Vencord/venmic/actions/runs/6617514875/job/17973975809
@turbid hatch help πΏ
alr
what
can anyone with admin perms make them public please?
wrong channel mb π
HAHAHHA
@austere talon venven, you'll need to do it
i cant
Setting is disabled by organization administrators
bruhhhhhh
try now
still private
you should be able to change it
don't see anything to change it
did
π
I've also enabled CMake dependency caching
That should bring down the build time by another 30 mins
How the fuck is it still failing
alright after this run we can publish v1.6.0 and see if the dependency caching is any good
This was an extreme fucking pain to setup lmao
yeah I def had fun caching that docker image xd
I think caching may prevent the rohrkabel compile everytime as well
I think after that we're gonna build really fast
Only sad thing is that the cache is gone after 7 days :(
We coud make a bump-cache workflow that just updates the arm cache every 7 days
Alr Workflow with uncached dependencies ran 1h11m
Already better than 2h but we can probably get it even lower with caching
Let's see how long the final (hopefully) workflow will take after the latest one cached
macos users dont break every other platform challenge
I realized that I can just use the official client in the background to let it populate the game activity instead, and use vencord for everything else.
Bruh insane fuckup
turnary
At least the build is fast :)
Fuck I somehow need to get the artifact from the current workflow, seems that's not working
Will fix it tomorrow :(
None
None
None
MessageDecorationsAPI (had no effect):
ID: 795628
Match: /(currentUserIsPremium:.{10,50}{children:.{1,2})}\)/
None
None
bad
still using .{1,2} for patch 
btw @topaz thistle you should always pin untrusted actions to long commit hash
instead of using tag
dawidd6/action-download-artifact@v2
Alright, I've removed that action anyways
basically, any action that isn't actions/* or by a developer you fully trust
cause u can replace tags at any time so they could push malware
this one as well
Will update after uni
can they steal the github token?
serious question, but i do agree with you
π ty
they can't access secrets unless you pass any but
- they do have access to a github token for the current repo
- they can pollute the environment variables and thus hijack other actions, such as the npm publish one at the very bottom that we pass the npm token to
Now would you look at that
Workflow only took 26m for arm and published successfully :D
https://github.com/Vendicated/Vencord/pull/376 @austere talon merge when
Fix Timezones looking ugly in user profiles somehow (@Vendicated will figure out)
Confirm This weird code is working
Bottom Text
PS: Ignore commit history
1 year anniversy is in 1 month and 6 days
oh my god
oh god close last one at least
i've had a pr opened for two years before
its taking oldest open pr badge from me
but it wasn't merged so i closed it iirc
things you can do while waiting ven to merge your pr
None
None
None
MessageDecorationsAPI (had no effect):
ID: 795628
Match: /(currentUserIsPremium:.{10,50}{children:.{1,2})}\)/
None
None
it can only last for so long
nah it's fixed already in dev
I just wanted to check if the update was on stable already
fair enough
I can confirm that this issue still exists as of Vesktop 0.4.0. I am on Arch Linux 6.5.8-arch1-1, using plasma-desktop 5.27.8-2 and gnome-desktop 44.0-1 , with wayland 1.22.0-1, on a NVIDIA gpu (nvidia-dkms 535.113.01-2).
I have tried using the vencord-desktop-bin package (aur), vencord-desktop-git package (aur), along with running from source using ```pnpm start`` and compiling from source. For each method, I used the ' --ozone-platform-hint=wayland' flag.
...
Hi! First of all, thank you for this software and all the goodies that come with it :)
It's so much better than the official client on linux!
I spent an embarrassingly long time looking through stack traces, only to realize that in the last update, to get rich presence you need the WebRichPresence plugin to be on π
/// src/renderer/index.ts:51
const arRPC = Vencord.Plugins.plugins["WebRichPresence (arRPC)"] as any as {
handleEvent(e: MessageEvent): void;
};
VesktopNati...
should i open an issue for using vesktop meaning a lot of captchas appear and verification-locking account?
I have consistently reproduced this.
it just seems like something on discord's end sooo... i have no idea what could be done
but my first guess to why this happens would be the user agent not looking right
its called nvidia dkms because it makes me want to kms
ua is already faked
yeah, maybe for whatever reason discord doesn't like it
i get two captchas to join a server on vesktop, and none in web
navigator.platform isnt
i've also got my main account and an alt locked behind email verification and (once with my main account) suspended for a day
x-super-properties for vesktop ```json
{
"os": "Windows",
"browser": "Chrome",
"device": "",
"system_locale": "en-GB",
"browser_user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
"browser_version": "114.0.0.0",
"os_version": "10",
"referrer": "",
"referring_domain": "",
"referrer_current": "",
"referring_domain_current": "",
"release_channel": "stable",
"client_build_number": 239875,
"client_event_source": null,
"design_id": 0
}
discord ```json
{
"os": "Linux",
"browser": "Discord Client",
"release_channel": "stable",
"client_version": "0.0.32",
"os_version": "6.5.8-zen1-1-zen",
"os_arch": "x64",
"app_arch": "x64",
"system_locale": "en-GB",
"browser_user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) discord/0.0.32 Chrome/108.0.5359.215 Electron/22.3.26 Safari/537.36",
"browser_version": "22.3.26",
"window_manager": "unknown,unknown",
"distro": "\"Arch Linux\"",
"client_build_number": 239875,
"native_build_number": null,
"client_event_source": null
}
mm
oh its just parsed from ua
firefox is the same as vesktop (w different ua / os)
but it doesnt have design_id
you don't need to enable the plugin. it just works without it
Failed with "handleEvent is not a function"
This means you're using an outdated vencord. update
it works just fine on vesktop. make sure you're using up to date vencord. if you are and it still happens, please use our support channel
ill close this, since the original idea of this issue is not possible. as mentioned above, the duplicates will be gone next update
try 0.4.0. if it still doesn't work, there's not much that can be done from our side, since it's supposed to just work. it's likely something wrong with your system or similar. make sure you have mic permission enabled in windows settings
likely an issue with your gpu driver or such. seems plausible considering how hacky your setup is. try running with the --disable-gpu flag
there's nothing we can do. vesktop just looks like normal chrome to discord
hm
try on chrome with ublock
I don't understand π
obvs it will be a different OS
i think the invite is done through ws
NOT WEBSOCKET
ITS CALLED GATEWAY
use discord terms ohm y god
which is a websocket
but its called gateway
it is a websocket named gateway
@austere talon wsg
yes
they pushed the funny webpack on canary again
how do you feel about this
of course not, you call me toad
wdym funny webpack
cannot read property c
what happened to canary like 2 weeks ago
soon we will all switch to displunger
but hey you need less funky code to do datamining
well at least constants are no longer minified
wait till you hear its broken
because discord.sale is broken
because megu cant bother fixing
we'll host new one alhamdulillah
real
glad they broke all css again
breaking: discord ceo gets drunk and forces their developers to add checksums to discord and break every client mod
wouldnt be suprized if they broke client mods on purpose
because client mods are getting lot more popular 
discord when they finally crack down on client mods and lose a third of their userbase
is vencorder actually borked on canary bird or is dziurwer just yapping
they wont really lose any userbase
sadly true
client mods will just use dom manipulation like pronoundb π
wait until they randomize css class names on every update
mf
i aint yapping shit
im over here praying that they do something horrifically stupid like make every key input cost $12.99
and that they dont get replaced by something worse
but thats one in a million times one in a million
wait since when are they leaking filenames
lmao
what if they lost the source code a year ago and the minified js is actually all they have
oh no they pushed malware again π
no way fr??
bro is on mobile Browser
not like i didnt tell you
not even vencord mobile
get real
hop on vencord mobile
hop on a chainsaw bro
bro
(
feature suggestions for ViewPermissions:
β’ displaying a memberβs perms for the current channel
(β’ stretch goals: for arbitrary channel
β’ or category)
is that very useful?
maybe just add a search bar if there are a lot of users and roles for whatever reason
bro
yeah for users of the plugin i think this would be a useful feature
but maybe still too low priority to bother. i thought iβd share the idea b/c it seemed to make so much sense intrinsically lol
bro
(idgi quite)
did they fuck up again or is this time permanent
why the hell does canary have bunch of default function in modules
am I searching wrong or smthn
what happen 
wait, does stock canary work?
bro!
may be permanent
apparently yes
if stock canary works then it's likely permanent
last time it was broken
now its fine
well at least from the last time i have widget maps
this time they dont expose them
wtf did they do this time
changed shit
when dont they do that
I am hoping for a day where discord leaks sourcemaps
they did tho,.,.,
soon
when
cd
also this is wrong Changed is FIRE
they will leak again alhamdulilah
real
are you saying the maps were available for a while but we didnβt get them in time?
i tried using staffs account to get it
but it was 401 π
WHAT
WAIT
YOU GETTING 401 IS NOT THE PROBLEM HERE
this guy xD
HOW DID YOU GOT ACCESS TO STAFFS ACCOUNT
hn people 

dw about it
where r they
here
kedas did
hm, image loading seems smoother in canary
tell me i want to punch them and steal their daddy's VC money
it's blurred and then fades
when did that happen tho
about a year ago?
so its kinda old now
kedas?
not as old as 2017 π£οΈ
dym you have maps from β17?
lmaoo wtf
interesting
yeah
they reused code from the teen safety image blur thingy to acutually fix it
π₯
oh
JSONA

time to watch the latest NTTS video to find out about that 
hello? discord moment

my message took super long to send
this is not what i was looking for
Recent polls have shown a fifth of Americans donβt have Discord source maps and I personally believe that U.S. Americans are unable to do so because, um, some people out there in our nation don't have maps and, uh, I believe that our, uh, education like such as, uh, Germany and, uh, France and everywhere like such as, and I believe that they should, uh, our education over here in Poland should help the U.S., uh, should help Germany and should help Brazil and the European countries, so we will be able to build up our future.
someone changed a semicolon in the github repo
its true
(i prbly wouldnβt actually know what to do with them iβm just hoarding cool dc hacky stuff)
just in caseβ’
real
way too real
society if you're too broke to afford a mac mini
aksualy nop
a good mac mini*
h1 just gotta give me my money
the thing:
wtf

unsane
unasne
society if i had the executive function to shop for a new pc and select among the gazillion features out there (way exaggerating, itβs not that hard, a whole project still)
why is index.html different
yeah took me a little over an hour
@shy veldt im calling json citron on you
bro has discord source code
json citroen buddy
omg exports are not minified this is beautiful
bro MIGHT have discord/discord βοΈ π£οΈ
WYM MIGHT
i actually dropped a list of folders in discord/discord
idk where i did that
but i remember i did
where is /discord/discord/
ayo how do you do that ποΈ
FEAR
it has mappings of file names to file
oh 404
riiight
oh damn
off-topic but is that kiwi browser
did dzi already have a script for that haha
cant wait for devs to push a build with non minified code
possibly fr
i would
do it
for what
nuh uh
what does possibly mean
where is the source
no i actually did all of that by hand
yes i did
there are so many...
yeah it's super easy fix
like and subscribe
scary
nah you are crazy
i wasted more time on other shit
someone get this man some help
unmangled exports are back 
im mentally unstable
π
hope they stay this time π₯π₯π₯
probably will
mangled exports are way funnier
grrrr but it takes way more effort π₯²
i love bd plugin devs struggling to find exports and hardcoding minified names, it's entertaining
dioxide dev so slow

oh betterdiscord

hmmm mmm m m mm m m i see
so painful
nah im just kidding
and entertaining
but genuinely mangled exports don't affect vencord much
yeah
When will we be able to use Vencord again on Canary and PTB?
they just affect other stuf
In 2 decades
when ven fixes (real)
unmangled constants and enums are pretty nice though :>
never, ven is actually gonna delete vencord
who tf is ven
yep
idk
me
bven
why...
bencord
does colin realize his client mod name litrly stands for roleplay
roleplay
rolecord
@austere talon they pushed a new build
404
malware
and its still unminifie
is it revert or different
so it will stay

ainβt we all
probably
I wonder how many of our webcrap filters and patches broke
too many
how do u know
guess it's time to rewrite vencord
i got bored so i tested some
didnt they push multiple builds with unminified last time
actually it's not that broken
oh
that one build stayed for 1h
thought they did
give me 1h and i can fix it all
real
cleaning kitchen rn tho, later
gonna have a fucking field day when re get home
remember how when SWC dropped I fixed vencord in less than a day
give them 1h and they will revert it

I'll do it again
lol
dont have to implement regex patching anymore π₯π₯π₯π₯π₯π₯
it's the end of the world, no vencord = no discord, no discord = no life and no life we ββdie
i can ban you that might make it less painful
so true
owo qhar
!!!!
vbrune 100
vrpune 100
lonk?
i have the most important maps πͺ
hope
@shy veldt have they published any more new build
is still unmangled?
(am asking because this determines how much dev effort i put into my client mod)
yes
yeah
tiemen is busy rn (hes play rainbow six siege)
i hope they do the same to mobile π
they havent added/removed anything yet anyway
so true
make your own one then
nop
y
that would be so funny
andyg we're praying on you
oh god
theyre just gonna revert the whole thing
cries
gonna have to implement regex patching
andyg betrayed us
possibly the last build with names
https://discord.com/assets/d82fb6abba1896da9c9a.js
without names https://ptb.discord.com/assets/9552a00215edd0fcf3ff.js
this link just opened WSA
so true
backup just in case
bluds flashed us π
still cant believe
bro cant believe it
they wont
you never know
fell asleep on keyboard
like half of the company is remote and some arent even in the US
eepy pills
a8 denamed version too for diffing purposes
too busy writing nitro upsell copy to do anything useful
too real
too busy not fixing nitro icon on compact mode
Large file upload, powered by Nitro
doesnt work :fadeaw
Discord, powered by bloat on NPM
no vencord on stable client husk
what
so true
did they revert the update or just exploded names
no they didnt revert webpack
let a is the most terrifying thing i have ever seen
why
names
there's no way it's on stable
no semicolon
go and see
its not on stable, i was saying i didnt have it injected on stable
they havent pushed any stable build since funi webpack hit canary/ptb
do you use semicolons in console oneliners π
yes
so it's either that or my bot died in which case why is it logging canary updates fine
unsane
or not, maybe itβs a good habit
cant agree
are you on canary?
vencord fails on canary
send code snippet π₯
webpackChunkdiscord_app.push([[Symbol("Vencord")], {}, r => r]);
on canary
wuh
stop using vencord and do it again
(it will work fine)
wuh
then whats making vencord fail
MFKL:ASDMKLML:KFDGMKLFDLKMNA:FDMKLDKLMDFFLMKAD
LMFAO
poor soul
oh shit what the fuck did they d
it's not sticking around tho is it
so true!
it is
homemade build differ πͺ
nah hes waiting on the bottom of the list
yeah vencord is fucked up on my canary
buh
i mean vencord isn't gonna change
yeah for my client mod though
can bots see if you have nitro now
if they are making nitro status separate from the profile...
yes
they added premium_type to every user obj just for the nitro in chat badge thingy
when vencord tries to load push is js var d = function(t, s) { var a = s[0]; t && t(s); for (var d = 0; d < a.length; d++) void 0 === e[a[d]] && (e[a[d]] = 0) } , n = this.webpackChunkdiscord_app = this.webpackChunkdiscord_app || []; n.forEach(d.bind(null, 0)), n.push = d.bind(null, n.push.bind(n))
unindent fail
but when it isnt injected, push is js var t = function(t, s) { var a = s[0], d = s[1], n = s[2], l, i, c = 0; if (a.some(function(t) { return 0 !== e[t] })) { for (l in d) u.o(d, l) && (u.m[l] = d[l]); if (n) var o = n(u) } for (t && t(s); c < a.length; c++) i = a[c], u.o(e, i) && e[i] && e[i][0](), e[i] = 0; return u.O(o) }
real
both of them arent array.prototype.push
and we cant use toString to diffrentiate
hell
missed it so long π
found a hacky fix
let setOnce = false;
Object.defineProperty(window, WEBPACK_CHUNK, {
get: () => webpackChunk,
set: v => {
if (v?.push !== Array.prototype.push) {
if (setOnce) {
logger.info(`Patching ${WEBPACK_CHUNK}.push`);
_initWebpack(v);
patchPush();
// @ts-ignore
delete window[WEBPACK_CHUNK];
window[WEBPACK_CHUNK] = v;
}
setOnce = true;
}
webpackChunk = v;
},
configurable: true
});```
just wait till the 2nd time its reassigned
guh
so many plugin fixes
so stable
plugins that hardcoded .Z or .ZP crying rn
oh yeah ofcourse, the fix would break stable
would need too vencord editions
so true
technically none should be doing that lol
vencord ultimate
no????
LOL
IM GOING TO KILL MYSELF
i mean don't fix everything before it's merged into stable π
reporter is going to error because there will be too many patches to fit on the embed
yup
discord doing another random useless thing in their build process just to fuck with client modders and decrease performance
they broke my extractandrequire FUCK
I'm gonna have a bad time fixing show hidden channels if discord doesnt revert this
GOTTA DECREASE BUILD TIMES THO??? π£οΈπ₯
they wont
glhf
Gl
real
have you seen show hidden channels source code lol?
okay I fixed webpack patching and react and stuff
send .patch
take a quick look https://github.com/Vendicated/Vencord/blob/main/src/plugins/showHiddenChannels/index.tsx
the company offloading four seconds of build time to waste 1 hour of the people it doesnt like
small amount no clue what you mean
ππ
it's like almost entirely made of patches
aenri
aenri
this is gonna be over an hour
oh good heavens
message logger patch failed
do we think it's sticking around for good this time
with vencord
For some reason, the rpm didn't update correctly π€¨
I deleted everything, reinstalled it and it works now!
Sorry for the incovenience.
0 plugins enabled
push to dev
discord users crying rn
Whew
I wanna run test workflow
oh yeah i should probably disable plugins and load it
WHY ARE EMBEDS BROKEN FOR ME ON ALL PLATFORMS
unexplode canary AND ptb
bro
skill issue
We need ptb
cry about it
on both phone and desktop
I use it
lets see
Object.keys(Vencord.Settings.plugins).map(i=>{Vencord.Settings.plugins[i].enabled = false})
toggle Show embeds and preview website inks pasted into chat in text & media
dropping that here
why do that
just rename ur settings.json file
to settings.json.bak or whatever
discord giving client modders a week's worth of work to make their build times 0.1% shorter on their high-quality enterprise build server
OH MY GOD
IT WAS THAT
yeah
HOW DID I ACCIDENTLY DO THAT
HORROR
anyway
webpack patching is fixed
just so many plugins broken
this is compatible with stable btw
Nice
vesktop
oh
discord shitcode
my canary wont start waaaaaa
Thatβs normal
some shit subs to connection open (gateway not like)
discord not sending private data to everyone challenge: actually possible?
nop
fire
it doesnt actually fix the issue cause im too lazy rn
just fixes it killing gateway
None
None
None
bro is just lazy
the quiet before the storm
π
So I guess that commit was just a lie
canary will error lol
$20 says webhook will fail because the messages too big
it will
rate
real
me when $20: π»
Sorry, try again
3 regexes at a minimum fucked up in decor, 1 utility and 2 patches π₯
real
bruhh why did settings explode
the real question should be what didnt explode
yeah
so true
wheres vencord settings file on macos
I swear this month wasnβt going to be peaceful for client mods anyways
cant wait til they decide to remake their desktop client with native code for windows and mac (linux users will have to use the web version or their own electron client)
fire
localstorage 
guhhh
hey ven, been a min
this is painful
"fix"
catch (Throwable e) { e.printStackTrace(); }

wrapping your whole program in that fixes it
vee boutta rewrite 80% of vencord
wdym
oh nvm
idk if this is needed
π
tyyy
guys reporter did not work
i think it might not be?
ill fix settings rn
anmd see how bad it is
fixed settings
was so easy lol
turns out that "ID" was not actually their name but a minified name
what a funny coincidence
SETTINGS WORK??
WTF
lmao
it just worksβ’οΈ
IO ADDEDT HE FUCKING FILE
.patch
fire
why did you commit a patch
An accident is an unintended, normally unwanted event that was not directly caused by humans. The term accident implies that nobody should be blamed, but the event may have been caused by unrecognized or unaddressed risks. Most researchers who study unintentional injury avoid using the term accident and focus on factors that increase risk of s...
great thumbnail
not even accurate article
so
i say we fix or temporarily disable the plugins that cause crashes
then push it to stable
the plugins that don't cause crashes are not as urgent
just fix it all 
crashers: PronounDB, MessageLogger, SpotifyControls
enabled everything except those and not crashing
obv way more broken but those 3 are the only ones that cause crashes
oh gotchu
yop
so
we have two options
- fix them rn in a way that is compatible with stable
- disable them for now
FakeNitro
doesnt crash
i would prefer pushing to stable asap so most users dont explode
when you say disable, just preventing them from loading? or overwriting stored setting
cry about it
token logger
modals dont open sooo bad
reporter is broken too cuz wreq.u is no longer an arrow function
I running fixed version locally so we can see how bad this is haaha
real
onekooooo





