I've tried to find this out by myself but have come up blank basicly i was hoping you could tell me why i should write hacks in one over the other ?
Can you write hacks as well in c# as you can in c++?
cheers guys.
Yes you can. Anyway it's up to you. Learn both you won't loss nothing for doing it.
cheers Brinuz,
more in depth though is it harder to write hacks in c#? are the hacks as advanced? is there anything you can't do in c# detection avoidance and the such?
sorry if these are total no brainer questions but im keen to learn and want to start in the best place.
So if you guys had to satrt where would you start ?
Originally Posted by jabajools
cheers Brinuz,
more in depth though is it harder to write hacks in c#? are the hacks as advanced? is there anything you can't do in c# detection avoidance and the such?
sorry if these are total no brainer questions but im keen to learn and want to start in the best place.
So if you guys had to start where would you start ?
I did:
C -> C# -> C++
Honestly C++ was just.. C with a bit of new stuff.. so not that hard.
Anyway you can make basic memory hacks in C# as easily as in C++, although in my opinion C++ would do the job better for hacking, no doubt about that.
But maybe you might want to learn C# after C++.. Also wait for a 2nd opinion ^^
EDIT: Either learning C++ or C# it will take time (a lot...) until you start making hacks.
C was created in '72 by Bell labs (used to be associated with AT&T) for use with UNIX. Its primary disadvantage is that it does not have object oriented programming capability, like C++ does. C++, unlike C, will give you the room to create classes and methods to go with those classes. The only thing in C that resembles this is the struct, and a struct cannot use dynamic memory and change during runtime like a C++ class can.
C# is completely managed code. This means that the .NET framework takes care of all the background memory work that C++ used to require. The downside is that managed code is difficult to write hacks with...it can be done but the most advanced hacks are written in C or C++ because the code-writer can control what addresses get accessed when, and what gets written to them. If you know anything about hacks, then you will know that memory is where all of those lovely values are stored for ammo and health, etc.
C# is pretty much unacceptable for any wallhacks, chams, aimbots, anything that requires low level access to the video hardware is going to be nigh impossible because of C#'s managed nature. You MIGHT be able to use the DX9 or DX10 SDK to get some sort of high-level access to the video methods, but I've never tried it.
Originally Posted by AudiTT
C was created in '72 by Bell labs (used to be associated with AT&T) for use with UNIX. Its primary disadvantage is that it does not have object oriented programming capability, like C++ does. C++, unlike C, will give you the room to create classes and methods to go with those classes. The only thing in C that resembles this is the struct, and a struct cannot use dynamic memory and change during runtime like a C++ class can.
C# is completely managed code. This means that the .NET framework takes care of all the background memory work that C++ used to require. The downside is that managed code is difficult to write hacks with...it can be done but the most advanced hacks are written in C or C++ because the code-writer can control what addresses get accessed when, and what gets written to them. If you know anything about hacks, then you will know that memory is where all of those lovely values are stored for ammo and health, etc.
C# is pretty much unacceptable for any wallhacks, chams, aimbots, anything that requires low level access to the video hardware is going to be nigh impossible because of C#'s managed nature. You MIGHT be able to use the DX9 or DX10 SDK to get some sort of high-level access to the video methods, but I've never tried it.
it might be harder/slower with C#, but it's pretty much possible to do.
ask the C++ guys about C#(managed Visual IDE) Probably better in a more general area, there will be less "favoritism" to a specific language
Originally Posted by NextGen1
ask the C++ guys about C#(managed Visual IDE) Probably better in a more general area, there will be less "favoritism" to a specific language
fanboys gonna fan
Originally Posted by Kallisti
fanboys gonna fan
Spamboys gonna get ban
Originally Posted by NextGen1
Spamboys gonna get ban
too late
Things like trainers ETC are all possible in C#, even aimbots are.
Not sure about hooking functions(I don't think C# DLL's can be injected into all processes but I might be wrong about that)
Originally Posted by Hell_Demon
Things like trainers ETC are all possible in C#, even aimbots are.
Not sure about hooking functions(I don't think C# DLL's can be injected into all processes but I might be wrong about that)
It is possible but not without a bit of native executable code. Managed code can be injected, still, it would require some sort of native executable code to do anything with it. .Net DLLs aren't really dynamically linked libraries and don't really inherit the same sort of structure. They can still, however, be injected, only different methods would need to be employed.
Any low-level\performance critical work is better done in C\C++ or assembly. However managed code is becoming a more practical solution for many assignments out there. If you're looking into software engineering, it'd be safe to have both under your belt.
It'll be interesting to see if any commercial engines are developed in then next couple of years with managed languages. Most of the commercial engines out now started development before .Net was big, but in the next couple of years things may change.
Me right now I learn C , and then i'll learn C++
Originally Posted by Gab
Me right now I learn C , and then i'll learn C++
C++ is just C with classes.
You won't learn anything but OOP, Polymorphism, Classes and similar syntax.