CTD With Latest November 02 2003 17:50:50

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

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 03, 2003 5:20 pm

Their crash comes directly before the Macroquest loaded chat is displayed. This must have to do with the filter thing that caused problems in superwho.

http://macroquest2.com/phpBB2/viewtopic ... ght=#25397

Someone comment out the code as shown by MacroFiend and see if that solves your problem.

I imagine it might be a race condition with the filter list...
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Post by Pheph » Mon Nov 03, 2003 5:24 pm

I'll try it once I get back from the store.
Need my fix of solid food...

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Post by Pheph » Mon Nov 03, 2003 5:49 pm

Commented out the block of code in EQLib_UI.cpp, but I still crash at the same place, with the same output in the log.

distler
orc pawn
orc pawn
Posts: 29
Joined: Mon Nov 03, 2003 10:04 am

Post by distler » Mon Nov 03, 2003 6:22 pm

I made these changes to EQlib_UI.cpp

Code: Select all

void CChatWindow__AddOutputText(PEQCHATWINDOW pWnd, const char *Text, int RGBA=0)
{
   if (!pWnd || !Text) return;

//	PFILTER Filter = gpFilters; 

//	while (Filter) { 
//		if (!Filter->pEnabled || (*Filter->pEnabled)) { 
//			if (!strnicmp(Text,Filter->FilterText,Filter->Length)) return;
//		} 
//		Filter = Filter->pNext; 
//	} 

   char out[MAX_STRING];
Still CTD with same output as earlier in the spewlog file.

Is there someone who has got a highdebug version of eqlib that I can try to compile with?

distler
orc pawn
orc pawn
Posts: 29
Joined: Mon Nov 03, 2003 10:04 am

Post by distler » Mon Nov 03, 2003 6:26 pm

Lax,
Are you using the exact code that is in the IRC-Latest and got that working?.
What compiler and version do you use?
Is there some special settings needed in the compiler that we have missed?

To me it seems like this is only happening to a few people trying out the latest version or the majority is silentnly sitting by and watching our progress 8)

wtb more ideas on what to change / do to get this kicking again.

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

Post by EqMule » Mon Nov 03, 2003 6:29 pm

im reading every post, but I dont have anything to say about this, my mq is as stable as ever, I dont use any filters though and last time i looked my telnet was ouputting garbage, but im just biding my time, no ctds though... im using the latest.zip since im usually the one that uploads it... I compile in vc6 and I never use the makefile.
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.

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 03, 2003 6:31 pm

I use the latest dev cvs, no special settings, i dont use filters, etc. I'll update zip soon and give you some instructions to try to narrow it down.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

distler
orc pawn
orc pawn
Posts: 29
Joined: Mon Nov 03, 2003 10:04 am

Post by distler » Mon Nov 03, 2003 6:36 pm

Thanks guys I'm *bouncing* with excitement :) Oh damn char is squeeking, afk oiling chair while you guys do your magic.

Btw. thing just hit me, could it be that it has something to do with rights in windows xp. like admin and user rights?. Going to try that out some, after my chair is oiled :lol:

Hmm second thought, is there some settings that should be in the .ini file to get it kicking that we have overlooked. Such as who filter and so on?
Last edited by distler on Mon Nov 03, 2003 6:38 pm, edited 1 time in total.

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 03, 2003 6:37 pm

Let's all debug:

1. Build eqlib.dll using nmake in the eqlib directory.
2. Make sure that eqlib.pdb is created and has the same date as eqlib.dll
3. Download windbg (http://www.microsoft.com/whdc/ddk/debug ... fault.mspx) and install it
4. Make sure that eqlib.dll and eqlib.pdb are in the same directory as where you start MQ.
5. Start MQ, EQ, and windbg. (eqw will work too)
6. On windbg, press F6 and choose eqgame.exe. Once it has broken in, press F5 to continue.
7. In EQ, take the steps that normally crash.
8. When the debugger breaks in, goto to the command window of windbg
9. Enter the command 'r' for registers.
10. Enter the command 'kv' for stack backtrace.
11. Post the output from those commands to this thread.

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 03, 2003 6:37 pm

No, not likely. Several people had this happen at the same time that had it working previously.
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 » Mon Nov 03, 2003 6:51 pm

Here's something quick to help track it down if you dont want to download etc

Grab newest zip (I just updated now)

EQLib.h, uncomment the red line

Code: Select all

// Uncomment the next line to turn on crash debugging (spews function call info)
[color=red]#define DBG_CRASHES 1[/color]
EQLib_Utilities.Cpp same drill

Code: Select all

// Exclude rarely-used stuff from Windows headers
#define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT 0x510
#define DIRECTINPUT_VERSION 0x800

#if !defined(CINTERFACE)
#error /DCINTERFACE
#endif

[color=red]#define DBG_SPEW[/color]

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "dinput.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <winsock.h>
#include "MQ.h"
#include "EQLib.h"
#include "resource.h"
Turn on debugspew in Macroquest.h

Code: Select all

DebugSpewToFile=1
Load MQ and go play, look at Logs\DebugSpew.log on crash. The last few lines (at least) copy and paste here.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Post by Pheph » Mon Nov 03, 2003 7:07 pm

Code: Select all

0:004> r
eax=00000063 ebx=01960663 ecx=01b5def0 edx=01b60000 esi=00000000 edi=019314e3
eip=018e990e esp=01b5dc70 ebp=01b5dc70 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
EQLib!_output+0x751:
018e990e 8802             mov     [edx],al                ds:0023:01b60000=4d
0:004> kv
ChildEBP RetAddr  Args to Child              
01b5dc70 018e9398 00000063 01b5def0 01b5dec4 EQLib!_output+0x751
01b5ded8 018e66ce 01b5def0 019314e3 01b5df20 EQLib!_output+0x1db
01b5df10 018e5bb3 01b5fffe 019314e0 00000000 EQLib!sprintf+0x2e
01b5df50 018e632d 01b5f7b4 01b5df6c 000007f3 EQLib!MQToSTML+0x5ba (CONV: cdecl) [EQLib_Utilities.cpp @ 1257]
01b5e76c 2f3c3e63 2f3c3e63 2f3c3e63 2f3c3e63 EQLib!Chat+0x7e (CONV: cdecl) [EQLib_Ui.cpp @ 243]
WARNING: Frame IP not in any known module. Following frames may be wrong.
2f3c3e63 00000000 00000000 00000000 00000000 0x2f3c3e63
However, just before it the debugger broke in, this is what it output:

Code: Select all

[MacroQuest]CChatHook::Detour(Welcome to EverQuest!)
[MacroQuest]CChatHook::Detour(You have entered Plane of Tranquility.)
[MacroQuest]CChatHook::Detour(MESSAGE OF THE DAY: Greetings Norrath! In order to assist us with providing you better customer service, please ensure your email address is current. To update your information, go to www.station.sony.com and sign in by clicking on the "My Account" link.)
[MacroQuest]Mouse and Keyboard have same GetDeviceData
[MacroQuest]Mouse and Keyboard have same GetDeviceState
[MacroQuest]Mouse and Keyboard have same Acquire
[MacroQuest]HookDInput - Patching
[MacroQuest]HookCommands - Patching
[MacroQuest]HookMapfile - Patching
[MacroQuest]HookDisplay - Patching
[MacroQuest]HookGameEvents - Patching
[MacroQuest]HookItemDisplay - Patching
[MacroQuest]TakeControlOfCommandList - Adding our commands
(3fc.3c0): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000063 ebx=01960663 ecx=01b5def0 edx=01b60000 esi=00000000 edi=019314e3
eip=018e990e esp=01b5dc70 ebp=01b5dc70 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
*** WARNING: Unable to verify checksum for C:\_Source\mq-2003-11-02-175050\Release\EQLib.dll
EQLib!_output+0x751:
018e990e 8802             mov     [edx],al                ds:0023:01b60000=4d
Dunno if that'll tell you devs anything or not, but I added it anyways.

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 03, 2003 7:12 pm

Pheph, what is the date on your IRC-latest.zip?

distler
orc pawn
orc pawn
Posts: 29
Joined: Mon Nov 03, 2003 10:04 am

Post by distler » Mon Nov 03, 2003 7:13 pm

I did what Lax posted and uhh.. got garabge :)

Code: Select all

-- ìÿm;Óçw@Nðˆúwp8õw@N Entry
HookMemChecker - Patching
-- ÿÿÿÿŒDùwDùw Entry
HookChat - Patching
-- P Exit
-- ˆóZ Entry
CChatHook::Detour(Welcome to EverQuest!)
-- ˆóZ Exit
-- ˆóZ Entry
CChatHook::Detour(If you need help, click on the question mark ("?") on the Window Selector toolbar at the top of your screen.)
-- ˆóZ Exit
-- ˆóZ Entry
CChatHook::Detour(You have entered Shadow Haven.)
-- ˆóZ Exit
-- ˆóZ Entry
CChatHook::Detour(MESSAGE OF THE DAY: Greetings Norrath! In order to assist us with providing you better customer service, please ensure your e-mail address is current. To update your information, please visit www.station.sony.com and sign in by clicking the "My Account" link.)
-- ˆóZ Exit
-- Â Entry
Mouse and Keyboard have same GetDeviceData
Mouse and Keyboard have same GetDeviceState
Mouse and Keyboard have same Acquire
HookDInput - Patching
-- P Exit
-- P Entry
HookCommands - Patching
-- P Exit
-- P Entry
HookMapfile - Patching
-- P Exit
-- P Entry
HookDisplay - Patching
-- P Exit
-- P Entry
HookGameEvents - Patching
-- P Exit
-- P Entry
HookItemDisplay - Patching
-- P Exit
TakeControlOfCommandList - Adding our commands
-- ìÿm;Óçw@Nðˆúwp8õw@N Exit
-- (null) Entry
-- ìÿm;Óçw@Nðˆúwp8õw@N Entry
-- (null) Entry
-- ìÿm;Óçw@Nðˆúwp8õw@N Entry
-- ìÿm;Óçw@Nðˆúwp8õw@N Entry
-- ìÿm;Óçw@Nðˆúwp8õw@N Exit
-- ìÿm;Óçw@Nðˆúwp8õw@N Exit
This for sure doesnt make any sense to me.

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 03, 2003 7:16 pm

Woops!
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0