Question Open Source !!

07/04/2012 03:40 |xabi|#1
Heya,

i used reflection on a exe source and i need to make it open source and build it!! but when i Reflected it i got a lot of errors i add References in the source and try to fixing the errors.
After fixing the errors will it work??
does any one has ideas about another programs good in Save codes to make my time and efforts less!?
:rtfm:
07/04/2012 04:15 InfamousNoone#2
You should probably RTFM about using a .NET decompiler and the results it gives. :)
07/04/2012 04:23 |xabi|#3
Thanks my dear, i would try it !
07/04/2012 06:13 Zeroxelli#4
99.999999% of the time, you can not recompile code that has been decompiled. It's just a fact of life. A reality. Face it.
07/04/2012 09:29 |xabi|#5
No, i got a great idea that helped me much :D
07/04/2012 09:37 _DreadNought_#6
Are you just dumb or plain retarded? He's just said you CANNOT recompile the source. (easier than explaining thats only 99% of the time)
07/04/2012 10:00 Korvacs#7
Anything you Decompile is just the decompilers interpretation of the assembly/CIL which has been optimised. You will never get the original source code back even with very simple applications.

As it is an interpretation and not a straight conversion the results will differ wildly from the original and as has been stated likely wont compile, as the Decompiler isnt concerned with creating legitimate, working code.

The most you can hope for is extremely screwed up code which you can use as a very rough guide for the flow of information through the application, then build your own application from scratch using that flow of information as a rough template for what you need to write. However this requires that you write basically everything on scratch and join alot of the dots on your own.

My advice for you would be to quit now to be perfectly honest..
07/04/2012 12:31 |xabi|#8
Really i didn't sleep i still working over 12 hours
and i am about to do it
the idea that :-
my friend bought debug source new version and there is public one on sites after reflect the debug source i downloaded the public source and started to replace files by coping and Fixing Errors and it success with me.
yeah i don't deny that still have problem in Console and i am working on it right now
btw i log into game and system of debug source became in open source.
07/04/2012 20:35 Zeroxelli#9
I know who you're talking about. He bought the binary form of a server source (for a lot of money) and then came to me asking me to decompile it. Once I did, he found out that it wasn't recompileable at all, and now regrets buying it.

That's what happens when you do things blindly and don't research it first.
07/05/2012 00:12 I don't have a username#10
Quote:
Originally Posted by Zeroxelli View Post
I know who you're talking about. He bought the binary form of a server source (for a lot of money) and then came to me asking me to decompile it. Once I did, he found out that it wasn't recompileable at all, and now regrets buying it.

That's what happens when you do things blindly and don't research it first.
Fucking laughed my ass off to the ground.

That's like buying a car that can't drive.
07/05/2012 00:20 Zeroxelli#11
Yeah, basically. Buying a source is bad enough.. buying the crappy compiled version of the source, that you can't even fix? priceless
07/05/2012 03:28 |xabi|#12
will you believe me if i tell you that i fix the project and log in and tested all :)?
07/05/2012 03:34 badguy4you#13
no i myself did not believe you and think that you say that only to give yourself a pleasure xD

if you do so release it here :P
07/05/2012 05:16 |xabi|#14
okay Dude, when i complete npcs i will put pic for console and game and project !!.
lol
the idea is perfect here you are:-
source = 1
Source2 = 2
1 is public
2 is private
i have 1 & 2
1 is open project
2 just a debug
reflect 2 and getting files
i didn't fix files 2
just downloaded 1 and being replace files with 2 and fix errors in one way
till get the end and it will work.