Page 1 of 1

Bug squashed - Game Crash looking at "Time Traveler's

Posted: Sun Jan 14, 2007 10:19 am
by three-p-o
My "Time Traveler's Abandoned Notebook" is in my Primary slot.
Every time I inspect the item with MQ2 running I crash from the game.

Crashed at line 1869 in mq2utilities.cpp

Code: Select all

           sprintf(szTemp, "%d, %d, %d in %s facing %s", pSpell->Base[1], pSpell->Base[2], pSpell->Base[3], GetFullZone(GetZoneID(pSpell->Extra)), szHeading[pSpell->Base[4]]); 
Exception Error

Code: Select all

[MQ2]Adding WndNotification target 'ItemDisplayWindow'
First-chance exception at 0x030592f7 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x45aa49da.
It wont let me post the stack trace so here it is.
http://users.net1plus.com/bonkote/Crash.txt

Posted: Sun Jan 14, 2007 11:40 am
by SwiftyMUSE
Well... you need to unload the mq2itemdisplay plugin.


On a more serious note,

Change:

Code: Select all

      case 104: //zone translocate spells 
         strcat(szBuff, "Translocate to "); 
         [color=red]if (pSpell->Extra){ [/color]
           sprintf(szTemp, "%d, %d, %d in %s facing %s", pSpell->Base[1], pSpell->Base[2], pSpell->Base[3], GetFullZone(GetZoneID(pSpell->Extra)), szHeading[pSpell->Base[4]]); 
         } else { 
           strcat(szTemp, "Bind Point"); 
         } 
         strcat(szBuff, szTemp); 
         break; 
to:

Code: Select all

      case 104: //zone translocate spells 
         strcat(szBuff, "Translocate to "); 
         [color=red]if (pSpell->Extra[0]){ [/color]
           sprintf(szTemp, "%d, %d, %d in %s facing %s", pSpell->Base[1], pSpell->Base[2], pSpell->Base[3], GetFullZone(GetZoneID(pSpell->Extra)), szHeading[pSpell->Base[4]]); 
         } else { 
           strcat(szTemp, "Bind Point"); 
         } 
         strcat(szBuff, szTemp); 
         break; 
fixed for next zip.