simulate key in games [closed] - c#

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.

Related

Send request to plugin and get result in C# [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 11 months ago.
Improve this question
I have software that takes your request, And I want to control requests with the plugins.
Fore example console writes: Enter Request: and i write time
well, Now I want the software to check if any plugin supports this command and then turn back the time and more (day, mouth, list of plugins, ...).
I looked at other sources but could not implement the project.
I hope someone can help me. :) Thanks.
I think you can adapt this MS tutorial and get what you want.
https://docs.miosoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support
It shows how to load pluggins and execute. From what you are describing this is what you are looking.

How to make the currency for an economy bot? [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 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.

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.

How to hide hardcoded limit in my application? [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 8 years ago.
Improve this question
I am near release date for my Excel Add-In and I want to have only one limitation hardcoded in the code. My aim is for people to download and use the tool for free but have a limitation that potentially encourages them to buy the unlimited version. I know that there isn't a truly secure way to add that limitation but I was wondering what is the best way of achieving it. The limitation is simply a hardcoded value that I store in the Properties section of my app. Any ideas how I can make it a bit more secure?

Private information can be decompiled [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 9 years ago.
Improve this question
I have my database information saved on a string in clear text, if someone decompile my application its possible to get that information?
If yes there are ways to prevent that?
Yes, absolutely. It's not even hard.
If you are trying to hid a secret from your user, give up. A sufficiently dedicated user will win. You can look at the windows Data Protection API (http://msdn.microsoft.com/en-us/library/ms995355.aspx) but its only a speed bump. If you have to keep it a secret, keep it on your own server.

Categories