MQ2 bug: detour failed

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

MQ2 bug: detour failed

Post by dont_know_at_all » Sun Nov 16, 2003 5:33 am

I have the telnet plugin ready... but I can't get it to run:

VS6 eqw 2.35a

I have verified that the trampolines are in different places :-P

[1696] [MQ2]Expected Client version: Wed Nov 05 03:11:xx 2003
[1696] [MQ2] Real Client version: Wed Nov 05 03:11:19 2003
[1696]
[1696] [MQ2]InitializeParser()
[1696] [MQ2]HookMemChecker - Patching
[1696] [MQ2]AddDetour(0x4B3A97,0x0,0x0)
[1696] [MQ2]Detour success.
[1696] [MQ2]AddDetour(0x4BA356,0x0,0x0)
[1696] [MQ2]Detour success.
[1696] [MQ2]AddDetour(0x4B863C,0x0,0x0)
[1696] [MQ2]Detour success.
[1696] [MQ2]Initializing Clean UI
[1696] [MQ2]AddDetour(0x40FC97,0xE11450,0xE37A20)
[1696] [MQ2]Detour success.
[1696] [MQ2]Initializing chat hook
[1696] [MQ2]AddDetour(0x49544B,0xE112F0,0xE37A20)
[1696] [MQ2]Detour failed.
[1696] [MQ2]Initializing Pulse
[1696] [MQ2]AddDetour(0x4A340E,0xE37A10,0xE37A20)
[1696] [MQ2]Detour failed.
[1696] [MQ2]AddDetour(0x49621D,0xE37A90,0xE37A20)
[1696] [MQ2]Detour failed.
[1696] [MQ2]AddDetour(0x490E9D,0xE37AB0,0xE37A20)
[1696] [MQ2]Detour failed.
[1696] [MQ2]Initializing Commands
[1696] [MQ2]AddDetour(0x49FFA6,0xE128C0,0xE37A20)
[1696] [MQ2]Detour failed.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Nov 16, 2003 6:11 am

Feh, I'm lost without a makefile. Clean build -- don't touch the project settings for mq2main and choose retail and it works

mq2telnet is in as a project but you have to add it to your workspace or open the project separately. I will clean this up later.

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 » Sun Nov 16, 2003 8:41 am

hint:
copy MQ2Template directory
rename files to your plugin's name
open each file in notepad
replace all instances of Template with your plugin's name

Would save me some trouble ;) I'll have a guide for making plugins soon
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Nov 17, 2003 12:34 am

sorry if that as unclear -- the mq2telnet plugin works.

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 » Mon Nov 17, 2003 1:46 am

No I know it works, I'm just saying you should have done it that way. I'm making a "mkplugin" program to set up plugins from the template to make it easier :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Nov 17, 2003 2:07 am

Haha, just following your example.

I stole the mq2chat plugin and added incoming and pulse.

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 » Mon Nov 17, 2003 2:17 am

Well, project settings need to be inherited :) I modified it in cvs/zip so it's all good. mkplugin will automate it
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Nov 17, 2003 2:40 am

After the detour failures and the late (early) hour, I didn't want to put the project into the workspace without more testing. Plus, my machine with VS.NET was down.

But that's what's so qool about the plugins: I can add my code without forcing everyone to use it.

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: MQ2 bug: detour failed

Post by xyilla » Fri Oct 17, 2025 11:53 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: MQ2 bug: detour failed

Post by xyilla » Fri Oct 17, 2025 11:54 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: MQ2 bug: detour failed

Post by xyilla » Fri Oct 17, 2025 11:55 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: MQ2 bug: detour failed

Post by xyilla » Fri Oct 17, 2025 11:56 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: MQ2 bug: detour failed

Post by xyilla » Fri Oct 17, 2025 11:57 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: MQ2 bug: detour failed

Post by xyilla » Fri Oct 17, 2025 11:58 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: MQ2 bug: detour failed

Post by xyilla » Fri Oct 17, 2025 11:59 pm