MQ2 CTD: /click confirmed buggy

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

MQ2 CTD: /click confirmed buggy

Post by Teh_ish » Mon Nov 17, 2003 8:48 pm

I'm running the "Another TS macro w/ Ini support" macro. Everything works, I've traced back the problem.. The moment I "/target clear" I get an "Everquest has crashed, submit info?" dialog.
Debug Spew wrote:PMP - Current variable - 'Param0'

FailIf - Skipping to end of {}

FailIf - Starting macroblock: /if "@Param0"~~# {

FailIf - Skipping(1): /finditem similar "$right($calc($strlen("@Param0")-1),"@Param0")"

FailIf - End at: } else {

FailIf - Else seen, running '{'

PMP - Current variable - 'Param0'

FindItem - Looking inside pack 0: 'Hand Made Backpack'

FindItem - Looking inside pack 1: 'Hand Made Backpack'

FindItem - Found 'Field Point Arrowheads' in primary inventory slot 3

ClientRect: 1280,1024

Mouse moved using mouseloc: inv 3

MQ2EQBugFix Module Unloaded

MQ2FPS Module Unloaded

MQ2ChatWnd Module Unloaded

MQ2ItemDisplay Module Unloaded

MQ2Map Module Unloaded

MQ2Labels Module Unloaded
OMGWTFBBQ

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Tue Nov 18, 2003 12:40 am

Worked with DKAA for a while trying to track this down, and he couldn't find anything. It consistently crashes me, and Wassup mentioned he was having troubles with /click as well.

For the record, the command being used is "/click left inv 3"
OMGWTFBBQ

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 » Tue Nov 18, 2003 1:30 am

Teh_ish wrote:Worked with DKAA for a while trying to track this down, and he couldn't find anything. It consistently crashes me, and Wassup mentioned he was having troubles with /click as well.

For the record, the command being used is "/click left inv 3"
One CTD I got was /click left merchant done

Maybe its /click left?

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 » Tue Nov 18, 2003 3:34 am

Microsoft sucks.

This is VS.NET 2003:

Code: Select all

    xor ebx, ebx

Code: Select all

; 992  : 	GetPrivateProfileString("VideoMode","Width","800",ScreenX,MAX_STRING,EQClient); 

  0153e	8b 35 00 00 00
	00		 mov	 esi, DWORD PTR __imp__GetPrivateProfileStringA@24
  01544	83 c4 1c	 add	 esp, 28			; 0000001cH
  01547	8d 94 24 40 60
	00 00		 lea	 edx, DWORD PTR _EQClient$[esp+43088]
  0154e	52		 push	 edx
  0154f	68 00 08 00 00	 push	 2048			; 00000800H
  01554	53		 push	 [color=red]ebx[/color]
  01555	68 00 00 00 00	 push	 OFFSET FLAT:??_C@_03BAAJCDMO@800?$AA@
  0155a	68 00 00 00 00	 push	 OFFSET FLAT:??_C@_05IBAMDCFI@Width?$AA@
  0155f	68 00 00 00 00	 push	 OFFSET FLAT:??_C@_09LIEAKBEG@VideoMode?$AA@
  01564	ff d6		 call	 esi

; 993  : 	GetPrivateProfileString("VideoMode","Height","600",ScreenY,MAX_STRING,EQClient); 

  01566	8d 84 24 40 60
	00 00		 lea	 eax, DWORD PTR _EQClient$[esp+43088]
  0156d	50		 push	 eax
  0156e	68 00 08 00 00	 push	 2048			; 00000800H
  01573	53		 push	 [color=red]ebx[/color]
  01574	68 00 00 00 00	 push	 OFFSET FLAT:??_C@_03PANGFEPN@600?$AA@
  01579	68 00 00 00 00	 push	 OFFSET FLAT:??_C@_06HCAKHJJK@Height?$AA@
  0157e	68 00 00 00 00	 push	 OFFSET FLAT:??_C@_09LIEAKBEG@VideoMode?$AA@
  01583	ff d6		 call	 esi

; 994  : 
; 995  : 	//need to change ScreenX and ScreenY to fit UI ini format, for example XPos800x600 
; 996  : 	sprintf(temp, "%sx%s", ScreenX, ScreenY); 

  01585	53		 push	 [color=red]ebx[/color]
  01586	53		 push	 [color=red]ebx[/color]
  01587	8d 8c 24 48 20
	00 00		 lea	 ecx, DWORD PTR _temp$[esp+43096]
  0158e	68 00 00 00 00	 push	 OFFSET FLAT:??_C@_05DDDBHGIL@?$CFsx?$CFs?$AA@
  01593	51		 push	 ecx
  01594	e8 00 00 00 00	 call	 _sprintf


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 » Tue Nov 18, 2003 5:41 am

Fixed in CVS for both VS6 and VS.NET for MQ2.

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

Post by EqMule » Tue Nov 18, 2003 10:39 am

i still see this when issuing a /click left npctrade give anyone care to confirm or deny this?
edit: ScreenX and ScreenY variables conflict upon compiletime with a globaly defined ScreenX which is a dword, not a string, thus when we try to

Code: Select all

sprintf(temp, "%sx%s",ScreenX,ScreenY);
we will ctd...

fix (by changing to ScrX and ScrY) is on its way to cvs, I just need a second oppinion from one of the other devs first, but this is my theory...
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.

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

Post by EqMule » Tue Nov 18, 2003 5:59 pm

this is fixed now and in zip and cvs along with a few minor tweaks as well, see changes.txt in your release folder.
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.

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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:40 am


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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:41 am


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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:42 am


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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:43 am


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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:44 am


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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:45 am


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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:47 am


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

Re: MQ2 CTD: /click confirmed buggy

Post by xyilla » Mon Oct 20, 2025 10:48 am