Lemur2591
Lemur2591
Explore posts from servers
CC#
Created by Lemur2591 on 9/15/2023 in #help
❔ Is there a way I can make a terminal downloader?
No description
96 replies
CC#
Created by Lemur2591 on 3/16/2023 in #help
❔ So I've created a downloader, how do I link a progress bar to it? Winform, .NET framework
here's my code (website down rn):
private void button1_Click(object sender, EventArgs e)
{
var client = new WebClient();


try
{
client.DownloadFile("http://moonshroud.net/patchingtest.zip", @"patchtest.zip");
string zipPath = @".\patchtest.zip";
string extractPath = @".\Wrath of the Lich King";
ZipFile.ExtractToDirectory(zipPath, extractPath);
File.Delete(@".\Wrath of the Lich King\Data\enUS\realmlist.wtf");


client.DownloadFile("http://moonshroud.net/World-of-Warcraft-3.3.5a.12340-enUS%20PATCH.zip", @"patch.zip");
zipPath = @".\patch.zip";
extractPath = @".\Wrath of the Lich King";
ZipFile.ExtractToDirectory(zipPath, extractPath);
File.Delete(@".\patchtest.zip");
File.Delete(@".\patch.zip");
}

catch {}

}
private void button1_Click(object sender, EventArgs e)
{
var client = new WebClient();


try
{
client.DownloadFile("http://moonshroud.net/patchingtest.zip", @"patchtest.zip");
string zipPath = @".\patchtest.zip";
string extractPath = @".\Wrath of the Lich King";
ZipFile.ExtractToDirectory(zipPath, extractPath);
File.Delete(@".\Wrath of the Lich King\Data\enUS\realmlist.wtf");


client.DownloadFile("http://moonshroud.net/World-of-Warcraft-3.3.5a.12340-enUS%20PATCH.zip", @"patch.zip");
zipPath = @".\patch.zip";
extractPath = @".\Wrath of the Lich King";
ZipFile.ExtractToDirectory(zipPath, extractPath);
File.Delete(@".\patchtest.zip");
File.Delete(@".\patch.zip");
}

catch {}

}
if I understand correctly, it doesn't really have a way to keep track of this. It's just not there then suddenly it is. how would I go about linking this to my progress bar?
115 replies
CC#
Created by Lemur2591 on 2/27/2023 in #help
❔ Need help Integrating Discord Rich Presence into a project (Visual Studio)
176 replies
CC#
Created by Lemur2591 on 2/14/2023 in #help
❔ everything returns errors
I want to fetch the screen width, divide by 1920, fetch the screen height, divide by 1080, choose the lowest number, and scale all hud elements based on the number chosen, but nothing seems to work.
57 replies