update for 20060923

Moderator: MacroQuest Developers

echoism
a ghoul
a ghoul
Posts: 131
Joined: Tue Oct 19, 2004 9:59 am

update for 20060923

Post by echoism » Mon Sep 25, 2006 8:34 am

Code: Select all

--- MQ2-20060923a.orig/MQ2Main/ISXEQ/ISXEQCommands.cpp  2006-08-25 23:55:50.000000000 -0400
+++ MQ2-20060923a/MQ2Main/ISXEQ/ISXEQCommands.cpp       2006-09-23 07:40:26.000000000 -0400
@@ -549,18 +549,20 @@
       DWORD slot = 0;
       DWORD SpawnFooter = NULL;
       SpawnFooter = (DWORD)pLocalPlayer;
[color=red]+         PITEMINFO pItem=0;[/color]
       for (int i=0;i<30;i++) {
          if (GetCharInfo2()->InventoryArray[i])
             if (!_stricmp(argv[2],GetCharInfo2()->InventoryArray[i]->Item->Name)) {
                DebugSpew("cast test slot %d = %s address is %x",i,GetCharInfo2()->InventoryArray[i]->Item->Name,&(GetCharInfo2()->InventoryArray[i]));
                item = (DWORD)&GetCharInfo2()->InventoryArray[i];
[color=red]+                          pItem=GetCharInfo2()->InventoryArray[i]->Item;[/color]
                slot = (DWORD)i;
                FOUND = TRUE;
                break;
             }
       }
       if (FOUND) {
[color=red]-         pCharData1->CastSpell(10,0,(EQ_Item**)item,0,slot,-1,-1,0,0);
+         pCharData1->CastSpell(10,pItem->Clicky.SpellID,(EQ_Item**)item,0,slot,-1,-1,0,0,1);[/color]
[/color]          return 0;
       }
    }
diff -rubB --exclude-from excludes MQ2-20060923a.orig/MQ2Main/ISXEQ/ISXEQServices.cpp MQ2-20060923a/MQ2Main/ISXEQ/ISXEQServices.cpp
--- MQ2-20060923a.orig/MQ2Main/ISXEQ/ISXEQServices.cpp  2006-06-26 21:09:24.000000000 -0400
+++ MQ2-20060923a/MQ2Main/ISXEQ/ISXEQServices.cpp       2006-09-23 07:36:26.000000000 -0400
@@ -175,11 +175,12 @@
 // "Spawn" service
 EQLIB_API VOID PluginsAddSpawn(PSPAWNINFO pNewSpawn)
 {
[color=red]+       DWORD BodyType=GetBodyType(pNewSpawn);[/color]
        PluginDebug("PluginsAddSpawn(%s,%d,%d)",pNewSpawn->Name,pNewSpawn->Race,pNewSpawn->BodyType);
        SpawnByName[pNewSpawn->Name]=pNewSpawn;
        if (gGameState>GAMESTATE_CHARSELECT)
                SetNameSpriteState(pNewSpawn,1);
[color=red]-       if (GetBodyTypeDesc(pNewSpawn->BodyType)[0]=='*')
+       if (GetBodyTypeDesc(BodyType)[0]=='*')[/color]
        {
                WriteChatf("Spawn '%s' has unknown bodytype %d",pNewSpawn->Name,pNewSpawn->BodyType);
        }
please cvs this

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Wed Sep 27, 2006 6:36 pm

In the next zip.

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 10:52 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 10:54 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 10:55 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 10:56 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 10:57 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 10:58 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 11:35 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Wed Jul 30, 2025 11:36 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Thu Jul 31, 2025 12:16 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Thu Jul 31, 2025 12:17 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Thu Jul 31, 2025 12:18 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Thu Jul 31, 2025 12:20 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: update for 20060923

Post by xyilla » Thu Jul 31, 2025 12:21 am