current source

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

current source

Post by vzmule » Sat Sep 20, 2003 1:10 am

DKAA or whomever is updating cvs: current source in public cvs/zip's exts2.cpp and mq.h have discrepancies and doesn't match up/compile.

I don't have access to dev cvs so I can't tell if it jives there or not. I have a working version, but just figured I'd let ya know.

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Post by ap50 » Sat Sep 20, 2003 5:16 am

Just CVS'd then applied the changes from the ZIP file and recompiled DLL and EXE with Visual Studio .net 2003 without error, both in debug and release mode.

MQEXT has bombed on me for a while, but as I don't use it, I don't care.
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Sat Sep 20, 2003 6:32 am

This thread has the changes to exts2.cpp to fix the define errors.

http://macroquest2.com/phpBB2/viewtopic.php?t=3120

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Sat Sep 20, 2003 11:47 am

I'll fix mqext in a few weeks when I buy LDoN and start working on the project again. I plan on going through all the structs at that point and doublechecking everything.

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Sun Sep 28, 2003 5:53 pm

fyi, just compiled the zip. Still get errors.

Again, no big deal as I have a working version, just letting peeps know that the exts2.cpp doesn't line up with mq.h.

This is with the current zip:

Code: Select all

exts2.cpp(177) : error C2039: 'Unknownf0x120' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(177) : error C2039: 'Unknownf0x120' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(178) : error C2039: 'Unknownf0x124' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(178) : error C2039: 'Unknownf0x124' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(179) : error C2039: 'Unknownf0x128' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(179) : error C2039: 'Unknownf0x128' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(180) : error C2039: 'Unknownf0x12c' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(180) : error C2039: 'Unknownf0x12c' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(181) : error C2039: 'Unknownf0x130' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(181) : error C2039: 'Unknownf0x130' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(196) : error C2039: 'VisType' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(196) : error C2039: 'VisType' : is not a member of '_SPAWNINFO'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(408) : error C2039: 'UnknownData0x0e6' : is not a member of '_SPELLLIST'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(798) : see declaration of '_SPELLLIST'
exts2.cpp(408) : error C2039: 'UnknownData0x0e6' : is not a member of '_SPELLLIST'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(798) : see declaration of '_SPELLLIST'
exts2.cpp(596) : error C2039: 'Height' : is not a member of '_EQWINDOW'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(596) : error C2039: 'Height' : is not a member of '_EQWINDOW'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(597) : error C2039: 'Width' : is not a member of '_EQWINDOW'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(597) : error C2039: 'Width' : is not a member of '_EQWINDOW'
        c:\Documents and Settings\Administrator\Desktop\mq\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'

Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\mq\mqext\Release\BuildLog.htm"
mqext - 18 error(s), 0 warning(s)


------ Build started: Project: MacroQuest, Configuration: Release Win32 ------

Compiling...
MacroQuest.cpp
Compiling resources...
Linking...

Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\mq\Release\BuildLog.htm"
MacroQuest - 0 error(s), 0 warning(s)


---------------------- Done ----------------------

    Build: 2 succeeded, 1 failed, 0 skipped



This is with the current cvs: There are additional detour warnings on this one.

Code: Select all

..\Detours\lib\detours.lib : warning LNK4003: invalid library format; library ignored
   Creating library ..\Release/EQLib.lib and object ..\Release/EQLib.exp
..\Detours\lib\detours.lib : warning LNK4003: invalid library format; library ignored
EQLib_Hooks.obj : error LNK2019: unresolved external symbol _DetourRemove@8 referenced in function "void __cdecl HookDInput(int)" (?HookDInput@@YAXH@Z)
EQLib_MemChecks.obj : error LNK2001: unresolved external symbol _DetourRemove@8
EQLib_Hooks.obj : error LNK2019: unresolved external symbol _DetourFunction@8 referenced in function "void __cdecl HookDInput(int)" (?HookDInput@@YAXH@Z)
EQLib_MemChecks.obj : error LNK2001: unresolved external symbol _DetourFunction@8
EQLib_Hooks.obj : error LNK2019: unresolved external symbol _DetourFunctionWithEmptyTrampoline@12 referenced in function "void __cdecl HookChat(int)" (?HookChat@@YAXH@Z)
..\Release/EQLib.dll : fatal error LNK1120: 3 unresolved externals

Build log was saved at "file://c:\cvs\macroquest\Release\BuildLog.htm"
EQLib - 6 error(s), 2 warning(s)


exts2.cpp(177) : error C2039: 'Unknownf0x120' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(177) : error C2039: 'Unknownf0x120' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(178) : error C2039: 'Unknownf0x124' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(178) : error C2039: 'Unknownf0x124' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(179) : error C2039: 'Unknownf0x128' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(179) : error C2039: 'Unknownf0x128' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(180) : error C2039: 'Unknownf0x12c' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(180) : error C2039: 'Unknownf0x12c' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(181) : error C2039: 'Unknownf0x130' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(181) : error C2039: 'Unknownf0x130' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(196) : error C2039: 'VisType' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(196) : error C2039: 'VisType' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(408) : error C2039: 'UnknownData0x0e6' : is not a member of '_SPELLLIST'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(798) : see declaration of '_SPELLLIST'
exts2.cpp(408) : error C2039: 'UnknownData0x0e6' : is not a member of '_SPELLLIST'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(798) : see declaration of '_SPELLLIST'
exts2.cpp(596) : error C2039: 'Height' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(596) : error C2039: 'Height' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(597) : error C2039: 'Width' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(597) : error C2039: 'Width' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'

Build log was saved at "file://c:\cvs\macroquest\mqext\Release\BuildLog.htm"
mqext - 18 error(s), 0 warning(s)


------ Build started: Project: MacroQuest, Configuration: Release Win32 ------

Compiling...
MacroQuest.cpp
Compiling resources...
Linking...

Build log was saved at "file://c:\cvs\macroquest\Release\BuildLog.htm"
MacroQuest - 0 error(s), 0 warning(s)


---------------------- Done ----------------------

    Build: 1 succeeded, 2 failed, 0 skipped

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 Sep 29, 2003 12:12 am

This is with the current cvs: There are additional detour warnings on this one.
This is covered in new? read this post.

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Mon Sep 29, 2003 10:30 pm

Bah, newb mistake. You're right. Instead of using my linux box to pull down the cvs, I used an unconfigured regular cvs client this time.


That did take care of the detour errors. Now all I get are the ext errors.

Code: Select all

exts2.cpp(177) : error C2039: 'Unknownf0x120' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(177) : error C2039: 'Unknownf0x120' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(178) : error C2039: 'Unknownf0x124' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(178) : error C2039: 'Unknownf0x124' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(179) : error C2039: 'Unknownf0x128' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(179) : error C2039: 'Unknownf0x128' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(180) : error C2039: 'Unknownf0x12c' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(180) : error C2039: 'Unknownf0x12c' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(181) : error C2039: 'Unknownf0x130' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(181) : error C2039: 'Unknownf0x130' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(196) : error C2039: 'VisType' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(196) : error C2039: 'VisType' : is not a member of '_SPAWNINFO'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(607) : see declaration of '_SPAWNINFO'
exts2.cpp(408) : error C2039: 'UnknownData0x0e6' : is not a member of '_SPELLLIST'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(798) : see declaration of '_SPELLLIST'
exts2.cpp(408) : error C2039: 'UnknownData0x0e6' : is not a member of '_SPELLLIST'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(798) : see declaration of '_SPELLLIST'
exts2.cpp(596) : error C2039: 'Height' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(596) : error C2039: 'Height' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(597) : error C2039: 'Width' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'
exts2.cpp(597) : error C2039: 'Width' : is not a member of '_EQWINDOW'
        c:\cvs\macroquest\mqext\../EQLib\MQ.h(868) : see declaration of '_EQWINDOW'

Build log was saved at "file://c:\cvs\macroquest\mqext\Release\BuildLog.htm"
mqext - 18 error(s), 0 warning(s)


------ Build started: Project: MacroQuest, Configuration: Release Win32 ------

Compiling...
MacroQuest.cpp
Compiling resources...
Linking...

Build log was saved at "file://c:\cvs\macroquest\Release\BuildLog.htm"
MacroQuest - 0 error(s), 0 warning(s)


---------------------- Done ----------------------

    Build: 2 succeeded, 1 failed, 0 skipped

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Mon Sep 29, 2003 10:56 pm

Most people that don't use mqext just disable it. Those that use mqext know how to fix it.

My suggestion, however, would be to change the project file on CVS so that mqext does NOT compile by default. That would avoid such issues in the future.