How to make the currency for an economy bot? [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am trying to make an economy bot for discord using C#. I am confused about how I am going to do it. I might have to use databases but in that case how do I make it so it makes a new line for every user that has used the command. Any help would be nice, thanks.

You need to use a database. If this is your first time using databases, I highly recommened SQLite. You should also see video tutorials such as this one.
Once you have familiarised yourself with a SQLite databases then you will be able to answer your own question extremely easily. It is not difficult and requires some very simple logic. Attempt it yourself first and if you are still stuck reply to this answer.
Consider viewing this W3Schools resource when you are comfortable with the basics.

Related

How to extract image features through C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My adviser told me to use Accord Framework for C# to extract features and patterns from images. Our project is about image analysis and comparison of tobacco leaves. Does anyone here have an idea on how to do it? Thank you.
This is pretty high level stuff, but from what I've learned in my time faffing with it, I'd use the Accord.Imaging library to scan your pictures. Followed by using the Accord.Neuro namespace to "learn" from some manual data you feed into it.
Seems your goal is to create a program that scans images quickly, gleaning only the useful data from the full image, and then checking for some particular features of the image. I've never used the library, but it looks like it'd be possible to use it.

simulate key in games [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have a problem. I made some program with c# to help me in games. The logic is very simple. I used SendKey() method and low-level procs and they works correclly in software but doesn't work in games. any body has some idea?
Thank you all.
Avoiding Send keys is a pretty basic anti-cheat measure. And you did just explain why :D
Send Key only works if the other side is reacting to what the Windowing System is telling it. Games often use raw input, to have better reactiontimes and avoid everything Windows might do to the input. And this rather simply cheat/bot approach too.

How would I go about Game Networking with C#? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
So, I'm trying and put my C# skills to the test, I have set myself towards making a Game with Networking in C#. This Game will not have movement (It's a hacking sim, so I don't think data will need to be constantly sent) what do you Guys think would be the best .dll or way to go about this? What about the Database for accounts? What do you think I could use? I have a average skill level in C#, so keep that in mind when making recommendations, please.
If you have average skill using an SDK should be helpful for you.
Start out with something like XNA Game Studio to see how those concepts are done.
This document is the starting point for the SDK https://msdn.microsoft.com/en-us/library/bb200104.aspx and the "Network" concepts you are specially looking for are discussed here: https://msdn.microsoft.com/en-us/library/bb975947.aspx
As for the database for accounts, this would be no different than any typical application that accesses a database and stores user accounts.

How do you make a license for your programs? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
As the title says "How do you make a license for your programs?"
Do you use a plugin or do you make your own? I've looked the whole day for finding resulutions, but didnt found one yet.
I basically want a normal license for my program:
A textbox where you type your license "XXXX-XXXX-XXXX-XXXX"
Is it possible to make this yourself, or should i use a website for it? If i should use a website, which do you recomend then?
It is rather simple to implement a simple license yourself BUT it will no be very save.
Because C# is transformed into IL, everybody can decompile your code easily and work around your license checks. It is very hard to build a license mechanism in a save way, so you should resort to some existing, proven solution.

Create Sandbox C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
are there any tutorials out there on how to create a sandbox using C#?
I would like to personalize my own one, thanks
Study up on using AppDomains. Here's some code examples.
We just recently used the MonoSandbox for Security reasons.
I don't know if it works with standard Microsoft's CLR, or if it is specific to the Mono implementation, but I think it works better than just a custom sanbdbox using AppDomains, and since the source code is open you can probably find a way to make it work for you.
The best documentation I have found for the MonoSandbox is here: http://www.mono-project.com/MonoSandbox
I would start by looking at Code Access Security.

Categories