Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Alright, so I'm sure most people would prefer a single exe instead of a folder with DLLs and a exe.
Well, just made a quick google and found this: https://github.com/Fody/Costura
Just install via NuGet and all DLLs will be combined into the exe when building, nothing you have to do yourself.
Obviously this wouldn't be very useful when you also use files (like levels in a shift-bot), since you'll need a folder to keep those files nice and organised in anyway.
Now for shift levels this might not be very good (due to size, just an assumption though), but For a "banned players"-list for example, you can also just put it in the application resources/config, keeping your entire bot in a single exe still.
Now obviously for personal bots it isn't that terrible that you got that exe surrounded by DLLs and stuff since you know how it works.
For public bots however I'd say this is quite user-friendly. Single file, they can put it anywhere they want and barely any chance of junk of the bot remaining on their pc because they used a shortcut to the exe.
Offline
Good point. I hadn't seen this, will look into it for curiosity's sake.
Concerning your "shift levels" point: Also, I think capasha has some insight on using some AppData directory. Not a bad idea there, either, but I have no idea what he recommends about it.
Offline
I crossed it since this post doesn't say it's bad practice or anything and in fact suggests it.
The shift levels were just the first example of a bigger "object" to save that came in mind.
Edit: Saving those files in AppData results in exactly what I said earlier: It will leave behind junk on your PC since when you delete the exe you won't think of going to AppData and delete the folder there too (unless you use an installer, but then your registry gets some junk when you uninstall it).
Offline
I use ILMerge. Works great. But too lazy to do it on my bots.
Offline
Pages: 1
[ Started around 1732426568.6399 - Generated in 0.047 seconds, 12 queries executed - Memory usage: 1.41 MiB (Peak: 1.52 MiB) ]