Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 23:04

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old   #1
 
tkblackbelt's Avatar
 
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
tkblackbelt is offline  
Old 05/11/2011, 16:43   #2
 
w00tare's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 248
Received Thanks: 279
Quote:
Originally Posted by tkblackbelt View Post
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 ****).
w00tare is offline  
Old 05/11/2011, 18:09   #3
 
InfamousNoone's Avatar
 
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?
InfamousNoone is offline  
Thanks
1 User
Old 05/11/2011, 20:38   #4
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
Quote:
Originally Posted by InfamousNoone View Post
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.
Lateralus is offline  
Old 05/12/2011, 00:02   #5


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by Lateralus View Post
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++.
Korvacs is offline  
Thanks
1 User
Old 05/12/2011, 00:24   #6
 
tkblackbelt's Avatar
 
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.
tkblackbelt is offline  
Old 05/12/2011, 16:51   #7
 
w00tare's Avatar
 
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#.
w00tare is offline  
Old 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
shitboi is offline  
Old 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 View Post
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.
IAmHawtness is offline  
Old 05/12/2011, 20:23   #10
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
Quote:
Originally Posted by Korvacs View Post
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.
Lateralus is offline  
Old 05/13/2011, 18:38   #11
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
What about BlackMagic ASM?
_DreadNought_ is offline  
Old 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_ View Post
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.
IAmHawtness is offline  
Thanks
2 Users
Old 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:
BaussHacker is offline  
Thanks
1 User
Old 05/22/2011, 21:23   #14
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 266
Received Thanks: 85
Quote:
Originally Posted by BaussHacker View Post
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.
tkblackbelt is offline  
Old 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 View Post
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.
IAmHawtness is offline  
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.