Reversing Plugin

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Banannaboy
a lesser mummy
a lesser mummy
Posts: 43
Joined: Tue Apr 13, 2004 9:59 pm

Reversing Plugin

Post by Banannaboy » Thu Jul 22, 2004 12:22 am

Is there a way to work backwars with plugins? Take a compiled plugin turn it back into source?

secrettoo
orc pawn
orc pawn
Posts: 29
Joined: Sat Oct 25, 2003 10:56 am

Post by secrettoo » Thu Jul 22, 2004 9:29 am

You cannot RELIABLY reverse engineer compiled C / C++ back to its source language, but you can disassemble it to assembler and translate that, if you can find out where the appropriate functions are, back to C, but you will need to know assembler. If the code is compiled with the Optimize flag, then forget it, it fucks with the addresses and even a debugger such as WinDbg wouldnt be able to work it out. Ie, with optimized code, addresses are one way, you cannot go backwards.

Look into 'Reverse Engineering C' on google and have fun reading about it. There are tools out there to assist you in reverse engineering back to source code, but that source will not be identical to its original, and if its close count yourself lucky. Its more of an aid to help you understand what a program is doing rather than saying 'here is the reverse engineered code and its what the author wrote'.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Thu Jul 22, 2004 4:47 pm

What plugin are ya wanting to reverse engineer? :wink:

missingfiles
a hill giant
a hill giant
Posts: 224
Joined: Wed Jun 09, 2004 1:15 pm

Post by missingfiles » Thu Jul 22, 2004 4:57 pm

Proibly

http://www.playerauctions.com/listings/ ... 1089172161

Q: What is it exactly I'm buying?
A: The compiled warp plugin that allows you to do the functions I described above.

Q: Do I get a copy of the source code?
A: This auction is for the compiled plugin only. Requests for source licensing can be made through the 'Ask the seller a question' feature.

Q: I'm a bit skeptical...do you offer a free demo?
A: Yes. Contact me via the 'Ask the seller a question' feature for a free single character/zone demo plugin.

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Thu Jul 22, 2004 5:09 pm

Asking anything about that plugin on these boards is probably the stupidest thing you could do.

missingfiles
a hill giant
a hill giant
Posts: 224
Joined: Wed Jun 09, 2004 1:15 pm

Post by missingfiles » Thu Jul 22, 2004 5:29 pm

Yup its just my guess he is asking about that plugin but I think im correct.

You should put that in TFM

Section IV Stupidiest things not to ask
1) How do I reverse engineer a warp plugin from player auctions

Arune
a hill giant
a hill giant
Posts: 216
Joined: Sat Jul 03, 2004 1:51 pm

Post by Arune » Thu Jul 22, 2004 5:30 pm

/agree with above two posts.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Thu Jul 22, 2004 7:02 pm

I figured that too, just wanted to hear what his response would be.

missingfiles
a hill giant
a hill giant
Posts: 224
Joined: Wed Jun 09, 2004 1:15 pm

Post by missingfiles » Thu Jul 22, 2004 7:18 pm

I too was hopeing that he would openly post:

"Well I got this free demo on how to warp anywere and I dont want to pay for the full version, so I figured I would post it here and get some help"

Here is my character name
server
and my home address
and CC#

But I got ansy and decited to post :P

secrettoo
orc pawn
orc pawn
Posts: 29
Joined: Sat Oct 25, 2003 10:56 am

Post by secrettoo » Fri Jul 23, 2004 9:22 am

If it is that, then i would suggest you stop thinking about it. You dont need it and there are plenty of features in MQ2 that enhance your gameplay. If you want to gate, buy a gate potion, or automate for the pp to get the potions but dont draw attention to yourself by fucking around with a warp plugin. Read, drawing attention to yourself and putting this project in jeapardy by being a fucking cock.

The plugin on player auctions is a rip of the original and it is designed to get you each patch day for 10 bucks according to what i just read. If you are reading this, and that is you, then you are a piece of shit.

To the original poster - i explained some basics of reverse engineering, but I forgot to add something. If you are asking if it is possible, then you dont have the skills to do it. You need to have good assembler knowledge and experience of decompilers, debuggers and an assembler.

Secret2.