Importing .map info to IDA

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Thu Sep 25, 2003 11:44 pm

Wtbuy a simple (for coders) howto on your procedur for doing that Lax ...primarily need to know the software choices you use and just one practical example to go through ;)

Jaerin
Developer
Developer
Posts: 133
Joined: Mon Mar 10, 2003 7:37 pm
Contact:

Post by Jaerin » Fri Sep 26, 2003 11:00 am

Hey Lax. You're missing ConvertCSV.h in your code listing. Just goes to show how many people actually tried this...:P

Jaerin

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Fri Sep 26, 2003 11:55 am

I would have gotten to that question eventually I'm sure ..hehe ...baby steps ;)

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Sep 26, 2003 12:09 pm

The .h is empty anyway, I'll edit it out of the post.

Making progress on the program to map new exe's also. Just need to fill in some holes.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Wed Oct 01, 2003 2:41 pm

This is me :twisted:
This is you pretty soon :shock:

This one's licked. :P
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Pragma
a ghoul
a ghoul
Posts: 91
Joined: Sat May 03, 2003 1:45 am

Post by Pragma » Wed Oct 01, 2003 3:43 pm

program hangs for me at "CHotButtonWnd__Draw" after the first L in stdcall. I had to change the AppendString line to Out+=(c); but that should not be causing this problem. Im in vc6

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Wed Oct 01, 2003 4:03 pm

CString dealing with appending chars changed between 6.0 and .NET. Where in 6.0 you can do CString+=char and it will append the char, it is considered ambiguous in .NET, requiring AppendChar instead.

Either way, I've got hidden aces and will probably have something to show in a day or two. I think I'll flop another ace and end up catching another on the river. Don't worry about it if you can't get the solution already posted to work ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Jaerin
Developer
Developer
Posts: 133
Joined: Mon Mar 10, 2003 7:37 pm
Contact:

Post by Jaerin » Wed Oct 01, 2003 5:05 pm

Someone plays too much poker. I fold...

Jaerin

Pragma
a ghoul
a ghoul
Posts: 91
Joined: Sat May 03, 2003 1:45 am

Post by Pragma » Thu Oct 02, 2003 10:54 am

would it be possible to simply get a copy of the script file. Id rather not go get vc.net simply for this one program, though i do like it :)

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Oct 02, 2003 8:05 pm

Ok, I'm at a point where a majority of the functions and offsets are mapped correctly in the new files. A few here and there will be wrong but shouldn't be many at all. If anyone comes across some of those, let me know and I'll refine the algorithm. I'll probably send the output to EQMule tomorrow.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Thu Oct 02, 2003 8:47 pm

You do plan on showing us the walkthrough on how to do this for ourselves in the future? Or, do you think it's going to be so obvious as to be unecessary?

I have an idea of what you're doing, but not EXACTLY positive as yet ;) But, if it's what I think, it's very very exciting.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Oct 02, 2003 10:41 pm

Well, it won't be so obvious and I don't know how soon I'd release the source but I'll probably just upload a new text file of offset updates for new eqgame patches if nobody trusts the program's .exe (not that disassembling should be a problem around here 8) ). Time will tell.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Pragma
a ghoul
a ghoul
Posts: 91
Joined: Sat May 03, 2003 1:45 am

Post by Pragma » Fri Oct 03, 2003 10:00 am

whatever it is would be great. keep us posted.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Oct 03, 2003 6:31 pm

Producing an .IDC file which renames all successfully matched offsets for the 9-9-2003 eqgame.exe. As mentioned, some here and there are incorrect but I'm pretty sure 99.8% are accurate. The usage of the .IDC file will simply involve downloading it, opening the newest eqgame.exe in IDA, and running the .IDC file. No extra files needed, no downloading the spreadsheet or compiling the program shown earlier ;)

I'll post a URL on a new thread once I get it hosted.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Fri Oct 03, 2003 8:26 pm

/tap

:)

Lax... should I expect a mail? I want to start looking at what you have but so far it looks great :shock:
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.