wawa
wawa
Explore posts from servers
CWCombat Warriors
Created by wawa on 10/29/2024 in #πŸ›Ÿγƒ»community-support
Energy blade question
There is an energy blade skill where it strikes thunder however isntead of doing it once the person with the mythical somehow strikes it more than once despite clearly not hitting the damage mark. How is this done ill try and get a video later.
8 replies
CDCloudflare Developers
Created by wawa on 1/24/2024 in #workers-help
email not being blocked
No description
27 replies
CWCombat Warriors
Created by wawa on 7/25/2023 in #πŸ›Ÿγƒ»community-support
Blackhole tier question
17 replies
CC#
Created by wawa on 6/25/2023 in #help
βœ… Is this code malicious? Someone sent me it
20 replies
CC#
Created by wawa on 2/19/2023 in #help
βœ… this extractor writes the project name + the file name how do I make it just say the file name
This extractor which I got from stackoverflow because I dont know how to code in c# that much which extracts from embedded resource writes the project name eg if the file was named music.wav and the project name was extract then when it outputs it would rename the extracted file to "extract.music.wav" instead of just "music.wav" How would I make this code keep the original name
using System;
using System.Reflection;
using System.IO;
using System;

namespace program
{
class prog
{
public static void Main(string[] args)
{
var assembly = Assembly.GetExecutingAssembly();

var names = Assembly.GetExecutingAssembly().GetManifestResourceNames();

foreach (string filename in names)
{
var stream = assembly.GetManifestResourceStream(filename);
var rawFile = new byte[stream.Length];

stream.Read(rawFile, 0, (int)stream.Length);

using (var fs = new FileStream(filename, FileMode.Create))
{
fs.Write(rawFile, 0, (int)stream.Length);
}
}
}
}
}
using System;
using System.Reflection;
using System.IO;
using System;

namespace program
{
class prog
{
public static void Main(string[] args)
{
var assembly = Assembly.GetExecutingAssembly();

var names = Assembly.GetExecutingAssembly().GetManifestResourceNames();

foreach (string filename in names)
{
var stream = assembly.GetManifestResourceStream(filename);
var rawFile = new byte[stream.Length];

stream.Read(rawFile, 0, (int)stream.Length);

using (var fs = new FileStream(filename, FileMode.Create))
{
fs.Write(rawFile, 0, (int)stream.Length);
}
}
}
}
}
6 replies
CC#
Created by wawa on 2/12/2023 in #help
❔ βœ… βœ… Why does $singlefile make the .exe file so large
Hey I didnt want loads of files so I used $singlefile method and now the exe is 64 megabytes for just a console.writeline hello world program does anyone have any idea of how to lower it
26 replies
CC#
Created by wawa on 2/2/2023 in #help
βœ… IGNORE PEOPLE
my place for testing commands
18 replies