#development
1 messages · Page 42 of 1
^^^^
learn asynchronous stuff then
😦
.catch(()=>{}) my beloved

woah
how
😱
I have no idea I just discovered this 😱
😱 😱 😱
i thought you could because i always drove off the road because i held the joystick down so hard it just snapped in the opposite direction 
or is it pc only 😱
seems like PC only 😱😱😱
Still no slash commands 
that's crazy
I wrote a handler tho
might add some later
😱 😱 😱 im gonna hop on and try it out rn
rnrn 😱😱
rnrnrnrn 😱😱
me too 😔
dam u got a virus 😱

😳
nono, you're wrong. Discord bought them 😱
😱😱😱😱
you lied to me 
I DIDN'T 😱
i can turn just fine when honking 
ok first move forward, press E then while holding all of the buttons try going right
my game freezes every time i tab out wtf
o nvm i fixed it
whats the mustang called in gta 
also this has gone insanely off topic 
how do I even check 😱
i got one 
ok follow my instructions
Tf is going on here
press W and keep pressing it
then press E to honk and try moving right while still pressing the other keys

i got a new car now anyways 
u playing online?
ye
what level 👀
y
cuz I got my doxed once 
loser
shut up
i get doxed still 
🗿
How do you do a timeout on discord,js V13 is there a guide for it
member.timeout(...)
I would imagine member.kick(); just .timeout
Ty for confirming, is there a method for time?
yeah just pass the time in ms when u execute the function
well yeah, why not?
Thanks!
Could be possible the site is still down
btw u can't pass time longer than 28 days
that's the limit it seems like
Doesn’t make sense to have a guild running longer timers in the background
Even 28 is far too long imo
Either kick or ban then
imagine not being timed out for a year
aye
I got muted for a week in a british server cause I said I don't like tea with milk in it
deserved
Uhm that just sounds ewwww

u gotta add sugar too
also I said I like green tea > any other tea

mint tea is also good tho
water > tea 
but not with milk
Aight ok, is it manageable to check to see if the member is timeout able?
uhh there was a reason I'm pretty sure
yeah u can check if the reason proprty exists
You may wanna check the docs yourself
That the docs I was looking for tyyyy

Got it
I am also setting the defaul timeout time to 5 minutes or an hour? Which one would you suggest?
Thank you!
I defaulted mine to 24h

Lol amazing. I will work on options tommorrow but for now its 15 minutes
Version 13.9.2
Stops at the if statement since no .message while it should exist
And yes
nvm collected.message = collected
...what?
Documentation was incorrect
Site is back since a good while but no update was posted about it and it caused unnecessary delay for people to vote, way beyond the downtime. If you not gonna post a "fixed it" message at least warn people about it beforehand in your error post
So they will check the site time to Time instead of waiting for your update
its still not really working for me
sites still down
so

no update to post
I just voted for two bot and my friend for a server a good while ago
its unstable atm
I reloaded a few times and it was fast and correct each time
Many people DMed me about the out of date error post
Started voting more than a hour ago
So
question any way to retrieve the reviews?
On topgg? If so, no
technically, yes, but requires scrapping
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
Is that how you add bots?
You asked for that, I answered for it
Thank you
Though look at #site-status
Before you submit your bot to Top.gg, please make sure that your bot follows all of our guidelines found here and read over our process for approval found here. Make sure that you are logged into https://top.gg, then navigate to https://top...
ah so they're doing ssr for reviews
interesting 🤔
no they dont
🤓 😐
yo is anyone still up?
no
no
well thanks, I need some help with my game, just need to think of some good gameplay points or some narrative ig
Narrative? For backrooms? Narrative?
Isn't the whole deal with backrooms being "unnerving and evenly lit rooms with seemingly no escape"?
I don't think you would want to play a game where all you do is walk around tho lmao I want to have some kinda gameplay, a store idfk something so the player won't be bored to death
Well, u kinda chose a bad theme tbh
From all creepypastas, backrooms is the most boring one
I already talked to like 4 people who were interested at first but dropped out after a few days
I can't keep working on a si gle person
I'll finish it myself if I have to
just need some ideas
Download gmod and play a few matches of nextbot escape
at least give me some common horror game ones I'll find a way to implement them
It might give u some ideas
I played it lol
I already have an "AI" that is pretty smart
it has eyesight and hearing
pathfinding is meh it still can get stuck but I bumped out the avoidance to max
The thing is:
- the player can't fight
- the player can't escape
- the player will lose regardless
Don't seem like a good game theme
But that's what the backrooms is
If you add any objectives you'll be escaping the theme
I mean, beyond "goal: survive"
there is a game themed about the poolrooms, it's like 99% exploration and still they managed to make it interesting
I will not give up
😤
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
ok have you watched the first kane pixels video that caughed peoples attention? guy accidentally noclips, gets chased, gets out in the end but still dies, how about I make a game like that?
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
because it's already been done 100s of times

thats rich
Guy literally makes a mod bot with the whole idea of copying what other bots do
but doesn't like the idea of making a game other's have already made
lots of features I've added I thought myself. I only added the commands that other bots had that were necessary such as ban, kick or mute lmao
slenderman is legit a washed out game, nobody will play that
and there is no way to add anything new to it
Ok so a few keypoints for game dev:
- Replayability: nobody will play your game if the loop stays the same everytime.
- Theme: a game must stay true to its main theme, else you break immersion
- Difficulty: a game must not be a walk in the park, but it must also not be too punishing else it becomes boring and/or frustrating
- Innovation: if there are other similar games, yours must have something unique before it even sees the light
- First-contact: the first 10 minutes of both trailer and gameplay are the ones who'll define whether people will invest time into it or not
You must attain all those 5 points to have a time-worthy game
Difficulty is a wonky one
Sometimes it being a walk in the park is fun and fine, only if its theme matches its difficulty
Same with it being challenging
High skill level and high difficulty = maximum enjoyment
IF that is the theme of the game sure
you can't market a game as easy going then make the player die every 5s if something is done wrong
I just coded a cool mechanic
into it
will start making up the first part of the map now
would you be up for play testing it? (given ur PC can run it)
also this time I will be adding a full fledged LOD system so the map won't lag anymore while loading
it will still be there, loaded in ram, but it won't be visible so won't take up resources
Why not load all assets before letting the player join the map
that's what I'm doing, that's what the LOD system is
LOD?
they just won't be visible until the player gets close enough
What kind of game are you making again
lod = level of detail
backrooms themed, liminal horror, puzzle, exploration etc.
wooow 😐
have you watched any videos about it?
Yea
and it seemed like there was jack all to do other than try and not get caught by whatever they called it
really? You've seen the kane pixels renders too?
it's a little more interesting under the hood. I can recommend you a single video to watch, and once you do I think you may change your mind
I've already seen plenty
and it still hasn't changed my mind of how boorish the game is
okay how about I send you a video of another game, which is not themed, but inspired of the backrooms
and I want to make my game similar to that one
with a single theme added: survival
Horror games are boring imho
even games like outlast? 😐
yea
😐
I'm bad at level design lol
glad I put everything into a tile system
gonna add a couple structures soon, then gonna implement sections of the poolrooms and other levels
I think I can actually make it interesting
Isn’t the point of the backrooms is that it’s infinite
my earlier build of the game was infinite, and no it's not infinite, it's just a really really really large number
but I want to introduce story into the game so it's not as boring, it's gonna be linear instead of procedural
https://backrooms.fandom.com/wiki/Level_List a lot of levels apparently
For a list of Sub-Levels, click here. For a list of Negative Levels, click here. For a list of Anomalous Levels, click here. For a list of Joke Levels, click here. Feel free to create more pages by clicking on the red links and helping make the list updated! Notice: This page is constantly a W.I.P to maintain its accuracy as many levels change t...
but doesn't seem infinite
this is how many there are 9223372036854775807
I'm going to add like 10 or 20 max tho 🤣
It goes past infinite levels
Past omega
But there’s not ACTUALLY that many
I meant the actual backstory behind the backrooms is that it’s an inescapably infinite repeating amount of generic looking rooms
oh yea
Also I don't necessarily think the levels are infinite
but it is a non ending loop iirc
which is exactly what you said
but I misread

it's not escapable because there is wayy to many levels, and to escape you have to go through certain levels in order. And from what I read there is only theoritical ways of escaping as anyone who actually escaped probably couldn't have documented that
anyways, I guess I could call my game more inspired-like since I probably will add an actual ending instead of having the game just be pure exploration
If you wanted to be really boring
you could make a loop that isn't endless but at a certain number of clearing all the levels you have they escape
so say you have 20 levels, they go to each level randomly and once they get through all 20 levels they start over, this happens at least 5 times before they ffinally escape
nah I don't want to be boring, that's what I mean, I want to add some gameplay, a story, a narrative or at least some puzzle elements to make it interesting
and each playthrough the content changes but the maps stay the same
btw I'll make a test build rn will anyone be able to test it, I just want to see if the performance is better
different puzzles
seems as boring as my earlier infinite demo
the game will get boring and repeatable in 10 minutes even if I change it each playthrough
what I can do, is make the game finite, but long
and instead of procedurally generated maps, I will premake them, but with precision and they will look better
anyway I'm baking the demo right now, is your PC good?
Im not downloading anything sorry
I see alr
I hope the game isn't gonna be too big
there is literally 3 different games inside the games source cause I keep changing my mind
unity usually filters anything that isn't used in the actual scenes so it should be fine
The Stanley Parable
I fucking love how silly stupid that game is
the game is 53MB, not as big as before, well I removed 2 whole levels from it so no wonder
Thats a hilarious game
if the game is this small would anyone be up for testing it?
can you record it as well?
hey everyone
the game minimum specs are quite high so not sure if you're gonna be able to
is there rest api issue on vote counts?
when i pull the votes it gives me 223 while web page shows over > 300 for my bot
idk for me the entire top.gg website is returning a 502
oo ok
add me I'll send it that way
some one pls help i have no idea i need to add a server to top gg but it doesnt work help pls!
@wary helm mostlikelly is due to the issue they have
where do they post there issue
They dont i see it when I am making calls to rest api
Hey guys could someone help some with some advice. I own a big server and it’s constantly being flooded by selfbots who are dming my members. I am trying to find a solution to prevent selfbots of joining.
The first thing I’ve tried was: a verification system. But basically only 1 should join and verify to get the ids, and this could be passed on to the other bots to send the dms.
so that isn’t really an option. Does anyone else have a good suggestion?
If it happens again ban the bot and put a reason they can’t come back
Can someone help me make reaction roles?
No because people could join all the time so how many would I have to remove manually?? I am in need of an automation.
Invite me to the server I can see wt to do
No there’s no need as everything’s explained here
Try google or help from another server honestly I think the best thing to do is put them in time out and see what happens like see if more join
you're on the right track
you'll need a verification system
you should use a captcha though
generate a few letters and numbers and scramble up the image
while selfbots can also solve that
it isn't worth it in the long run for them
you can also do multiple stages of the captcha
i.e. the first stage would be your regular captcha (scrambled up letters and numbers), then you could send a message and tell the user to click a specific button that's taken out of a randomized set
Sounds like a good reason to leave the server immediately because it’s annoying as fuck
pretty sure
users who would leave at the captcha stage wouldn't contribute anything to the server in the first place, so it's a win win situation
Just live with the fact those are out there and have an active moderation team dealing with reports 24/7
Take a look at the mod-logs, that issue is happening on all larger servers
you can create verification using 3rd party oauth like steam, twitter, etc 🤔
o
hello, i whant to create a voice channel, and move the member in that channel when join in a determinated voice channel, what is the event name for detherming what channel the user join? for discord.js
voiceStateUpdate
Can someone help me make reaction roles
await message.guild.channels.create(channelname, {
type: 'GUILD_TEXT'
})
i am using this and getting errors a lot like
errors such as?
read it
cant understand whys this happening
const channelname = `slot-${member.user.tag}`
await message.guild.channels.create(channelname, {
type: 'GUILD_TEXT'
})
isnt this enough?
than
read the error
cant understand thats why asking
the field "name" is required
do you know the basics of javascript?
no
then learn it before you make a bot
please tell what to change
you've passed the field "type", so pass the field "name" since its a required field.
await message.guild.channels.create({
name: channelname,
type: 'text'
})

but error same

ye, its enums
thanks
no worries, please learn javascript though it'll help you out in the long run
enums
ok
v14 is all enums
ur doing permissions right?
you can just do this if you are, its an array of all the enums 
Hi, how do I add a second if statement to one current if statement to:
- First grab the sub command (Already got that)
But how would I add this: if (premium.includes(interaction.user.id)) {
so if the user is premium it executes too.
PermissionsBitField.Flags.AttachFiles not working shows undefined
const { SlashCommandBuilder, PermissionsBitField } = require('discord.js');
already done
What does your permissions look like?
{
id: member.id,
allow: [PermissionsBitField.Flags.ViewChannel, PermissionsBitField.Flags.SendMessages, PermissionsBitField.Flags.AttachFiles]
}
Anyone want to help me code a website?
this working if we remove attachfiles option
Oh your not on the same as me. I use them in if statements tho
Anyone want to have a coding session
Oh, I really don't know
Anyone want to have a coding session
stop spamming the same thing again and again
stop asking please
show me the entire .create function
ok
Try logging the PermissionsBitField.Flags property and see what it logs
ok
why not importing PermissionFlagsBits instead?
instead of continuesly calling the flags property
Does Promise.then(resolved => {}) "resolved" get overwritten if you take another promise?
Promise2.then(resolved=>{
})
})```
like meet both
solved
Partially. As it's just a function parameter, the inner resolved shadows the outer resolved. But after Promise2, resolved would point the outer variable unchanged.
just tried doing what you're asking and it wasn't overwritten but you'll have to keep inmind that the scope block exists 
My focus is Promise2
I'm saying that:
Promise.then(resolved => { // outer, `resolved` is available here.
Promise2.then(resolved=>{ // inner, this one *shadows* the outer `resolved`
// If you use `resolved` here, it'll use the *inner* one.
})
// Inner scope ended, so `resolved` points to the outer one now.
})

discord must be kidding me
can't send a DM to my own bot lol
of course we share the same guild
oh man
tf is this bullshit
I'm sorry
One message removed from a suspended account.
One message removed from a suspended account.
backrooms as a concept is lame and only became popular because of the liminal spaces trend
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
https://sourceb.in/AUQayZJ3Oy
In this while a button interaction it shows error at line 55 toLowercase line while it is a button interaction.
(Pls ignore thta things like messagembed aren't updated to d.js v14)
if (!interaction.type == InteractionType.ApplicationCommand) return;
smh
dude... for real, load and import your command files once on a startup and save 'em like you did with your buttons
also without telling us the error, we can't do shit
I mean you will tell my toLowerCase() isn’t a function but still, do it 
The reason it does that is the mentioned line above which doesn’t do anything, it never will
I've been debugging for 2 hours and still can't solve it
Can't solve what
Getting the members from the roles is inconsistent
D.js 13.9.2
const client = new Discord.Client({
intents: ["DIRECT_MESSAGES", "DIRECT_MESSAGE_REACTIONS", "GUILDS", "GUILD_MEMBERS", "GUILD_MESSAGES", "GUILD_MESSAGE_REACTIONS"],
partials: ["CHANNEL", "GUILD_MEMBER", "MESSAGE", "REACTION", "USER"],
});```
Can you explain your exact problem
Right now you're just explaining your solution
a
"How to solve it"
(await client.guilds.fetch(config.guild)).members.fetch(); doesn't do it

Because I added it after
then show the updated code
you didnt await members.fetch
also you can simplify that code quite a lot
its never a good idea to repeat async functions, because you cannot assume they are being cached in the background
you use guilds.fetch() 3 times in there, which is fine only because djs automatically caches the results, but most of the time that will not be the case, and you will end up making 3 repeated requests to an api for no reason
const guild = await client.guilds.fetch(config.guild);
const members = await guild.members.fetch();
// here you can either use guild.roles or you can loop over members directly and parse the roles yourself
Hey Tim, do you think storing all strings in an Object to avoid re-allocation is a good idea
i would do something like this ```js
for(const member of members.values()) {
if(member.roles.cache.has(config.management) || member.roles.cache.has(config.staff)) {
...
}
}
await (await client.guilds.fetch(config.guild)).members.fetch();
let roles = (await client.guilds.fetch(config.guild)).roles.cache;
let mgnmt = roles.get(config.management).members;
let staff = roles.roles.cache.get(config.staff).members;
let list = mgnmt.toJSON().concat(staff.toJSON());
let listb = [];
list.forEach((item) => {
if (listb.findIndex((f) => f.id == item.id) == -1) {
listb.push(item);
}
});
console.log(listb);
let listOfStaff = [];
listb.forEach((f) => {
listOfStaff.push({
value: f.id,
label: f.user.tag,
});
});```
it concerns me how indented that is

most js engines should already manage string allocation internally
so you dont really need to do it yourself
I meant in scopes where they can get run multiple times
.roles undefined (cannot read properties of undefined (reading 'cache'))
can you give an example?
_Tim already warming up his benchmarks _
this.connection.on(Constants.STRINGS.STATE_CHANGE, async (_oldState, newState) => {
if (newState.status === Discord.VoiceConnectionStatus.Disconnected) {
try {
await Promise.race([
waitForResourceToEnterState(this.connection, Discord.VoiceConnectionStatus.Signalling, 5000),
waitForResourceToEnterState(this.connection, Discord.VoiceConnectionStatus.Connecting, 5000)
]);
} catch {
if (newState.reason === Discord.VoiceConnectionDisconnectReason.WebSocketClose) parentPort.postMessage({ op: Constants.workerOPCodes.MESSAGE, data: { op: Constants.STRINGS.EVENT, type: Constants.STRINGS.WEBSOCKET_CLOSE_EVENT, guildId: this.guildID, code: newState.closeCode, reason: codeReasons[newState.closeCode], byRemote: true }, clientID: this.clientID });
}
} else if (newState.status === Discord.VoiceConnectionStatus.Destroyed && !this.actions.destroyed) parentPort.postMessage({ op: Constants.workerOPCodes.MESSAGE, data: { op: Constants.STRINGS.EVENT, type: Constants.STRINGS.WEBSOCKET_CLOSE_EVENT, guildId: this.guildID, code: 4000, reason: "IDK what happened. All I know is that the connection was destroyed prematurely", byRemote: true }, clientID: this.clientID });
else if (newState.status === Discord.VoiceConnectionStatus.Connecting || newState.status === Discord.VoiceConnectionStatus.Signalling) {
try {
await waitForResourceToEnterState(this.connection, Discord.VoiceConnectionStatus.Ready, Constants.VoiceConnectionConnectThresholdMS);
} catch {
parentPort.postMessage({ op: Constants.workerOPCodes.MESSAGE, data: { op: Constants.STRINGS.EVENT, type: Constants.STRINGS.WEBSOCKET_CLOSE_EVENT, guildId: this.guildID, code: 4000, reason: `Couldn't connect in time (${Constants.VoiceConnectionConnectThresholdMS}ms)`, byRemote: false }, clientID: this.clientID });
}
}
});
like this js const str = "abc"; function a() { return str; } instead of ```js
function a() {
return "abc"
}
Something to that effect
afaik all strings are put somewhere and replaced by references by the jit compiler
That would be smart, but I wonder how it would determine the difference between static strings and concatenated strings
concatenated strings are different, they are stored in a rope-like object
lmfao
"lmfao"
generally it should make no difference to have hardcoded strings or to have strings taken from objects, if anything i believe hardcoded strings would be faster, but the jit compiler will replace and inline them anyway so its the same thing in the end
the only reason people put all strings in a constants object is to make it easy to rewrite texts, make translations, etc
Yeah I'm just doing it to prevent reallocation
I think what I'm doing has its benefits for when JIT hasn't kicked in
also moving regular expressions to root scopes since those have nasty compile times
yeah, i believe node has a v8 flag to run jitless which can be used to test
agreed with regex
like this?
Can you show your main file where your mod starts from
Like the Mod.java file or something like that
there thunder
that's not a solution to his issue :p
u problem tbh
Do something like this @covert gale ```java
@Mod(modid = "yourmodidhere", name = "Create Casings", version = "0.0.1")
public class CreateCasings {
// ...
}
better bullied than billed :^)
Man that's a rare occurrence, seeing :: in java
even when using the stream api I don't see people using it as much as they should
nice mention
That shouldn't be the case
It works just fine for me
what version of forge are you using
For what mc version that is
The minecraft version is 1.18.2 though yeah?
Go into your mods.toml file in src/main/resources/META-INF
And change the version ="${version}" to version = "0.0.1"
C:
Or you could do version = "${mod_version}"
this name needs to match what you're putting in mods.toml
idk then, I hate forge
I would keep it the same name, try doing 'mod_version': mod_version and use this in your mods.toml
forge/gradle is very finicky with everything
if that doesn't work then idk
dude does anyone know what the hell happened, yesterday was fine I finished working on my game and closed my PC ever since morning I can't get my PC to boot. It always goes straight into a black screen with just the cursor after loading. Even doesn't want to go into recovery mode it just goes black for no apparent reason???
ubuntu stick
always have an ubuntu stick
his code caught up to him
lmao but really, if it goes into a black screen all I can think of is the ol' trusty eraser trick
remove the ram sticks -> use a generic school eraser on the golden parts of the ram -> return the sticks
I managed to open something that looks like commandline by mashing random keys but I can't type in it xd
u can also remove the power cord and wait a few minutes to reset the cmos
oh, remove the battery too
it goes into black screen after booting up, straight into it, all I can see is my mouse
okay what's cmos?
I don't think that's my issue... I can't even boot into recovery mode
that's the battery btw
the eraser trick usually fixes weird errors
dont ask me why, it just works
we've been doing that for ages already, and most tech people ik also recommend doing that
well anyways if that doesn't work then what do I do?
I can't do literally nothing
oof wot
I was mashing keys again and now my PC started rebooting itself
yes
nvm it's doing the "preparing automatic repair" thing again
whats happening
🙂
my fucking PC stopped working randomly for no reason
probably because you fucked with your regedit's gpu values :^)
yeah but that's not the issue
You said you can see your cursor and nothing else, right?
it worked fine, for months it's definitely not the issue
Sounds GPU related to me
yes
I can see the logo and the booting animation when I first power it on
Just because it worked before doesn't mean it works forever
dead cpu?
overheat?
nah that aint gpu
dead power supply?
then it just goes black before anything else
what did you do before that
can't even touch recovery mode
But the most likely thing is probably just some sort of OS corruption or slight hardware issue
I don't have an ubuntu stick
inb4 his SSD is fucking dead, had that happen to me
thats what I'm thinking if it still boots but not into os
nice space
Had to buy a new one
okay let me write down what happens in steps
- I press the power button
- PC logo shows and it does the circle animation thing
- Either boots straight to black with mouse or does "preparing recovery mode" then goes to black with mouse
dead/corrupted harddrive
sounds like an OS corruption issue
it does
then ded os
Yeah definitely OS
bruh
ye dead os
reinstall, perhaps hook up the drive to another pc
to recover
does it not jump into recovery either?
no it shows that but my pcs manufacturer logo it never goes into this screen
so no loading circle like that one?
Get a USB stick, go on to another windows pc and download the boot media tool, install a windows 10 iso on the USB stick, plug it into your PC, go into bios and set it as your boot device
it has the circle but a different logo
thats normal, manufacturers can modify it
yes either "loading" or "preparing recovery mode"
I waited an hour
nope
ah wait, I just remembered
If you want to get to the bios, boot up the PC while spamming the delete key
bae is the one who used regedit to change how much ram the computer sees
vram*
on most manufacturers it works
doesn't mean it works forever dude
Some motherboards will not go to bios while spamming
you shouldn't do that
And only work if you hit them once
okay but it randomly decided to die that just doesn't happen
But that's uncommon
manually touching regedit values without truly knowing what you're doing is a terrible idea
I have a backup
"it worked once so it must work forever right!"
what is winpeshl.exe?
idk then, maybe u can boot it on console mode?
i massed my keys again I got the right click menu pop up and pressed details
You can't boot to safe mode?
nope
Just backup your data from a portable linux instance and reinstall windows
they dont have an ubuntu stick
if it doesn't boot then it's most likely irreparably damaged tbh, windows rarely is able to fix itself in my experience
I can't open cmd
fuck you is what my drive always says back :^)
Windows' scan functionality be like
print("Scanning for issues...")
sleep(60)
print("No issues found.")
true
Let's get this straight from the ground up, first of all what Windows edition are you running? Some have different ways of booting into the Command Prompt for such scenarios
A Windows edition can be Windows 10 or Windows 11 for example
windows 10 personal edition it was pretty sure
I don't remember
went into the black screen with just the cursor again
Are you able to get into the recovery environment?
no I tried holding and mashing F11, F10 and ALT + F10
it showed that initial "Please wait" text but booted straight into black
If those don't work then there's an alternative way, you can power off the PC 3 times right when the Windows logo appears to boot into the recovery environment on the 4th try
yeah I know it does that "preparing automatic repair" as u see above but it boots into black yet again
bruh and I finally started making progress on the game
and all my fucking other games which I didn't finish
😁
That's not the recovery environment status, Windows itself is trying to automatically repair itself, not boot into the recovery environment
well then it never tried ig, I restarted it like 20 times at this point
all I can turn on is winpeshl.exe when in the black screen
it looks like cmd but I can't type anything in it
That shouldn't even appear in the first place
You've probably fucked up too much
If the aforementioned solutions don't work at all you have no choice but to burn a Windows 10 ISO to a USB drive and boot into the recovery environment from there using the options it provides
It runs entirely on the USB drive so your regedits won't affect it
Doesn't mean it'll work as always
OSs are very complex
if u have a spare computer, install some linux distro into it and boot through it
I don't
@ancient nova let me ask you something, why did you even edit the registry?
to run gta v
I swear to god this has nothing to do with the registry, I only edited that one single value "DedicatedSegmentSize" to allow myself to play the games that need 2GB+ vram (since I got only 1GB they wouldn't let me even open them) it worked, for months I was able to play games without lag or anything happening
just yesterday everything was fine
so I don't get it
I've had issues with a registry edit I did once every Tuesday for some reason
so it just randomly decided to say " fuck it I'm never gonna boot up ever again" xd
Only had issues on Tuesdays
so windows fucking broke itself is that what you are saying
at least it's not fridays 
I'll sue them if I have to idgaf imagine my PC was some important government property
it's still important
I had my shit on there
find a friend to install ubuntu for u
or buy a cd whatever (if they still sell it)
bro that's not the thing that caused this and you know it
worked for literal months or even years at this point
if u can get to the files, it's possible to retrieve the system logs
to see the real cause
but it's most likely something was written where it shouldn't which caused the deadlock
yesterday after I finished working on my game I compiled it, saved into a rar and sent to myself on Discord, then I just turned it off
ever since morning this happens when I turn it on
that's not what I mean
the computer does stuff under the hood frequently, like regular checks, validations, dumps, etc
so if windows killed itself I'm eligable for compensation idgaf I lost something I worked hard on
the change to segmentation size might have affected where the computer saved something, which might have corrupted some files from having trailing/leading bytes overwritten
The segment size should not be fucked with, if some games are able to go beyond the specified limit and write something dedicated to the non-existent segments (which you've specified higher than the existing ones), it can break some parts of the OS
It can also be that you've also accidentally edited or deleted a registry value related to the boot process
If that's not the case then Windows also saves user session states every time you power off or restart, which if corrupted can cause issues, these states are either written to the disk or the boot partition
This issue can also occur if you're using an unstable build of Windows, which can be the Windows Insider builds
well I'm not
well, there are 3 lessons to be learned here:
1 - use git (or any other versioning) if u cant afford to lose your work
2 - don't tamper with highly sensitive settings (aka regedit) unless you have 101% certainty of what ur doing
3 - have an ubuntu stick somewhere, even if you'll never use it, it's inexpensive and a lifesaver when u computer doesn't boot
unity and UE have highly integrated versioning tools, there's really no reason not to use it
you can still save your data, if you find someone to borrow a linux pendrive
Then the previous reasons can be the cause, although it can also be something obscure that something has changed
cringe image
Hi! I found an error:
This is only temporary while I begin looking into databases
const { premium } = require('./premium.json')
if (!premium.includes(interaction.user.id)) {
return interaction.reply('You are not a premium member.')
}```
This doesn't seem to work ^^
Any databases suggestions will work too.
I can try disconnecting my mouse and keyboard ig
even my hdmi cable
and plug it back in like 20 minutes
mongodb 
Can you send the link in DMs please. Ive heard about it before, just can't find it.
ill just send it here 
https://www.mongodb.com
Also what is wrong with this? it won't send the message if you arent in the list.
btw, it doesn't work cuz u used { premium }
I don't think u can do decomposing in json imports
What would I need instead then?
premium
Oh so it only works for checking
Thank you!!!
btw I recommend some sql database if u plan on having relationships between data
Thank you!
You can do destructing on JSON requires, because they're turned into a regular object, however JSON imports (which are still experimental and requires an import assertion) doesn't support destructing
Voltrex, how much I do that then for the statement above.
What plan would you say to look at?
oh
You said you're encountering an error, what exactly is the error?
It just returns the message when I am in the ID list.
It supposed to send it if I'm not on the list.
Have you tried logging the premium array and see if it's what you expect?
{
"premium": ['698580675896279092']
}```
premium.json
Would you recommend another method of doing this?
That probably happens because you may be importing it once, which won't change the array if you modify it somewhere else, you should try logging the values you're trying to check
why not just do
[id, id2, id3] lmao
And use a database
what's the json for
Thanks, your recommendations on databases? Just I have 2.
@earnest phoenix if I take out my HDD how can I take the data out of it? do I out it in another PC?
Keeping it neater, I mean I could try the array inside the script but how do i check if the user is in that array??
You should use PostgreSQL if you're looking for a scalable database, MongoDB is also fine but it's not that scalable
Thank you, can I have the guide to the first one 😄
make a file with just
[
]
and u can refrenece it and just do .includes(...)
Just plug the HDD to a different PC and you should be able to get all the data you need
to check the contents
I still have a little bit of hope
Thats what the json file is doing
What happened?
basically my PC decided to just kill itself randomly for no reason
and now doesn't want to boot up no matter what
Oh, R.I.P
Official PostgreSQL documentation:
https://www.postgresql.org/docs/
Guides/Tutorials dedicated to PostgreSQL:
https://www.postgresqltutorial.com/
Learn PostgreSQL quickly through a practical PostgreSQL tutorial designed for database administrators and application developers.
Try removing the cables for power and plug them back in or hold the power button to force shut off and then reboot.
Thanks Voltrex.
none
just host your own cluster
oh alright.
Right.
@ancient nova Try this guide too: (Don't know how much help it'll be)
Man people are so terrible at making these images
I know, Ive clicked onto 5 and all are 🤮
those images only get worse lmao
and what a gross crop
NOOOOO! My eyes 👀
Even my grandma can do better than that
lmao
Yep!
Even my rabbit can do better
as someone who forged documents with photoshop, ew
Another one if all fails: https://windowsreport.com/windows-10-wont-boot/
Omg a good picture?
I need to full on examine this.
That's still pretty bad 
Open your internal computer and see if there's a skull on the cpu
Looks like a google one.
Amazing summary.
The zoom in of it sucks 😭
When your computer does the 💀 reaction on you for fucking up
What apps do you lot use to stop ads on websites?
There's uBlock Origin, probably the best one
Thanks, just normal websites are annoying me with like 80 adds for one page flick.
We respect your privacy, we'll use some cookies to make the experience better for everyone.
[Manage Cookies] [Reject All Cookies] [Accept All Cookies]
jetbrains is the best one
Yes and the classic Grammarly ad 😭
Are you getting tired of writing essayysss
With Grammarly you will never have to worryyyy about that againnn 👿
We need access to cookies, either disable these 10 toggles, accept them all, or read this bible on why we need it
JetBrains' cookie prompt is the only original one I've seen in a long while
also read our terms of conditions and privacy policy which are the size of 8 dictionaries each
Holy-- A good one 😮
The best cookie prompt is the one that doesn't exist
I agree with that one
So true
ublock is amazing
Also gn people
I got to sleep so i can actually deal with the 6 cruel hours of school tommorrow
@earnest phoenix @lyric mountain YOO
I LEFT MY PC ON THAT BLACK SCREEN AND FOR THE FIRST TIME IT SAYS "DIAGNOSING UR PC"
DO YOU THINK IT WILL TURN ON RECOVERY MODE OR FIX ITSELF?
who knows, let it finish
depending on what windows checks, it might revert the changed regedit values
idk what it's doing but it's the first time it's done that so far so I'm hopeful
inb4 you lost all your data on your hard drive and your OS is reinstalling itself
what you do this time
his pc won't boot
people need to stop fucking with regedit
more specifically, edited segmentation info to increase visible vram to be able to play games with min req 2gb while having 1gb
That is by far the dumbest idea
then it will say "Reinstalling Windows" 
do what u do, DON'T SHUT DOWN THE PC NOW
I hope it doesn't do that 🗿
don't worry I'm not that dumb
welllll
unless the power decides to cut 🗿
Shutting down while it does that isn't as dumb as fucking with regedit while not being experienced
I read about it before changing the regedit

changed it to the recommended value for the amount of ram I got
yes and that makes you an expert
anddd it said it wasn't anything dangerous
anything that starts with seg is dangerous
Except for the segway to today's sponsor, NordVPN
make your own VPN 😎
mudfish best
Nah, tried ExpressVPN; works way slower than NordVPN, and it isn't as customizable
Though one thing I hate about NordVPN is it's buggy CLI for Linux, it works most of the time but sometimes it just goes haywire
i put 5 bucks in mudfish like 8 years ago and i still have half of it unspent
they charge per gb not per month
Check the system logs to see what issue was causing it to not boot, it should be logged with very specific information
where are they located?
You can check that with the Event Viewer application
Start > Control Panel > System and Security > Administrative Tools > Event Viewer
alright
once it boots into windows am I safe to power it off?
when it finishes everything, yes
great
btw @earnest phoenix have you played the concept demo I sent to u in dms?
since my PC is probably going to work again I'll quickly make a git backup
I haven't played it yet because I was switching back from Fedora to Ubuntu (because Fedora ships bleeding-edge software that are too unstable to use), so yeah
I'll play-test it tomorrow
Surfshark is really bad
Worst vpn I've ever gotten and I bought two years of it
alr ty
btw the graphic bugs that wine experienced should be fixed
it was because too many light sources were being redered at the same time
the LOD system I added turns off any light sources that you can't see
increased the performance also
that's not lod, that's occlusion culling
I'll be play-testing it with Steam Proton, not just Wine alone
I used a LOD for that
since it automatically toggles off any gameobjects that are far away from you
Because the latest stable release of Wine (which is v7) isn't available for Ubuntu 22.04 yet
which works with scriptables, models and even light or sound
ah that's fine
also increased the graphics a lot, since the performance improvement was so high I also added realtime shadows
imagine realtime lightmap baking if the whole scene was procedural
just a thing, your walls doesn't make much sense
like, make them connect to each other
like an office
nah the backrooms walls are actually supposed to be like that
you sure?
yeah, google some pictures
because iirc they're office-like rooms
Well not all of them are supposed to be separate
randomly segmented is a keyword
A decent amount of them are also connected
I'll make it better
I just threw together a quick example scene
I will add more biomes and structures
btw I also added a very cool movement effect with cinemachine, it feels really realistic
Hmm, I'm just gonna test it now give me a few minutes
sure
try taking a few screenshots also if possible
someones picture from google
they also went for that randomly placed aspect
Your "playable" demo didn't even launch
what?
you executed the backrooms the travelers guide exe?
Yes
won't that be kinda bad?
like I'm logging who's playing my game lol
unity should throw and error code if somethings wrong so it's up to the people playing to report it ig
That's also with the latest stable release of Steam Proton
the log will be on the player's pc
when I say "log" i mean like literal logfiles
like you'd have on a bot
well I've honestly got no idea why
yeah I could
I'm gonna try it with just plain Wine and see how it goes, Steam Proton sometimes has issues with non-Steam games
hopefully it works, it's weird that there is no errors
yall my PC booted 😭😭😭
first thing: revert the regedit
second: make backups
third: make a restoration point
Man fix your game 
ok what it's beeb like 20 minutes, I put in my password and it's sitting on the desktop, but the desktop is black and there is no icons on the task bar besides the windows logo and the search key 😔








