C
C#7mo ago
vibing subs

I need help with my project

I need to create a password generator and checker and i need help to complete it. can you help me
14 Replies
SpReeD
SpReeD7mo ago
$help
MODiX
MODiX7mo ago
How to get the best help :catpog: Make a post in #help or one of the topic channels under Development. Avoid asking :catthinking: Can anybody help me? :catthinking: Has anyone used XYZ? :catthinking: Why doesn't my code work? C# is a big area! No one knows they can help unless you tell them about the small area you're trying to work in. Explain what you are doing, and potentially why for as much context as possible. Avoid screenshots where possible, share code directly in Discord. Type $code into chat to learn how to post code. See https://www.nohello.net and https://dontasktoask.com if you want common help chat room etiquette.
vibing subs
vibing subsOP7mo ago
$code
MODiX
MODiX7mo ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat For longer snippets, use: https://paste.mod.gg/
vibing subs
vibing subsOP7mo ago
BlazeBin - ucqrnogmkcjc
A tool for sharing your source code with the world!
Keswiik
Keswiik7mo ago
You still haven't asked for help on anything specific. We're not gonna read through this, figure out what's broken, and write it for you.
vibing subs
vibing subsOP7mo ago
i need help in for my qwerty thing like it doesnt work the way it supposed to and i cant find a way to fix it.
Keswiik
Keswiik7mo ago
What is your qwerty thing? Show a relevant snippet of code and describe how it is supposed to function and how it is currently functioning.
vibing subs
vibing subsOP7mo ago
so i need to it check qwerty for ever 3 digits and if its consecutive it loses 5 points so for qwerty it loses 20 points and I have no clue how to do that I did the qwerty bit that checks for qwerty but i dont know how to make it check for the resy rest $codegif
Keswiik
Keswiik7mo ago
ok, now show the code where you're doing those checks
vibing subs
vibing subsOP7mo ago
wait ``` cs public static bool nihoa(string passwords) { string qwewty = "1234567890qwertyuiopasdfghjklzxcvbnm"; bool qwerty = true; for (int i = 0; i < passwords.Length - 2; i++) { for (int n = 0; n < qwewty.Length - 2; n++) { if (passwords.Substring(i, 3).ToLower() == qwewty.Substring(n, 3).ToLower()) { qwerty = false; break; } } } return qwerty; }
Keswiik
Keswiik7mo ago
Define "checks for qwerty" because I have no clue what that means
vibing subs
vibing subsOP7mo ago
it looks and see if qwerty is in the password or not like the qwerty Uk keyboards layout
Want results from more Discord servers?
Add your server