Game Crashes

kegasi

New member
Joined
Dec 9, 2013
Messages
12
Reaction score
0
Points
0
My Everquest has started crashing on a regular basis now. I have renamed the UIFiles directory and ran the EqPatcher and it generated all of the files again.


I have narrowed it down that the crashes only happen when MMOBugs Macroquest is loaded.

I have removed the Plugins to a minimal state and the is still keeps crashing.
I believe that it is crashing anytime I get stunned


Here is one part of the log file with the Last entry before the crash and
the Next entry after I have restarted.

I have replaced my characters name with XXXXX.
I have also replaced the servername with SERVER
In the Macroquest.ini file I have set EnableActivePlugins=0



1. What is the [DETOUR] section
2. How do I get this information to the Devteam/Support?


XXXXX - [2018/11/15 12:20:25] [DETOUR] EQCharacter->StunMe detoured!
XXXXX - [2018/11/15 12:24:15] MQ2SpawnMaster::Now watching for "SERVER"


XXXXX - [2018/11/15 12:24:32] [DETOUR] EQCharacter->StunMe detoured!
XXXXX - [2018/11/15 12:27:05] MQ2SpawnMaster::Now watching for "SERVER"

XXXXX - [2018/11/15 12:27:16] [DETOUR] EQCharacter->StunMe detoured!
XXXXX - [2018/11/15 12:31:5] MQ2SpawnMaster::Now watching for "SERVER"


XXXXX - [2018/11/15 12:27:16] [DETOUR] EQCharacter->StunMe detoured!
XXXXX - [2018/11/15 12:49:34] MQ2SpawnMaster::Now watching for "SERVER"

XXXXX - [2018/11/15 12:50:08] [DETOUR] EQCharacter->StunMe detoured!


------------------------------------------------------

Here are the plugins that are still loaded

Active Plugins
--------------------------
mq2bot
mq2melee
mq2moveutils
mq2cast
mq2wintitle
mq2targets
mq2spawnmaster
mq2rez
mq2portalsetter
mq2pop
mq2pluginman
mq2nostun
mq2nogold
mq2nav
mq2mmomakegroups
mq2mmofastmem
mq2mercmanager
mq2medley
mq2map
mq2log
mq2itemdisplay
mq2hud
mq2gmcheck
mq2gemtimer
mq2feedme
mq2eqbc
mq2chatwnd
mq2bardswap
mq2autoskills
mq2autologin
mq2autogroup
mq2autoforage
mq2autoaccepttrades
mq2advloot
mq2mmobugs
mq2ic
36 Plugins displayed.
 
Last edited:
I have removed the Plugins to a minimal state and the is still keeps crashing.
I believe that it is crashing anytime I get stunned


That list of plugins is redonkulous. I do hope that isn't what you consider a Minimal state for plugin removal.


Plugins from the list required to run macroquest are found below :)

mq2chatwnd
mq2mmobugs
mq2ic

Detour's are part of core typically.





When you say only when using MMOBugs, do you mean you've used other compiles and those are working correctly without crashing?


I don't have latest sources, I'm copying from test version I'm currently using.
Code:
#ifdef EQ_Character__StunMe_x
FUNCTION_AT_ADDRESS(void  EQ_Character1::StunMe(unsigned int,bool,bool,bool),EQ_Character__StunMe);
#endif
Which requires an offset.
Code:
#define FUNCTION_AT_ADDRESS(function,offset)  __declspec(naked) function\
{\
    __asm{mov eax, offset};\
    __asm{jmp eax};\
}

Meaning it's something that MQ2Core gets an offset for and detours the function to route it through MQ2 so that it can be seen/handled via MQ2.

This would imply there is an issue with the offset if that is in fact what is causing the crash. The offset is incorrect or the struct that accompanies it is incorrect. Which would cause a crash.

Could be /*0x29a8*/ BYTE Stunned;//CharBaseBegin+104

But then again, a search of the entire core source for the text [DETOUR] comes up with no results.


But in order to narrow it down, you would need to unload all of the plugins you currently have loaded that aren't required for MQ2 to run. Then load them one at a time to getting stunned between each load of a plugin and figure out which one causes it.


Are you using the MQ2 docrack stuff? Is NoStun still a thing?
Seems like that might cause something like this to happen because it would be handling an offset to detour the internal function of getting stunned I'd think.


Hope you find a resolution.
 
Last edited:
Its not nostun i dont have that loaded and its happening to me randomly
 
people across the server have been getting disconnected i doubt its an MQ thing