|
You last visited: Today at 23:04
Advertisement
can c# do low level stuff?
Discussion on can c# do low level stuff? within the CO2 Programming forum part of the Conquer Online 2 category.
05/11/2011, 15:55
|
#1
|
elite*gold: 0
Join Date: Sep 2010
Posts: 266
Received Thanks: 85
|
can c# do low level stuff?
Hi, so I already know java quit well and want to learn a new language thaf will Allow me to do memory editing and such for game hacking/bots. Would c# allow me to do this, or is c++ the better way to go. Thanks
|
|
|
05/11/2011, 16:43
|
#2
|
elite*gold: 0
Join Date: May 2008
Posts: 248
Received Thanks: 279
|
Quote:
Originally Posted by tkblackbelt
Hi, so I already know java quit well and want to learn a new language thaf will Allow me to do memory editing and such for game hacking/bots. Would c# allow me to do this, or is c++ the better way to go. Thanks
|
You can, but its harder to do I guess. (API's and ****).
|
|
|
05/11/2011, 18:09
|
#3
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
|
It's in no sense harder. How is this low-level in any way what so ever?
|
|
|
05/11/2011, 20:38
|
#4
|
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
|
Quote:
Originally Posted by InfamousNoone
It's in no sense harder. How is this low-level in any way what so ever?
|
It IS a little more trouble to work with memory in C# over C++. At least I've found that it's hard as **** to use pointers, though you're not "supposed" to.
|
|
|
05/12/2011, 00:02
|
#5
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Quote:
Originally Posted by Lateralus
It IS a little more trouble to work with memory in C# over C++. At least I've found that it's hard as **** to use pointers, though you're not "supposed" to.
|
Whats difficult about using pointers? And of course your supposed to use pointers, they wouldnt give you the ability to do so if you werent supposed to, what sort of logic is that?
While you can happily work with memory in C#, you have a little more control over it in C++, but that certainly doesnt mean that you must use C++.
|
|
|
05/12/2011, 00:24
|
#6
|
elite*gold: 0
Join Date: Sep 2010
Posts: 266
Received Thanks: 85
|
Thanks guys I think I'll learn C# since its very close the java, provides RAP, and won't have to worry about all the issues that can arise in c++. I wish java had pointers and had the ability to do low level stuff, without using the jni.
|
|
|
05/12/2011, 16:51
|
#7
|
elite*gold: 0
Join Date: May 2008
Posts: 248
Received Thanks: 279
|
in C++ you can use _asm { //**** here } , as far as I know you can't do anything like that in C#.
|
|
|
05/12/2011, 17:34
|
#8
|
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
|
since C# programs gets compiled to exe, you can ollydbg the exe to add in asm codes
|
|
|
05/12/2011, 17:52
|
#9
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
Quote:
Originally Posted by shitboi
since C# programs gets compiled to exe, you can ollydbg the exe to add in asm codes
|
Or make a C++ DLL that you would call from your C# program to execute the specific assembler instructions.
|
|
|
05/12/2011, 20:23
|
#10
|
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
|
Quote:
Originally Posted by Korvacs
Whats difficult about using pointers? And of course your supposed to use pointers, they wouldnt give you the ability to do so if you werent supposed to, what sort of logic is that?
While you can happily work with memory in C#, you have a little more control over it in C++, but that certainly doesnt mean that you must use C++.
|
Sorry, that was badly worded, and didn't really capture the point I was making. What I meant instead of "you're not supposed to..." is that you can do everything in C# without pointers, though some things may be more difficult. As far as using pointers in C#, it seems that there are more restraints on it to protect memory exceptions to novice programmers than C++, as well as it requires more code to implement the same in C++.
As w00tare said, you can implement direct asm instructions from C++ (instead of going through the stuff mentioned above), and not in C#. That's pretty low level, haha.
|
|
|
05/13/2011, 18:38
|
#11
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
What about BlackMagic ASM?
|
|
|
05/13/2011, 19:00
|
#12
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
Quote:
Originally Posted by _DreadNought_
What about BlackMagic ASM?
|
That's a really ****** way of doing it. Writing the assembly instructions in a C++ DLL and then calling them from your C# project is a much, MUCH better and easier approach. BlackMagic is for remote code execution, not really for local code execution.
|
|
|
05/22/2011, 20:08
|
#13
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
I remember a while back there was a source released for assembly in C#.
Let me find it.
#Edit
There you go:
|
|
|
05/22/2011, 21:23
|
#14
|
elite*gold: 0
Join Date: Sep 2010
Posts: 266
Received Thanks: 85
|
Quote:
Originally Posted by BaussHacker
I remember a while back there was a source released for assembly in C#.
Let me find it.
#Edit
There you go:
|
Cool, I'll have a look at it.
|
|
|
05/22/2011, 21:51
|
#15
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
Quote:
Originally Posted by BaussHacker
I remember a while back there was a source released for assembly in C#.
Let me find it.
#Edit
There you go:
|
This does exactly the same as the BlackMagic library, fyi.
It's a really bad way of executing assembly instructions inside your own program.
|
|
|
|
|
Similar Threads
|
(Level 52) Retailed M134 - Lot's of Promos - Ect. | Also Level 19 with lot's of stuff
11/30/2010 - WarRock Trading - 3 Replies
Okay, I don't speak German. But...
I have a level 52 War Rock account.. It's at 41%. Retailed with M134
I have All the secruity questions
There's 31,000 Dinars on the account..
Current Guns?:
Mp7a1 - 3 days
|
[US]Level 21er KK mit IS Stuff
06/17/2010 - Metin2 Trading - 14 Replies
Hallo liebe Community ;)
Hiermit verkaufe ich meinen level 21er US Acc mit IS Stuff
Hier ein PIC
http://i47.tinypic.com/ek3mgo.jpg
Und hier ein noch eins http://i47.tinypic.com/ek3mgo.jpg
|
[S]High Level Stuff S19 [B] PSC
05/18/2010 - Metin2 Trading - 4 Replies
Moin,
ich suche auf Server19 Lechas, Eq :p
Am besten sachen wie SS+9,Parti+9,Magni+9,Falki+9 oder 61er immun+9
Deffschuhe etc. nicht ich suche hauptsächlich PvM Eq.
Zahle PSC, angebote via pn
|
S/T> level 132 fire tao for WoW stuff or usd
07/25/2008 - Conquer Online 2 Trading - 6 Replies
what i want to sell is very clearly stated in the title any other trade offers are welcomed
|
SELLING RS ACC 27M level 104 plus lots of stuff
03/29/2008 - Runescape Trading - 5 Replies
Selling level 104 rs acc with 27 m and lots of other stuff can provide screen shots and stuff it intersted i am looking at about 300 USD it has 3 sets of rune 1 set of sara. 30k lobs add my xfire 2bad4uson with why you want to add me and ill send you screenshots and other things
|
All times are GMT +2. The time now is 23:04.
|
|