PDA

View Full Version : Hookworks.cpp and Hookworks.h messing up


Super_Sniper
4th October 2004, 00:12
Keep getting hookwork problems:
------ Build started: Project: evilhack, Configuration: Release Win32 ------

Compiling...
Tweaks.cpp
HookWorks.cpp
HookWorks.cpp(123) : error C2501: 'Also' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'the'
HookWorks.cpp(123) : error C2501: 'at' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'top'
HookWorks.cpp(123) : error C2501: 'the' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'you'
HookWorks.cpp(123) : error C2501: 'top' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'may'
HookWorks.cpp(123) : error C2501: 'you' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'have'
HookWorks.cpp(123) : error C2501: 'may' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'to'
HookWorks.cpp(123) : error C2501: 'have' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'replace'
HookWorks.cpp(123) : error C2501: 'to' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'all'
HookWorks.cpp(123) : error C2501: 'replace' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'the'
HookWorks.cpp(123) : error C2501: 'all' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'include'
HookWorks.cpp(123) : error C2501: 'the' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2086: 'int the' : redefinition
HookWorks.cpp(123) : see declaration of 'the'
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'and'
HookWorks.cpp(123) : error C2501: 'include' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'define'
HookWorks.cpp(123) : error C2501: 'and' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'fuctions'
HookWorks.cpp(123) : error C2501: 'define' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'with'
HookWorks.cpp(123) : error C2501: 'fuctions' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2143: syntax error : missing ';' before 'this'
HookWorks.cpp(123) : error C2501: 'with' : missing storage-class or type specifiers
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(32) : error C2086: 'NewIDirect3D8 MyD3D8' : redefinition
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(32) : see declaration of 'MyD3D8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(33) : error C2086: 'NewIDirectInput8 MyDInput8' : redefinition
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(33) : see declaration of 'MyDInput8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(34) : error C2374: 'pD3DDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(34) : see declaration of 'pD3DDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(35) : error C2374: 'pMyD3DDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(35) : see declaration of 'pMyD3DDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(36) : error C2374: 'pD3D8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(36) : see declaration of 'pD3D8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(37) : error C2374: 'pMyD3D8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(37) : see declaration of 'pMyD3D8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(38) : error C2374: 'pDInput8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(38) : see declaration of 'pDInput8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(39) : error C2374: 'pMyDInput8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(39) : see declaration of 'pMyDInput8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(40) : error C2374: 'pDInputDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(40) : see declaration of 'pDInputDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(41) : error C2374: 'pMyDInputDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(41) : see declaration of 'pMyDInputDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(55) : error C2374: 'D3DHook' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(55) : see declaration of 'D3DHook'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(65) : error C2374: 'LoadLibraryHook' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(65) : see declaration of 'LoadLibraryHook'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(75) : error C2374: 'DirectInput8Hook' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(75) : see declaration of 'DirectInput8Hook'
HookWorks.cpp(162) : error C3861: 'D3DHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(164) : error C3861: 'pD3D8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(165) : error C3861: 'pMyD3D8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(170) : error C3861: 'LoadLibraryHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(171) : error C3861: 'D3DHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(174) : error C3861: 'pMyD3D8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(182) : error C3861: 'DirectInput8Hook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(183) : error C3861: 'pDInput8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(184) : error C3861: 'pMyDInput8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(185) : error C2440: '=' : cannot convert from 'NewIDirectInput8 *' to 'LPVOID'
HookWorks.cpp(185) : error C3861: 'pMyDInput8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(187) : error C3861: 'DirectInput8Hook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(195) : error C3861: 'LoadLibraryHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(202) : error C3861: 'D3DHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(207) : error C3861: 'DirectInput8Hook': identifier not found, even with argument-dependent lookup
Generating Code...

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


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

Build: 0 succeeded, 1 failed, 0 skipped

Ok well i fixed that now im getting:

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

Compiling...
HookWorks.cpp
Linking...
LINK : fatal error LNK1104: cannot open file 'libci.lib'

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


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

Build: 0 succeeded, 1 failed, 0 skipped
Just my luck get rid of abunch of errors and get one huge one damn it

PseudoX
4th October 2004, 13:08
Keep getting hookwork problems:
------ Build started: Project: evilhack, Configuration: Release Win32 ------

Compiling...
Tweaks.cpp
HookWorks.cpp
HookWorks.cpp(123) : error C2501: 'Also' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'the'
HookWorks.cpp(123) : error C2501: 'at' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'top'
HookWorks.cpp(123) : error C2501: 'the' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'you'
HookWorks.cpp(123) : error C2501: 'top' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'may'
HookWorks.cpp(123) : error C2501: 'you' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'have'
HookWorks.cpp(123) : error C2501: 'may' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'to'
HookWorks.cpp(123) : error C2501: 'have' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'replace'
HookWorks.cpp(123) : error C2501: 'to' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'all'
HookWorks.cpp(123) : error C2501: 'replace' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'the'
HookWorks.cpp(123) : error C2501: 'all' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'include'
HookWorks.cpp(123) : error C2501: 'the' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2086: 'int the' : redefinition
HookWorks.cpp(123) : see declaration of 'the'
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'and'
HookWorks.cpp(123) : error C2501: 'include' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'define'
HookWorks.cpp(123) : error C2501: 'and' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'fuctions'
HookWorks.cpp(123) : error C2501: 'define' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2146: syntax error : missing ';' before identifier 'with'
HookWorks.cpp(123) : error C2501: 'fuctions' : missing storage-class or type specifiers
HookWorks.cpp(123) : error C2143: syntax error : missing ';' before 'this'
HookWorks.cpp(123) : error C2501: 'with' : missing storage-class or type specifiers
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(32) : error C2086: 'NewIDirect3D8 MyD3D8' : redefinition
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(32) : see declaration of 'MyD3D8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(33) : error C2086: 'NewIDirectInput8 MyDInput8' : redefinition
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(33) : see declaration of 'MyDInput8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(34) : error C2374: 'pD3DDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(34) : see declaration of 'pD3DDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(35) : error C2374: 'pMyD3DDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(35) : see declaration of 'pMyD3DDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(36) : error C2374: 'pD3D8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(36) : see declaration of 'pD3D8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(37) : error C2374: 'pMyD3D8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(37) : see declaration of 'pMyD3D8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(38) : error C2374: 'pDInput8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(38) : see declaration of 'pDInput8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(39) : error C2374: 'pMyDInput8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(39) : see declaration of 'pMyDInput8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(40) : error C2374: 'pDInputDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(40) : see declaration of 'pDInputDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(41) : error C2374: 'pMyDInputDevice8' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(41) : see declaration of 'pMyDInputDevice8'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(55) : error C2374: 'D3DHook' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(55) : see declaration of 'D3DHook'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(65) : error C2374: 'LoadLibraryHook' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(65) : see declaration of 'LoadLibraryHook'
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(75) : error C2374: 'DirectInput8Hook' : redefinition; multiple initialization
c:\Documents and Settings\Administrator\Desktop\P4R7YH4CK\evilhack\ HookWorks.h(75) : see declaration of 'DirectInput8Hook'
HookWorks.cpp(162) : error C3861: 'D3DHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(164) : error C3861: 'pD3D8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(165) : error C3861: 'pMyD3D8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(170) : error C3861: 'LoadLibraryHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(171) : error C3861: 'D3DHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(174) : error C3861: 'pMyD3D8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(182) : error C3861: 'DirectInput8Hook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(183) : error C3861: 'pDInput8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(184) : error C3861: 'pMyDInput8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(185) : error C2440: '=' : cannot convert from 'NewIDirectInput8 *' to 'LPVOID'
HookWorks.cpp(185) : error C3861: 'pMyDInput8': identifier not found, even with argument-dependent lookup
HookWorks.cpp(187) : error C3861: 'DirectInput8Hook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(195) : error C3861: 'LoadLibraryHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(202) : error C3861: 'D3DHook': identifier not found, even with argument-dependent lookup
HookWorks.cpp(207) : error C3861: 'DirectInput8Hook': identifier not found, even with argument-dependent lookup
Generating Code...

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


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

Build: 0 succeeded, 1 failed, 0 skipped

Ok well i fixed that now im getting:

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

Compiling...
HookWorks.cpp
Linking...
LINK : fatal error LNK1104: cannot open file 'libci.lib'

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


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

Build: 0 succeeded, 1 failed, 0 skipped
Just my luck get rid of abunch of errors and get one huge one damn it

Sniper ....pm me an email that can receive zips and Ill just give you my Hookworks cpp and Header as well as my loader h and cpp

gil
4th October 2004, 17:38
Is it too be to attach here ? :)

Super_Sniper
4th October 2004, 17:41
Hey its alright man i fixed it sorry i forgot to post that i fixed it but uh its done :) thx for trien to help me tho Apreceate it.