A forum for reporting bugs NOT related to custom plugins.
Moderator: MacroQuest Developers
-
Falco72
- a hill giant

- Posts: 215
- Joined: Fri Sep 26, 2003 3:24 am
Post
by Falco72 » Mon Mar 15, 2004 2:53 pm
Last build in a new directory, compiled with VC6++ enterprise ed. SP5, no errors on compiling. Cashed as soon as I click return after the command:
Debugger infos are:
Code: Select all
MQ2]CCommandHook::Detour(/itemn range leftmouseup)
First-chance exception in eqgame.exe: 0xC0000005: Access Violation.
The program 'C:\Programmi\EverQuest\eqgame.exe' has exited with code 0 (0x0).
When I can re-enter in the eq I found on cursor the item that was on range slot when I execed the command.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Mon Mar 15, 2004 2:55 pm
If you could get the crash address or source line from the debugger that would be great.
-
Falco72
- a hill giant

- Posts: 215
- Joined: Fri Sep 26, 2003 3:24 am
Post
by Falco72 » Mon Mar 15, 2004 3:14 pm
These are the infos I got with WinDbg:
registers (r):
Code: Select all
eax=00000000 ebx=00000066 ecx=00e7d456 edx=27bc7ef0 esi=1c73c220 edi=01056c60
eip=1c73c220 esp=00129fd4 ebp=00000000 iopl=0 nv up ei pl nz ac pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010212
1c73c220 0300 add eax,[eax] ds:0023:00000000=????????
Stack (kv):
Code: Select all
ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
00000000 00000000 00000000 00000000 00000000 0x1c73c220
I hope this be usefull, else please let me know what I can do to help. Thank you.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Mon Mar 15, 2004 3:23 pm
Hmmmm doesnt help unfortunately. I'll have to try to replicate the problem.
-
Chummer
- orc pawn

- Posts: 24
- Joined: Fri Mar 12, 2004 1:58 am
Post
by Chummer » Thu Mar 18, 2004 7:41 pm
/itemn still seems to be causing CTD.
The command I used in game as I was simply testing out in game to see how it worked was the following:
There was no messages at all just pops you right to the desktop. Is this something that can be looked into? I would like to use this command in my next macro as it is perfect for what i need.
Thanks,
Chummer
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Thu Mar 18, 2004 7:50 pm
You guys are on crack, its working fine for me.
I'll update the zip.
-
Chummer
- orc pawn

- Posts: 24
- Joined: Fri Mar 12, 2004 1:58 am
Post
by Chummer » Fri Mar 19, 2004 12:57 am
I cant seem to get this command to do anything without a CTD. Every time no matter what slotname or packslot I put in for this command or notification, i get dumped. I even typed in the command exactly as given in the manual and still the same problem. Unfortunatly I am not getting any error messages at all that may help debug this issue.
Lax, you have tried the line that I quoted above and had no issues? Could this perhaps be a hardware configuration issue which would cause me to crash and not you? I still would like to use this command but I cannot get it to work for me at all.
In my own investigation, I was looking in the MQ2CommandAPI.cpp sourcecode and noticed that in the InitializeMQ2Commands() function, /itemnotify is not one of the commands that is listed. Im not sure if that is related or not, but I thought it could be worth mentioning.
Thanks,
Chummer
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Fri Mar 19, 2004 1:14 am
Not worth mentioning, for some reason when I wrote it i used the AddCommand method instead of placing it in the list
I tried that line, I tried in bags, etc. Worked fine for me so I'm kind of stumped here. Next question is, what version are you compiling with?
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Fri Mar 19, 2004 5:24 am
From the map file:
int CXWnd::HandleLButtonUp(class CXPoint,unsigned __int32);
How we have it:
int CXWnd::HandleLButtonUp(class CXPoint *);
D'oh. It calls further down iff the __int32 param is 0x10000. We probably want 0 since that what was tested by using the junk on the stack.
-
FreQuency
- a hill giant

- Posts: 215
- Joined: Tue Sep 23, 2003 6:03 pm
Post
by FreQuency » Fri Mar 19, 2004 8:20 am
See lax told you i'm not crazy and it w asa CTD

it not jsut me
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Fri Mar 19, 2004 1:51 pm
Hmmm I swear I based it on what I saw in the asm
I'll work it out
-
Chummer
- orc pawn

- Posts: 24
- Joined: Fri Mar 12, 2004 1:58 am
Post
by Chummer » Sat Mar 20, 2004 6:22 pm
Yay, so im not crazy! I hope this can get figured out soon, im eager to write my next macro!
Chummer
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Sat Mar 20, 2004 7:34 pm
nm....