Moderator: MacroQuest Developers
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];
donations for this month's patches.
Code: Select all
// Uncomment the next line to turn on crash debugging (spews function call info)
[color=red]#define DBG_CRASHES 1[/color]
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"
Code: Select all
DebugSpewToFile=1
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
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

Code: Select all
-- ìÿm;Óçw@Nðˆúwp8õw@N Entry
HookMemChecker - Patching
-- ÿÿÿÿŒDùwDù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