Too lazy to rip the structure of the virtualized methods of this new dotfuscator protection. So I simply change all the internal classes in the dll it uses to public and am using the dll lol.
[img_thumb]http://i52.tinypic.com/2qurz1z.png[/img_thumb]
Sd is the instruction base class.
NJ = ldfield
No = ldc
SB = call
NR = ret
etc
Going to write a decode function and have it go through the instruction array to devirtualize the method :D.
[QUOTE=Catdaemon;25685182]I'm currently porting my game engine to C++. I haven't used C++ for ages so picking up all the quirks is annoying me but I'll get there in the end. That said, templates and overloading make for much nicer code :)
[img_thumb]http://img.meteornet.net/uploads/j1z6syhlw/gaem.png[/img_thumb]
[img_thumb]http://img.meteornet.net/uploads/a44x/wat.png[/img_thumb]
A long way to go :v:[/QUOTE]
Woah man I remember testing that online with you and some other WAYWO posters back in the day. How long ago was that now? Feels like ages.
[QUOTE=Jallen;25687950]Woah man I remember testing that online with you and some other WAYWO posters back in the day. How long ago was that now? Feels like ages.[/QUOTE]
Remember my retarded ass back in the day? :v:
[QUOTE=xAustechx;25688958]Remember my retarded ass back in the day? :v:[/QUOTE]
back in the day? are you implying you aren't one now?
[QUOTE=efeX;25689011]back in the day? are you implying you still aren't one?[/QUOTE]
Not cool, man. :colbert:
[QUOTE=Darwin226;25686876]You might say, but why not inherit from the same base class? It's because you can have as much interfaces as you like, while you can only inherit from one base class.[/QUOTE]
To clarify the only reason you can't do multiple inheritance is due to the programming language you are using: C++ and python supports it fine. However, it can quickly get confusing with method name clashes, etc. and is very rarely necessary. The advantage of interfaces over inheritance is that the interpreter knows exactly where the method definition is: in C# with inheritance it can't be sure whether a method is a member of a class of one of its ancestors, so it has to check.
[QUOTE=Darwin226;25685760]You probably need to check if the line from the bullets last position to the bullets current position is intersecting with anything.[/QUOTE]
I did that, thanks it worked. :)
[QUOTE=high;25687463]Too lazy to rip the structure of the virtualized methods of this new dotfuscator protection. So I simply change all the internal classes in the dll it uses to public and am using the dll lol.
[img_thumb]http://i52.tinypic.com/2qurz1z.png[/img_thumb]
Sd is the instruction base class.
NJ = ldfield
No = ldc
SB = call
NR = ret
etc
Going to write a decode function and have it go through the instruction array to devirtualize the method :D.[/QUOTE]
Progress :D [url]http://pastebin.com/1vxRVMUi[/url] (Nops are instructions I haven't mapped)
high I never even know what the fuck you are doing. All sorts of memory address and assembler stuff. What is this I don't even?
:v: (rated artistic because I'm not 100% sure what's happening)
edit:
Not that this is a bad thing, it means it's complex etc.
I made the threads in the list of my Thread Watcher take you to their respective link when you double click them.
I'm having one of those "what the hell?!?!" moments. Trying to get into xna, gave visual c# 2010 express installed. Tried installing xna 3.0 and it says it needs visual c# 2008 express instead. Is this for real? o.O
yep you need vsC#2008 or XNA4.0
[QUOTE=Richy19;25690183]yep you need vsC#2008 or XNA4.0[/QUOTE]
Any disavantage to 4.0? I really don't wanna have to use 2010 for c++ and 2008 for c# :S
[QUOTE=high;25689956]Progress :D [url]http://pastebin.com/1vxRVMUi[/url] (Nops are instructions I haven't mapped)[/QUOTE]
High6 has all the time in the world to program after he broke his leg. :v:
[QUOTE=grlira;25690321]Any disavantage to 4.0? I really don't wanna have to use 2010 for c++ and 2008 for c# :S[/QUOTE]
why not use VS2008 for all :v:
[QUOTE=grlira;25690321]Any disavantage to 4.0? I really don't wanna have to use 2010 for c++ and 2008 for c# :S[/QUOTE]
Just use XNA 4.0
[url]http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9ac86eca-206f-4274-97f2-ef6c8b1f478f[/url]
[QUOTE=geel9;25689028]Not cool, man. :colbert:[/QUOTE]
That's a nice array of ratings you have there.
Vs2010 just confused me and fucked over all my projects so I went back to 2008.
I guess it's a habit-thing.
[QUOTE=Richy19;25690846]why not use VS2008 for all :v:[/QUOTE]
Uh, what? Why not use VS2010 for all and use a recent version of XNA?
[QUOTE=geel9;25691280][img_thumb]http://gyazo.com/37ad5a22ebd180823b0a0cd987ca2186.png[/img_thumb]
What.[/QUOTE]
Quick, let's do it again! :v:
[QUOTE=Jallen;25690114]high I never even know what the fuck you are doing. All sorts of memory address and assembler stuff. What is this I don't even?
:v: (rated artistic because I'm not 100% sure what's happening)
edit:
Not that this is a bad thing, it means it's complex etc.[/QUOTE]
well a screenshot showing a bunch of memory addresses isn't supposed to make sense anyways :v:
[QUOTE=Jallen;25690114]high I never even know what the fuck you are doing. All sorts of memory address and assembler stuff. What is this I don't even?
:v: (rated artistic because I'm not 100% sure what's happening)
edit:
Not that this is a bad thing, it means it's complex etc.[/QUOTE]
Its the CIL of a virtualized function(dotfuscator has a VM and its own bytecode).
Meh, went with XNA 4.0. While it was installing, tried out winforms. I cannot believe how ridiculously easy it is to setup basic things with it, in comparison with java's swing / awt.
[QUOTE=neos300;25687254]Whenever I call hue::writer << somestring; it says that there is no match for operator<<(string whatever&)
Yet when I run the demo it compiles fine.
C++ is such a hypocrite.[/QUOTE]
Mind showing a pastebin where you are getting this problem?
xAustechx, you should add some fancy ass graphics. :D
[QUOTE=andersonmat;25693010]xAustechx, you should add some fancy ass graphics. :D[/QUOTE]
fancy ass graphics?
[img]http://www.computerweekly.com/blogs/stuart_king/donkey.jpg[/img]
xAustechx you should add spiders and skeletons, and exploding monsters that sound like snakes when they are about to explode.
[QUOTE=NorthernGate;25696520]xAustechx you should add spiders and skeletons, and exploding monsters that sound like snakes when they are about to explode.[/QUOTE]
Don't forget zo-
Right..
Sorry, you need to Log In to post a reply to this thread.