PDA

View Full Version : Compile OGC << Here is how!


o({})o
11th June 2002, 00:09
----------

Tools needed:

Windows 95 or better (www.microsoft.com)
VC++ 6.0 or better (www.microsoft.com)
OGC *.dll source compatable with VC++ 6.0 (http://www.liquid2k.com/hebe/mpc/source.rar)
OGC loader source (http://www.endung.de/ogc/cheats/files/ogc-9-source.zip)
(use only the loader portion of this download, because the rest is only for VC++ .NET which is not covered here)
Winrar to open the downloaded *.dll source *.rar (www.winrar.com)
Winzip to open the downloaded source *.zip (www.winzip.com)
----------

Skills needed:

An IQ above 30 (you have to be able to read, but that is about it).
----------

Time needed:

IQ of 90- about 20 min.
IQ of 90+ about 5 to 10 min.
----------

Lets get going:

(We start with the *.dll that will be the main source of code for OGC.)

Open VC++ and select File->New

Select the option titled- "Win32 Dynamic-Link Library"
In the "Project Name" box, put any name you want. (something not to do with ogc would be best)

A new box will popup and say: "What kind of DLL would you like to create?"

Choose- An empty DLL Project."
Hit- "Finish"
Damn Windows popups- a new one will popup and say something about "An empty DLL project will be created for you."
Hit ok to this new popup

----------

You are almost ready to begin the actual process of creating the *.dll:

(If you have gotten lost so far, then you are a moron, and you should stop right here and now!)

Lets start off by putting our files in the same places. I have mine in a folder on the desktop called "OGCtutorial" so you should create the same floder on your desktop.

Right click the desktop.
Select "New"
Select "Folder"
Name the folder "OGCtutorial"

Now, inside of this folder put two new folders- "Loader" and "DLL"

Right click the desktop.
Select "New"
Select "Folder"
Name the folder "Loader"
Right click the desktop again.
Select "New"
Select "Folder"
Name the folder "DLL"

Next, put all of the DLL source files inside of the "DLL" folder.

(Note: There should be three folders with the rest of the source, they will mostly be header files. YOU MUST put these into the DLL folder exactly as they are. So, put the "misc" folder, the "engine" folder, and the "common" folder all in the "DLL" folder.)
----------

Time to make the DLL:

You should have the DLL still open, and ready to go. So, lets get this show on the road, shall we!

Go to: Project->Add To Project->Files...
A new "Insert Files into Project" box should popup.
Follow this path of folders to find the first file to insert: OGCtutorial\DLL\
Once you get into your DLL folder, you should see many many files!

So, what are we going to do with these files?! Simple- add them! Lets get adding:


Double click "aimbot.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "apihook.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "attack.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "AutoMove.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "bind.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "calcscreen.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "client.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "color.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "console.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "cvar.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "GenericPatch.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "hookqueue.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "interpreter.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "main.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "menu.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "opengl.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "patchtools.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "playeritems.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "secmodule.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "snake.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "sprites.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "stdafx.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "stringfinder"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "timehandling.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "Winamp.cpp"

(Tricky step here!)

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\common
Double click "interface.cpp"

(Another tricky little bastard!)

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\misc
Double click "parsemsg.cpp"

----------

Good, you have added all of the necessary files. Now come the three hardest parts of the building of the *.dll:

Ok, step one-

Goto "Build->Configurations..."
A small popup will come up.
Highlight "Win32 Debug" by clicking on it.
Hit "Remove"
Hit "Close"

On to step two-

Goto "Project->Settings..."
A popup will come up.
You should see everal tabs in the popup (including "General", "Debug", "C/C++", "Link", etc...)
You want to click the "Link" tab.
A bunch of complex looking crap should come up, but have no fear, you won't be spending long here.
A little text box labeled "Object/library modules:" should be somewhere in the middle.
Go all the way to the end of that little box (somewhere after something like "odbccp32.lib")
After all of that, type this (without the quotes): "winmm.lib"
Be sure there is a space before "winmm.lib" and after it.
Hit "OK"

Damn, I think I'm going to cry. You have made it this far so you should be proud! This is the last step in making the *.dll-

Save all your work, and restart your PC! This will save you the trouble of ugly and inconsiderate memory errors.
When Windows comes back up, open your workspace up by looking in your folder for a file ending in .dsw
Make sure this is indeed your workspace, and then goto "Build->Build yournamehere.dll" (where yournamehere is the name of your *.dll).
This may take some time, but you should come up with an error and warning free copy of the dll after it is built. Watch the progress in the bottom window of VC++.

----------

Your *.dll should now be compiled and ready. Simply goto where ever you saved your project, and look for a new folder called "Release". This folder should have your finished *.dll:


Move this *.dll to your main OGCtutorial folder!
*.dll finished!!!


Congratulations on the first 90% of your project being complete.
----------

Time to do that fateful Loader *.exe/application:

This is far far easier then the *.dll and will take you much less time!

Ok, open VC++ and click "File->New..."
You want the one that says "Win32 Application"
Click on that and give it the same name you gave the *.dll in the text box in the popup.
Now Click "OK"
(If an error like 'a previous workspace already exists in this location' comes up, then simple go to the other box under where you put the name, and set it to another location. Preferably- 'desktop\OGCtutorial\loader')
Another popup comes up, just select "An empty project."
Okay, I am ready to kill Microsoft, cause another popup comes up saying something like this: "An empty application will be created for you."
Hit "OK" again!
Now you have an empty workspace, and you are ready to make the loader *.exe/application

----------

Well, lets get on with things then shall we:

So, you have yourself a blank, open project workspace. Lets get started then shall we?


Go to "Project->Add To Project->Files..."
Now, go to whatever folder the loader source is in.
(Add the following just as you added the files for the *.dll)
Add "ForceLibrary.cpp"
Add "ogc-loader.cpp"
Add "TH32.cpp"
(These files are added just the same way regardless of the fact that they are different file types.)
Add "ForceLib.h"
Add "resource.h"
Add "TH32.h"
Add "Script2.rc"

----------

On to the compiling of the *.exe/application:

No fancy complex stuff this time, just compiling/building-


Save your workspace by doing this- "File->Save Workspace"
Restart your PC, and re-open VC++ to avoid any ugly memory errors.
Re-open your project by looking in the folder you saved your workspace to for a *.dsw file.
Once open, goto "Build-> Build yournamehere.exe" (Think of 'yournamehere' as whatever the name of your project is.)
Check to make sure the *.exe is built by looking for it in the folder you saved your workspace to.

----------

You are 99% done:

Go download the .NET ogc v9.01 compiled cheat (http://www.endung.de/ogc/cheats/files/ogc-9.zip) at OGC-cheats.com-


Look in the folder that you download, and copy all the files other than the loader and *.dll
Put these in a new folder on your desktop (lets call it OGCisgod for reference).
Now, take your loader and your *.dll and place them in this folder with the rest of that crap.
Run The loader.
Point it to your hl.exe or cstrike.exe
Go play!!!

----------

Thank you for participating in this tutorial:

You should now have a fully working, newly named version of OGC!!!

Updated hint:
If you don't have a working compiled version of OGC, check game-deception.com. They will have the most updated loader and *.dll source files. If you recieve massive errors, try changing all instances of PDWORD with DWORD or vice versa. This is due to a difference between the compilers and OS'es from different time periods.
----------

Credits:

Written By:

o({})o (a.k.a. hebe)

This tutorial is for use only on/by the following sites:

www.MultiPlayerCheats.de
www.ogc-cheats.com
www.exo-clan.com
www.silverxhacks.vze.com
www.static-code.com
www.absolution.static-code.com
www.game-deception.com
www.unknowncheats.com


WARNING: This tutorial is strictly for learning purposes, and you alone carry the responsibility for any problems it may cause to- you, your computer, or anything else!

CaSe
11th June 2002, 12:40
Cool! Nice info man! I will make this a an important post since it is very useful.

o({})o
11th June 2002, 14:21
ty, and more to come tonight, when i have a chance to write about compiling the loader!

Sno
11th June 2002, 19:23
ya now I can code and fiddle with the source... but what to add?

Diablos
11th June 2002, 19:55
I tryed what u said and did everything the way u say... but i got 2 errors

C:\Windows\Desktop\OGCtutorial\Dll\sniff.cpp(167) : error C2039: 'sniff' : is not a member of 'CVARList'
C:\Windows\Desktop\OGCtutorial\Dll\cvar.h(7) : see declaration of 'CVARList'
C:\Windows\Desktop\OGCtutorial\Dll\sniff.cpp(302) : error C2039: 'sniff' : is not a member of 'CVARList'
C:\Windows\Desktop\OGCtutorial\Dll\cvar.h(7) : see declaration of 'CVARList'

o({})o
11th June 2002, 22:47
as you will notice if you followed every direction exactly, i have left out sniff from the code because it was discontinued, and no longer works with the rest of ogc.

Diablos
11th June 2002, 23:09
oh... srry..... didnt even realize it. my bad

Diablos
12th June 2002, 02:05
Nice very Nice and thank you very much.... Think you can add how to edit your own ogc to make it VAC and HLg proof :) LoL

o({})o
12th June 2002, 02:32
That would take a bit longer, and i don't have a lot of time....

also, it would no tbe easy for n00bers to understand!

DarkCloud
12th June 2002, 06:11
AHHH!!! SO MUCH READING! MY HEAD IS GONNA BLOW! hehe

[MPC]UnKnOwN
12th June 2002, 08:48
:(( I dont have VC++......I WANNA TRY THIS

NASTE
13th June 2002, 02:16
Holy **** nice tut , one of the best ive seen
1.) User friendly
2.) Easy to follow
3.) Easy to learn
4.) Fast and efficaint
5.) Thuror

Absolutly great :)

NASTE
13th June 2002, 02:17
Unknown , You can leech off me if you would like.
But only if you have fast connection.
Or if i get your details i might be able to send you the cds :)

o({})o
13th June 2002, 03:41
NASTE, come one now, you know warez is against the rules....

snaggle2th
13th June 2002, 04:08
visual basic 6 enterprise edition (includes visual C++) can be downloaded from any number of file sharing progs(kazaa, filetopia, etc...)

i got mine from kazaa lite and it works fine :classic:

o({})o
13th June 2002, 04:17
warez is against the rules!!!

DON'T POST ABOUT IT!!!

snaggle2th
13th June 2002, 05:26
sorry, the site disclaimer(line 48) says * No warez trading/posting *...
understood that to mean no EXCHANGING of warez here. as i neither posted or traded any warez i didnt feel it was breaking any rules.
u have now showed me the light and i understand the err of my ways:rolleyes:

sAtAn
13th June 2002, 06:48
kazaa can be used music but gods only knows what else is out there

NASTE
14th June 2002, 17:31
Can someone plz help me im trying to complie my project and i get this ( code n00by here )

This is the erros:

autoMove.obj : error LNK2001: unresolved external symbol "void __cdecl VectorAngles(float const *,float *)" (?VectorAngles@@YAXPBMPAM@Z)
client.obj : error LNK2001: unresolved external symbol "public: __thiscall AimingRandomizer::AimingRandomizer(void)" (??0AimingRandomizer@@QAE@XZ)
client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BoneAimbot::PostStudioDrawPlayer(int,struct entity_state_s *)" (?PostStudioDrawPlayer@BoneAimbot@@UAEXHPAUentity_ state_s@@@Z)
client.obj : error LNK2001: unresolved external symbol "class BoneAimbot gAimbot" (?gAimbot@@3VBoneAimbot@@A)
client.obj : error LNK2001: unresolved external symbol "bool __cdecl IsAimingAtMe(int)" (?IsAimingAtMe@@YA_NH@Z)
client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OriginAimbot::calcFovangleAndVisibility(int)" (?calcFovangleAndVisibility@OriginAimbot@@UAEXH@Z)
client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BoneAimbot::draw(void)" (?draw@BoneAimbot@@UAEXXZ)
client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OriginAimbot::CalcViewAngles(void)" (?CalcViewAngles@OriginAimbot@@UAEXXZ)
client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OriginAimbot::findTarget(void)" (?findTarget@OriginAimbot@@UAEXXZ)
client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall BoneAimbot::command(void)" (?command@BoneAimbot@@UAEXXZ)
Release/CrIpTiC.dll : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.

Also anyone know which things i have to delete out of certain fiels to get Snake and Winamp out , without getting any erros.
SaTaN didnt u do this 2?

NASTE
14th June 2002, 17:33
Id alos like to get the sound hack bullshit out :)

Tobo
22nd June 2002, 13:19
Great tutorial, but it would be better if you could tell us how to make it VAC/HLG proofed :)

Angechu
28th June 2002, 21:14
To make it "HLG" and "VAC" proof, you'd have to do some serious coding.. ie. it would not be noob friendly. And how do you know o({})o even has the code to bypass it..

NASTE, those are linker errors.. I am not gonna try and read that stuff.. do you get any warnings in the compiler?? O YEAH! Are u using Visual C++ .NET or Visual C++? If its the non-.NET version, are u using code made for it? That *COULD* be causing problems, I dont know..

o({})o
29th June 2002, 05:02
I would never make a vac passed ogc cause I hate ogc.

o({})o
30th June 2002, 02:51
Here is my build log, hope it helps someone:


Build Log

--------------------Configuration: exoclanogc - Win32 Release--------------------

Command Lines
Creating temporary file "C:\WINDOWS\TEMP\RSP20D5.TMP" with contents
[
/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXOCLANOGC_EXPORTS" /Fp"Release/exoclanogc.pch" /YX /Fo"Release/" /Fd"Release/" /FD /c
"C:\Windows\Desktop\c++ cheats\ogc.dll\misc\parsemsg.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\aimbot.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\apihook.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\attack.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\AutoMove.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\bind.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\calcscreen.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\client.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\color.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\console.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\cvar.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\GenericPatch.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\hookqueue.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\interpreter.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\main.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\menu.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\opengl.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\patchtools.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\playeritems.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\secmodule.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\snake.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\sprites.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\stdafx.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\stringfinder.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\timehandling.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\Winamp.cpp"
"C:\Windows\Desktop\c++ cheats\ogc.dll\common\interface.cpp"
]
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP20D5.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSP20D6.TMP" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib /nologo /dll /incremental:no /pdb:"Release/exoclanogc.pdb" /machine:I386 /out:"Release/exoclanogc.dll" /implib:"Release/exoclanogc.lib"
.\Release\parsemsg.obj
.\Release\aimbot.obj
.\Release\apihook.obj
.\Release\attack.obj
.\Release\AutoMove.obj
.\Release\bind.obj
.\Release\calcscreen.obj
.\Release\client.obj
.\Release\color.obj
.\Release\console.obj
.\Release\cvar.obj
.\Release\GenericPatch.obj
.\Release\hookqueue.obj
.\Release\interpreter.obj
.\Release\main.obj
.\Release\menu.obj
.\Release\opengl.obj
.\Release\patchtools.obj
.\Release\playeritems.obj
.\Release\secmodule.obj
.\Release\snake.obj
.\Release\sprites.obj
.\Release\stdafx.obj
.\Release\stringfinder.obj
.\Release\timehandling.obj
.\Release\Winamp.obj
.\Release\interface.obj
]
Creating command line "link.exe @C:\WINDOWS\TEMP\RSP20D6.TMP"
Output Window
Compiling...
parsemsg.cpp
aimbot.cpp
apihook.cpp
attack.cpp
AutoMove.cpp
bind.cpp
calcscreen.cpp
client.cpp
color.cpp
console.cpp
cvar.cpp
GenericPatch.cpp
hookqueue.cpp
interpreter.cpp
main.cpp
menu.cpp
opengl.cpp
patchtools.cpp
playeritems.cpp
secmodule.cpp
snake.cpp
sprites.cpp
stdafx.cpp
stringfinder.cpp
timehandling.cpp
Winamp.cpp
interface.cpp
Linking...
Creating library Release/exoclanogc.lib and object Release/exoclanogc.exp



Results
exoclanogc.dll - 0 error(s), 0 warning(s)

Mexokanie
30th June 2002, 13:59
DarkCloud...
thatīs right !!!

yesh
30th June 2002, 20:36
--------------------Configuration: SOSolid - Win32 Release--------------------
Compiling...
aimbot.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\aimbot.cpp(38) : fatal error C1083: Cannot open include file: 'cl_dll.h': No such file or directory
apihook.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\apihook.cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\apihook.cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\apihook.cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\apihook.cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\apihook.cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\apihook.cpp(279) : error C2065: 'test_ordinal' : undeclared identifier
AutoMove.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
bind.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\bind.cpp(413) : error C2181: illegal else without matching if
client.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.cpp(53) : fatal error C1083: Cannot open include file: 'r_studioint.h': No such file or directory
console.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
hookqueue.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
main.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
opengl.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
secmodule.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
snake.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
Winamp.cpp
C:\Documents and Settings\harry\Desktop\SO-Ogc\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
Error executing cl.exe.

SOSolid.dll - 17 error(s), 0 warning(s)

please someone tell me to how to get rid of this dam errors

Angechu
1st July 2002, 21:14
OK!!

open apihook.c
find all the "PDWORD" and make them "DWORD"

that should get rid of the apihook.cpp problems

now, include all the .h files like you included the .cpp files, making sure to leave out the ones related to the .cpp files that were left out (sniff.cpp, sniff.h).. get it..

That *SHOULD* get rid of all your errors. That is off the top of my head, though. It might give you more.

These are all Visual C++ 6 problems, dont happen with .net

-Angechu

maj0r
10th July 2002, 15:36
Originally posted by Angechu
OK!!

now, include all the .h files like you included the .cpp files, making sure to leave out the ones related to the .cpp files that were left out (sniff.cpp, sniff.h).. get it..

-Angechu

No I dont get it.. That didnt give any sense

o({})o
18th July 2002, 16:19
I would ask that anyone with any issues please re read exactly what files the tutorial says to add!!!

if you start having problems with headers, then add them to your projects just as the *.cpp files.

monkey
9th August 2002, 18:16
hhhh.dll - 75 error(s), 29 warning(s)

hm.. i made a BIG bodge up

[JAPS]Suicide
10th August 2002, 22:32
lol monkey, go over the steps again and make sure u didnt forget to add a file, or added an extra ; or } or even forgot one, that could mess your source up.

Sphincter
18th August 2002, 20:18
The loader source has vanished... anyone got it??

Thanks

CHEETAH0E
5th September 2002, 04:18
A tip, take out everything, clear out all the ogc crap... take all the cvar shiz out... get viperg, code the hacks into it, add a little simple no recoil, and WHAM u got urself a bonified working viperg in 1.5... and btw, viperg pwns ogc :)

Genesis
7th September 2002, 04:05
i cant download OGC loader source
can anyone help?

o({})o
8th September 2002, 05:02
the cource is rather out dated, i have to see if i can upload it to a new place....

Genesis
13th September 2002, 00:52
so can i compile a sof2 aimbot with this to?

lL4ma hacK3r
17th September 2002, 16:39
I get this all the time:

Linking...
client.obj : error LNK2001: unresolved external symbol "char * __cdecl READ_STRING(void)" (?READ_STRING@@YAPADXZ)
playeritems.obj : error LNK2001: unresolved external symbol "char * __cdecl READ_STRING(void)" (?READ_STRING@@YAPADXZ)
client.obj : error LNK2001: unresolved external symbol "int __cdecl READ_BYTE(void)" (?READ_BYTE@@YAHXZ)
playeritems.obj : error LNK2001: unresolved external symbol "int __cdecl READ_BYTE(void)" (?READ_BYTE@@YAHXZ)
client.obj : error LNK2001: unresolved external symbol "void __cdecl BEGIN_READ(void *,int)" (?BEGIN_READ@@YAXPAXH@Z)
playeritems.obj : error LNK2001: unresolved external symbol "void __cdecl BEGIN_READ(void *,int)" (?BEGIN_READ@@YAXPAXH@Z)
client.obj : error LNK2001: unresolved external symbol "int __cdecl READ_CHAR(void)" (?READ_CHAR@@YAHXZ)
playeritems.obj : error LNK2001: unresolved external symbol "int __cdecl READ_CHAR(void)" (?READ_CHAR@@YAHXZ)
client.obj : error LNK2001: unresolved external symbol "int __cdecl READ_SHORT(void)" (?READ_SHORT@@YAHXZ)

CHEETAH0E
18th September 2002, 01:12
that's because you're missing a cpp file... either that, or you have one to many... either way heh... mine compiles fine.. got 2 new methods in it.

Zipi
21st December 2002, 18:24
but how to find for what vac is searching?

4star
22nd December 2002, 02:09
VAC scans memory and checks hooking methods.

Zipi
23rd December 2002, 22:41
but how to hise thows hooking methods

MattDog
24th December 2002, 22:10
Originally posted by 4star
VAC scans memory and checks hooking methods.

it olso intersept some functions (client export) like client hook and call to OGL cheats by this shit - checking for non-user-mousemoves/clicks ets, and it compare some data from some addrs...

4star
24th December 2002, 23:07
MatDog...

If you could, please check your PM.

MattDog
24th December 2002, 23:08
i havent time to ogc-tweaking

4star
24th December 2002, 23:10
:(

Ok, sorry to bother you.

CHEETAH0E
25th December 2002, 09:30
Ok, how exactly would you make ogc 4.3 work for cs1.5? just a question.. Btw if you wanted to know Llama(if you ever come back) Unresolved External Symbol is a linkage error, meaning you don't have the function for a function declaration.. say you include a function.h to your hack, and it has void Enable_Wallhack(void); as a line of code. Then u don't have the code ANYWHERE in your code that would look like this:
void Enable_Wallhack(void)
{
cvar.Wall = 1;
}

then it would'nt be able to load that function, therefore giving you the error that it's not there.

4star
27th December 2002, 02:37
Someone please answer CHEETAH on how to make OGC 4.3 work with CS 1.5...

We need to know :D

visuelz
9th March 2003, 04:50
nice tutorial.

LanceVorgin
9th March 2003, 04:56
Um - there's a ton of ways. The most obvious way is to patch client.dll's export table.

dAmaGe
13th March 2003, 19:35
is there a chance you can post about making sof2 aimbots?
pretty plz :D

slarted
15th March 2003, 02:20
i wanna try making some q3 engine based cheats just for the sake of learning how to, any tips? or any one able to give some help or direct me to a tute?

dAmaGe
15th March 2003, 19:06
yes yes q3 engine hacks...
gotta learn how already!

GanjaFarmer
24th March 2003, 00:31
Can someone please post the Ogc loader source and dll source files agian? the links do not work anymore:dead:

WindowsDude
24th March 2003, 01:09
you can basically d/l any version of the OGC source files u want on the OGC site =/ ..lol... www.ogc-cheats.de ... =) get ya started.. u may have to create a membership thingy..but they have like..every realeased hook from ogc on there =)

PhX
28th March 2003, 07:33
but i cant to download the ogc sources :(

SaTaN_and_SiNs
1st April 2003, 20:20
hey mpc[hebe i like that OGC thing you got there but i have a question where do you get the OGC*.dll source and OGC loader source? and will it be able to work for SoF2? if ya tell me that will be nice thanx

loner187
2nd April 2003, 15:44
can somone please let me know waht OGC *.dll source compatable with VC++ 6.0
and OGC loader source is? is that a file you open with vc and edit or make new? my email address is klrisglok@hotmail.com i would like to know about this, please share your knowledge, thx.

o({})o
3rd April 2003, 00:44
There is a file named "OGC v9 Fixed" or something similar. It was modified back to the same standards as the VC++ 6.0 version.

loner187
5th April 2003, 15:53
thx o({})o i went to the ogc site and they dont have the source for sof2 is there a different place i can get it? would there be a updated one? thx for your help, later.

o({})o
5th April 2003, 17:50
OGC 9 is for the game Counter-Strike, not SOF2 or the quake engine. The one that is for the quake engine is an entirely different version of OGC. I am afraid I cannot help you too much with that....

loner187
7th April 2003, 04:18
oh k thx anyway, take care.

BiGmAc
4th May 2003, 23:49
o({})o

u own! :classic: nice tut

o({})o
5th May 2003, 03:05
Thank you.

WaCk^
7th May 2003, 22:52
Is this the olg UGC tutorial???

Creating library Release/WaCkY BaCkY.lib and object Release/WaCkY BaCkY.exp
client.obj : error LNK2001: unresolved external symbol "char const * __cdecl sprite_lookup(int)" (?sprite_lookup@@YAPBDH@Z)
client.obj : error LNK2001: unresolved external symbol "void __cdecl add_sprite(int,char const *)" (?add_sprite@@YAXHPBD@Z)
Release/WaCkY BaCkY.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

WaCkY BaCkY.dll - 3 error(s), 0 warning(s)


what do i need to do??

Qmando
25th May 2003, 00:49
i tryed it but i got like a billion errors :( im really new at this

Compiling...
attack.cpp
AutoMove.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
bind.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(413) : error C2051: case expression not constant
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(414) : error C2051: case expression not constant
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(421) : error C2051: case expression not constant
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\bind.cpp(451) : error C2065: 'MK_XBUTTON2' : undeclared identifier
calcscreen.cpp
client.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.cpp(53) : fatal error C1083: Cannot open include file: 'r_studioint.h': No such file or directory
color.cpp
console.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
cvar.cpp
GenericPatch.cpp
hookqueue.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
interpreter.cpp
main.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
menu.cpp
opengl.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
patchtools.cpp
playeritems.cpp
secmodule.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
snake.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
sprites.cpp
stdafx.cpp
stringfinder.cpp
timehandling.cpp
Winamp.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
aimbot.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\aimbot.cpp(38) : fatal error C1083: Cannot open include file: 'cl_dll.h': No such file or directory
apihook.cpp
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\apihook.cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\apihook.cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\apihook.cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\apihook.cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\quentin shaffer long\Desktop\ogc source ok\ogc.dll\apihook.cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
interface.cpp
parsemsg.cpp
Error executing cl.exe.

mafia 4.dll - 26 error(s), 0 warning(s)

-=Cutthroat=-
31st May 2003, 22:35
nice work we thought the ogc was gonan be kept secret, well now me and commando can use this for making an avp2 aimbot cheers

commando991
1st June 2003, 02:30
Originally posted by o({})o
as you will notice if you followed every direction exactly, i have left out sniff from the code because it was discontinued, and no longer works with the rest of ogc.

hey break out can I get your help on making a APi dialog aimbot for avp2 and primal hunt please?
I need help in making it and in finishing the project!!!

Jaden
7th June 2003, 05:40
First THANK YOU for helping us noobs !!:classic:

But the link no longer work and the the link for the OGC site is in some other lingo :cry:

Is there anyway you can fix the links again Please :cool:

And how do I view the OGC page iun a ligno I can understand

sauce
8th June 2003, 02:37
--------------------Configuration: sauce - Win32 Release--------------------
Compiling...
apihook.cpp
C:\Documents and Settings\Robert Obuch\Desktop\ogc.dll\apihook.cpp(90) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\Robert Obuch\Desktop\ogc.dll\apihook.cpp(108) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Robert Obuch\Desktop\ogc.dll\apihook.cpp(226) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Robert Obuch\Desktop\ogc.dll\apihook.cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
RedirectFunction.cpp
C:\Documents and Settings\Robert Obuch\Desktop\ogc.dll\RedirectFunction.cpp(84) : error C2446: '==' : no conversion from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Robert Obuch\Desktop\ogc.dll\RedirectFunction.cpp(84) : error C2040: '==' : 'unsigned long *' differs in levels of indirection from 'unsigned long'
C:\Documents and Settings\Robert Obuch\Desktop\ogc.dll\RedirectFunction.cpp(87) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.

sauce.dll - 7 error(s), 0 warning(s)


ideas? :(

Da BuzZ
8th June 2003, 06:27
What compiler are you using? .NET?

ViperKP
21st June 2003, 07:55
is this an aimbot capable of working on SoF2 ?

o({})o
21st June 2003, 19:37
It works for Counter-Strike and other Half-Life mods.

sauce
26th June 2003, 15:08
Originally posted by Da BuzZ
What compiler are you using? .NET?

Late reply... but I fixed it :D (Yeh .NET)

Moeper-Deluxe
5th July 2003, 23:56
Hello Thx 4 the tut Guy very very nice but i have a problem

how i make it for v 1.5? :D CD and VAC Secure?

He say Video mode not ... take openGL or direct3d ... i have openGL

skaternoobie
20th July 2003, 18:26
I don't find some things! :cry:
At section: Tools needed
Can you give me the url that the download starts for all the programs? Thx! :cheeky:

pyro_angel_fx
29th July 2003, 03:10
i had same problem as sauce but u could of atleast explain it how u fixed it :((((

Elite_cs
8th August 2003, 19:43
I got 26 errors and 0 warnings. Can someone tell me what i did wrong?
I had the DLL and Loader folder on my brothers desktop (i edited out the name). My Workspace was on my desktop though. Is thats whats wrong?
--------------------Configuration: OGC Tutorial - Win32 Release--------------------
Compiling...
timehandling.cpp
Winamp.cpp
C:\Documents and Settings\-\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
aimbot.cpp
C:\Documents and Settings\-\Desktop\DLL\aimbot.cpp(38) : fatal error C1083: Cannot open include file: 'cl_dll.h': No such file or directory
apihook.cpp
C:\Documents and Settings\-\Desktop\DLL\apihook.cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\-\Desktop\DLL\apihook.cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\-\Desktop\DLL\apihook.cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\-\Desktop\DLL\apihook.cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\-\Desktop\DLL\apihook.cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
attack.cpp
AutoMove.cpp
C:\Documents and Settings\-\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
bind.cpp
C:\Documents and Settings\-\Desktop\DLL\bind.cpp(413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\-\Desktop\DLL\bind.cpp(413) : error C2051: case expression not constant
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(414) : error C2051: case expression not constant
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(421) : error C2051: case expression not constant
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\No Way\Desktop\DLL\bind.cpp(451) : error C2065: 'MK_XBUTTON2' : undeclared identifier
calcscreen.cpp
client.cpp
C:\Documents and Settings\No Way\Desktop\DLL\client.cpp(53) : fatal error C1083: Cannot open include file: 'r_studioint.h': No such file or directory
color.cpp
console.cpp
C:\Documents and Settings\No Way\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
cvar.cpp
GenericPatch.cpp
hookqueue.cpp
C:\Documents and Settings\No Way\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
interpreter.cpp
main.cpp
C:\Documents and Settings\No Way\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
menu.cpp
opengl.cpp
C:\Documents and Settings\No Way\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
patchtools.cpp
playeritems.cpp
secmodule.cpp
C:\Documents and Settings\No Way\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
snake.cpp
C:\Documents and Settings\No Way\Desktop\DLL\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
sprites.cpp
stdafx.cpp
stringfinder.cpp
interface.cpp
parsemsg.cpp
Error executing cl.exe.

OGC Tutorial.dll - 26 error(s), 0 warning(s)

Zipi
14th August 2003, 11:25
Damn i get this errors. I tryed 2 times to make a new project. And the same errors :(
--------------------Configuration: AKC - Win32 Release--------------------
Compiling...
aimbot.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\aimbot.c pp(38) : fatal error C1083: Cannot open include file: 'cl_dll.h': No such file or directory
apihook.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
attack.cpp
AutoMove.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
bind.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (413) : error C2051: case expression not constant
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (414) : error C2051: case expression not constant
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (421) : error C2051: case expression not constant
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (451) : error C2065: 'MK_XBUTTON2' : undeclared identifier
calcscreen.cpp
client.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.c pp(53) : fatal error C1083: Cannot open include file: 'r_studioint.h': No such file or directory
color.cpp
console.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
cvar.cpp
GenericPatch.cpp
hookqueue.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
interpreter.cpp
main.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
menu.cpp
opengl.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
patchtools.cpp
playeritems.cpp
secmodule.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
snake.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
sprites.cpp
stdafx.cpp
stringfinder.cpp
timehandling.cpp
Winamp.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
interface.cpp
parsemsg.cpp
Error executing cl.exe.

AKC.dll - 26 error(s), 0 warning(s)

Elite_cs
1st September 2003, 18:01
You need to link...

[max]PANDA007
7th September 2003, 07:40
Originally posted by Zipi
Damn i get this errors. I tryed 2 times to make a new project. And the same errors :(
--------------------Configuration: AKC - Win32 Release--------------------
Compiling...
aimbot.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\aimbot.c pp(38) : fatal error C1083: Cannot open include file: 'cl_dll.h': No such file or directory
apihook.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\apihook. cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
attack.cpp
AutoMove.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
bind.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (413) : error C2051: case expression not constant
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (414) : error C2051: case expression not constant
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (421) : error C2051: case expression not constant
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\bind.cpp (451) : error C2065: 'MK_XBUTTON2' : undeclared identifier
calcscreen.cpp
client.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.c pp(53) : fatal error C1083: Cannot open include file: 'r_studioint.h': No such file or directory
color.cpp
console.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
cvar.cpp
GenericPatch.cpp
hookqueue.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
interpreter.cpp
main.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
menu.cpp
opengl.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
patchtools.cpp
playeritems.cpp
secmodule.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
snake.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
sprites.cpp
stdafx.cpp
stringfinder.cpp
timehandling.cpp
Winamp.cpp
C:\Documents and Settings\Vladimir\Desktop\ogchook9src\DLL\client.h (5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
interface.cpp
parsemsg.cpp
Error executing cl.exe.

AKC.dll - 26 error(s), 0 warning(s)

that's the same errors I get... help anyone?

WindowsDude
7th September 2003, 07:49
add parsemsg.cpp to ur workspace.. ( i think thats the name of the .cpp )

phillys
7th September 2003, 08:11
since valve just updated it's security module, can someone upload a new source loader and dll and stuff? thanks.. i really want to compile my own crap and see if it works :p

btw, when i use the OGC 9.01 CL source from ogc website(it has both the loader folder and dll in the zip), i get these errors when compiling the *.dll



--------------------Configuration: pwn3d - Win32 Release--------------------
Compiling...
aimbot.cpp
apihook.cpp
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
snake.cpp
sniff.cpp
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\sniff.cpp(167) : error C2039: 'sniff' : is not a member of 'CVARList'
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\cvar.h(7) : see declaration of 'CVARList'
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\sniff.cpp(302) : error C2039: 'sniff' : is not a member of 'CVARList'
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\cvar.h(7) : see declaration of 'CVARList'
sprites.cpp
stdafx.cpp
stringfinder.cpp
timehandling.cpp
Winamp.cpp
attack.cpp
AutoMove.cpp
bind.cpp
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(413) : error C2051: case expression not constant
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(414) : error C2051: case expression not constant
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(421) : error C2051: case expression not constant
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(451) : error C2065: 'MK_XBUTTON2' : undeclared identifier
calcscreen.cpp
client.cpp
color.cpp
console.cpp
cvar.cpp
GenericPatch.cpp
hookqueue.cpp
interpreter.cpp
main.cpp
menu.cpp
opengl.cpp
patchtools.cpp
playeritems.cpp
Error executing cl.exe.

pwn3d.dll - 18 error(s), 0 warning(s)


any idea? even better, new source pls! :p

[max]PANDA007
7th September 2003, 21:54
I get many of these:
fatal error C1900: Il mismatch between 'P1' version '19991026' and 'P2' version '19970710'

... sometimes

and other times
C1083: Cannot open include file: 'util_vector.h': No such file or directory



But it always says: Could'nt execute cl.exe

[i]
any idea? even better, new source pls! :p [/B]
I've tried ltfx 3, ltfx 4 ogc9, matrix hook, titanium x, araz source, and snipity, none of them i coould get to compile

[max]PANDA007
8th September 2003, 04:48
OMG IT WORKED! THANKS SOOO MUCH HEBE FOR THE TUTORIAL! I'VE BEEN TRYING FOR ABOUT 3 MONTHS!!!!!

phillys
8th September 2003, 07:20
using the joolz 4.11 source code and compile the DLL, i got this:

--------------------Configuration: pwn3d - Win32 Release--------------------
Compiling...
Winamp.cpp
AimingRandomizer.cpp
apihook.cpp
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\apihook.cpp(65) : error C2446: '==' : no conversion from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\apihook.cpp(65) : error C2040: '==' : 'unsigned long *' differs in levels of indirection from 'unsigned long'
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\apihook.cpp(68) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
attack.cpp
bind.cpp
calcscreen.cpp
client.cpp
color.cpp
console.cpp
Crc32Static.cpp
GenericPatch.cpp
hookqueue.cpp
interpreter.cpp
IRC.cpp
main.cpp
MapOverView.cpp
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(105) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(110) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(112) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(114) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(124) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(126) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(128) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(130) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(176) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(226) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(227) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(228) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(229) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(266) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(267) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(311) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(312) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(371) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(372) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(373) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(374) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(375) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(376) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(377) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(378) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\MapOverView.cpp(379) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
mempatcher.cpp
menu.cpp
netlib.cpp
opengl.cpp
playeritems.cpp
RedirectFunction.cpp
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\RedirectFunction.cpp( 82) : error C2446: '==' : no conversion from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\RedirectFunction.cpp( 82) : error C2040: '==' : 'unsigned long *' differs in levels of indirection from 'unsigned long'
C:\Documents and Settings\Ah Boon\Desktop\OGCtutorial\DLL\RedirectFunction.cpp( 85) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
sniff.cpp
sprites.cpp
stringfinder.cpp
timehandling.cpp
tinystrings.cpp
trace.cpp
VACDisable.cpp
interface.cpp
parsemsg.cpp
Error executing cl.exe.

pwn3d.dll - 6 error(s), 26 warning(s)




so, whats the problem?

panda, what source do u use?

panda, what source do u use?

TheGrey
11th September 2003, 02:12
1. What version of the source is this tut based on ?????

I have about a dozen different versions it seems...

If someone let's me know, I'll make it available somewhere for download..

MickDude:cool:

ahphone
18th March 2004, 09:51
I am so luck.
I have only 9 error and I kill 5 of them. I will fix the remain.......

I have used MFC for years.

ahphone
18th March 2004, 18:51
I used OGC 9.01 CL source, I delete some source to avoid that errors. because my mouse has only 2 buttons.

C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(413) : error C2051: case expression not constant
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(414) : error C2051: case expression not constant
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(421) : error C2051: case expression not constant
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\bind.cpp(451) : error C2065: 'MK_XBUTTON2' : undeclared identifier

As to those errors:

apihook.cpp
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Ah Boon\Desktop\pwn3d\dll\apihook.cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

I found the struct PIMAGE_THUNK_DATA in "WINNT.H"


typedef struct _IMAGE_THUNK_DATA32 {
union {
PBYTE ForwarderString;
PDWORD Function;
DWORD Ordinal;
PIMAGE_IMPORT_BY_NAME AddressOfData;
} u1;
} IMAGE_THUNK_DATA32;
typedef IMAGE_THUNK_DATA32 * PIMAGE_THUNK_DATA32;

typedef PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA;

I am amazing now. I think if .net can compile it , the .net is danger develop tool.

Hellflre
28th March 2004, 11:34
I try to just compile/build either the liquidfx 1.6 src or ogchook9 1.6 src and get like 26-28 errors and maybe 0-4-6-8 warnings... Does anyone know what the problem is with these src's... they should be able to compile right... arg.. please. thanks.

ogchook9src1.6

Deleting intermediate files and output files for project 'ogchook9src16 - Win32 Release'.
--------------------Configuration: ogchook9src16 - Win32 Release--------------------
Compiling...
aimbot.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\aimbot.cpp(37) : fatal error C1083: Cannot open include file: 'engine/wrect.h': No such file or directory
apihook.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\apihook.cpp(96) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\apihook.cpp(114) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\apihook.cpp(228) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\apihook.cpp(233) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\apihook.cpp(240) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
attack.cpp
AutoMove.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\cl_dll.h(36) : fatal error C1083: Cannot open include file: '../engine/cdll_int.h': No such file or directory
bind.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(413) : error C2051: case expression not constant
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(414) : error C2051: case expression not constant
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(421) : error C2051: case expression not constant
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\bind.cpp(451) : error C2065: 'MK_XBUTTON2' : undeclared identifier
calcscreen.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\calcscreen.cpp(18) : fatal error C1083: Cannot open include file: 'common/mathlib.h': No such file or directory
client.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\client.cpp(37) : fatal error C1083: Cannot open include file: 'engine/wrect.h': No such file or directory
color.cpp
console.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\cl_dll.h(36) : fatal error C1083: Cannot open include file: '../engine/cdll_int.h': No such file or directory
cvar.cpp
GenericPatch.cpp
hookqueue.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\hookqueue.cpp(28) : fatal error C1083: Cannot open include file: 'engine/wrect.h': No such file or directory
interpreter.cpp
main.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\cl_dll.h(36) : fatal error C1083: Cannot open include file: '../engine/cdll_int.h': No such file or directory
menu.cpp
opengl.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\cl_dll.h(36) : fatal error C1083: Cannot open include file: '../engine/cdll_int.h': No such file or directory
patchtools.cpp
playeritems.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\playeritems.cpp(29) : fatal error C1083: Cannot open include file: 'misc/parsemsg.h': No such file or directory
secmodule.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\cl_dll.h(36) : fatal error C1083: Cannot open include file: '../engine/cdll_int.h': No such file or directory
snake.cpp
C:\Documents and Settings\James\Desktop\My Folder\CStrike\ogchook9src1.6\snake.cpp(27) : fatal error C1083: Cannot open include file: 'engine/wrect.h': No such file or directory
sprites.cpp
stdafx.cpp
stringfinder.cpp
timehandling.cpp
interface.cpp
parsemsg.cpp
Error executing cl.exe.

ogchook9src16.dll - 27 error(s), 0 warning(s)

Dynamo16
28th March 2004, 14:09
where can i file cpp ??? then copy with these?
help me!!

Hellflre
29th March 2004, 05:00
Thanks

Could anyone help with these please.

--------------------Configuration: liquidfxsrc - Win32 Release--------------------
Linking...
Creating library Release/liquidfxsrc.lib and object Release/liquidfxsrc.exp
opengl.obj : error LNK2001: unresolved external symbol __imp__glClear@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
opengl.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glColor4f@16
opengl.obj : error LNK2001: unresolved external symbol __imp__glBlendFunc@8
opengl.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glGetFloatv@8
opengl.obj : error LNK2001: unresolved external symbol __imp__glDisable@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12
opengl.obj : error LNK2001: unresolved external symbol __imp__glColor3f@12
opengl.obj : error LNK2001: unresolved external symbol __imp__glVertex3fv@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glOrtho@48
opengl.obj : error LNK2001: unresolved external symbol __imp__glFrustum@48
Release/liquidfxsrc.dll : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.

liquidfxsrc.dll - 14 error(s), 0 warning(s)

lollollollol
7th April 2004, 15:57
Are the original download links going be uploaded again. Nothing is available for download, so cant follow the tutorial :(

BiGmAc
7th April 2004, 23:40
Originally posted by Hellflre
Thanks

Could anyone help with these please.

--------------------Configuration: liquidfxsrc - Win32 Release--------------------
Linking...
Creating library Release/liquidfxsrc.lib and object Release/liquidfxsrc.exp
opengl.obj : error LNK2001: unresolved external symbol __imp__glClear@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
opengl.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glColor4f@16
opengl.obj : error LNK2001: unresolved external symbol __imp__glBlendFunc@8
opengl.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glGetFloatv@8
opengl.obj : error LNK2001: unresolved external symbol __imp__glDisable@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12
opengl.obj : error LNK2001: unresolved external symbol __imp__glColor3f@12
opengl.obj : error LNK2001: unresolved external symbol __imp__glVertex3fv@4
opengl.obj : error LNK2001: unresolved external symbol __imp__glOrtho@48
opengl.obj : error LNK2001: unresolved external symbol __imp__glFrustum@48
Release/liquidfxsrc.dll : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.

liquidfxsrc.dll - 14 error(s), 0 warning(s)

at the top of ur .cpp:

#pragma comment( lib, "opengl32.lib" )

zerocold
22nd April 2004, 12:09
what is OGC ?

dawi03
4th May 2004, 03:27
the OGC *.dll source compatable with VC++ 6.0 link isnt working

where else can i get this from? im a complete noob when it comes to hacking so i have no idea what to do. please someone help me

kosheen
13th May 2004, 19:36
ya sure thats links is out-of-date... please give links or smth like that... the places from we can download this missing files :P plz (sorry for n00bish english)

/edit

Can someone answer?

Elite_cs
23rd May 2004, 05:00
what is OGC ?
OGC is the first client hack every made for counter-strike by System. Bunny771 did later updates of the hack. Most client hooks are based on OGC, and i havent yet seen one 99.99% coded from scratch.

Elite_cs
23rd May 2004, 05:02
ya sure thats links is out-of-date... please give links or smth like that... the places from we can download this missing files :P plz (sorry for n00bish english)

/edit

Can someone answer?

Here is the link for the vac proof version of ogc 9.

Download (http://80.190.250.253/files/cheats/files/src/ogc9VACsrc.zip)

kosheen
22nd June 2004, 01:34
Here is the link for the vac proof version of ogc 9.

Download (http://80.190.250.253/files/cheats/files/src/ogc9VACsrc.zip)

It's not working... We want source.rar(?zip?) of OGC... Plzzzzzzzzzzzzzzzzzzz

SuppaStagga
25th June 2004, 00:10
Why do i get this error u guys?.. plz help


LIBC.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Release/CoD Hax.exe : fatal error LNK1120: 1 unresolved externals

maverick1975
27th June 2004, 13:29
i have download vc++6.0 but the setup is not good 2 errors are here guys with the same problem.

iceman999
5th July 2004, 09:22
first off you must compile the ogc client on linux hope that helps

toblerone
12th October 2004, 03:21
its the q3 ogc the same ? i mean is the work the same ? does this tutorial work with q3 ogc sources to ??? :teeth:

o({})o
12th October 2004, 09:25
q3 ogc source has nothing to do with the source for the hl ogc. This thread is ancient.... Likely, the methods used for compiling are no longer very useful since most projects are setup to compile automatically under Visual Studio.

toblerone
12th October 2004, 20:36
oh :( damn !!!

can someone make a short tutorial based on q3ogc source ... ????

1986LotusDRC
7th December 2004, 01:38
OGC loader link isnt working....

mantis3
2nd January 2005, 04:24
All links doesn't work.....

UnscathedLamer
8th January 2005, 02:29
Yeh, none of them work... NO!!..


Can somebody point me in the direction of the OGC 3.0 source code?? :beard:

Krieg
29th April 2005, 05:47
Uhm..I was just wondering if this tutorial still works for CS 1.6 hacks??

wpsnow
17th May 2005, 16:53
----------

Tools needed:

Windows 95 or better (www.microsoft.com)
VC++ 6.0 or better (www.microsoft.com)
OGC *.dll source compatable with VC++ 6.0 (http://www.liquid2k.com/hebe/mpc/source.rar)
OGC loader source (http://www.endung.de/ogc/cheats/files/ogc-9-source.zip)
(use only the loader portion of this download, because the rest is only for VC++ .NET which is not covered here)
Winrar to open the downloaded *.dll source *.rar (www.winrar.com)
Winzip to open the downloaded source *.zip (www.winzip.com)
----------

Skills needed:

An IQ above 30 (you have to be able to read, but that is about it).
----------

Time needed:

IQ of 90- about 20 min.
IQ of 90+ about 5 to 10 min.
----------

Lets get going:

(We start with the *.dll that will be the main source of code for OGC.)

Open VC++ and select File->New

Select the option titled- "Win32 Dynamic-Link Library"
In the "Project Name" box, put any name you want. (something not to do with ogc would be best)

A new box will popup and say: "What kind of DLL would you like to create?"

Choose- An empty DLL Project."
Hit- "Finish"
Damn Windows popups- a new one will popup and say something about "An empty DLL project will be created for you."
Hit ok to this new popup

----------

You are almost ready to begin the actual process of creating the *.dll:

(If you have gotten lost so far, then you are a moron, and you should stop right here and now!)

Lets start off by putting our files in the same places. I have mine in a folder on the desktop called "OGCtutorial" so you should create the same floder on your desktop.

Right click the desktop.
Select "New"
Select "Folder"
Name the folder "OGCtutorial"

Now, inside of this folder put two new folders- "Loader" and "DLL"

Right click the desktop.
Select "New"
Select "Folder"
Name the folder "Loader"
Right click the desktop again.
Select "New"
Select "Folder"
Name the folder "DLL"

Next, put all of the DLL source files inside of the "DLL" folder.

(Note: There should be three folders with the rest of the source, they will mostly be header files. YOU MUST put these into the DLL folder exactly as they are. So, put the "misc" folder, the "engine" folder, and the "common" folder all in the "DLL" folder.)
----------

Time to make the DLL:

You should have the DLL still open, and ready to go. So, lets get this show on the road, shall we!

Go to: Project->Add To Project->Files...
A new "Insert Files into Project" box should popup.
Follow this path of folders to find the first file to insert: OGCtutorial\DLL\
Once you get into your DLL folder, you should see many many files!

So, what are we going to do with these files?! Simple- add them! Lets get adding:


Double click "aimbot.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "apihook.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "attack.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "AutoMove.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "bind.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "calcscreen.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "client.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "color.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "console.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "cvar.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "GenericPatch.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "hookqueue.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "interpreter.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "main.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "menu.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "opengl.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "patchtools.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "playeritems.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "secmodule.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "snake.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "sprites.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "stdafx.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "stringfinder"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "timehandling.cpp"

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\
Double click "Winamp.cpp"

(Tricky step here!)

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\common
Double click "interface.cpp"

(Another tricky little bastard!)

Go to: Project->Add To Project->Files...
An "Insert Files into Project" box should popup.
Follow this path of folders to find the next file to insert: OGCtutorial\DLL\misc
Double click "parsemsg.cpp"

----------

Good, you have added all of the necessary files. Now come the three hardest parts of the building of the *.dll:

Ok, step one-

Goto "Build->Configurations..."
A small popup will come up.
Highlight "Win32 Debug" by clicking on it.
Hit "Remove"
Hit "Close"

On to step two-

Goto "Project->Settings..."
A popup will come up.
You should see everal tabs in the popup (including "General", "Debug", "C/C++", "Link", etc...)
You want to click the "Link" tab.
A bunch of complex looking crap should come up, but have no fear, you won't be spending long here.
A little text box labeled "Object/library modules:" should be somewhere in the middle.
Go all the way to the end of that little box (somewhere after something like "odbccp32.lib")
After all of that, type this (without the quotes): "winmm.lib"
Be sure there is a space before "winmm.lib" and after it.
Hit "OK"

Damn, I think I'm going to cry. You have made it this far so you should be proud! This is the last step in making the *.dll-

Save all your work, and restart your PC! This will save you the trouble of ugly and inconsiderate memory errors.
When Windows comes back up, open your workspace up by looking in your folder for a file ending in .dsw
Make sure this is indeed your workspace, and then goto "Build->Build yournamehere.dll" (where yournamehere is the name of your *.dll).
This may take some time, but you should come up with an error and warning free copy of the dll after it is built. Watch the progress in the bottom window of VC++.

----------

Your *.dll should now be compiled and ready. Simply goto where ever you saved your project, and look for a new folder called "Release". This folder should have your finished *.dll:


Move this *.dll to your main OGCtutorial folder!
*.dll finished!!!


Congratulations on the first 90% of your project being complete.
----------

Time to do that fateful Loader *.exe/application:

This is far far easier then the *.dll and will take you much less time!

Ok, open VC++ and click "File->New..."
You want the one that says "Win32 Application"
Click on that and give it the same name you gave the *.dll in the text box in the popup.
Now Click "OK"
(If an error like 'a previous workspace already exists in this location' comes up, then simple go to the other box under where you put the name, and set it to another location. Preferably- 'desktop\OGCtutorial\loader')
Another popup comes up, just select "An empty project."
Okay, I am ready to kill Microsoft, cause another popup comes up saying something like this: "An empty application will be created for you."
Hit "OK" again!
Now you have an empty workspace, and you are ready to make the loader *.exe/application

----------

Well, lets get on with things then shall we:

So, you have yourself a blank, open project workspace. Lets get started then shall we?


Go to "Project->Add To Project->Files..."
Now, go to whatever folder the loader source is in.
(Add the following just as you added the files for the *.dll)
Add "ForceLibrary.cpp"
Add "ogc-loader.cpp"
Add "TH32.cpp"
(These files are added just the same way regardless of the fact that they are different file types.)
Add "ForceLib.h"
Add "resource.h"
Add "TH32.h"
Add "Script2.rc"

----------

On to the compiling of the *.exe/application:

No fancy complex stuff this time, just compiling/building-


Save your workspace by doing this- "File->Save Workspace"
Restart your PC, and re-open VC++ to avoid any ugly memory errors.
Re-open your project by looking in the folder you saved your workspace to for a *.dsw file.
Once open, goto "Build-> Build yournamehere.exe" (Think of 'yournamehere' as whatever the name of your project is.)
Check to make sure the *.exe is built by looking for it in the folder you saved your workspace to.

----------

You are 99% done:

Go download the .NET ogc v9.01 compiled cheat (http://www.endung.de/ogc/cheats/files/ogc-9.zip) at OGC-cheats.com-


Look in the folder that you download, and copy all the files other than the loader and *.dll
Put these in a new folder on your desktop (lets call it OGCisgod for reference).
Now, take your loader and your *.dll and place them in this folder with the rest of that crap.
Run The loader.
Point it to your hl.exe or cstrike.exe
Go play!!!

----------

Thank you for participating in this tutorial:

You should now have a fully working, newly named version of OGC!!!

Updated hint:
If you don't have a working compiled version of OGC, check game-deception.com. They will have the most updated loader and *.dll source files. If you recieve massive errors, try changing all instances of PDWORD with DWORD or vice versa. This is due to a difference between the compilers and OS'es from different time periods.
----------

Credits:

Written By:

o({})o (a.k.a. hebe)

This tutorial is for use only on/by the following sites:

www.MultiPlayerCheats.de
www.ogc-cheats.com
www.exo-clan.com
www.silverxhacks.vze.com
www.static-code.com
www.absolution.static-code.com
www.game-deception.com
www.unknowncheats.com


WARNING: This tutorial is strictly for learning purposes, and you alone carry the responsibility for any problems it may cause to- you, your computer, or anything else!



hmmm the ogc source code link dont go anywhere,can someone plz give me another link for the c++ ogc source code thnx

bitchtcb
17th May 2005, 17:59
please use search and/or common sense.
http://www.mpcdownloads.com/ should have all the source you need.

1911
23rd May 2005, 19:59
interesting

xentar_99
16th June 2005, 21:50
Guys! What's OGC??? Im sory.. Im surfing around trying to find tutorials in programming.. Im very noob... Help Me! What's OGC????

Couch
17th June 2005, 01:11
Online Game Cheats.
0gc.de - it's down, this is a CS clienthook

ctZ'...
18th June 2005, 20:10
thx man i tryed that and till now everithing is working fine ,
i hope i can post my firs OGC soon

Couch
18th June 2005, 22:01
You post OGC compiled out of the zip file and you'll be known as a ripper.

Sp0nGeB0B
16th August 2005, 19:20
like...what type of .dll source files would i need to get to make a BattlfeField 2 thing

***edit***
i was condering could one of u guyz change my name to eklipse ? pretty plz

No1uKnow
19th August 2005, 07:09
wow this is the first time i seen this thread, its almost the same tutorial as what i posted

http://www.mpcforum.com/showthread.php?t=93597

yours is better, but we explained the easy steps almost the same >.< great minds think alike


like...what type of .dll source files would i need to get to make a BattlfeField 2 thing

***edit***
i was condering could one of u guyz change my name to eklipse ? pretty plz

http://www.mpcforum.com/showthread.php?t=77262 to request a name change.

search helps alot ^^ http://www.mpcforum.com/search.php?s=

5huuk
24th December 2005, 17:24
and how to compile a css hack ? same ?

Couch
25th December 2005, 04:40
and how to compile a css hack ? same ?
Of course, hebe's example was only to show how to add files to a project and compile it.

ekiller
26th December 2005, 07:09
very nice dude

profbleak
3rd January 2006, 13:10
timehandling.h(53): error C2993: 'float' : illegal type for non-type template parameter 'Interval'

Any idea?

BlackShadow
2nd February 2006, 05:27
Can someone upload a new link for
OGC *.dll source compatable with VC++ 6.0
OGC loader source

Conker
5th February 2006, 18:22
what game is this OGC thing for???

the_faith01
24th April 2006, 08:47
cs1.6.........

XP.